Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ Running the server ➜ area resets

area resets

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Ember   (6 posts)  Bio
Date Wed 13 Nov 2002 09:48 PM (UTC)
Message
setting a limit on objects with the reset commands isn't limiting the amount of that object that pops like it seems it should.

could someone tell me if this is a known bug and if there is a patch for it?

Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #1 on Wed 13 Nov 2002 11:13 PM (UTC)
Message
Typically, the object reset limit is specific to the room it is reset into. Also, if there are ANY characters in the area when zonelife is reached objs that load directly on the ground will *not* load. This is a coded fearure to prevent players from sitting in a room to "harvest" a particularly useful item. I believe most codebases also extend this to objs loaded within other objs, potions inside a chest for instance.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Ember   (6 posts)  Bio
Date Reply #2 on Wed 13 Nov 2002 11:23 PM (UTC)

Amended on Thu 14 Nov 2002 12:02 AM (UTC) by Ember

Message
thanks for trying to help, but you didn't answer my question at all.

ok, for example.

we are trying to set it to where.. say.. only 5 blue rings in existance at any given time in the game, either worn by mobs, or players, or a combination of both.

so we try something like
reset add give 1200 5

then reset area a few times to test it.. and end up with more than 5 in existance..

we are wondering why the set limit doesn't prevent that?

Top

Posted by Chris L   USA  (57 posts)  Bio
Date Reply #3 on Thu 14 Nov 2002 12:03 AM (UTC)
Message
theres a snippet to make items rare/unique
http://homepages.enterprise.net/cyclops/snippets2.shtml
the rare one ;)
u can assign amount rares or uniques, like 3 rares and 1 unique, it will check corpses/offline chars and all so thats best bet
Top

Posted by Meerclar   USA  (733 posts)  Bio
Date Reply #4 on Thu 14 Nov 2002 12:44 AM (UTC)
Message
Nice snipet actually, looks like it will handle one of my Stormbringer projects very nicely once I convert a few of the functions to work under DoT.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
Top

Posted by Buck   USA  (23 posts)  Bio
Date Reply #5 on Fri 13 Aug 2004 04:44 AM (UTC)
Message
Sorry to revive this thread from the nostalgia file, but I've been looking all over for this rare/unique snippet. The only place I see a link to it is at the above site, which is no longer active -- the download, I mean. Do you know if any other site has it or would someone post it, please? It looks to be a really useful snippet, makes me wonder why it was the only one...

-Buck.
tbgamecock@yahoo.com
"I am Homer of Borg. Prepare to be assim... ooooo, Doughnuts!"
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #6 on Sat 14 Aug 2004 04:27 PM (UTC)
Message
Wow. Talk about a blast from the past!

Anyway, if you're looking for something to do this with, you can look at the rent snippet on my site and pick from that what you need. It handles keeping count of rare items and imposes limits on them. While it's designed to do so based on a rent value, nothing says you have to use the parts of the code which actually charge that rent.
Top

Posted by Buck   USA  (23 posts)  Bio
Date Reply #7 on Sun 15 Aug 2004 12:04 AM (UTC)
Message
Thanks for the reply, hehe it is an old thread! I actually had your rent snippet, but because of my (1) converting to a P/G/S currency system, (2) the size of the snippet and (3)my limited coding experience, I didn't see a way to just implement the eq limitation aspect of the snippet.
Is there a way, perhaps to simply use the rent value as the maximum number that will load without implementing a full rent code?
or
What portions of the snippet, if any, could be used independently to just effect item limits?
or
How could I modify the snippet to fully implement it to fit a 3-tier money code?

Thanks in advance for any assistance you can provide.

-Buck.
tbgamecock@yahoo.com
"I am Homer of Borg. Prepare to be assim... ooooo, Doughnuts!"
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


21,954 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.