Page 1 of 1

Commands don't work

Posted: Sat Mar 10, 2007 6:27 pm
by m0czul
I have a problem. When I add some new command scripts (create script, add some lines to cmds.cfg) I can't use them, because it says: "Unknown command: ...". Restarting POL etc. doesn't solve the problem. But when I delete my current character and create the new one the new commands start to work.

Is it a bug in core or problem with my POL? If the first one, move this topic to bugs report, please.

Posted: Sat Mar 10, 2007 7:26 pm
by mr bubbles
Sorry to hijack the thread, but is the cmds.cfg used by anyone? I just entered the scripts/commands/level for each command level. Is there any reason to enter packages too?

I don't know what the problem would be m0czul, all i can think of saying is add the new command, make sure it compiles and then load up the server.

Posted: Tue Apr 10, 2007 2:15 am
by zandor
My CMDS.CFG contains:

Code: Select all


CmdLevel player
{


}

CmdLevel companion
{


}

CmdLevel summoner
{


}

CmdLevel quester
{


}

CmdLevel coun
{

	ALIAS	couns
	ALIAS	counselor

}

CmdLevel seer
{


}

CmdLevel seer2
{


}

CmdLevel gm
{


}

CmdLevel GM2
{


}

CmdLevel admin
{


}

CmdLevel test
{

  ALIAS developer
  ALIAS scripter
  ALIAS oneshot

}
and all work ok form me... on POL097.

Re: Commands don't work

Posted: Wed Apr 25, 2007 2:27 am
by RazorTongue
m0czul wrote:But when I delete my current character and create the new one the new commands start to work.
Maybe after changing cmds.cfg and restarting pol, you forgot to change cmdlevel of your character. Newly created could have higher cmd level due to higher defaultcmdlevel.