[1.11b]How can I find the definition of INLINE_GetBlizzard TXT()?

This forum is for discussions on how to edit what can not be edited through the txt files, needless to say this isn't about battle net hacking.

Moderators: Nefarius, Havvoric

Post Reply
lihaifeng55
Posts: 6
Joined: Thu Aug 08, 2019 6:21 am

[1.11b]How can I find the definition of INLINE_GetBlizzard TXT()?

Post by lihaifeng55 » Thu Aug 08, 2019 6:31 am

I saw it in this post: viewtopic.php?f=8&t=48175

But how can I find the definition of INLINE_GetBlizzard TXT()?

I'm trying to read the information in MonStats2.txt or MonStats2.bin.

User avatar
Necrolis
Senior Admin
Throne
Posts: 9125
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: [1.11b]How can I find the definition of INLINE_GetBlizzard TXT()?

Post by Necrolis » Fri Aug 09, 2019 7:44 pm

Please don't post this in multiple topics, one place is enough.

That function is from my code base, it does nothing more than retrieve a pointer to spgtDataTables, which is a named export from D2Common.dll. if you use the defs strickied in the forums here you can give that pointer a type that allows easy access to the data tables it contains and an easy way to lookup said records. that being said if you want a momstats2 record, D2Client and D2Common should each have a function to look these up for you, see the 1.11b functions sticky.
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

lihaifeng55
Posts: 6
Joined: Thu Aug 08, 2019 6:21 am

Re: [1.11b]How can I find the definition of INLINE_GetBlizzard TXT()?

Post by lihaifeng55 » Mon Aug 12, 2019 2:59 am

Necrolis wrote:
Fri Aug 09, 2019 7:44 pm
Please don't post this in multiple topics, one place is enough.

That function is from my code base, it does nothing more than retrieve a pointer to spgtDataTables, which is a named export from D2Common.dll. if you use the defs strickied in the forums here you can give that pointer a type that allows easy access to the data tables it contains and an easy way to lookup said records. that being said if you want a momstats2 record, D2Client and D2Common should each have a function to look these up for you, see the 1.11b functions sticky.
Problem solved。 Thanks.

Post Reply

Return to “Code Editing”