[FIXED] House Decay! Bug or no?

Found a bug in UOX3? Or experienced a server crash? Perhaps you've noticed a broken feature? Post the details here!
Post Reply
stranf
UOX3 Guru
Posts: 939
Joined: Wed Jan 04, 2006 3:59 pm
Has thanked: 0
Been thanked: 0

House Decay! Bug or no?

Post by stranf »

So i was sitting in my castle, when everything started vanishing, including the front doors! (That's what got me thinking, maybe my castle collapsed....I'm not sure to check decay status on UOx3.)

Anyway, I *believe* the owner PC was deleted; however, I have a lot of "friends" who used the building. Could it be, that for somereason, it wasn't getting refreshed and everything started decaying?

Anyway, how do I fix this?

(the error was noticed on 3.2-q.)

PS: In the meantime, is there a way to create a script that globablly changes all items to "set decayable 0"?
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

Currently there is no exception for houses in the decay system, as best I can tell. We do need to implement some system (I was quite fond of OSI's house decay style anyway) to handle house decay, but it will take some time.

[EDIT]

As a side note, I've never had a house decay on me... but perhaps that is because I haven't had one long enough on UOX3. I never actually play, just online long enough to test individual situations/bugs.
Scott
stranf
UOX3 Guru
Posts: 939
Joined: Wed Jan 04, 2006 3:59 pm
Has thanked: 0
Been thanked: 0

Post by stranf »

Wow....so your saying the decay timer resets when the server restarts?

I had the server running for no more than 10 minutes before it started falling apart around me.

But that was good ol' 3.2q. I'll play around with the 3.3 experimentals, and I'll probably have no issue.
Grimson
Developer
Posts: 802
Joined: Sat Jun 04, 2005 1:52 am
Location: Germany
Has thanked: 0
Been thanked: 0

Post by Grimson »

stranf wrote:PS: In the meantime, is there a way to create a script that globablly changes all items to "set decayable 0"?
I'm not shure if this works on all items, but it should catch most of them:

Code: Select all

function onCreateDFN( objMade, objType )
{
	if( objType == 0 )
		objMade.decayable = 0;
}

function onCreateTile( objMade, objType )
{
	if( objType == 0 )
		objMade.decayable = 0;
}
You have to place it in the global script (the one with script id 0) and in the scripts you assigned to items (like your magic stuff).
giwo
Developer
Posts: 1780
Joined: Fri Jun 18, 2004 4:17 pm
Location: California
Has thanked: 0
Been thanked: 0

Post by giwo »

We need to add in a real House Decay system, this will be one of my goals for 0.98-3.8.
Scott
Post Reply