PDA

View Full Version : compiling errors on r1596


robinreg
07-11-2010, 02:32 PM
just tried to compiled the latest source and got 2 errors. one in zone and one in world relating to:

Live.cpp
..\common\patches\Live.cpp(539) : error C2039: 'unknown020' : is not a member of 'Live::structs::SpellBuff_Struct'
f:\eqemustuff\trunk\eqemuserver\common\patches\Liv e_structs.h(537) : see declaration of 'Live::structs::SpellBuff_Struct'

Irreverent
07-11-2010, 02:47 PM
LOL! I had the same problem...and this was my FIRST time compiling EVER!

Thank goodness to http://www.eqemulator.net/wiki/wikka.php?wakka=VS2008 for those who want to give it a try.

BUT I did use my ninja-COBOL programmer days to figure some things out. I saw a committ 50 mins ago and I did the compare.

What you need to do is open up your /common/patches/Live_structs.h and change the code to look like the following: (look for wearoff to find it)

/*018*/ int8 persistant_buff; //prolly not real 546
/*019*/ int8 reserved; //proll not real 547
/*020*/ int32 unknown020; // 548
/*024*/ int32 player_id; //'global' ID of the caster, for wearoff messages 549
/*028*/ uint8 unknown0028[48];

omg I almost sound like I know what I'm talking about...but it worked!

Watch out dev team, I may be more than a world/dbbuilder now...muahaha

robinreg
07-11-2010, 03:23 PM
that looks like the one that was in rev1595.