Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Yandex, DotBot

Members: 0
Guests: 10
Stats
Files
Topics
Posts
Members
Newest Member
481
3,735
19,370
618
Micheal64X
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » Codebases » SmaugFUSS » LEVEL_HERO
Forum Rules | Mark all | Recent Posts

LEVEL_HERO
< Newer Topic :: Older Topic > just a few slight issues :)

Pages:<< prev 1 next >>
Post is unread #1 Feb 26, 2006, 6:30 pm   Last edited Feb 26, 2006, 6:31 pm by Remcon
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,873
JoinedJul 26, 2005

in mud.h it has
#define LEVEL_HERO		   (MAX_LEVEL - 15)

that is the same as LEVEL_AVATAR
in do_commands (it is suppose to show all mortal commands) it does this
if( command->level < LEVEL_HERO

it has two spots that does that, mainly just means it wont show any command that is LEVEL_HERO when it should considering its the max mortal level.
It should be <= LEVEL_HERO or < LEVEL_IMMORTAL

In act_wiz.c in do_wizhelp it does this
if( cmd->level >= LEVEL_HERO && cmd->level <= get_trust( ch ) )

that one should be either >= LEVEL_IMMORTAL or > LEVEL_HERO since it should only show immortal commands.
       
Pages:<< prev 1 next >>