Greetings Constructs,
As a first step in figuring out why you might have an offset of 0x3744, I disassembled my EQLib.dll and checked the offset in the UpdateItemInfo routine. Here is the pertinent line:
Code: Select all
:0300EDBE 83BC814037000000 cmp dword ptr [ecx+4*eax+00003740], 00000000
Question: Are you using VC .NET or VC6?
Question: How did you go about finding that the offset is 0x3744 instead of 0x3740?
I will check the code you posted next to see if there are any discrepencies with my code.
Theory: If all else checks out, perhaps a compiler setting is different and we are looking at a size of type difference that is causing the problem. Or, possibly a type alignment boundary issue.
End of line...