1.14d codes

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

1.14d codes

Post by undying_ex » Mon Mar 30, 2015 11:46 pm

I don't think I made any mistakes when looking for them through OllyDbg, but if found,
I'll correct it as soon as I can.
= my translation is through google and I apologize for not understanding anything =

0057896A |. E8 31FDFFFF |CALL Game.005786A0 ; \Game.005786A0
0057896F |. 837D F4 00 |CMP DWORD PTR SS:[EBP-C],0
00578973 |. 8945 E0 |MOV DWORD PTR SS:[EBP-20],EAX
00578976 |. B8 04000000 |MOV EAX,4

change 00578976 |. B8 08000000 |MOV EAX,4

with 08 - for crafted items
Replace magic items with crf in gamble screen
(if you want replace with other)
================================================

005789EB |. 6A 00 |PUSH 0 ; |Arg7 = 00000000
005789ED |. 51 |PUSH ECX ; |Arg6
005789EE |. 8B4D F0 |MOV ECX,DWORD PTR SS:[EBP-10] ; |
005789F1 |. 6A 01 |PUSH 1 ; |Arg5 = 00000001
005789F3 |. 6A 00 |PUSH 0 ; |Arg4 = 00000000
005789F5 |. 50 |PUSH EAX ; |Arg3

change 005789F1 |. 6A 00 |PUSH 1 ; |Arg5 = 00000001

with 00 - to allow

Allow ethereal items in gamble screen
================================================

00578A16 |. E8 A5D7FFFF |CALL Game.005761C0 ; \Game.005761C0
00578A1B |. 6A 00 |PUSH 0 ; /Arg3 = 00000000
00578A1D |. 6A 10 |PUSH 10 ; |Arg2 = 00000010
00578A1F |. 56 |PUSH ESI ; |Arg1
00578A20 |. E8 ABF60A00 |CALL Game.006280D0 ; \Game.006280D0

change 00578A1B |. 6A 01 |PUSH 0 ; /Arg3 = 00000000

with 01 - to preview visual and item names in gamble screen

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

00556CD8 |. E8 93110D00 CALL Game.00627E70 ; \Game.00627E70
00556CDD |. 83E8 01 SUB EAX,1
00556CE0 |. 0F84 8E000000 JE Game.00556D74

change 00556CDD |. 83E8 00 SUB EAX,1

with 00 - to ethereal set /complete set/

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

005B2226 |> 6A 00 PUSH 0 ; /Arg2 = 00000000; Case 18 of switch 005B21F4
005B2228 |. 6A 0D PUSH 0D ; |Arg1 = 0000000D
005B222A |. 8BD7 MOV EDX,EDI ; |
005B222C |. 8BCE MOV ECX,ESI ; |
005B222E |. E8 1D26FFFF CALL Game.005A4850 ; \Game.005A4850

change 005B2228 |. 6A 18 PUSH 0D ; |Arg1 = 0000000D

with 18 - this is replace Rage ability with Thief /brute/
=================================================

005B2268 |> 6A 00 PUSH 0 ; /Arg2 = 00000000; Case D3 of switch 005B21F4
005B226A |. 6A 0B PUSH 0B ; |Arg1 = 0000000B
005B226C |. 8BD7 MOV EDX,EDI ; |
005B226E |. 8BCE MOV ECX,ESI ; |
005B2270 |. E8 DB25FFFF CALL Game.005A4850 ; \Game.005A4850

change 005B226A |. 6A 18 PUSH 0B ; |Arg1 = 0000000B

with 18 - this is replace durieldead animation with Thief ability /Duriel only/
=================================================

005BD479 |. E8 B27DF9FF |CALL Game.00555230 ; \Game.00555230
005BD47E |> 83C6 01 |ADD ESI,1
005BD481 |. 83FE 08 |CMP ESI,8
005BD484 |.^72 9A \JB SHORT Game.005BD420

change 005BD481 |. 83FE 01 |CMP ESI,8

with 01 - change quantity to one monster /from Dark Wanderer/
================================================

00558936 |. B8 03000000 MOV EAX,3
0055893B |. 5B POP EBX
0055893C |. 8BE5 MOV ESP,EBP
0055893E |. 5D POP EBP

change 00558936 |. B8 08000000 MOV EAX,3

with 08 - to replace superior with crafted items drop
================================================

0055869C |> 5F POP EDI
0055869D |. 5E POP ESI
0055869E |. B8 02000000 MOV EAX,2
005586A3 |. 5B POP EBX
005586A4 |. 8BE5 MOV ESP,EBP

