Im back! With more errors :)

Here you can post threads requesting help on the official POL Ultima Online Emulator Core 095. Note: Core 095 is no longer officially supported.

Moderator: POL Developer

Post Reply
Poi
Grandmaster Poster
Posts: 298
Joined: Fri Apr 14, 2006 9:36 am

Im back! With more errors :)

Post by Poi »

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.
User avatar
CWO
POL Expert
Posts: 1159
Joined: Sat Feb 04, 2006 5:49 pm
Location: Chicago, IL USA

Post by CWO »

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.
Firedancer
Grandmaster Poster
Posts: 104
Joined: Fri Feb 03, 2006 6:32 am
Location: Austria
Contact:

Post by Firedancer »

..... might really help to use constants for your cmdlvl's in your scripts.
Poi
Grandmaster Poster
Posts: 298
Joined: Fri Apr 14, 2006 9:36 am

Post by Poi »

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

etc
Shinigami
Former Developer
Posts: 308
Joined: Mon Jan 30, 2006 9:28 am
Location: Germany, Bavaria
Contact:

Post by Shinigami »

just post your cmds.cfg

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

Shinigami
Poi
Grandmaster Poster
Posts: 298
Joined: Fri Apr 14, 2006 9:36 am

Post by Poi »

Code: Select all

/////////////////////////////////////////////////////////////////////////////
//
// 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 Reply