Convert Minecraft server world files into MCserver world files.
#49
Hmm, I think that's just some kind of buffer overrun.

Code:
for(unsigned int i = 0; i < m_BufferSize; i++) {//re
     printf("%02i %02x %3i %c\n", i, (unsigned char)m_Buffer[i], (unsigned char)m_Buffer[i], m_Buffer[i] );//re
}

With m_BufferSize being artificially increased it couldn't have been printing data that was in the array.

Placing a return; under that bit of code still printed the numbers, but I didn't get the segfault.


The problem is happening when it tries to parse data tag 7.. The fault is happening on the first bit of data in the new tag I put in. I'm looking into a fix now
Reply
Thanks given by:


Messages In This Thread
RE: Convert Minecraft server world files into MCserver world files. - by rs2k - 10-30-2011, 04:12 PM



Users browsing this thread: 1 Guest(s)