[1.13c]Function issue for D2COMMON.#10508

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

qwertyue
Posts: 11
Joined: Sun Jan 31, 2021 5:41 am

[1.13c]Function issue for D2COMMON.#10508

Post by qwertyue » Sat May 29, 2021 4:39 pm

Recently in view of D2COMMON function list, but did not find the role or function of #10508 function, so would like to ask friends under the forum.

The offset of D2COMMON.#10508 is 0x1DE90

User avatar
thaison
Junior Member
Paladin
Posts: 108
Joined: Fri Apr 03, 2015 11:59 am
Location: Viet Nam
Vietnam

Re: [1.13c]Function issue for D2COMMON.#10508

Post by thaison » Sun May 30, 2021 1:19 am

D2FUNC(D2COMMON, GetInvItemCount, int, __stdcall, (Inventory*), 0x1DE90)//D2Common.#10508(D2InventoryStrc* pInventory);

qwertyue
Posts: 11
Joined: Sun Jan 31, 2021 5:41 am

Re: [1.13c]Function issue for D2COMMON.#10508

Post by qwertyue » Sun May 30, 2021 3:41 am

thaison wrote:
Sun May 30, 2021 1:19 am
D2FUNC(D2COMMON, GetInvItemCount, int, __stdcall, (Inventory*), 0x1DE90)//D2Common.#10508(D2InventoryStrc* pInventory);
thaison wrote:
Sun May 30, 2021 1:19 am
D2FUNC(D2COMMON, GetInvItemCount, int, __stdcall, (Inventory*), 0x1DE90)//D2Common.#10508(D2InventoryStrc* pInventory);
thanks for your reply, it's useful.

qwertyue
Posts: 11
Joined: Sun Jan 31, 2021 5:41 am

Re: [1.13c]Function issue for D2COMMON.#10508

Post by qwertyue » Sun May 30, 2021 3:50 am

thaison wrote:
Sun May 30, 2021 1:19 am
D2FUNC(D2COMMON, GetInvItemCount, int, __stdcall, (Inventory*), 0x1DE90)//D2Common.#10508(D2InventoryStrc* pInventory);
emm, i am also confused about another function. Do you know this function D2COMMON.#11024?, i think it has a parameters Inventory?

User avatar
thaison
Junior Member
Paladin
Posts: 108
Joined: Fri Apr 03, 2015 11:59 am
Location: Viet Nam
Vietnam

Re: [1.13c]Function issue for D2COMMON.#10508

Post by thaison » Sun May 30, 2021 5:24 am

D2FUNC(D2COMMON, CleanUpInventory, void, __stdcall, (Inventory* pInventory), -11024)

qwertyue
Posts: 11
Joined: Sun Jan 31, 2021 5:41 am

Re: [1.13c]Function issue for D2COMMON.#10508

Post by qwertyue » Sun May 30, 2021 11:46 am

thaison wrote:
Sun May 30, 2021 5:24 am
D2FUNC(D2COMMON, CleanUpInventory, void, __stdcall, (Inventory* pInventory), -11024)
really appreciate your reply.

Return to “Code Editing”