Topic: how to add new command groups ?
how to add new command group ?
default is until 8.
can i add command group : 9 ?
if can, how ?
PvPGN Community Forums |
forums.pvpgn.pro → [EN] The Source Code → how to add new command groups ?
how to add new command group ?
default is until 8.
can i add command group : 9 ?
if can, how ?
You have to change pvpgn's code.
You have to change pvpgn's code.
how ?
where dpes it ?
Explore source code by errors that you get.
For example, I've found needed code by errors occured when I type command "/cg add harpywar 9":
1) group 9 not a valid group (1-8)
extern int command_groups_load(char const * filename)
After change "8" to "9" in the condition I've got another error:
2) got bad group 9
This error string placed in another file:
static int _handle_commandgroups_command(t_connection * c, char const * text)
So, this function is needed much more modifications...
forums.pvpgn.pro → [EN] The Source Code → how to add new command groups ?