![]() |
|
||||||||
| |||||||||
(#1)
|
|
Forum Expert
Posts: 4,708
Join Date: Aug 2008
Location: Italia, near Britannia
|
Many tamers tame and release creatures. These creatures are detached from the spawner and serialized, thus making the world save time longer.
The proposal is to make pets, when tamed and released, to be automatically deleted after some time from the last release (psz suggests 1 week). OSI: In OSI spawners work in a different way, and this report is meant for RunUO maintenance. Would this need to add a new timer on creatures, or could we use an existant timer, like the one to let dead bonded pets disappear? |
|
|
|
(#2)
|
|
Forum Master
Posts: 5,902
Join Date: Apr 2006
Location: In the backstage, doing the Sound Efx
|
Probably would need a new timer. I believe 1 week is too long, though. I'd say 3 days, that should be enough for tamers to look for a lost pet and even re-tame them.
|
|
|
|
(#3)
|
|
Forum Expert
Posts: 4,708
Join Date: Aug 2008
Location: Italia, near Britannia
|
Hmmm...
the timer I was looking on is "OwnerAbandonTimer"... if it would be possible to use it, it would be better: another timer would need another thing to serialize, then the good effect of deleting creatures would be nullified... |
|
|
|
(#4)
|
|
Forum Master
Posts: 5,902
Join Date: Apr 2006
Location: In the backstage, doing the Sound Efx
|
Quote:
If the mob is controlled, the timer is the normal 8 hours and the mob abandons the owner by then. if the mob is released and controlled is then set as false, the timer is now 3 days and it gets deleted by then. |
|
|
|
|
(#5)
|
|
UO Gamers: Demise Administrator
Posts: 13,511
Join Date: Oct 2002
Location: Swamp
|
That is for Bonded Ghosts
(As I said in IRC) THere are no timers currently to see how long since a pet was released (Though you can see previous owners) And yes, 3 days was the timer I'd suggested in the end as well. Creator of UOGamers: Demise(Retired) The RunUO.com Forum Moderator Team Quality Control Czar |
|
|
|
(#6)
|
|
Forum Novice
Posts: 378
Join Date: Jan 2005
|
Here is something. Any current uncontrolled and unstabled creatures not belonging to a spawner are given a three day timer to delete. This is for ALL uncontrolled and spawnerless creatures upon first load! Let me know if this not desired.
Any time the controller is changed the timer is removed or restarted with 3 days. Releasing a pet will start the timer and taming it again will stop it. BaseEscortables and Summons are an exception to this (they have their own timers). EDIT: Oh, there's a GM property to view the DeleteTimeLeft too. |
|
|
|
(#7)
|
|
UO Gamers: Demise Administrator
Posts: 13,511
Join Date: Oct 2002
Location: Swamp
|
Don't think this will work: What if there are non-spawned mobiles used for events that last more than 3 days? Those would be removed as well.
Then there are monsters linked to controllers, monsters that are spawned by Champs, monsters spawned by the Brazier, monsters spawned by Linked Spawners, etc etc etc. I think a better method would be "Is there a Previous Owner? If yes, then check how long since it's been released". No need to check for whether it's linked to a spawner (or anything else, for that matter). Once it's tamed, it's no longer linked to a spawner, afterall ;-> Creator of UOGamers: Demise(Retired) The RunUO.com Forum Moderator Team Quality Control Czar |
|
|
|
(#8)
|
|
Forum Novice
Posts: 378
Join Date: Jan 2005
|
Quote:
The only checks when the control master is set to start the timer is whether it's a summon, stabled, or whether it's a BaseEscortable. So the only thing that should cause creatures to be deleted post-update is if the creature is released. |
|
|
|
|
(#9)
|
|
Forum Novice
Posts: 378
Join Date: Jan 2005
|
Looks like the abandon time had to do with leaving a tamed pet alone. So there's no date/time recorded for when a pet was released. Anyway, on deserialization any creatures that previously had an owner and aren't currently controlled will be given a new 3 day timer or a timer based on the time left. This should leave alone anything that wasn't tamed. Only released/abandoned creatures should get the timer which is reset each time it is tamed and released.
|
|
|
|
(#10)
|
|
Forum Expert
Posts: 4,708
Join Date: Aug 2008
Location: Italia, near Britannia
|
To test this, I have created a fence outside boundaries of the TC headquarters (near the lava pit) and I have put in there:
- tamed and released horse, dog, giant beetle - a untamed horse (by [add horse) I wanted also to add an abandoned creature there: tamed, then the guy logs out and the pet loses loyalty until it becomes wild... but I realize in TC pets do autostable even if not bonded (or I haven't understood fully autostable). For now, I can say all of pre-tamed creatures have a value DeleteTime that indicates about 3 days, while on the spawned horse the DeleteTime value is 0. |
|
|
|
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|