Jump to content

Recommended Posts

Posted

the server unloads overworld(dimension 0) when the only player logs out

 

i am modder of LainCraft, i kept DimensionManager (and all related things) untouched.

and i checked latest and recommended version of forge, still get to this impossible crash.

 

patched classes:

ChatAllowedCharacters (for localization)

FontRenderer (wont be patched on serverside) (for localization)

GuiScreen (wont be patched on serverside) (for localization)

NetClientHandler (for modding with clientside player)

PlayerControllerMP (wont be patched on serverside)

ServerConfigurationManager (for modding with serverside player)

 

serverlog:

 

  Reveal hidden contents

 

 

i tried to adds "throw new RuntimeExcpetion("TRACETHIS");" to DimensionManager.setWorld, the result shows overworld is unloaded through MinecraftServer.updateTimeLightAndEntities --> DimensionManager.unloadWorlds

and unloadQueue is associated only with DimensionManager.unloadWorld

then unloadWorld is invoked from ChunkProviderServer.unload100OldestChunks which is impossible for overworld (marked as keeploaded by default)

 

and when i delete AuthManager from my whole mod, it runs normally.(i tried made it not to register any hook, and it still gets the impossible bug)

 

if necessary i can provide the whole mod which is still under completion

and sorry for my bad english

Posted

it gets solved by split my mods into several zip file, quite strange, a bug with classloader?

Please ignore this post

it still occurs

 

whenever i invoked player.readFromNBT in onPlayerLogin with IPlayerTracker

k, i did nothing, but still occurs\

 

its my problem, sorry, ignore this topic please

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

  Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

  Your link has been automatically embedded.   Display as a link instead

  Your previous content has been restored.   Clear editor

  You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Create New...

Important Information

By using this site, you agree to our Terms of Use.