View Single Post
Old 05.12.2006, 17:30   #13
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

Quick question..

I was reading through this thread looking for an answer to my question about getting user values like STR, INT, WIT etc and in comparing the offsets in the l2extension project I'm trying to figure out where you got those values from. For example, in the User struct in l2extension you have AI_X_LOC = 0x08, AI_Y_LOC = 0x10, AI_Z_LOC = 0x18 and on and on. But when I debug userinfo in l2server, the offsets are different numbers. For example at the beginning of the userinfo packet the offsets are EBP-xxx value ... EBP-210 = CharName, EBP-44 = race, EBP-50 = class .. But in the user struct in l2extension the offset for AI_NAME = 0xA0, not 0x210

Sooooo my question is, is my understanding wrong of the offset values? I just figured the offset values in the User struct in l2extension were just the offsets of EBP from data out of userinfo...
HongK is offline