change 0055869E |. B8 00000000 MOV EAX,2

with 00 - replace normal drop to allow drop +superior items
================================================
00556C34 |> 6A 01 PUSH 1 ; /Arg3 = 00000001
00556C36 |. 68 00080000 PUSH 800 ; |Arg2 = 00000800
00556C3B |. 57 PUSH EDI ; |Arg1
00556C3C |. E8 8F140D00 CALL Game.006280D0 ; \Game.006280D0

change 00556C36 |. 68 00090000 PUSH 800 ; |Arg2 = 00000800

with 0B - With this change, the weapons, armors... will be able to drop broken and not be used until repaired.
Ethereal /can't repair/. Weapons without durability can repair only in cube.
https://ibb.co/2MStnkG
=================================================
0062BD48 |> 83FE 01 CMP ESI,1
0062BD4B |. 7C 29 JL SHORT Game.0062BD76
0062BD4D |. BE 01000000 MOV ESI,1

change:
0062BD48 |> 83FE 02 CMP ESI,1
0062BD4D |. BE 02000000 MOV ESI,1
with 02 example or 03... for sock - Larzuk quest

0057A39A |. 77 3E JA SHORT Game.0057A3DA
0057A39C |. B8 01000000 MOV EAX,1 ; Cases 5,6,7,8,9 of switch 0057A38F

change 0057A39C |. B8 02000000 MOV EAX,1 ; Cases 5,6,7,8,9 of switch 0057A38F
with 02 example or 03... for sock - Larzuk quest
https://ibb.co/2jW2f71 - with two sock example
=========================================================================================
005877DC |. 6A 01 PUSH 1 ; /Arg3 = 00000001
005877DE |. 6A 23 PUSH 23 ; |Arg2 = 00000023
005877E0 |. 56 PUSH ESI ; |Arg1
005877E1 |. E8 BA4B0D00 CALL Game.0065C3A0 ; \Game.0065C3A0

change 005877DC |. 6A 00 PUSH 1 ; /Arg3 = 00000001
with 00 - Larzuk unlimited socketed
===========================================================================
Crafted Wirt's Leg drop

00583E9D |. 6A 02 PUSH 2 ; |Arg1 = 00000002

change 02 to 08
===========================================================================
Replace Standart of Heroes with Annihilus

005E0117 |. C787 B8000000 >MOV DWORD PTR DS:[EDI+B8],20647473
005E0121 |. 8B9E 8C000000 MOV EBX,DWORD PTR DS:[ESI+8C]
005E0127 |. 85DB TEST EBX,EBX
005E0129 |. 7E 1F JLE SHORT Game.005E014A
005E012B |. EB 03 JMP SHORT Game.005E0130
005E012D | 8D49 00 LEA ECX,DWORD PTR DS:[ECX]
005E0130 |> 6A 00 /PUSH 0 ; /Arg5 = 00000000
005E0132 |. 6A FF |PUSH -1 ; |Arg4 = FFFFFFFF
005E0134 |. 6A 00 |PUSH 0 ; |Arg3 = 00000000
005E0136 |. 8D4D FC |LEA ECX,DWORD PTR SS:[EBP-4] ; |
005E0139 |. 51 |PUSH ECX ; |Arg2
005E013A |. 6A 02 |PUSH 2 ; |Arg1 = 00000002

Change
005E0117 |. C787 B8000000 >MOV DWORD PTR DS:[EDI+B8],20647473
to
005E0117 |. C787 B8000000 >MOV DWORD PTR DS:[EDI+B8],20316D63

Change
005E013A |. 6A 02 |PUSH 2
to
005E013A |. 6A 07 |PUSH 7
=========================================================================
Ethereal on unique items

00556D07 |. E8 8456F0FF CALL Game.0045C390
00556D0C |. 83F8 05 CMP EAX,5

change
00556D0C |. 83F8 64 /for 100% chance/ example
=========================================================================
Replace Magic items drop for
/ring, charm and amulet/ with Crafted items - work in Gamble too

0055750A |. 85C0 TEST EAX,EAX
0055750C |. 75 0A JNZ SHORT Game.00557518
0055750E |. 8B17 MOV EDX,DWORD PTR DS:[EDI]
00557510 |. 6A 04 PUSH 4 ; /Arg2 = 00000004

