The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sphere Statics
Author Message
larmc20
Journeyman
*

Posts: 67
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2013
Reputation: 0



Post: #1
Sphere Statics
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?
(This post was last modified: 12-20-2013 05:34 AM by larmc20.)
12-20-2013 05:02 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Sphere Statics
I think you have to use .savestatics (or .serv.savestatics or ## in the server console) for saving items with ATTR_STATICS .
(This post was last modified: 12-20-2013 08:50 AM by darksun84.)
12-20-2013 06:46 AM
Find all posts by this user Like Post Quote this message in a reply
larmc20
Journeyman
*

Posts: 67
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: May 2013
Reputation: 0



Post: #3
RE: Sphere Statics
thanks a lot
12-20-2013 08:46 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #4
RE: Sphere Statics
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 .
12-20-2013 08:56 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)