![]() |
SkyBlock v3 - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html) +--- Thread: SkyBlock v3 (/thread-1508.html) |
RE: SkyBlock v1 - Seadragon91 - 08-29-2014 Updated:
Edit, forgot:
Edit 2: Added SkyBlock.zip, much better for downloading. RE: SkyBlock v1 - Seadragon91 - 08-29-2014 I get this errors in skyblock Code: [09:26:53] cChunk::UnboundedRelGetBlock: requesting a block with a_RelY out of range: -1 This error spams the whole console, I have no idea why this error occurs. If you have a idea how I could provide more informations, then I will try it. RE: SkyBlock v1 - xoft - 08-29-2014 This means that someone somewhere is trying to query blocks in chunk but has forgotten to check the Y coord. Compile a debug version of the server and try that, it will assert (break into debugger when running under one, or simply crash and possibly create a crashdump) when this error occurs, this way you'll find out the stack trace that leads up to the problem. RE: SkyBlock v1 - Seadragon91 - 08-29-2014 (08-29-2014, 06:13 PM)xoft Wrote: This means that someone somewhere is trying to query blocks in chunk but has forgotten to check the Y coord. Compile a debug version of the server and try that, it will assert (break into debugger when running under one, or simply crash and possibly create a crashdump) when this error occurs, this way you'll find out the stack trace that leads up to the problem. I created a debug version with Visual Studio and tested it. Same errors occurs, no crash. RE: SkyBlock v1 - xoft - 08-29-2014 Put a breakpoint to the line producing the warning (src/Chunk.cpp, line 1112) and run under MSVC, the debugger should hit that breakpoint and you should be able to see the callstack. You can actually select everything in the callstack window and copy-paste it here as text; but you could also investigate as to why is the function called with Y set to -1. RE: SkyBlock v1 - Seadragon91 - 08-29-2014 (08-29-2014, 08:46 PM)xoft Wrote: Put a breakpoint to the line producing the warning (src/Chunk.cpp, line 1112) and run under MSVC, the debugger should hit that breakpoint and you should be able to see the callstack. You can actually select everything in the callstack window and copy-paste it here as text; but you could also investigate as to why is the function called with Y set to -1. Got a list. Windows Auto: Code: this 0x05d3c708 {m_IsValid=true m_IsLightValid=false m_IsDirty=true ...} const cChunk * const Window call stack: Code: MCServer_debug.exe!cChunk::UnboundedRelGetBlock(int a_RelX, int a_RelY, int a_RelZ, unsigned char & a_BlockType, unsigned char & a_BlockMeta) Zeile 1086 C++ Have set a debug point on all lines with the message. Here has been called the line 1086. Hope that helps to find a solution for that problem. regards, Seadragon91 RE: SkyBlock v1 - xoft - 08-29-2014 Oh, so it's water flowing down out of the world, someone forgot to check their Y in the vanilla simulator ![]() RE: SkyBlock v1 - Seadragon91 - 08-29-2014 (08-29-2014, 09:55 PM)xoft Wrote: Oh, so it's water flowing down out of the world, someone forgot to check their Y in the vanilla simulator Well BlockType 11 is lava, but it doesn't matter both flows ![]() RE: SkyBlock v1 - xoft - 08-29-2014 There, fixed. RE: SkyBlock v1 - Seadragon91 - 08-29-2014 (08-29-2014, 09:59 PM)xoft Wrote: There, fixed. Ty ![]() |