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, DotBot, Yandex, Yahoo!

Members: 0
Guests: 12
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 » AFKMud Support & Development » Levelup command
Forum Rules | Mark all | Recent Posts

Levelup command
< Newer Topic :: Older Topic > Little Trick past level 115

Pages:<< prev 1 next >>
Post is unread #1 Jun 1, 2005, 3:08 am   Last edited Jun 1, 2005, 4:09 am by RapidRunner
Go to the top of the page
Go to the bottom of the page

RapidRunner

GroupMembers
Posts72
JoinedDec 4, 2003

Heres two checks that seem to be missing from levelup

   if( ch->level == LEVEL_AVATAR )
   {
   ch_printf(ch, "&RYou cannot go past level &B%d&D.\n\r", LEVEL_AVATAR );
   return;
   }

   if( ch->level == MAX_LEVEL )
   {
   ch_printf(ch, "&RLevel &B%d&R is the highest you can get&D.\n\r", MAX_LEVEL );
   return;
   }


This may not be needed, but i find it to be a good safty feature to have put in levelup so if a imm gives a player too much exp, they can't get a immortal character with using levelup. I'm sure most wouldn't use mset exp on players, but theres sometimes it happens, then theres no restriction on it.

Peace.
       
Pages:<< prev 1 next >>