Codes for 1.13c/1.13d

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

undying_ex
Posts: 23
Joined: Mon Mar 30, 2015 7:09 pm
Location: Bulgaria
Bulgaria

Codes for 1.13c/1.13d

Post by undying_ex » Sat Apr 04, 2015 9:56 am

OllyDbg

Imbue
1.13c - D2client.dll
6FAF5CF6 |. 52 |PUSH EDX
6FAF5CF7 |. 55 |PUSH EBP
6FAF5CF8 |. E8 8F68FCFF |CALL <JMP.&D2Common.#10174>
6FAF5CFD |. 85C0 |TEST EAX,EAX
6FAF5CFF |. 74 18 |JE SHORT D2Client.6FAF5D19

change 74 18 to 90 90

1.13c - D2game.dll
6FCE0345 |. 8BB6 E4000000 |MOV ESI,DWORD PTR DS:[ESI+E4]
6FCE034B |. 85F6 |TEST ESI,ESI
6FCE034D |.^75 F1 \JNZ SHORT D2Game.6FCE0340
6FCE034F |> 33F6 XOR ESI,ESI
6FCE0351 |> 6A 01 PUSH 1

change 6A 01 to 6A 03

1.13d - D2client.dll
6FB28D76 |. 52 |PUSH EDX
6FB28D77 |. 55 |PUSH EBP
6FB28D78 |. E8 9939F9FF |CALL <JMP.&D2Common.#10156>
6FB28D7D |. 85C0 |TEST EAX,EAX
6FB28D7F |. 74 18 |JE SHORT D2Client.6FB28D99

change 74 18 to 90 90

1.13d - D2game.dll
6FC94B85 |. 8BB6 E4000000 |MOV ESI,DWORD PTR DS:[ESI+E4]
6FC94B8B |. 85F6 |TEST ESI,ESI
6FC94B8D |.^75 F1 \JNZ SHORT D2Game.6FC94B80
6FC94B8F |> 33F6 XOR ESI,ESI
6FC94B91 |> 6A 01 PUSH 1

change 6A 01 to 6A 03
-------------------------------------
================================================

1.13d Dark Wanderer - spawn quantity
--------------------------

6FC976CD . E8 3E87FFFF CALL D2Game.6FC8FE10 ; \D2Game.6FC8FE10
6FC976D2 > 46 INC ESI
6FC976D3 . 83FE 08 CMP ESI,8
6FC976D6 .^72 98 JB SHORT D2Game.6FC97670

6FC976D3 . 83FE 08 CMP ESI,8

change to 6FC976D3 . 83FE 01 CMP ESI,8
01 - for one monster

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

Ethereal set /complete set/

6FD003EE |. 0F84 8E000000 JE D2Game.6FD00482
6FD003F4 |. 83E8 04 SUB EAX,4

change to 6FD003F4 |. 83E8 05 SUB EAX,4

https://ibb.co/xXJPJkY
=======================================================

Ethereal items in gamble screen

6FC91E82 . 51 PUSH ECX ; |Arg1
6FC91E83 . 47 INC EDI ; |
6FC91E84 . B9 01000000 MOV ECX,1 ; |
6FC91E89 . 33D2 XOR EDX,EDX ; |

change to 6FC91E84 . B9 00000000 MOV ECX,1 ; |

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

Gamble items previews

6FC91F12 . E8 AD84F9FF CALL <JMP.&D2Common.#10590>
6FC91F17 > 6A 00 PUSH 0
6FC91F19 . 6A 10 PUSH 10
6FC91F1B . 57 PUSH EDI

change to 6FC91F17 > 6A 01 PUSH 0

https://ibb.co/HttjJnt
=======================================================================================

Replace magic with crafted items in gamble

6FC91E13 . 85C0 TEST EAX,EAX
6FC91E15 . B9 04000000 MOV ECX,4
6FC91E1A . 7E 4F JLE SHORT D2Game.6FC91E6B

change to 6FC91E15 . B9 08000000 MOV ECX,4
==============================================================

Replace superior drop with crafted items

6FD0098B |. B8 03000000 MOV EAX,3
6FD00990 |. 5B POP EBX
6FD00991 |. 83C4 08 ADD ESP,8

change to 6FD0098B |. B8 08000000 MOV EAX,3
================================================================

Replace normal items to allow +superior drop /if you replaced UP/

6FD009C3 |. B8 02000000 MOV EAX,2
6FD009C8 |. 5B POP EBX
6FD009C9 |. 83C4 08 ADD ESP,8

change to 6FD009C3 |. B8 00000000 MOV EAX,2
=================================================================
Thief ability for Duriel /replace durieldead/

6FCE99A5 |> 6A 00 PUSH 0 ; Case D3 of switch 6FCE9929
6FCE99A7 |. 57 PUSH EDI
6FCE99A8 |. BB 0B000000 MOV EBX,0B

change to 6FCE99A8 |. BB 18000000 MOV EBX,0B
=================================================================
Larzuk unlimited

6FC3C1D9 |. 6A 01 PUSH 1
6FC3C1DB |. 6A 23 PUSH 23
6FC3C1DD |. 56 PUSH ESI
6FC3C1DE |. E8 89EBFEFF CALL <JMP.&D2Common.#10269>

change 6FC3C1D9 |. 6A 01 PUSH 1 to 6A00
==================================================================
Crafted Wirt's Leg drop - d2game.dll

6FD0C28F . 6A 02 PUSH 2 ; |Arg1 = 00000002

change 02 to 08
===================================================================
Last edited by undying_ex on Mon May 25, 2020 2:08 pm, edited 8 times in total.
"It's only cheating if you get caught"
~Al Bundy

User avatar
Kaladann
Junior Member
Paladin
Posts: 108
Joined: Fri Oct 23, 2015 1:15 am
Location: France
France

Re: imbue forever for 1.13c/1.13d

Post by Kaladann » Wed Aug 29, 2018 1:35 pm

Hello !

Just tested this edit, and in my DLLs the offset where different :

Code: Select all

1.13c - D2client.dll
@ 045CFF change 74 18 to 90 90
and

Code: Select all

1.13c - D2game.dll
@ 0C0351 change 6A 01 to 6A 03
But it works fine.
The quest is completed after the first imbue, but the menu is still there.
Thank you for the edit ! :headbang:
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 !

Return to “Code Editing”