View unanswered posts | View active topics
|
Page 1 of 1
|
[ 6 posts ] |
|
| Author |
Message |
|
Poi
|
Post subject: Im back! With more errors :) Posted: Wed Jun 21, 2006 2:31 pm |
|
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 |
|
 |
|
CWO
|
Post subject: Posted: Wed Jun 21, 2006 9:03 pm |
|
Joined: Sat Feb 04, 2006 5:49 pm Posts: 748 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 |
|
 |
|
Firedancer
|
Post subject: Posted: Thu Jun 22, 2006 5:11 am |
|
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
[/url]
|
|
| Top |
|
 |
|
Poi
|
Post subject: Posted: Thu Jun 22, 2006 7:14 am |
|
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 |
|
 |
|
Shinigami
|
Post subject: Posted: Fri Jun 23, 2006 1:15 am |
|
 |
| 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 |
|
 |
|
Poi
|
Post subject: Posted: Fri Jun 23, 2006 8:24 am |
|
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 |
|
 |
|
Page 1 of 1
|
[ 6 posts ] |
|
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
|
|