Top Mud Sites Forum Return to TopMudSites.com
  Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Read-only archive
The Top Mud Sites forum is closed.
Posting, registration and logins are disabled.

 
Old 09-07-2004, 04:52 PM   #1
Jaegar
New Member
 
Join Date: Apr 2002
Posts: 14
Jaegar is on a distinguished road
Lightbulb

I am trying to figure out how to get objects to save through a copyover if they are in a certain item type.  An example would be for all items in a donation pit would save through a copyover.  I know that saving items in the donation pit is not a good idea, just using it as an example.  Any help on this would be a great help.

Thanks,

Jaegar
 
Old 09-07-2004, 04:56 PM   #2
Enola_Phoenix
Member
 
Join Date: Jun 2004
Location: Georgia
Posts: 87
Enola_Phoenix is on a distinguished road
Add the persist flag to the room/object, that will keep it from being deleted during a copyover, useful for lockers, clan halls, cabinets, etc......
 
Old 09-08-2004, 02:31 AM   #3
Jaegar
New Member
 
Join Date: Apr 2002
Posts: 14
Jaegar is on a distinguished road
Unhappy

Haven't been able to find anything on a persist flag.  Any ideas where I could obtain more information on it?
 
Old 09-08-2004, 08:23 AM   #4
Amnon
Member
 
Join Date: May 2002
Posts: 140
Amnon is on a distinguished road
I doubt that's a part of the stock code... so...

What you need to code is a datafile where objects save on every few minutes and on every copyover. Basically, it just saves the object as a line of data, then when the game reboots it reads those lines and turns it into an object.
 



Objects saving through copyover - Similar Threads
Thread Thread Starter Forum Replies Last Post
Guidelines for rooms/objects/MOBs etc Taniquetil MUD Builders and Areas 7 04-26-2003 06:26 AM
Game balance: limits on mobs and objects Aloysius MUD Builders and Areas 6 08-04-2002 04:03 AM
problems with smaug 1.4 objects Shao_Long MUD Builders and Areas 5 07-05-2002 01:16 PM
Animated objects Eagleon Advanced MUD Concepts 19 05-03-2002 04:53 AM


All times are GMT -4.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2022