1.13c Looking for help with gamble prices and map overlay

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
User avatar
Darkquake
Posts: 25
Joined: Tue Feb 20, 2018 3:38 pm
Australia

1.13c Looking for help with gamble prices and map overlay

Post by Darkquake » Mon Jun 04, 2018 4:47 am

Editing the gamble cost column in weapons.txt doesn't have any impact on the cost in game and after having a look around people say that some if not all(?) of the prices are hardcoded somewhere. I'm looking to change wands, staves and character specific items.

The other thing I would like to change is the version text in the map overlay.

I guess since I'm posting already is there a repository or something similar that lists functions and there whereabouts in a dll?
I make things? I make things.
Image
https://www.moddb.com/mods/darkquake

User avatar
Kaladann
Posts: 60
Joined: Fri Oct 23, 2015 1:15 am
Location: France
France

Re: 1.13c Looking for help with gamble prices and map overlay

Post by Kaladann » Wed Aug 29, 2018 2:51 pm

Hello !

For the info on the map, you can find it in the 1.13c Code Edits Compilation from kidpaddle94 :

Code: Select all

"Automap Info Text & colors"

D2Client.dll - 5FEF1 '[First Version Text]'

6FB0FEF1    68 4C53B86F     PUSH D2Client.6FB8534C                   ; ASCII "v %d.%02d %d"

;Change the PUSH address to your new text address

============================================================================================

D2Client.dll - 5FF12 '[Second Version Text]'

6FB0FF12    68 4053B86F     PUSH D2Client.6FB85340                   ; ASCII "v %d.%02d" [D5340]

;Change the PUSH address to your new text address

=============================================================================================

D2Client.dll - 5FF47 '[Version Text Color]'

6FB0FF47    6A 04           PUSH 4

;Change the 4 to your desired color value
Hope this will help :beer:
Want to play but not enought time to drop good stuff and raise decent level ? Try Casual Nostalgia !
ImageMore infos here : viewtopic.php?f=5&t=63800
CHEERS !

Post Reply

Return to “Code Editing”