Using console for GM only

Results 1 to 3 of 3
  1. #1
    Member Rokky is offline
    MemberRank
    Jul 2020 Join Date
    95Posts

    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);


  2. #2
    Fyyre Fyyre is offline
    MemberRank
    Oct 2007 Join Date
    EuropeLocation
    271Posts

    Re: Using console for GM only

    This is a mirror from my own source modifications, credit at least would be nice =p

  3. #3
    Member Rokky is offline
    MemberRank
    Jul 2020 Join Date
    95Posts

    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 ...



Advertisement