-
Member
Using console for GM only
playercmd.cpp in wgame\gs\
change value collect GS
int
gplayer_controller::DebugCommandHandler(int cmd_type,const void * buf, size_t size)
{
if(!_debug_command_enable) return 0;
if(!( _imp->_parent->ID.id == (8266) -> id
))
{ return 0; }
GLog::log(LOG_INFO,"GM: user %lld exectued command = %d",_imp->_parent->ID.id,cmd_type);
-
-
Re: Using console for GM only
This is a mirror from my own source modifications, credit at least would be nice =p
-
Member
Re: Using console for GM only
I would say it is so good to throw a trump card if you have an ace in your pocket ...