#131 Pets are "unfollow pet" after sleeping

Closed
opened 1 week ago by eugeneloza · 6 comments

Leaving a pet in open door (which shuts afterwards) while sleeping seems to kill it (PET ERROR: UNFOLLOW PET). I'm not 100% sure it is caused by the door, maybe, just by sleeping.

Still, the first turn after sleeping pet is ok and is shown at the same tile, as the player is (i.e. on the bed). The next move after the sleep throws error and the pet vanishes forever :)

~~Leaving a pet in open door (which shuts afterwards) while sleeping seems to kill it~~ (PET ERROR: UNFOLLOW PET). I'm not 100% sure it is caused by the door, maybe, just by sleeping. Still, the first turn after sleeping pet is ok and is shown at the same tile, as the player is (i.e. on the bed). The next move after the sleep throws error and the pet vanishes forever :)
eugeneloza commented 1 week ago
Poster

Confirmed: pets are killed by sleeping, not by door.

Confirmed: pets are killed by sleeping, not by door.
eugeneloza commented 1 week ago
Poster

Seems like it's the result of #127

Seems like it's the result of https://notabug.org/themightyglider/RogueBoxAdventures/issues/127
themightyglider commented 1 week ago
Owner

I tried it out several time but I can't reproduce this bug. for me it works just fine.

I tried it out several time but I can't reproduce this bug. for me it works just fine.
eugeneloza commented 1 week ago
Poster

Strange... I've got three pets unfollowed and eliminated with 100% reproduction. Maybe that might be caused by the savegame started and all three pets hatched before the bugfix was applied?

P.S. It happens in Desert.

Strange... I've got three pets unfollowed and eliminated with 100% reproduction. Maybe that might be caused by the savegame started and all three pets hatched *before* the bugfix was applied? P.S. It happens in Desert.
eugeneloza commented 1 week ago
Poster

Same happened in the overworld with a new pet (most certainly obtained after the last update). Sleeping makes unfollow pet.

I guess I should try starting a new game.

Is there a cheat to get a monster egg / pet faster? :)

Same happened in the overworld with a new pet (most certainly obtained after the last update). Sleeping makes unfollow pet. I guess I should try starting a new game. Is there a cheat to get a monster egg / pet faster? :)
themightyglider commented 1 day ago
Owner

Fixed this on a much easier way. The pet stays next to you but the radius where monsters can wake you up is increased.

to spawn a new pet try:

world.maplist[player.pos[2]][player.on_map].npcs[player.pos[1]+2][player.pos[0]] = deepcopy(ml.mlist['pet'][0])

Fixed this on a much easier way. The pet stays next to you but the radius where monsters can wake you up is increased. to spawn a new pet try: world.maplist[player.pos[2]][player.on_map].npcs[player.pos[1]+2][player.pos[0]] = deepcopy(ml.mlist['pet'][0])
Sign in to join this conversation.
No Milestone
No assignee
2 Participants
Loading...
Cancel
Save
There is no content yet.