Page 1 of 1
House Decay! Bug or no?
Posted: Sat Feb 11, 2006 7:42 pm
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"?
Posted: Sat Feb 18, 2006 1:50 am
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.
Posted: Sat Feb 18, 2006 9:11 am
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.
Re: House Decay! Bug or no?
Posted: Sat Feb 18, 2006 9:43 pm
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).
Posted: Sun Jul 09, 2006 11:02 pm
by giwo
We need to add in a real House Decay system, this will be one of my goals for 0.98-3.8.