Quote:
Originally Posted by 3vangelist
If you take a look in your GWA2.au3 you'll probably find a few absurdly long lines of text if you scroll through it - these are the strings that define the Dll Structs that you use to access the properties of an item/agent/etc. For more info on that, read up on
Read through those string values to find out what is inside the struct.
I can't give you any code samples because my gwa2 has been heavily modified from the one thats available on here so it won't look anything like the one you have.
|
I dont have a ModelFileID in my DllStructCreate, could you share me your pointers? Or are even those changed? If so, how would i get the right ones?
Edit:
Code:
Local $lItemStruct = DllStructCreate('long Id;long AgentId;byte Unknown1[4];ptr Bag;ptr ModStruct;long ModStructSize;ptr Customized;byte unknown2[4];byte Type;byte unknown4;short ExtraId;short Value;byte unknown4[2];short Interaction;long ModelId;ptr ModString;byte unknown5[4];ptr NameString;ptr SingleItemName;byte Unknown4[10];byte IsSalvageable;byte Unknown6;byte Quantity;byte Equiped;byte Profession;byte Type2;byte Slot')
Im still really new to the hole coding thing so as i understand it this is like a "Filter" which checks a "string" in my example its an itemstruct.
the named parts are obviously the parts which i can call from outside and the unkown ones are onces that are just not figured out by the creator of that function.
Which means one of those should be the ModelFileID ?
Edit2: Hahaha you just answered while i was editing !