SphereCommunity
Sphere Statics - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Sphere Statics (/Thread-Sphere-Statics)



Sphere Statics - larmc20 - 12-20-2013 05:02 AM

Hello Guys.

I'm Having trouble again...

I don't know why but my sphere is not writing sphere statics, data...
When I Save the world and close sphere and re-open it. everything of Scripts I Added is gone.... I dont know why it is not savind this,..

For example.
If I use WorldGen and close and reopen the sphere everything is gone and the sphere is virgin of itens.

Why is it?

WHen I use .save

Sphere screen only show:

Code:
GC: 2665 Objects accounted for
17:11:World data saved   (save/sphereworld.scp).
17:11:Player data saved  (save/spherechars.scp).
17:11:Multi data saved   (save/spheremultis.scp).
17:11:Context data saved (save/spheredata.scp).
17:11:World save completed, took 0.6550 seconds
17:11:3:'haloz' commands 'save'=1

I found the error. It is not saving Spherestatics. the others are being saved.

does anyone knows why it is not saving spherestatics?


RE: Sphere Statics - darksun84 - 12-20-2013 06:46 AM

I think you have to use .savestatics (or .serv.savestatics or ## in the server console) for saving items with ATTR_STATICS .


RE: Sphere Statics - larmc20 - 12-20-2013 08:46 AM

thanks a lot


RE: Sphere Statics - XuN - 12-20-2013 08:56 AM

It is splitted to don't have more large worldsaves, i'm sure you are not adding static items in every worldsaves to have them saved, but if you want to automatize it you can go to f_onserver_save_ok in sphere_serv_triggers.scp and add to it serv.savestatics .