EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   how to set default level to 50 when craete new charactor? (https://www.eqemulator.org/forums/showthread.php?t=35221)

yingyugang01 04-20-2012 02:59 PM

how to set default level to 50 when craete new charactor?
 
I have searched the forum , all the level questions are about Level cap. angone can tell me how to set default level to 50 when craete new charactor?
kindly seek your advice.:cool:

Akkadius 04-20-2012 03:55 PM

Quote:

Originally Posted by yingyugang01 (Post 209037)
I have searched the forum , all the level questions are about Level cap. angone can tell me how to set default level to 50 when craete new charactor?
kindly seek your advice.:cool:

In the player.pl of the starting zone:

Code:

sub EVENT_ENTERZONE{
        if($ulevel <= 50){ quest::level(50); }
}


joligario 04-20-2012 04:08 PM

I would do < rather than <= so it doesn't reset xp if they haven't hit 51 yet.

Akkadius 04-20-2012 04:16 PM

Quote:

Originally Posted by joligario (Post 209042)
I would do < rather than <= so it doesn't reset xp if they haven't hit 51 yet.

Yeah, I pasted that in really quick while working on 5 different things at work, gives a rough idea.

I would even set some sort of flag (qglobal) on that actually instead so it doesn't happen again period.


All times are GMT -4. The time now is 07:51 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.