[IMPLEMENTED] UO.ini change request!

If Wishes were UOX Coders, we'd be done by now ;P Post your wishes/suggestions for UOX3 changes/improvements here.
Post Reply
stranf
UOX3 Guru
Posts: 939
Joined: Wed Jan 04, 2006 3:59 pm
Has thanked: 0
Been thanked: 0

UO.ini change request!

Post 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]
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post 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 =)
-= Ho Eyo He Hum =-
stranf
UOX3 Guru
Posts: 939
Joined: Wed Jan 04, 2006 3:59 pm
Has thanked: 0
Been thanked: 0

Post 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.
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post 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.
Scott
Guest
Has thanked: 0
Been thanked: 0

Post 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.)
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Was it locked down? (And how the heck do you manage to post as Guest? I thought I'd disabled that :P)
-= Ho Eyo He Hum =-
stranf
UOX3 Guru
Posts: 939
Joined: Wed Jan 04, 2006 3:59 pm
Has thanked: 0
Been thanked: 0

Post 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...
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Well, you wouldn't need to "manually" remove corpses, worst come to worst.

Just use 'cleanup
Scott
Post Reply