Infinite leveling

Posts 1623 of 23 · Page 2 of 2
Quote Originally Posted by 059 View Post
it's still finite to the max integer the program uses
Well players on the server won't know as if you make the value high then it will take them forever to reach that level so it could for the players infinite leveling
Quote Originally Posted by 059 View Post
it's still finite to the max integer the program uses
Int32.MaxValue <--- Highest possible value, technically that's infinite as you'd never be abel to reach the max level... but just to be safe if you're gonna use this do

Int32.MaxValue - 1
If anyone decides to do the horrible idea of making leveling super easy and quantitative (ie 200 god kills = level 9 000 000 000 000), there is a possible way to enumerate the level value much, much higher than Int32.MaxValue ...

Without going into too much detail, every time one's level value exceeds Int32.MaxValue, it regroups over to a second integer value that would act as "the next place value", and the integer value would simply be named with a numeric value. When this is done as a function, the end max level value would be something like...

Code:
10Int32.MaxValue x Int32.MaxValue
This is possible because the level value would be held by multiple integers instead of just one. And one can go even further if I'm correct if they apply the function to our current function by regrouping the storage integers and making new ones... (by then it'd get pretty crazy with naming)

Code:
10Int32.MaxValue x Int32.MaxValuey
y = number of times you repeat the function

I'm not too sure of the storage problems this would create as I'm not sure how many bytes that Int32.MaxValue of integers each with Int32.MaxValue as a value would take in total.

If you were to display these ungodly values in a client, you might want to switch to scientific notation or a logarithmic function. I'm not too sure if this is the best way of going beyond the max value of an integer, but it ideologically works.
Quote Originally Posted by Stellar Spark View Post
If anyone decides to do the horrible idea of making leveling super easy and quantitative (ie 200 god kills = level 9 000 000 000 000), there is a possible way to enumerate the level value much, much higher than Int32.MaxValue ...

Without going into too much detail, every time one's level value exceeds Int32.MaxValue, it regroups over to a second integer value that would act as "the next place value", and the integer value would simply be named with a numeric value. When this is done as a function, the end max level value would be something like...

Code:
10Int32.MaxValue x Int32.MaxValue
This is possible because the level value would be held by multiple integers instead of just one. And one can go even further if I'm correct if they apply the function to our current function by regrouping the storage integers and making new ones... (by then it'd get pretty crazy with naming)

Code:
10Int32.MaxValue x Int32.MaxValuey
y = number of times you repeat the function

I'm not too sure of the storage problems this would create as I'm not sure how many bytes that Int32.MaxValue of integers each with Int32.MaxValue as a value would take in total.

If you were to display these ungodly values in a client, you might want to switch to scientific notation or a logarithmic function. I'm not too sure if this is the best way of going beyond the max value of an integer, but it ideologically works.
Code:
decimal.MaxValue (79,228,162,514,264,337,593,543,950,335)
Quote Originally Posted by C453 View Post
Code:
decimal.MaxValue (79,228,162,514,264,337,593,543,950,335)
Of course, I'm not limiting it to just integers. They'd just be more preferred because levels are often depicted as whole numbers which may cause less hassle than decimals, though I can only say that in relation to what one is actually doing with the value itself.
So could any body help me out? I have made my maximum level 120 however i would like the fame bar to pop at at level 120 instead of 20 because at 20 you can only get a little amount of fame before hitting level 21 thanks !
Quote Originally Posted by RazerRotmg View Post
So could any body help me out? I have made my maximum level 120 however i would like the fame bar to pop at at level 120 instead of 20 because at 20 you can only get a little amount of fame before hitting level 21 thanks !
I thinks this will help you http://www.mpgh.net/forum/showthread.php?t=893396
Posts 1623 of 23 · Page 2 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?