Log in

View Full Version : ppconvert fails


LeftRoad
07-01-2007, 10:42 AM
I haven't played EQEmu for quite some time but still have my character database for the 0.6.0-DR3 code. I dropped the system from the database and sourced the latest PEQ. When I tried running 070 I got an error about "PP length = 11416 but PP should be 19568", or something like that.

So I looked through the forums and code folders and found ppconvert, which failed to compile correctly. I got that to compile (2 fields had different names) but when it runs it spits out "Unknown length of player profile: 11416, 19756" for every character.

I added some statements to ppconvert.cpp so it would show the lengths of the structs. The closest I found to 11416 was the BeforeDec15th profile, which weighs in at 11616 (at least that's the value it returns). I compared that struct from the PlayerProfile in the 060 code to the struct in the old_structs file for 070 and they match exactly. Why the 200 byte disparity?

Or, an even better question. How do I convert my old characters so I can use them in the current code?

LeftRoad
07-03-2007, 09:02 PM
I got my characters converted. I found a precompiled ppconvert.exe file in a tools package and ran it with wine. It worked great and my characters all show as converted now. I logged into one and everything looks great!

Best guess for what happened... Maybe floats or ints or something is different on my 64-bit system, so the sizes the ppconvert I compiled was looking for was not the same. I'll have to look into that, out of curiosity, to see what was going on.