Descriptive Problem Summary:
When giving a player a negative value for a score, the hub displays it in a strange way.
http://www.byond.com/games/eternalduelistsoul/ duelmonstersgenesis#tab=scores
Sort by XP, currently page 14. Shows my XP stat as...
"-1.00,000,000,000,000,000,000". Which is... -1.
Reporting the stat in-game gives -1 as a result.
Code Snippet (if applicable) to Reproduce Problem:
Nothing complicated here. Just using world.SetScores
Expected Results:
Expecting it to read -1
Actual Results:
It's reading -1.00,000,000,000,000,000,000
Does the problem occur:
Every time? Or how often?
Every time I set a player to -1
In other games?
Not sure. I can't really test that.
In other user accounts?
I've tested it on more than 1 player in my game.
On other computers?
Other players see the same result on the hub.
Tested it in Internet Explorer, Firefox, and Chrome.
When does the problem NOT occur?
When assigning a positive value.
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked?It's a website error. I don't think that's applicable.
Workarounds:
Don't see any. Just a visual hiccup.
---
I'm storing a negative value here as a way of banning a player from certain in-game functions. Each time a player plays a particular game they gain 1 XP. If a player has -1 XP, it bars them from that game. This appears to just be a visual issue as all of the checks against the value in-game pull the value just fine.
ID:1843969
May 2 2015, 1:29 am (Edited on May 2 2015, 7:43 am)
|
|||||||||||||
Resolved
| |||||||||||||
http://puu.sh/hyJ6C/d7963a040e.png