[D2Client] 1.10 Classic Stash Enlargement - Gold Functions
Moderators: Nefarius, Havvoric
[D2Client] 1.10 Classic Stash Enlargement - Gold Functions
Hey Guys,
Anybody have the location for the gold bar in the classic stash?
https://postimg.org/image/ewpy7k4lj/
From searching around these forums the general feel is that its held in D2Win.
Any ideas where?
v1.10
Kieran
Anybody have the location for the gold bar in the classic stash?
https://postimg.org/image/ewpy7k4lj/
From searching around these forums the general feel is that its held in D2Win.
Any ideas where?
v1.10
Kieran
Last edited by Kieran on Fri Jan 06, 2017 2:31 pm, edited 2 times in total.
Re: D2Win - Gold Location
Maybe upload the picture on a free host?
"You must be logged in to do that."
"You must be logged in to do that."
Re: D2Win - Gold Location
My bad!J'P" wrote:Maybe upload the picture on a free host?
"You must be logged in to do that."
https://postimg.org/image/ewpy7k4lj/
Re: D2Win - Gold Location
All of the code is in D2Client. If you search, you can find an example for 1.13 & then use that to make a port for 1.10.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin
Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..
Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..
Re: D2Win - Gold Location
Thanks devurandom.devurandom" wrote:All of the code is in D2Client. If you search, you can find an example for 1.13 & then use that to make a port for 1.10.
I don't suppose you have some general advice on how to port from 1.13 to 1.10?
Kieran
-
- Posts: 26
- Joined: Sat Oct 08, 2011 2:14 pm
Re: D2Win - Gold Location
Code: Select all
for 1.13c
6FB3D18C
6FB3D192
6FB3D1FF
6FB3D231
6FB49A1A
6FB3B6E6
6FB3B6DB
for 1.10
6FAE991F
6FAE9926
6FAE9AAE
6FAE9AF9
6FADF35C
6FAEBBC2
6FAEBBB7
Re: D2Win - Gold Location
Cossack was kind enough to port the offsets for you to 1.10.Kieran" wrote: I don't suppose you have some general advice on how to port from 1.13 to 1.10?
Follow his example on how to make the edits for 1.13c.
viewtopic.php?t=59669
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin
Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..
Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..
Re: D2Win - Gold Location
Awesome thanks guy!devurandom" wrote:Cossack was kind enough to port the offsets for you to 1.10.Kieran" wrote: I don't suppose you have some general advice on how to port from 1.13 to 1.10?
Follow his example on how to make the edits for 1.13c.
viewtopic.php?t=59669
Would still be worth me doing some reason how to port between two versions! Plenty of 1.13 stuff I would like for 1.10
EDIT:
OK Guys;
I'm getting there I think; although having a few issues as always
Code: Select all
6FAE991F to 8D98 47FEFFFF LEA EBX,[EAX-1B9]
6FAE9926 to 8DA8 49FEFFFF LEA EBP,[EAX-1B7]
6FAE9AAE to 8D88 49FEFFFF LEA ECX,[EAX-1B7]
6FAE9AF9 to 05 35FEFFFF ADD EAX,-1CB
6FADF35C to 8D9401 60FEFF LEA EDX,[EAX+ECX-1A0]
6FAEBBC2 to 8DBC11 38FEFF LEA EDI,[EDX+ECX-1C8]
6FAEBBB7 to 8D8C11 49FEFF LEA ECX,[EDX+ECX-1B7]
I have taken the .10 ports and almost presumed they have been grouped/lined up correctly with the changes found in viewtopic.php?t=59669
I'm ending up creating new lines which are becoming labelled as ???? unknown error.
I also noted that for example the top code replaces an LEA EBP with a LEA EBX which isn't the same in the 1.13c codes.
It appears that the offsets posted display different codes altogether from those posted for 1.13
Re: D2Win - Gold Location
Well. for this code edit, Ignore the Registers EAX, EBX EBP etc, they will be different in 1.10.
Just change the constants.. 0F4, 0F2 etc.. that's all the edit does in 1.13c.
Just change the constants.. 0F4, 0F2 etc.. that's all the edit does in 1.13c.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin
Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..
Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..
Re: D2Win - Gold Location
Thank your sir will give it a godevurandom" wrote:Well. for this code edit, Ignore the Registers EAX, EBX EBP etc, they will be different in 1.10.
Just change the constants.. 0F4, 0F2 etc.. that's all the edit does in 1.13c.
Re: D2Win - Gold Location
Ok guys we are almost there!
Thanks for the help so far, just have one more issue!
- Gold Withdraw function hasn't moved (have to click in the original position to bring up the text box to select amount of gold to withdraw.
Screenshot can be seen here: https://s30.postimg.org/8c7ttrl75/Screenshot005.jpg
Where the mouse cursor is; that's where I have to click to open the withdraw gold text box. The button up top doesn't do anything (although the highlight works to say withdraw).
The code to change the button location for the "withdraw button" is as below:
With -1CB changing its location.
Any more suggestions on how I move the actual "pop up window" function?
(Ignore the button offset being slightly out - it's because I just copied the dc6 from expansion for testing. Ideally I need to rework the classic one.
Thanks for the help so far, just have one more issue!
- Gold Withdraw function hasn't moved (have to click in the original position to bring up the text box to select amount of gold to withdraw.
Screenshot can be seen here: https://s30.postimg.org/8c7ttrl75/Screenshot005.jpg
Where the mouse cursor is; that's where I have to click to open the withdraw gold text box. The button up top doesn't do anything (although the highlight works to say withdraw).
The code to change the button location for the "withdraw button" is as below:
Code: Select all
LEA ECX,DWORD PTR DS:[EAX+EDX-1CB]
Any more suggestions on how I move the actual "pop up window" function?
(Ignore the button offset being slightly out - it's because I just copied the dc6 from expansion for testing. Ideally I need to rework the classic one.
Re: [D2Client] 1.10 Classic Stash Enlargement - Gold Functio
These are the offsets that handle the range to click button (Gold withdraw click position)
6FAEBBB7
6FAEBBC2
You can edit the constants at those offsets in real time when the game is running to see what effect it has.
6FAEBBB7
6FAEBBC2
You can edit the constants at those offsets in real time when the game is running to see what effect it has.
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin
Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..
Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..
Re: [D2Client] 1.10 Classic Stash Enlargement - Gold Functio
Thanks for all the tips guys.
In 1.10 there appears to be additional changes required in regards to the location of the "pop-up" withdrawal window. I have managed to locate the relevant areas and added them below. I have also gone through each individual reference to identify what each change did. I have regrouped them below for anybody that wishes to expand the classic stash in 1.10 and move the gold function locations.
Credit to everyone that helped me in this thread; I simply found the last three additional points/alterations.
Thanks for the support guys,
Kieran
*** ADDITIONAL FINDS ***
And I still cannot locate the close button for the stash
In 1.10 there appears to be additional changes required in regards to the location of the "pop-up" withdrawal window. I have managed to locate the relevant areas and added them below. I have also gone through each individual reference to identify what each change did. I have regrouped them below for anybody that wishes to expand the classic stash in 1.10 and move the gold function locations.
Code: Select all
6FAE991F - LEA EBP,DWORD PTR DS:[EAX+ECX-1B9] ; Co-Ordinates for Amount of Gold in Stash String
6FADF35C - LEA EAX,DWORD PTR DS:[ECX+EDX-1A0] ; Co-Ordinates for Gold Max string
6FAE9AAE - LEA EBX,DWORD PTR DS:[EAX+ECX-1B7] ; Co-Ordinates for Mouse Over "Withdraw" String
6FAE9AF9 - LEA ECX,DWORD PTR DS:[EAX+EDX-1CB] ; Co-Ordinates for Position of "Withdraw" String
6FAE9926 - LEA ECX,DWORD PTR DS:[EAX+ECX-1B7] ; Co-Orindates for Withdraw Gold Icon
6FAEBBB7 - LEA EDX,DWORD PTR DS:[EAX+ECX-1C8] ; Co-Ordinates for That Allow Gold Withdraw Icon to be Clickable
6FAEBBC2 - LEA EAX,DWORD PTR DS:[EAX+ECX-1B7] ; Co-Ordinates for Clickable Area for Gold Withdraw Icon
6FAEC2BB - LEA EDX,DWORD PTR DS:[EAX+ECX-1C8] ; Co-Ordinates for the Location of Withdraw Pop Up Window Function
6FAEC2C6 - LEA EAX,DWORD PTR DS:[EAX+ECX-1B7] ; Co-Ordinates the Clickable Area for Pop-Up Window Function (Y Axis)
6FAEC2D6 - LEA ECX,DWORD PTR DS:[EAX+49] ; Co-Ordinates the Clickable Area for Pop-Up Window Function (X Axis)
Thanks for the support guys,
Kieran
*** ADDITIONAL FINDS ***
Code: Select all
6FAE0963 8D4C10 B0 LEA ECX,DWORD PTR DS:[EAX+EDX-40] ; Close Button Co-Ordinates (Y Axis) for Inventory
6FAD087F 8D4C10 C4 LEA ECX,DWORD PTR DS:[EAX+EDX-3C] ; Close Button Co-Ordinates (Y Axis) for Character Stats
6FB04BEB 8D4C10 C6 LEA ECX,DWORD PTR DS:[EAX+EDX-3A] ; Close Button Co-Ordinates (Y Axis) for Quest Screen
6FB04CA9 8D4C10 C6 LEA ECX,DWORD PTR DS:[EAX+EDX-3A] ; Button Co-Ordinates (Y Axis) for Quest Speech
6FB16EF1 8D4C10 C1 LEA ECX,DWORD PTR DS:[EAX+EDX-3F] ; Close Button Co-Ordinates (Y Axis) for Skill Tabs
6FAE98B5 8D4411 BB LEA EAX,DWORD PTR DS:[ECX+EDX-45] ; Inventory Gold Icon Co-Ordinates (Y Axis)
6FAE98B9 8D6C11 A8 LEA EBP,DWORD PTR DS:[ECX+EDX-58] ; Inventory Gold Amount String (Y Axis)
And I still cannot locate the close button for the stash
Re: [D2Client] 1.10 Classic Stash Enlargement - Gold Functions
Thanks for this guys. I was able to port it to 1.14d and expand the stash there. My solution is also a bit more simpler than these since I'm re-using the lod stash code paths. You can find them at this post:
viewtopic.php?f=8&t=65215&p=493825#p493825
Also the 1.13c simplified offsets are as follows
viewtopic.php?f=8&t=65215&p=493825#p493825
Also the 1.13c simplified offsets are as follows
Code: Select all
Gold Amount/Withdraw Button:
NOP : 8D160
Withdraw Text on Hover:
NOP: 8D1B4
Withdraw Button Event on Click:
NOP: 8B6C5
Gold Max/Amount Display:
JMP: 99A18
Re: [D2Client] 1.10 Classic Stash Enlargement - Gold Functions
I've just done this for v09 too
I'll post the locations when I get on my PC just incase anybody wants them
I'll post the locations when I get on my PC just incase anybody wants them