Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Reply
 
Thread Tools
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
Jaegar is offline   Reply With Quote
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
Send a message via AIM to Enola_Phoenix Send a message via MSN to Enola_Phoenix Send a message via Yahoo to Enola_Phoenix
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......
Enola_Phoenix is offline   Reply With Quote
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?
Jaegar is offline   Reply With Quote
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.
Amnon is offline   Reply With Quote
Reply


Thread Tools


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 04:28 AM.


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