Mirage Source
Level cap? - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+----- Thread: Level cap? (/showthread.php?tid=2164)



Level cap? - Nean - 22-09-2008

I've been looking through the code, and as far as I can tell, theres no level cap, or exp limit? Would that be included as a bug? Or are level caps, a feature?


Re: Level cap? - Kousaten - 22-09-2008

It could potentially be a bug, because if you have a freakish user who goes beyond the level data set in your server (I think it's a Long or Integer... which would be absolutely crazy to reach a level to overflow the server >.


Re: Level cap? - JokeofWeek - 22-09-2008

[quote="Kousaten"]It could potentially be a bug, because if you have a freakish user who goes beyond the level data set in your server (I think it's a Long or Integer... which would be absolutely crazy to reach a level to overflow the server >. SetAmountHere Then

Call SetPlayerExp(Index, 0)
Exit Sub

End If[/code]


Re: Level cap? - Kousaten - 22-09-2008

Thanks. XD Knew I'd be wrong about something in it.

Not bad with sinuses and a monotone professor lol.


Re: Level cap? - Matt - 23-09-2008

That method will reset their xp to 0, allowing them to fill it all the time. Lol. Just do this:
Code:
If GetPlayerLevel(Index) + 1 > SetAmountHere Then
   Exit Sub
End If



Re: Level cap? - Kousaten - 23-09-2008

I suppose you could use that method to make a system to "spend" EXP for things like special items, extra stat bonuses, quests, etc. :3


Re: Level cap? - Matt - 23-09-2008

No. Most games let you go, to say level 80 with 100% exp bar and leave it at that. It looks better than resetting the exp bar everytime you "level". If you're gonna have a cap, do it properly and cap it. When you fill a bottle, you put a cap on it. You don't empty it and fill it again. Tongue


Re: Level cap? - Nean - 23-09-2008

Perfekt Wrote:No. Most games let you go, to say level 80 with 100% exp bar and leave it at that. It looks better than resetting the exp bar everytime you "level". If you're gonna have a cap, do it properly and cap it. When you fill a bottle, you put a cap on it. You don't empty it and fill it again. Tongue

I like that idea. The other losing all your exp, start over, thing is way over-used. Thanks for the idea. =)