Convert Minecraft server world files into MCserver world files.
#44
Increasing MAXNBTSIZE was the first thing I tried. The char array is definitely smaller than the MAXNBTSIZE I set. I changed m_bDecompressed = true; at the beginning of cNBTData.cpp, and gave it the uncompressed char array and the DestSize. I was able to get the parser to print after parsing, but it told me about the unknown tag. After adding the tag I'm now coming u with a segmentation error. I'm not sure if it's because of an error in the tag I added or because now that the parser is doing something more it is running out of room in a variable of a set size somewhere.

The compression method used in alpha was different than the compression method used now (I ran across that problem with the PHP based NBT parser), so I'm not sure that your parser can read the compressed information.
Reply
Thanks given by:


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



Users browsing this thread: 2 Guest(s)