Help for userauth module

These are old archives. They are kept for historic purposes only.
Post Reply
kakashi
Posts: 3
Joined: Tue May 10, 2005 12:45 pm

Help for userauth module

Post by kakashi » Tue May 10, 2005 2:21 pm

Hello , i have downloaded userauth.c from angryworlf's site .
I want to allow guest connect but it says that
* This directive only works if you #define GUEST in config.h

i really have no idea how to do this , i tried to put " #define GUEST" in config.h and recompiling the server but it didn t work .
If someone could help me , i would appreciate alot .
Thanks

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth » Tue May 10, 2005 4:27 pm

In config.h, you need to find where it says "#undef GUEST" and change it to "#define GUST".

kakashi
Posts: 3
Joined: Tue May 10, 2005 12:45 pm

Post by kakashi » Tue May 10, 2005 7:36 pm

Hello , well i haven't found a #undef GUEST in config.h

Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason » Tue May 10, 2005 9:31 pm

GREP in my Unreal3.2

There isnt an #undef GUEST anywhere.

%grep -r 'GUEST' *
Changes:- Fixed a problem when compiling with GUEST enabled. Reported by dvzion (#0001758)
Changes:- Fixed a problem when compiling Unreal with GUEST support (#0001758) dvzion.
include/modules.h:#define HOOKTYPE_GUEST 10
makefile.win32: SRC/MODULES/M_CHGNAME.C SRC/MODULES/M_GUEST.C SRC/MODULES/M_HTM.C SRC/MODULES/M_LAG.C \
makefile.win32: SRC/MODULES/M_CHGNAME.DLL SRC/MODULES/M_GUEST.DLL SRC/MODULES/M_HTM.DLL \
src/modules/l_commands.c:#ifdef GUEST
src/modules/l_commands.c:#ifdef GUEST
src/modules/l_commands.c:#ifdef GUEST
src/modules/l_commands.c:#ifdef GUEST
src/modules/l_commands.c:#ifdef GUEST
src/modules/l_commands.c:#ifdef GUEST
src/modules/m_guest.c:#ifdef GUEST
src/modules/m_guest.c:#ifdef GUEST
src/modules/m_guest.c: GuestHook = HookAddEx(ModGuestInfo->handle, HOOKTYPE_GUEST, m_guest);
src/modules/m_guest.c:#ifdef GUEST
src/modules/m_nick.c:#ifdef GUEST
src/modules/m_nick.c: RunHook4(HOOKTYPE_GUEST, cptr, sptr, parc, parv);
src/modules/m_nick.c:#ifdef GUEST
src/modules/m_nick.c: RunHook4(HOOKTYPE_GUEST, cptr, sptr, parc, parv);
src/include/modules.h:#define HOOKTYPE_GUEST 10
%
Why the hell can't my signature be empty?
"Your message contains too few characters."

Post Reply