PenUltima Online

It is currently Fri Oct 10, 2008 4:31 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Commands don't work
PostPosted: Sat Mar 10, 2007 6:27 pm 
Offline

Joined: Sun Mar 04, 2007 3:48 pm
Posts: 3
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 10, 2007 7:26 pm 
Offline

Joined: Thu Jan 18, 2007 2:34 am
Posts: 91
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 10, 2007 2:15 am 
Offline

Joined: Sat Feb 04, 2006 10:13 am
Posts: 12
Location: Livorno Italy
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.

_________________
-----------------------------------------
Zandor
Scripter ZHI Shard


Top
 Profile  
 
 Post subject: Re: Commands don't work
PostPosted: Wed Apr 25, 2007 2:27 am 
Offline
User avatar

Joined: Mon Apr 23, 2007 8:18 am
Posts: 26
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl