Page 1 of 1

Help for userauth module

Posted: Tue May 10, 2005 2:21 pm
by kakashi
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

Posted: Tue May 10, 2005 4:27 pm
by Stealth
In config.h, you need to find where it says "#undef GUEST" and change it to "#define GUST".

Posted: Tue May 10, 2005 7:36 pm
by kakashi
Hello , well i haven't found a #undef GUEST in config.h

Posted: Tue May 10, 2005 9:31 pm
by Jason
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
%