Inventory and Cursor TLO's broke in MQ2-20180221(Test)

A forum for reporting bugs NOT related to custom plugins.

Moderator: MacroQuest Developers

Mmats
a lesser mummy
a lesser mummy
Posts: 46
Joined: Sat Mar 01, 2008 12:34 pm

Inventory and Cursor TLO's broke in MQ2-20180221(Test)

Post by Mmats » Wed Feb 21, 2018 5:29 pm

Just a heads up.

Inventory and Cursor TLO members all returning null with latest test server build.

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Re: Inventory and Cursor TLO's broke in MQ2-20180221(Test)

Post by SwiftyMUSE » Wed Feb 21, 2018 10:07 pm

I'm looking at it. I believe the _CHARINFO2 struct is off. We will get it fixed shortly after we get LIVE working.
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Re: Inventory and Cursor TLO's broke in MQ2-20180221(Test)

Post by SwiftyMUSE » Thu Feb 22, 2018 12:13 am

Yes, the _CHARINFO2 struct is wrong. It will get fixed shortly.

If you are compiling test yourself and not using builder, change the top of the struct to:

Code: Select all

typedef struct _CHARINFO2 {
/*0x0000*/ BYTE         Unknown0x0000[0x10];
/*0x0010*/ DWORD        BaseProfile;
/*0x0014*/ BYTE         Unknown0x0014[0x8];
/*0x001c*/ struct _INVENTORYARRAY*      pInventoryArray;
/*0x0020*/ BYTE         Unknown0x0020[0x48];
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

Mmats
a lesser mummy
a lesser mummy
Posts: 46
Joined: Sat Mar 01, 2008 12:34 pm

Re: Inventory and Cursor TLO's broke in MQ2-20180221(Test)

Post by Mmats » Thu Feb 22, 2018 1:26 am

SwiftyMUSE wrote:
Thu Feb 22, 2018 12:13 am
Yes, the _CHARINFO2 struct is wrong. It will get fixed shortly.

If you are compiling test yourself and not using builder, change the top of the struct to:

Code: Select all

typedef struct _CHARINFO2 {
/*0x0000*/ BYTE         Unknown0x0000[0x10];
/*0x0010*/ DWORD        BaseProfile;
/*0x0014*/ BYTE         Unknown0x0014[0x8];
/*0x001c*/ struct _INVENTORYARRAY*      pInventoryArray;
/*0x0020*/ BYTE         Unknown0x0020[0x48];
Thanks a bunch


xyilla
naggy
naggy
Posts: 33673
Joined: Sun Feb 23, 2025 5:36 am

Re: Inventory and Cursor TLO's broke in MQ2-20180221(Test)

Post by xyilla » Sun Jan 18, 2026 9:54 am