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

Reply
 
Thread Tools
Old 03-10-2004, 02:38 AM   #1
Jaegar
New Member
 
Join Date: Apr 2002
Posts: 14
Jaegar is on a distinguished road
Unhappy

I am working on a Rom2.4 mud and was wondering if there is a way to create rare/unique items that only repop at the time of a copyover/reboot of the mud.  If so, can this be set with resets or does it have to be coded into the mud?

Any help would be appreciated.

Thanks in advance,

Jaegar
Jaegar is offline   Reply With Quote
Old 03-10-2004, 07:20 AM   #2
Amnon
Member
 
Join Date: May 2002
Posts: 140
Amnon is on a distinguished road
Most likely you'll have to code a new reset. It won't be a normal reset, though, you'll have to put it in the startup section of the mud only instead of the normal loop.
Amnon is offline   Reply With Quote
Old 03-10-2004, 04:56 PM   #3
Molly
Senior Member
 
Join Date: Apr 2002
Location: Sweden
Home MUD: 4 Dimensions
Posts: 574
Molly will become famous soon enoughMolly will become famous soon enough
I am not quite sure about ROM, but here's how it can be done in CIRCLE, within the existing code. Since the codebases are similar in many ways, it just might work in ROM too:

1. Reset a container in the room.
2. Reset the object you want to load only at reboot IN the container, as a command dependant on the container to load.

Normally, if you want the object in the container to load each time the zone resets, you also have to make another reset command as a first command, to remove the container:

0. Remove a container from the room.

Since the event in line 2 is dependant on the event in line 1 to happen, line 0 ensures that the container will be loaded each time the zone resets.

Without line 0, the container will still be in the room when the zone resets, so the item inside won't load, even if someone took it away.
Not until the room is clearted by a reboot or a crash.

This is one way to do it, within the existing code.

You can also set a low max number in reset, but that only stops the item from loading if enough players with the object are logged on at the time when the zone resets.

In Circle we also have the artifact code,  where you can restrict the total number of an object loading, even if the players that have it are not logged on at present.

Yet another way is to make a script with a zone reset trigger, which only loads the object in for instance 20% of the times.
Molly is offline   Reply With Quote
Reply


Thread Tools


Rare and Unique Items - Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for Colorful/Unique Mud Poleris Advertising for Players 6 07-07-2006 02:39 PM
Unique MUD idea? tehScarecrow Tavern of the Blue Hand 7 04-25-2006 03:55 PM
Unique Bad Guys Milawe MUD Builders and Areas 2 04-22-2006 11:59 AM
A Unique RPI in Development... Jerusalem Advertising for Staff 2 08-14-2005 08:59 PM
Unique Request Ike Advertising for Players 3 08-31-2002 01:36 PM

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 10:38 PM.


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