Log in

View Full Version : Pets stay as NPC when logoff *DUPE ISSUE*


Irreverent
06-22-2007, 09:56 AM
Anyone else having this problem? If someone logs, their pet stays as like sk_pet or skel_pet, etc. Then they log back in, they still have their pet but the other is now considered an NPC until its killed or zone #repoped.

Problem with this is that if there are any items on the pet, the old one can die and you can loot it off them. *dupe issue!!* I just confirmed this with myself.

Irreverent
06-27-2007, 01:44 AM
Ok, I still haven't found a way to make your pets disappear or die or whatever when you log / ld / etc. This is going to cause a huge balance issue.

Irreverent
07-04-2007, 01:29 PM
I'd be willing to make players lose thier pets between zones, because this bug will make any server lose its economy.

Blakine
07-26-2007, 02:31 AM
Anyone else having this problem? If someone logs, their pet stays as like sk_pet or skel_pet, etc. Then they log back in, they still have their pet but the other is now considered an NPC until its killed or zone #repoped.

Problem with this is that if there are any items on the pet, the old one can die and you can loot it off them. *dupe issue!!* I just confirmed this with myself.

I remember back on live I found a way to turn my pet into a mob (necro pet). But even then I still could not loot anything off of it. That seems to be the problem to me, need to prevent anyone from looting the pet. I'll look into it.

Irreverent
07-26-2007, 02:33 AM
OK, this was an older topic...but a few things to add to help

-This also happens when a player zones, they keep their pet in the new zone(minus buffs)...but the pet in the zone they came from becomes an NPC with a name like necro_pet23 or such.

-This is AMPLIFIED hugely with persistant zone state(which I eventually turned off) because as soon as they zone, it saves it with the NPC there...and then each time they zone in/out(like pok) it leaves another ghost there...

Blakine
07-26-2007, 02:52 AM
OK, this was an older topic...but a few things to add to help

-This also happens when a player zones, they keep their pet in the new zone(minus buffs)...but the pet in the zone they came from becomes an NPC with a name like necro_pet23 or such.

-This is AMPLIFIED hugely with persistant zone state(which I eventually turned off) because as soon as they zone, it saves it with the NPC there...and then each time they zone in/out(like pok) it leaves another ghost there...

Interesting. So as it is right now when they zone they leave behind a pet, and when they log out/ld they leave a pet. Are you still getting multiple pets when they zone in/out?

Found the line that may control a pet having a lootable inventory. I really need to set up my dev env. Will try and do that today.

endra
08-04-2007, 09:17 AM
Yeah I know you've done it already but it helps a lot. My only guess is that its not manipulating any spawns since it doesn't come back on repop, thank god. But it is still an NPC from the NPC_Types table so the game considers it one. When it's your pet the engine names it one of those wierd names like jonaner or xobaber. And npcstats shows it. But its still that type of npc in the table. It could be as simple as the emu writers forgetting to delete the npc from the world after the owner has left. Im guessing to fix this would require a rebuild of the binaries. But its all just educated guesses and humble opinions.