Page 1 of 1

UO.ini change request!

Posted: Sun Feb 12, 2006 7:33 pm
by stranf
EDIT 08/01/2022 - This has been implemented from 0.99.4r via the NPCCORPSEDECAYTIMER setting in UOX.INI, which works like the CORPSEDECAYTIMER, but for NPC corpses instead of player corpses.

For those who don't want to be bored with my essay on why I'd like this addition, here is the blurb:
Add DecayCorpseOnly variable to Uo.ini. When flagged to 1, the garbage collection routine only destroys corpses, their contents, and the blood splot when the decaryrate has expired. All other items are ignored.



Hey! Just got back from a v3.3 quest run. It was great. Even went boating without a crash. :wink:

Anyway, I noticed that 3.3 is decay-happy. Usually only 30-40 items get swept during garbage cleanup, now I even head cleanups in over the 100s!

In fact, we were doing a quest for the Bards guild where we were discussing a Tamborine of the Stars (don't ask. :) ), and one PC placed the instrument on a table for all to see while we discussed our next move.

Not 5 minutes later......it Decayed!!!

So my request:

How hard would it be to add a line in the uo.ini CorpseDecayOnly 1, that when set to one, only corpses, there contents, and the blood spot, decays?

This would solve a LOT of headaches for my shard. (It's a small shard, so basically the only thing that really needs cleaning are the corpses anyway.)

I'm not sure how the garbage collection routine works, but if you could just check for a corpse ID tag I wouldn't think it'd be to difficult.

Thanks![/quote]

Posted: Sun Feb 12, 2006 11:52 pm
by Xuri
A better (in my opinion at least) solution would be to change the existing CORPSEDECAYTIMER setting to read a value in seconds, like DECAYTIMER, instead of just being a number to multiply decaytimer with.

That way you could set corpses to decay in 5 minutes or however long, and items in a hundred, if you wanted =)

Posted: Mon Feb 13, 2006 2:22 am
by stranf
Either way. Is that already in the .ini? (I'll have to check when I get to my computer)

If so, I'll just put the items to a really big integer. hehehe.

Posted: Mon Feb 13, 2006 2:33 am
by giwo
Just remember that that will affect corpses as well.

Corpse decay timers were quite screwey in the uox.ini handling. Technically the value that was read in was meant to be a timer value (not a multiplier). However it was never used anywhere. Meanwhile we had another value that was a multiplier which wasn't controlled by the uox.ini but was used on corpse creation.

Currently I have changed it so it will use the uox.ini entry as a timer value (so remember to change it or use defaults) with a default of 900 seconds (15 mins). This will only apply to player corpses, though, while NPC corpses continue to decay at the normal rate.

Note this is all 0.98-3.3b, which hasn't yet been committed to the CVS.

Posted: Mon Feb 13, 2006 4:40 pm
by Guest
Hmm....

So basically I can't change the decayrate of items without effecting corpse decayrate as well?

It's just frusterating to see things vanish on the table in front of you...... :o

(I had a desk collapse on me, inside my house on 3.2q....that was weird. haven't seen it on 3.3 yet.)

Posted: Mon Feb 13, 2006 5:16 pm
by Xuri
Was it locked down? (And how the heck do you manage to post as Guest? I thought I'd disabled that :P)

Posted: Mon Feb 13, 2006 5:43 pm
by stranf
oops. I don't know how I did that. I just pushed reply (I thought I was logged in.....)


Hmm....I don't think I "could" lock it down. We were sitting on a table in Lord Blackthorne's castle having a discussion about an artifact that a PC placed on the table. Less than 5 min. later, the artifact was gone!

That's why I'd like a way to disable item decay for my shard (since it's small anyway). If I have to, I'll just set the timer to max, and manually "remove" corpses after slaying them...

Posted: Mon Feb 13, 2006 6:20 pm
by giwo
Well, you wouldn't need to "manually" remove corpses, worst come to worst.

Just use 'cleanup