change
0055750C |. 75 0A to 74 0A
00557510 |. 6A 04 to 6A 08
;
Replace Magic items drop /for charm ONLY/ with Crafted items
0055752C |. 83F8 06 CMP EAX,6
0055752F |. 75 0A JNZ SHORT Game.0055753B
00557531 |. 8B17 MOV EDX,DWORD PTR DS:[EDI]
00557533 |. 6A 04 PUSH 4 ; /Arg2 = 00000004

change
0055752F |. 75 0A to 74 0A
00557533 |. 6A 04 to 6A 08
========================================================================
Add new items 'CRAFTED' drop. Gamble work too /all other items&quality drop too/

00557522 |. 75 17 JNZ SHORT Game.0055753B
00557524 |. 8B0F MOV ECX,DWORD PTR DS:[EDI]
00557526 |. 51 PUSH ECX ; /Arg1
00557527 |. E8 44090D00 CALL Game.00627E70 ; \Game.00627E70
0055752C |. 83F8 06 CMP EAX,6
0055752F |. 75 0A JNZ SHORT Game.0055753B
00557531 |. 8B17 MOV EDX,DWORD PTR DS:[EDI]
00557533 |. 6A 04 PUSH 4 ; /Arg2 = 00000004

change
00557522 |. 75 17 to 74 17
00557533 |. 6A 04 to 6A 08
=======================================================================
Last edited by undying_ex on Sun May 31, 2020 4:08 am, edited 37 times in total.
"It's only cheating if you get caught"
~Al Bundy

User avatar
devurandom
Forum Regular
Angel
Posts: 897
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: Thief ability enable

Post by devurandom » Tue Mar 31, 2015 8:40 am

What does the Thief ability give to the monster?

Does it steal life, mana, or something else?
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..

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

Re: Thief ability enable

Post by undying_ex » Tue Mar 31, 2015 9:31 am

The thief property created a chance for potions to drop from the player's belt whenever the thief boss hit them with a melee or ranged attack.
Last edited by undying_ex on Mon Dec 23, 2019 11:02 pm, edited 1 time in total.
"It's only cheating if you get caught"
~Al Bundy

User avatar
weapon-x
Forum Legend
Arch-Angel
Posts: 1047
Joined: Wed Mar 18, 2009 4:52 am
Location: Mindanao, Philippines
Philippines

Re: Thief ability enable

Post by weapon-x » Wed Apr 01, 2015 11:57 pm

that's awesome :D

or perhaps if we find the table, we can add a new one, which allows a percentage to disarm the player, steal gold, steal inventory items, etc... :mrgreen:
" It's not the size of the dog in the fight, it's the size of the fight in the dog. "

~Mark Twain

ascar
Posts: 69
Joined: Mon Aug 02, 2021 6:40 pm
France

Re: 1.14d codes

Post by ascar » Thu Feb 23, 2023 1:25 am

hello

when i search for your adress in ollydbg it says : offset beyond end of the file


O_O

its for 1.14 d ? game.exe? ty

ascar
Posts: 69
Joined: Mon Aug 02, 2021 6:40 pm
France

Re: 1.14d codes

Post by ascar » Thu Feb 23, 2023 1:33 am

i can add this to this post


Light radius changes :

adress to search in olly : 00060CD8

or you can find it with this search "sequence command" :
PUSH 0FF
PUSH 0FF
PUSH 0FF
PUSH 0FF
PUSH 0D


the 0D is the radius

0FF are intensity and RGB value for char light radius !

ascar
Posts: 69
Joined: Mon Aug 02, 2021 6:40 pm
France

Re: 1.14d codes

Post by ascar » Thu Feb 23, 2023 1:38 am

to have all "randstransform" boss color (PURPLE COLOR !!)
Blizzard put only 30 (1E) of the 38 (26) rand color for champions and some uniqs... dont know why because those 8 colors are wonderful !
:

search this in olly (command) : CMP EDI,1E

adress : 000666A3

Change 1E to 26
Last edited by ascar on Thu Feb 23, 2023 3:29 am, edited 1 time in total.

ascar
Posts: 69
Joined: Mon Aug 02, 2021 6:40 pm
France

Re: 1.14d codes

Post by ascar » Thu Feb 23, 2023 1:54 am

Resistances :

Max : ollydbg search : CMP EAX,5F
Adress (one for display, one for calc) :
A865A
17BEA9

change the 5F value (95)

Min : ollydbg search : CMP ESI,-64
Adress : (one for display, one for calc)
A8664
A8674

Change 64 (-100) to something else, but i noticed that the max that the game can handle is 7D (-125 in game), there should be a limit somewhere but not sure

those one i tested and it works fine.

Return to “Code Editing”