Mirage Source

Free ORPG making software.
It is currently Thu May 16, 2024 12:27 pm

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Level cap?
PostPosted: Mon Sep 22, 2008 7:38 am 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
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?

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
 Post subject: Re: Level cap?
PostPosted: Mon Sep 22, 2008 1:52 pm 
Offline
Knowledgeable
User avatar

Joined: Wed Jul 26, 2006 11:22 pm
Posts: 143
Location: Virginia, USA
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 >.<).

It'd be easy enough to put something in the level check sub like...

Code:
If GetPlayerLevel(Index) + 1 > SetAmountHere Then

   Set GetPlayerExp(Index, 0)
   Exit Sub

End If


Doing this off the top of my head and I haven't programmed in like six weeks, so it's likely sloppy and incorrect... but it's an idea. :P


Top
 Profile  
 
 Post subject: Re: Level cap?
PostPosted: Mon Sep 22, 2008 2:04 pm 
Offline
Knowledgeable
User avatar

Joined: Sun Nov 19, 2006 6:59 pm
Posts: 213
Kousaten wrote:
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 >.<).

It'd be easy enough to put something in the level check sub like...

Code:
If GetPlayerLevel(Index) + 1 > SetAmountHere Then

   Set GetPlayerExp(Index, 0)
   Exit Sub

End If


Doing this off the top of my head and I haven't programmed in like six weeks, so it's likely sloppy and incorrect... but it's an idea. :P


Think he means :


Code:
If GetPlayerLevel(Index) + 1 > SetAmountHere Then

   Call SetPlayerExp(Index, 0)
   Exit Sub

End If

_________________
Image


Top
 Profile  
 
 Post subject: Re: Level cap?
PostPosted: Mon Sep 22, 2008 2:18 pm 
Offline
Knowledgeable
User avatar

Joined: Wed Jul 26, 2006 11:22 pm
Posts: 143
Location: Virginia, USA
Thanks. XD Knew I'd be wrong about something in it.

Not bad with sinuses and a monotone professor lol.


Top
 Profile  
 
 Post subject: Re: Level cap?
PostPosted: Tue Sep 23, 2008 2:56 pm 
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


Top
  
 
 Post subject: Re: Level cap?
PostPosted: Tue Sep 23, 2008 3:23 pm 
Offline
Knowledgeable
User avatar

Joined: Wed Jul 26, 2006 11:22 pm
Posts: 143
Location: Virginia, USA
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


Top
 Profile  
 
 Post subject: Re: Level cap?
PostPosted: Tue Sep 23, 2008 3:31 pm 
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. :P


Top
  
 
 Post subject: Re: Level cap?
PostPosted: Tue Sep 23, 2008 4:50 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
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. :P


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

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group