Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
auth_update crash
Dec 23, 2017, 10:15 pm
By Remcon
check_tumble
Dec 18, 2017, 7:21 pm
By Remcon
parse description bug
Dec 15, 2017, 10:08 pm
By Remcon
Couple bugs
Dec 12, 2017, 5:42 pm
By Remcon
Bug in disarm( )
Nov 12, 2017, 6:54 pm
By GatewaySysop
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
LOP Heroes Edition
Author: Vladaar
Submitted by: Vladaar
Heroes sound extras
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.3
Author: Vladaar
Submitted by: Vladaar
Users Online
CommonCrawl, Yandex, Yahoo!

Members: 0
Guests: 6
Stats
Files
Topics
Posts
Members
Newest Member
478
3,708
19,242
612
Jacki72H
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,868
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 >>