I'm trying to add some information that I want to encode and send over to
the client by storing it in the weapon_data_t structure.  You know, that
struct that holds stuff like m_iId, m_iClip, m_flTimeWeaponIdle, etc. and is
sent over with the local_state struct.

Well, if I try to do this, and add the entry to the delta.lst, I get
something like this when I run:
Couldn't find offset for <whatever variable I was trying to add>!!!

I did a bit of research, and rumor has it that I *can't* extend this struct
at all.  They're hardcoded into the engine somewhere.  Thus why it couldn't
find the offset in the structure - it uses a different one than what's in
common/weaponinfo.h (or, rather, that one just shouldn't be changed).  Is
this the case?  Or am I missing a step somewhere?

-PNB

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to