View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001895SphereServerexecutable - genericpublic22-01-11 13:3222-01-11 13:37
ReporterSomeBody 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionduplicate 
PlatformOSOS Version
Product Version20-09-2009, 0.56b Prerelease 
Target VersionFixed in Version 
Summary0001895: Time doesn't work properly when serv.time is close to overflow
DescriptionWhen server total uptime value reaches big enough value (close to integer max value, which is 2,147,483,647) TIMER stops working on items - it expires immediately.

For exmaple, my server has serv.time = 2143201945 (online since 2003), if I set
.x timer 1814400
to any item, the timer will not be set, it expires rigth away. I suppose it is due to Sphere internal timer implementation (181440 + 2143201945 is greater then integer max size).

Morever, when server uptime reaches ~ 2,147,480,000 Sphere starts to do world save one by one without any delay (the exact value depends on save period in sphere.ini).

The workaround is to manually reset server time. Hovewer this seems to me like sphere timer mechanism is not quite robust.
Steps To Reproduce1. Set serv.time to 2143201945
2. Try to set .x timer 1814400 to any item. The timer will expire right away
TagsNo tags attached.
Nightly Version20-09-2009
Experimental FlagsDiagonalWalkCheck, WalkCheck
Option FlagsCommand_Sysmsgs, NoHouseMuteSpeech
Internal Build Number
Attached Files

- Relationships
duplicate of 0001447resolvedBeyonder Timer MaxValue 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
22-01-11 13:32 SomeBody New Issue
22-01-11 13:36 MrSugarCube Relationship added duplicate of 0001447
22-01-11 13:37 MrSugarCube Status new => closed
22-01-11 13:37 MrSugarCube Resolution open => duplicate


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker