View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002306SphereServerexecutable - windows buildpublic07-04-14 20:2913-04-14 20:20
ReporterCoruja 
Assigned ToFeeh 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0002306: Timing problem on f_onserver_save
DescriptionThe function f_onserver_save (sphere_serv_triggers.scp) has a timing problem. Instead run -before- the worldsave starts, it always runs about 4 seconds -after- the worldsave start.


[FUNCTION f_onserver_save]
SERV.B Worldsave start

[FUNCTION f_onserver_save_finished]
SERV.B Worldsave complete (<ARGS> seconds).

This code above apparently does not have nothing wrong, it's a simple and lightweight function. But the message "Worldsave start" will show only after I already got freeze about 0001447:0000004 seconds


Maybe a way to fix this problem is create a 1sec delay between f_onserver_save and the worldsave (this 1sec delay is enough to make sure the function will run fine)
TagsNo tags attached.
Nightly VersionAutomated (specify build number)
Experimental FlagsNone
Option FlagsNone
Internal Build Number
Attached Files

- Relationships

-  Notes
(0002029)
darksun84 (reporter)
07-04-14 22:16
edited on: 07-04-14 22:19

mine works fine :
22:14:(sphere_serv_triggers.scp,102)Worldsave start
GC: 107 Objects accounted for
22:14:World data saved (save/sphereworld.scp).
22:14:Player data saved (save/spherechars.scp).
22:14:Multi data saved (save/spheremultis.scp).
22:14:Context data saved (save/spheredata.scp).
22:14:World save completed, took 0.2229 seconds
22:14:(sphere_serv_triggers.scp,119)Worldsave complete (0.2229 seconds).
22:14:(sphere_serv_triggers.scp,107)Worldsave ok

but i have super small save files!

using last nigthtly(7 april)

(0002030)
Coruja (developer)
07-04-14 23:50

maybe you cant notice with small save files, but here I have huge save files (spherechars 110mb / sphereworld 40mb), with save time ~17sec and 110~140 clients online

that's what occours at every worldsave:
1) the worldsave start and the server got frozen without any ingame message
2) after 4 seconds the message "Worldsave start" appears to all clients
3) at worldsave finish everything is fine, the message "worldsave complete" shows instantly

it's not a big problem, but it's annoying :P

- Issue History
Date Modified Username Field Change
07-04-14 20:29 Coruja New Issue
07-04-14 22:16 darksun84 Note Added: 0002029
07-04-14 22:19 darksun84 Note Edited: 0002029 View Revisions
07-04-14 23:50 Coruja Note Added: 0002030
13-04-14 00:37 Feeh Assigned To => Feeh
13-04-14 00:37 Feeh Status new => assigned
13-04-14 00:38 Feeh Issue Monitored: Feeh
13-04-14 20:20 Feeh Status assigned => resolved
13-04-14 20:20 Feeh Resolution open => fixed


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker