BG-Software-LLC / SSB-SlimeWorldManager

An addon for SuperiorSkyblock2 that adds SlimeWorldManager support for worlds management!
22 stars 19 forks source link

Chunk unloaded #25

Closed khisabkurniawn closed 8 months ago

khisabkurniawn commented 1 year ago

Minecraft's Version

AdvancedSlimePaper-b733.jar (latest version of 1.19.4)

Plugin's Version

Plugins and Modules

Describe the bug

After running server and loaded island in several times, when i try to rejoin island doesnt loaded

To Reproduce

By default SlimeWorldIslands config set unload-delay: 10 i try to 0 so there is no unload chunk, but it makes much world loaded in same times, which is makes a alot of ram used

Additional Information

There is no error in console and ingame, so idk what to do. it just not island loaded sometime only several chunks loaded

khisabkurniawn commented 1 year ago

When i try to manual unloaded using /swm unload island_12345_nornal and then try to rejoin island it works great. so, i guess the problem coming from SSBSlimeWorldManager in unloaded function.

OmerBenGera commented 1 year ago

Does it work as expected if you don't set this value to 0?

khisabkurniawn commented 1 year ago

Does it work as expected if you don't set this value to 0?

sorry, it do same thing when i set 10 and set to 0.. sometimes world not loaded or world loaded but some chunk not loaded

OmerBenGera commented 1 year ago

Please explain exactly what happens. The module will unload the world if it is not being used for certain amount of time, however it will be loaded again as soon as you teleport it. Anything not related to that (aka, worlds are broken, etc), this might be related to AdvancedSlimePaper as they handle the worlds and not the module.

khisabkurniawn commented 1 year ago

Please explain exactly what happens. The module will unload the world if it is not being used for certain amount of time, however it will be loaded again as soon as you teleport it. Anything not related to that (aka, worlds are broken, etc), this might be related to AdvancedSlimePaper as they handle the worlds and not the module.

after starting server, when new player when go to island it works great without any issues... and when player outside from island to another world in several times and then they try to come back to their island but island not loaded only send message you will be teleported in 1 seconds...

OmerBenGera commented 1 year ago

Please explain exactly what happens. The module will unload the world if it is not being used for certain amount of time, however it will be loaded again as soon as you teleport it. Anything not related to that (aka, worlds are broken, etc), this might be related to AdvancedSlimePaper as they handle the worlds and not the module.

after starting server, when new player when go to island it works great without any issues... and when player outside from island to another world in several times and then they try to come back to their island but island not loaded only send message you will be teleported in 1 seconds...

From where does this message come from?

khisabkurniawn commented 1 year ago

Please explain exactly what happens. The module will unload the world if it is not being used for certain amount of time, however it will be loaded again as soon as you teleport it. Anything not related to that (aka, worlds are broken, etc), this might be related to AdvancedSlimePaper as they handle the worlds and not the module.

after starting server, when new player when go to island it works great without any issues... and when player outside from island to another world in several times and then they try to come back to their island but island not loaded only send message you will be teleported in 1 seconds...

From where does this message come from?

This message coming from SuperiorSkyblock plugin, it happen when player type /island go or /island after several times player leave their island

OmerBenGera commented 1 year ago

Does it happen if you only have SSB installed as well as the module and AdvancedSlimePaper?

khisabkurniawn commented 1 year ago

Does it happen if you only have SSB installed as well as the module and AdvancedSlimePaper?

yes, it happen even without any plugins installed.. i have try it

OmerBenGera commented 1 year ago

Does it happen if you only have SSB installed as well as the module and AdvancedSlimePaper?

yes, it happen even without any plugins installed.. i have try it

Is the world loaded when you teleport to it, or is it unloaded at that time? If it is loaded, can you teleport to it without using SSB's commands?

khisabkurniawn commented 1 year ago

Is the world loaded when you teleport to it, or is it unloaded at that time?

when player to rejoin their island, so world in loaded, it works great when world is on unloaded

If it is loaded, can you teleport to it without using SSB's commands?

no, i have try it to try to teleport using SSB commands and SWM commands. and i have try to unload manually using SWM commands and then try to visit the island it works but world not saved to latest progress due too i try to unload manually using SWM commands.

OmerBenGera commented 1 year ago

Try teleporting to the world using SWM command instead of SSB command. Does it work if you do so?

khisabkurniawn commented 1 year ago

Try teleporting to the world using SWM command instead of SSB command. Does it work if you do so?

as i said, it doesn't works using SWM command or SSB command to teleport

OmerBenGera commented 1 year ago

Try teleporting to the world using SWM command instead of SSB command. Does it work if you do so?

as i said, it doesn't works using SWM command or SSB command to teleport

It sounds like an issue with the plugin that handles the slime worlds (aka, AdvancedSlimePaper)

khisabkurniawn commented 1 year ago

It sounds like an issue with the plugin that handles the slime worlds (aka, AdvancedSlimePaper)

i have checked to ASP, it looks like same issue in this: https://github.com/InfernalSuite/AdvancedSlimePaper/issues/55 maybe you can check it to make sure its error coming from ASP.

OmerBenGera commented 1 year ago

Is this still relevant?

OmerBenGera commented 8 months ago

Closing this due to lack of response If the issue is still relevant, let me know