Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Unloaded chunks #10

Open
andreasdc opened this issue Jul 13, 2021 · 12 comments
Open

Unloaded chunks #10

andreasdc opened this issue Jul 13, 2021 · 12 comments

Comments

@andreasdc
Copy link

When I tp to chunk at 0, 0 I see unloaded chunk. When I tp somewhere else and tp back I see normal chunks.

@Samsuik
Copy link
Owner

Samsuik commented Jul 14, 2021

Any steps on how to reproduce this? I tried logging in at 0,0 tping to a random location and then back, logging in at a random location and then teleporting to 0,0 back and to 0,0 again. I didn't notice any chunks not loading properly.

Are you running the latest build? I reverted 3381d44 5 days ago due to it causing chunks to not load properly when moving about and when you login.

@andreasdc
Copy link
Author

@SuicidalKids ChunkProviderServer class is mostly SportPaper

@Samsuik
Copy link
Owner

Samsuik commented Jul 14, 2021

Not sure what you mean by that.

@andreasdc
Copy link
Author

SportPaper's version

@andreasdc
Copy link
Author

@SuicidalKids I can check with your latest version

@andreasdc
Copy link
Author

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Child module /root/IonSpigot/IonSpigot-Server of /root/IonSpigot/pom.xml does not exist @
[ERROR] Child module /root/IonSpigot/IonSpigot-API of /root/IonSpigot/pom.xml does not exist @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project me.suicidalkids.ion:parent:dev-SNAPSHOT (/root/IonSpigot/pom.xml) has 2 errors
[ERROR] Child module /root/IonSpigot/IonSpigot-Server of /root/IonSpigot/pom.xml does not exist
[ERROR] Child module /root/IonSpigot/IonSpigot-API of /root/IonSpigot/pom.xml does not exist
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

@Samsuik
Copy link
Owner

Samsuik commented Jul 17, 2021

[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Child module /root/IonSpigot/IonSpigot-Server of /root/IonSpigot/pom.xml does not exist @
[ERROR] Child module /root/IonSpigot/IonSpigot-API of /root/IonSpigot/pom.xml does not exist @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project me.suicidalkids.ion:parent:dev-SNAPSHOT (/root/IonSpigot/pom.xml) has 2 errors
[ERROR] Child module /root/IonSpigot/IonSpigot-Server of /root/IonSpigot/pom.xml does not exist
[ERROR] Child module /root/IonSpigot/IonSpigot-API of /root/IonSpigot/pom.xml does not exist
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

This can happen due to the project not being able to be built, there may be an error somewhere above that message.

@andreasdc
Copy link
Author

@SuicidalKids
/IonSpigot# ./build.sh
Downloading unmapped vanilla jar...
Applying class mappings...
Applying member mappings...
Exception in thread "main" java.util.zip.ZipException: zip END header not found
at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1587)
at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1441)
at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1450)
at java.base/java.util.zip.ZipFile$Source.(ZipFile.java:1263)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1225)
at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java :706)
at java.base/java.util.zip.ZipFile.(ZipFile.java:240)
at java.base/java.util.zip.ZipFile.(ZipFile.java:171)
at java.base/java.util.jar.JarFile.(JarFile.java:348)
at java.base/java.util.jar.JarFile.(JarFile.java:319)
at java.base/java.util.jar.JarFile.(JarFile.java:285)
at net.md_5.ss.SpecialSource.map(SpecialSource.java:69)
at net.md_5.ss.SpecialSource.main(SpecialSource.java:44)
Failed to apply member mappings.
[ERROR] Error executing Maven.
[ERROR] java.lang.IllegalStateException: Unable to load cache item
[ERROR] Caused by: Unable to load cache item
[ERROR] Caused by: Could not initialize class com.google.inject.internal.cglib.core.$ReflectUtils

@andreasdc
Copy link
Author

@SuicidalKids if you can send me ChunkProviderServer src I can test it

@andreasdc
Copy link
Author

andreasdc commented Aug 1, 2021

Reverting 3381d44 didn't fix this issue. Also when joining to unloaded chunk for the first time, I don't see any blocks.

@andreasdc
Copy link
Author

andreasdc commented Aug 1, 2021

  1. I join the server somewhere.
  2. I tp to 0, 0.
  3. I tp somewhere else.
  4. I tp back to 0,0.
  5. Everything is working.
  6. I quit the server.
  7. I repeat and on 1st teleport to 0,0 I don't see chunks.
  8. I tp somewhere else.
  9. When I tp back to 0,0 i see chunks normally.

I noticed that lowering entityPlayer's view distance is making it behave different.

@andreasdc
Copy link
Author

@SuicidalKids keepSpawnInMemory disabled is creating this bug

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants