PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Commands don't work

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097
Display posts from previous:   

Author Message
m0czul



Joined: 04 Mar 2007
Posts: 3

PostPosted: Sat Mar 10, 2007 10:27 pm    Post subject: Commands don't work Reply with quote

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.

Author Message
mr bubbles



Joined: 18 Jan 2007
Posts: 91

PostPosted: Sat Mar 10, 2007 11:26 pm    Post subject: Reply with quote

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.

Author Message
zandor



Joined: 04 Feb 2006
Posts: 12
Location: Livorno Italy

PostPosted: Tue Apr 10, 2007 6:15 am    Post subject: Reply with quote

My CMDS.CFG contains:
Code:


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.

Author Message
RazorTongue



Joined: 23 Apr 2007
Posts: 26

PostPosted: Wed Apr 25, 2007 6:27 am    Post subject: Re: Commands don't work Reply with quote

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.

Post new topic   Reply to topic    PenUltima Online Forum Index -> Development Discussion 097 All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty