Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pets remain on reset #1450

Closed
SlimeDog opened this issue Jul 12, 2020 · 15 comments
Closed

Pets remain on reset #1450

SlimeDog opened this issue Jul 12, 2020 · 15 comments
Assignees
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug

Comments

@SlimeDog
Copy link

Description

Describe the bug

On island reset or (unregister/register), pets remain on the old island, and could possibly be transferred to the new island, for advantage.

Output of /bbox version (Mandatory)
[11:29:30] [Server thread/INFO]: Running SPIGOT 1.16.1.
[11:29:30] [Server thread/INFO]: BentoBox version: 1.14.1-SNAPSHOT-b1835
[11:29:30] [Server thread/INFO]: Database: JSON
[11:29:30] [Server thread/INFO]: Loaded Game Worlds:
[11:29:30] [Server thread/INFO]: world_skyblock (SkyBlock): Overworld, [nether_color]Nether, [end_color]End
[11:29:30] [Server thread/INFO]: Loaded Addons:
[11:29:30] [Server thread/INFO]: Biomes 1.13.0-SNAPSHOT-b180 (ENABLED)
[11:29:30] [Server thread/INFO]: BSkyBlock 1.13.0-SNAPSHOT-b601 (ENABLED)
[11:29:30] [Server thread/INFO]: Challenges 0.9.0-SNAPSHOT-b420 (ENABLED)
[11:29:30] [Server thread/INFO]: ExtraMobs 1.11.0.4-SNAPSHOT-b7 (ENABLED)
[11:29:30] [Server thread/INFO]: Level 2.3.2-SNAPSHOT-b396 (ENABLED)
@Fredthedoggy
Copy link
Contributor

This is similar to #1442, which was to limit dogs/cats to a specific island.

@SlimeDog
Copy link
Author

It is vaguely related, except #1442 is about other player's pets and this issue is about my own pets.

To clarify, if I get to keep my pets after an island reset, I gain some (relatively small) advantage compared with having to acquire them through successful challenges.

@Fredthedoggy
Copy link
Contributor

Yeah, but with per island pets, you would not be able to transfer pets to a new island. They would be deleted with the old one.

@SlimeDog
Copy link
Author

Not if you unregister the player and leave the old island intact (for reference and photo ops, say).

@Fredthedoggy
Copy link
Contributor

But the dog is trapped in the new island, so it won't be able to teleport to their new island. Therefore, you can leave it, and the dogs will still work if you tp back, but otherwise they are gone

@SlimeDog
Copy link
Author

Several of my dogs transported to my new island from the one on which I was unregistered. I killed them, to play fair. That was the genesis of this issue.

@tastybento tastybento added the Status: Under investigation Investigating the interest and the feasability of the issue. label Jul 16, 2020
@tastybento tastybento self-assigned this Jul 16, 2020
@SlimeDog
Copy link
Author

This issue may well have been caused by BSkyBlock#355. I have not observed it since that was fixed. Just a thought...

@tastybento
Copy link
Member

This issue may well have been caused by BSkyBlock#355. I have not observed it since that was fixed. Just a thought...

No, it's unrelated. It's normal game mechanics that tamed animals will try to follow a player when the chunks are unloaded that they are in. This apparently, isn't always the case (Mojang bug), but most of the time. Depending on how long it takes before a chunk is unloaded or not when resetting an island, the island may be deleted and the entities there removed (killed). So, I'd say that it's just luck whether you get your pet or not. To fix this we need to untame all the animals on an island that is going to be reset, or kill them.

@SlimeDog
Copy link
Author

One vote for untame, but either is fine.

@Fredthedoggy
Copy link
Contributor

Just a thought, but would that mean if you reclaim the island, then your pets are all untaimed?

@SlimeDog
Copy link
Author

Yes, but reclaim is presumably a rare event. It is not difficult to tame them again. But if the abandoned island is otherwise used, it's good that the abandoned pets aren't owned by you.

(Related: Island reset does not clear the player inventory. Should it do? If so, new issue.)

@Fredthedoggy
Copy link
Contributor

I guess your right, it is a rare occurrence. just a question, do wolves get just entirely reset? Because they can't be sitting or keep a collar color if unclaimed.

Your second question:
https://github.com/BentoBoxWorld/BSkyBlock/blob/develop/src/main/resources/config.yml#L266

@SlimeDog
Copy link
Author

SlimeDog commented Jul 19, 2020

Your second question:
https://github.com/BentoBoxWorld/BSkyBlock/blob/develop/src/main/resources/config.yml#L266

Perfect. Works great except: new issue posted: #1461.

So, tamed wolf and tamed cat should be added as options on reset.on-join and reset.on-leave. I assumed that wolf would be completed reset, to untamed.

@SlimeDog
Copy link
Author

>bbox version
[08:41:55] [Server thread/INFO]: Running SPIGOT 1.16.1.
[08:41:55] [Server thread/INFO]: BentoBox version: 1.15.0-SNAPSHOT-b1847
[08:41:55] [Server thread/INFO]: Database: JSON
[08:41:55] [Server thread/INFO]: Loaded Game Worlds:
[08:41:55] [Server thread/INFO]: world_skyblock (SkyBlock): Overworld, [nether_color]Nether, [end_color]End
[08:41:55] [Server thread/INFO]: Loaded Addons:
[08:41:55] [Server thread/INFO]: Biomes 1.13.0-SNAPSHOT-b181 (ENABLED)
[08:41:55] [Server thread/INFO]: BSkyBlock 1.13.0-SNAPSHOT-b601 (ENABLED)
[08:41:55] [Server thread/INFO]: Challenges 0.8.4-SNAPSHOT-b428 (ENABLED)
[08:41:55] [Server thread/INFO]: ExtraMobs 1.11.0.4-SNAPSHOT-b7 (ENABLED)
[08:41:55] [Server thread/INFO]: Level 2.4.0-SNAPSHOT-b405 (ENABLED)

I just reset my island, and tamed wolves followed me to the new island. I assume that owned cats would have done as well, had they not been force-sitting.

@tastybento tastybento added Status: In progress Working on the issue. and removed Status: Under investigation Investigating the interest and the feasability of the issue. labels Dec 24, 2020
@tastybento tastybento added Status: Done This issue has been completed or answered. This pull request has been merged. and removed Status: In progress Working on the issue. labels Dec 24, 2020
@SlimeDog
Copy link
Author

Confirmed on Spigot and Paper 1.16.4 with BentoBox 1.15.4-b1926. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Done This issue has been completed or answered. This pull request has been merged. Type: Bug
Projects
None yet
Development

No branches or pull requests

3 participants