From 06738349557bcdebf3f4f5e6c0ba13d9292d7520 Mon Sep 17 00:00:00 2001 From: "admin@omencraft.com" Date: Sun, 30 Oct 2011 09:01:38 +0000 Subject: Last changes to the converter before bed. git-svn-id: http://mc-server.googlecode.com/svn/trunk@26 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- converter/cConvert.cpp | 5 ++++- converter/denotch | Bin 165208 -> 169472 bytes 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'converter') diff --git a/converter/cConvert.cpp b/converter/cConvert.cpp index 1ee923a31..565a6bd6a 100644 --- a/converter/cConvert.cpp +++ b/converter/cConvert.cpp @@ -178,10 +178,13 @@ int main () { NBTData->ParseData(); NBTData->PrintData(); - //Char* Blocks = //NBTData->GetByteArray("Blocks"); //for(unsigned int i = 0; i < 111; i++) {//re //printf("Blocks?: %i\n", NBTData->cNBTCompound::GetByteArray("Blocks")[0]); + printf("xPos: %i\n", NBTData->GetInteger("xPos") ); + //will print + //xPos: 0 + printf("test: %i\n", NBTData->cNBTCompound::GetByteArray("Blocks")[0] ); //} return 1; fwrite( BlockData, DestSize, 1, wf ); //write contents of uncompressed block data to file to check to see if it's valid... It is! :D diff --git a/converter/denotch b/converter/denotch index dfc191c69..ef8a7db6d 100755 Binary files a/converter/denotch and b/converter/denotch differ -- cgit v1.2.3