![]() |
ChunkCache question - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html) +--- Forum: Development (https://forum.cuberite.org/forum-13.html) +--- Thread: ChunkCache question (/thread-1624.html) |
RE: ChunkCache question - sphinxc0re - 10-21-2014 (10-16-2014, 11:40 PM)xoft Wrote: This will not be perfect, however, because the obfuscation cannot really process blocks on the chunk's edge - there is no neighbor data while generating. This could be worked around, if needed. How can this be worked around? I really need this feature! RE: ChunkCache question - sphinxc0re - 10-22-2014 I worked around it ![]() Code: [18:18:56] Verification failed: m_World->GetChunkData(a_ChunkX + x - 1, a_ChunkZ + z - 1, Reader), file /var/lib/jenkins/jobs/MCServer Linux x64/workspace/src/LightingThread.cpp, line 335 What is this??? It aborts after this because of a SIGSEGV RE: ChunkCache question - xoft - 10-22-2014 That is most intriguing. Post a stacktrace. The SIGSEGV is intentional - when the server detects that a verification has failed, it commits suicide on purpose so that the stacktrace can be captured. RE: ChunkCache question - sphinxc0re - 10-23-2014 So, here is the link to my plugin. I would be very amazed, if someone looked into it ![]() https://github.com/SphinxC0re/SphinxOres NOTE: The plugin doesn't work at the moment, so it would be very nice if someone had a fix for my problems. RE: ChunkCache question - xoft - 10-23-2014 Wow, this must run really REALLY slow, doesn't it? You're effectively loading 6 chunks worth of schematic file for each and every block in the chunk (65k blocks) while obfuscating a single chunk. Or am I reading the code bad? RE: ChunkCache question - sphinxc0re - 10-23-2014 ![]() RE: ChunkCache question - xoft - 10-23-2014 So don't read the files on every block access, load them up before accessing the blocks and use a separate function that uses those pre-loaded files. RE: ChunkCache question - sphinxc0re - 10-23-2014 Well, you're right. I try to change that RE: ChunkCache question - sphinxc0re - 11-05-2014 Hey, I revamped my code a little bit and am now waiting for response. Atm I'm getting an error ![]() RE: ChunkCache question - sphinxc0re - 11-06-2014 Okay, I freshed up my code and now I get this error. Seems to be the same as before though: ![]() |