I have an event channel and I don't want random people coming in and making games without an administrator in it. Adding a command to this will be hard.
May I know how to do this?
I have an event channel and I don't want random people coming in and making games without an administrator in it. Adding a command to this will be hard.
May I know how to do this?
like lg gunz only grade -> admin grade etc etc can make room
yeah i want 2 know too
if its a user game = crash lmfao
or only set message (name you want) than than dont open room.
soo easy to say, soo hard too do >_>
interesting concept! i think i shall monitor this thread closely on any developments
I have done it trough hooking the original ZPostStageCreate function, there's the code.
BTW, it doesn't block people from joining the channel, just block them from creating rooms, if they're not administrators.Code:void __cdecl ZPostStageCreateHook(MUID id,char* Stagename,bool passworded,char* password) { bool bRet = true; if (int(GetChannel()) == 2) // EventChannel { if (SouAdm == 0) //That's the variable who stores info about your grade. { bRet = false; Crashar(0); //Crahes the game for a little fun. } } pStageDet->Ret(bRet); }
Chatting at this channel is also blocked by hooking ZChatInput.
Lambda's tutorial on how to run 2 servers at the same PC will give you useful information about hooking gunz functions.
change the channel allow thing. forgot what it is. i done this for GG too
anyone can compile for me vista fail whit vb
:(
Just Use WATCOM, its open source awesomeness
Try compiling it with Visual Studio 2003 compiler.
Pm me the upload / :(