area resets

Posted by Ember on Wed 13 Nov 2002 09:48 PM — 8 posts, 29,239 views.

#0
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?

USA #1
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.
#2
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?

Amended on Thu 14 Nov 2002 12:02 AM by Ember
USA #3
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
USA #4
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.
USA #5
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...
USA #6
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.
USA #7
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.