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
Im back! With more errors :)

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095)
Display posts from previous:   

Author Message
Poi



Joined: 14 Apr 2006
Posts: 217

PostPosted: Wed Jun 21, 2006 6:31 pm    Post subject: Im back! With more errors :) Reply with quote

I recently added tranie under config/cmd.src and now for some reason, to have someone have access to GM commands, they have to be Admin, etc etc, to have the commands of on level, they have to be one level above.

Author Message
CWO



Joined: 04 Feb 2006
Posts: 691
Location: Chicago, IL USA

PostPosted: Thu Jun 22, 2006 1:03 am    Post subject: Reply with quote

right... and the problem is???

POL is set up with a numbered cmdlevel structure

0 - player
1 - counselor
2 - seer
3 - gm
4 - admin
5 - test

if you added a new cmdlevel for trainee then I'm sure your levels are like this now

0 - player
1 - trainee
2 - counselor
3 - seer
4 - gm
5 - admin
6 - test

when you add any cmdlevel in, every cmdlevel above it is set 1 higher so all of your scripts have to be configured with cmdlevel checks to be 1 higher and all of your staff at higher cmdlevels must be raised in rank by 1 cmdlevel to keep their original rank.

Author Message
Firedancer



Joined: 03 Feb 2006
Posts: 104
Location: Austria

PostPosted: Thu Jun 22, 2006 9:11 am    Post subject: Reply with quote

..... might really help to use constants for your cmdlvl's in your scripts.

Author Message
Poi



Joined: 14 Apr 2006
Posts: 217

PostPosted: Thu Jun 22, 2006 11:14 am    Post subject: Reply with quote

I removed tranie, and its still the same...
Admin=gm
Gm=seer
Seer=councler
councler=player

etc

Author Message
Shinigami
POL Core Developer


Joined: 30 Jan 2006
Posts: 292
Location: Germany, Bavaria

PostPosted: Fri Jun 23, 2006 5:15 am    Post subject: Reply with quote

just post your cmds.cfg

as Firedancer suggested, constants are the best way to handle it

Shinigami

Author Message
Poi



Joined: 14 Apr 2006
Posts: 217

PostPosted: Fri Jun 23, 2006 12:24 pm    Post subject: Reply with quote

Code:
/////////////////////////////////////////////////////////////////////////////
//
// cmdlevel.cfg: Defines command levels
//
// command levels are defined in increasing order of power.
// command level 'numbers' will be assigned automatically from this file.
//
// If you change the cmdlevel names from player/coun/seer/gm/admin/test,
// it is recommended you define 'Alias' lines to associate these basic
// cmdlevels with your custom cmdlevels. This way, package cmds.cfg files
// will place their commands into your command structure.
//
// The following properties can be specified for a CmdLevel:
//  DIR [dir]       A directory where commands for this cmdlevel can be found
//                  More than one 'dir' directive can be specified.
//  ALIAS [name]    Another cmdlevel name packages might refer to this as
//                  More than one 'alias' directive can be specified.
//
/////////////////////////////////////////////////////////////////////////////

CmdLevel Player
{
    DIR scripts/textcmd/player
}

CmdLevel Coun
{
    DIR scripts/textcmd/coun
}

CmdLevel Seer
{
    DIR scripts/textcmd/seer
}

CmdLevel GM
{
    DIR scripts/textcmd/gm
}

CmdLevel Admin
{
    DIR scripts/textcmd/admin
}

CmdLevel Test
{
    DIR scripts/textcmd/test
}

Post new topic   Reply to topic    PenUltima Online Forum Index -> General Help (095) All times are GMT - 4 Hours
Page 1 of 1

 




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