PenUltima Online Forum Index Official Core: 096.7
Official Core: 097 2008-02-26
Donate towards the POL web hosting bill!
 POL Home   FAQ   Search    Memberlist   Usergroups    Register    Profile   Log in to check your private messages   Log in
Moving container from server to server

 
Post new topic   Reply to topic    PenUltima Online Forum Index -> Custom Script Releases
Display posts from previous:   

Author Message
OldnGrey



Joined: 04 Feb 2006
Posts: 529

PostPosted: Tue Jun 24, 2008 3:10 am    Post subject: Moving container from server to server Reply with quote

I am often in the situation where I have yesterday's shard backup on my test server and want to move items back to the main shard - eg I want to restore a container of items that was accidently deleted.

These two simple utilities can be used to copy a container (non recursive) out to a cfg file and then import the items from the same file into a target container. The cfg file can of course be moved to another server. The core idea and code is not original, Racalac did these years ago with world items.

I haven't bothered to try and figure out how to recursively copy containers, or even preserve the co-ordinates in the container. I just needed it to do what it does.



saverestoreobjects.zip
 Description:
saveobjects.src and restoreobjects.src

Download
 Filename:  saverestoreobjects.zip
 Filesize:  2.18 KB
 Downloaded:  24 Time(s)


Author Message
Justae



Joined: 24 May 2007
Posts: 28
Location: South Africa

PostPosted: Thu Jun 26, 2008 2:25 pm    Post subject: Reply with quote

Very handy, thanks Oldngrey.

Post new topic   Reply to topic    PenUltima Online Forum Index -> Custom Script Releases All times are GMT - 4 Hours
Page 1 of 1

 




Powered by phpBB © 2001, 2005 phpBB Group :: Theme & Graphics by GHS & Scott E. Royalty