SphereServer BugTracker - SphereServer
View Issue Details
0002258SphereServerexecutable - windows buildpublic09-01-14 00:1311-01-14 02:07
Coruja 
Ben 
normalmajoralways
resolvedfixed 
 
0.56c Nightly 
Automated (specify build number)
None
None
0002258: Many char properties returning value in HEX instead DEC
On 02 jan 14 build, many properties like luck, resfire, rescold, respoison, resenergy, etc returns the value in decimal (as always)

but since I updated to 08 jan 14 build, all of these properties are now returning the value in hex

I dont know if it is really a bug, but this thing could breaks many FLOATVAL's since they works only with decimal numbers and return a wrong value if used in hex

on my server I use custom calc's for monster damage, loot, etc and this thing broke all these formulas (monsters taking 270.000 damage, 300.000gp being created on every loot, etc)
No tags attached.
Issue History
09-01-14 00:13CorujaNew Issue
11-01-14 02:07BenNote Added: 0001894
11-01-14 02:07BenStatusnew => resolved
11-01-14 02:07BenFixed in Version => 0.56c Nightly
11-01-14 02:07BenResolutionopen => fixed
11-01-14 02:07BenAssigned To => Ben

Notes
(0001894)
Ben   
11-01-14 02:07   
I'll have this changed for next build.
As a side note, you can always use <eval var> or <dvar> to return anything as decimal...

If you find anymore that should return as decimal by default, just report them.