Problem description:
I'm having this slight little problem in a new game i'm creating. I'm testing out the Admin verbs that I put in when I noticed that after a stat hits over 10 billion, it will no longer gain anything from training and occasionally causes the Dream Seeker to crash when I try to load that character.
Can anyone help me with this? Thanks.
Jul 27 2013, 4:55 pm
Best response
|
|
Numbers begin to lose their accuracy due to the way BYOND implements them, at right around 256^3 I believe. However, this shouldn't be causing Dream Seeker to crash, so I suspect that's another issue entirely.
|
Well it starts to crash as the number goes higher. It doesnt exactly crash. It just lags and doesnt stop until I just force it to close. And is there a way to fix the number thing?
|
In response to RebornxDart
|
|
You'd probably want to use smaller numbers, since 10 billion is absolutely ridiculous for stats. Other than that, there's not much you can do about the limit.
|
In response to RebornxDart
|
|
RebornxDart wrote:
Well it's a Dragonball game, so stats have to be high. Not exactly the highest powerlevel i have ever seen in DBZ is 9000 after that they stop saying power levels so i think you need to lower the gain of powerlevel by ALOT. |
In response to D4rk3 Marshmell0w
|
|
It is kept track of through the greater part of the Namek saga, and official sources put Goku's power level after becoming a Super Saiyan at about 150,000,000 (with Frieza -- in his final form, at 100% power -- at 120,000,000). The absolute highest power level clocked in over the course of the entire series was Super Gogeta's, at 2,500,000,000 (which is still short of ten billion).
That being said, no I don't believe that by simply being a Dragon Ball game, that insanely high stats that rub up against the limits of how high computers can count is... required. There are a lot of design implications to consider, along with balance issues. |
Like I told you before, buddy. I think you need to scale it all down a lot. Base it around numbers you actually hear in the Anime.
You can essentially have it be EXACTLY the same as it is now, just scaled down. Super high numbers like that don't work well in BYOND. If you REALLY don't want to scale down those numbers, we can create some sort of function at home that'll make it work. However it's more work when you're handling numbers in the game. Some sort of num2text conversion might work? We can create something to handle all those numbers and conversions for you if you want. |
One of the most common "complaints" I ever got with DBTC was how "low" my power levels were. It was so important to everyone that they be much higher.
I tried and tried to explain to everyone that when you get down to the math involved, there would be no point in what essentially amounted to adding on a few pointless zeroes. But no one wanted to listen. They all wanted their numbers to be in the millions or billions. I don't know if this would help, but maybe you could store their actual power level stat at a much lower order of magnitude, and then tack on a few zeroes whenever it is displayed to the players? Just to keep them satisfied? |
In response to SuperSaiyanGokuX
|
|
I love that game :)
I agree though, in my eyes.. DBZ is a high number thing. It just fits for me. To further prove it, the Daizenshuu that the author wrote put Super Vegito at about 1 trillion, his closest competition being Gohan-Buu at 500billion. So, I follow that in my coding. As for the OP, I've never encountered trouble with numbers in the billions. Check your math, or post it here for others to point it out if you dont know what to do. |
Once a game has stats that even go above 1000, I tend not to bother with it. 10,000,000,000 is just a tad bit much don't you think? Why not be ranked on ranks instead of levels.
|
In response to SilencedWhisper
|
|
SilencedWhisper wrote:
Once a game has stats that even go above 1000, I tend not to bother with it. 10,000,000,000 is just a tad bit much don't you think? Why not be ranked on ranks instead of levels. I'm assuming the exception is Health and Mana, right? ;D I'm actually planning some really tough boss monsters that'll have a good few million HP. |
In response to Lavitiz
|
|
Sure. I was referring mainly to levels more of.
|
In response to Lavitiz
|
|
You could always just increase their defense.
|