Skip to forum content

You are not logged in. Please login or register.


forums.pvpgn.pro → [EN] The Source Code → how to add new command groups ?

Pages 1

You must login or register to post a reply

RSS topic feed

Posts: 4

1

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 ?

2

Re: how to add new command groups ?

You have to change pvpgn's code.

3

Re: how to add new command groups ?

xpeh wrote:

You have to change pvpgn's code.

how ?
where dpes it ?

4

Re: how to add new command groups ?

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)

command_groups.cpp wrote:

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:

command.cpp wrote:

static int _handle_commandgroups_command(t_connection * c, char const * text)

So, this function is needed much more modifications...

Do not ask for support in PM.

Posts: 4

Pages 1

You must login or register to post a reply

Who now at forum

Currently view post: 1 guest, 0 registered users

forums.pvpgn.pro → [EN] The Source Code → how to add new command groups ?