Quote:
Originally Posted by Trumpcard
Under what conditions would you need to set the pets owner id to 0 ?
|
Probably any case where you're depopping a pet. The problem is probably related to the case where the owner has more than one pet (or a given pet claims to belong to the owner but the owner's petid doesn't match). If these values don't match, then getowner orphans the pet by setting its ownerid to 0.
I'm not familiar w/ the pet code, either, but I would probably start by looking into what happens to the first pet when a second one is created - i.e... I'd gamble that all the pets w/ ownerid of 0 shouldn't be existant.