It is currently Wed Dec 03, 2008 7:25 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Im back! With more errors :)
PostPosted: Wed Jun 21, 2006 2:31 pm 
Offline

Joined: Fri Apr 14, 2006 9:36 am
Posts: 240
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 21, 2006 9:03 pm 
Offline
Certified POL Expert
User avatar

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 798
Location: Chicago, IL USA
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 5:11 am 
Offline

Joined: Fri Feb 03, 2006 6:32 am
Posts: 104
Location: Austria
..... might really help to use constants for your cmdlvl's in your scripts.

_________________
[url=www.etheria.org]
Etheria - Roleplaying Realism
Image [/url]


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 22, 2006 7:14 am 
Offline

Joined: Fri Apr 14, 2006 9:36 am
Posts: 240
I removed tranie, and its still the same...
Admin=gm
Gm=seer
Seer=councler
councler=player

etc


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 23, 2006 1:15 am 
Offline
POL Core Developer

Joined: Mon Jan 30, 2006 9:28 am
Posts: 292
Location: Germany, Bavaria
just post your cmds.cfg

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

Shinigami


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 23, 2006 8:24 am 
Offline

Joined: Fri Apr 14, 2006 9:36 am
Posts: 240
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
}


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl