[1.13c] my code edits compilation

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

9
100%
 
Total votes: 9

User avatar
Necrolis
Senior Admin
Throne
Posts: 9125
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: [1.13c] my code edits compilation

Post by Necrolis » Fri Jul 24, 2015 12:39 pm

Kuss" wrote:Ok I'm at a loss, in the Items Drop Already Identified I read this for the magic items

D2Game.dll - 104C0 '[magic]'
016E04C0 6A 00 PUSH 0

I don't have this address at all. I tried opening D2Game.dll with everything but I have other addresses (6F... when debugged).
Anybody knows what I'm doing wrong?
You need at add the base load address of D2Game to the RVA (0x104C0) that you where given; that'll give you the correct virtual address. Alternatively open up D2Game as a file and go to 0x104C0
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
Kuss
Posts: 82
Joined: Tue Jun 23, 2015 11:29 am

Re: [1.13c] my code edits compilation

Post by Kuss » Fri Jul 24, 2015 1:13 pm

Yeah, uhm, I wish I knew half of the things you said :cry:

Base load address of D2Game
How do I find this? I mean, it's either 016E04C0 or something I'm missing, right?

RVA
Ok this is 0x104C0 as you said. I tried in OllyDBG to "go to" this address but nothing of importance was there.

So what you're saying is I should ADD 016E04C0 to 0x104C0 to get the real address I'm looking for, right?

Is there like a tutorial or some posts that explain some of these basic things? What I usually find are posts that are already ahead of this and I can't understand a damn :(

User avatar
Necrolis
Senior Admin
Throne
Posts: 9125
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: [1.13c] my code edits compilation

Post by Necrolis » Fri Jul 24, 2015 1:38 pm

Kuss" wrote:Is there like a tutorial or some posts that explain some of these basic things? What I usually find are posts that are already ahead of this and I can't understand a damn :(
http://stackoverflow.com/questions/2170 ... al-address
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
Kuss
Posts: 82
Joined: Tue Jun 23, 2015 11:29 am

Re: [1.13c] my code edits compilation

Post by Kuss » Fri Jul 24, 2015 2:07 pm

Mmmh, lol. I think I'll give up
Thanks for the link but I guess I'll just stop thinking about making magic items drop identified ^^

Sampson
Posts: 52
Joined: Mon Sep 30, 2013 2:22 am

Re: [1.13c] my code edits compilation

Post by Sampson » Fri Jul 24, 2015 11:51 pm

0x104C0 is the address of the location if you open d2game.dll as a hex file.
016E04C0 is just a temporary address the game was using after it loaded d2game.dll into memory.

Just open d2game.dll up with a hex editor and go to the location 0x104C0

jusefarabi
Posts: 5
Joined: Tue Mar 29, 2016 9:36 pm

Re: [1.13c] my code edits compilation

Post by jusefarabi » Sun Apr 03, 2016 12:04 am

necro'd

Thanks Sampson, you made my day by simplifying the process of applying some of these code edits with that last sentence. Loaded up a dll in OllyDBG and just about died thinking about all the reading I was going to have to do to learn to use it. Happy to know some of these edits are a little easier to apply.

I assume some of them you need to edit in OllyDBG or all of them can be applied using a hex editor?

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

Re: [1.13c] my code edits compilation

Post by devurandom » Sun Apr 03, 2016 12:41 am

I remember there was a steep learning curve to Olly when I first started.. that said I do everything in Ollydbg. To me it's easier for finding code than a hex editor, though its possible to use either one to make the changes.
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..

jusefarabi
Posts: 5
Joined: Tue Mar 29, 2016 9:36 pm

Re: [1.13c] my code edits compilation

Post by jusefarabi » Sun Apr 03, 2016 3:42 am

Yes, im greatful to all those that have done the leg work and all i need to do is apply the edited code. I wouldn't know where to begin when looking for such specific changes, so thank you to those that have contributed over the years.

@devurandom

I like your code edits, and I was thinking about jumping over to 1.13d. I'm on 1.13c, is there much difference going to d or is it safe to assume my 1.13c txt files will work? Really have my eyes on the infinite imbue and socketing, thats awesome work, thanks for that.

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

Re: [1.13c] my code edits compilation

Post by devurandom » Sun Apr 03, 2016 9:05 am

There are more code edits, plugins, and mods available to 1.13c than for 1.13d.. If time is a luxury you can port my code edits to 1.13c and they will all work in that version.. so its really a matter of choice.. if you have the time, to get under the hood and learn to port code edits with Ollydbg.

Also You can use my mod as a base engine for your project, but many still prefer PlugY for the infinite stash which works upto 1.13c and prior versions.
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..

jusefarabi
Posts: 5
Joined: Tue Mar 29, 2016 9:36 pm

Re: [1.13c] my code edits compilation

Post by jusefarabi » Mon Apr 04, 2016 6:34 am

devurandom" wrote:There are more code edits, plugins, and mods available to 1.13c than for 1.13d.. If time is a luxury you can port my code edits to 1.13c and they will all work in that version.. so its really a matter of choice.. if you have the time, to get under the hood and learn to port code edits with Ollydbg.

Also You can use my mod as a base engine for your project, but many still prefer PlugY for the infinite stash which works upto 1.13c and prior versions.
PlugY is the main reason I stayed at 1.13c. I guess I'll attempt to port the code edits, this is just a personal project for my own enjoyment anyway, might as well learn something along the way. I'll be honest, I'm still at the point where I can't find the code edit in the 1.13d dll in ollydbg, i just hexed all the 1.13c ones in as that was the only way I knew how.

I'm still completely unsure of how OllyDBG works when I open the .dll file(or any file). I'll have to find some resources that start me off at the beginning and go up from there. If you got a link I would definitely appreciate it and If I do ever figure out how to reverse the codes to 1.13c, I'll definitely post back my finding and share with the community like you have all done. Cheers.

Lol, nevermind about the link, my wife just taught me to use the search feature,...not to mention there was the stickied faq thread in the code editing section of the forum. <.< >.> 0.o

User avatar
luoriming-ansys
Posts: 25
Joined: Sat Jun 11, 2016 6:36 am
Hong Kong

Re: [1.13c] my code edits compilation

Post by luoriming-ansys » Fri Sep 16, 2016 4:02 pm

ExternalDLL.asm
I try the code below,but I fail to load custom dll.
so what is wrong?
D2Launch.dll - E349

6FA4E349 85C0 TEST EAX,EAX
6FA4E34B 0F85 9B000000 JNZ D2Launch.6FA4E3EC
6FA4E351 68 04EBA56F PUSH D2Launch.6FA5EB04 ; ASCII "Bnclient.dll"
6FA4E356 FF15 D0C2A56F CALL DWORD PTR DS:[<&KERNEL32.LoadLibraryA>] ; kernel32.LoadLibraryA
6FA4E35C 85C0 TEST EAX,EAX
6FA4E35E A3 C056A66F MOV DWORD PTR DS:[6FA656C0],EAX
6FA4E363 75 33 JNZ SHORT D2Launch.6FA4E398
6FA4E365 FF15 E4C2A56F CALL DWORD PTR DS:[<&KERNEL32.GetLastError>] ; ntdll.RtlGetLastWin32Error
6FA4E36B 50 PUSH EAX
6FA4E36C 8D4424 04 LEA EAX,DWORD PTR SS:[ESP+4]
6FA4E370 68 E0EAA56F PUSH D2Launch.6FA5EAE0 ; ASCII "Cannot load Bnclient.dll: Error %d"
6FA4E375 50 PUSH EAX
6FA4E376 E8 A02CFFFF CALL D2Launch.6FA4101B
6FA4E37B 83C4 0C ADD ESP,0C
6FA4E37E 6A 10 PUSH 10
6FA4E380 68 D8EAA56F PUSH D2Launch.6FA5EAD8 ; ASCII "D2Multi"
6FA4E385 8D4C24 08 LEA ECX,DWORD PTR SS:[ESP+8]
6FA4E389 51 PUSH ECX
6FA4E38A 6A 00 PUSH 0
6FA4E38C FF15 48C4A56F CALL DWORD PTR DS:[<&USER32.MessageBoxA>] ; USER32.MessageBoxA
6FA4E392 33C0 XOR EAX,EAX
6FA4E394 83C4 64 ADD ESP,64
6FA4E397 C3 RETN

TO

6FA4E349 85C0 TEST EAX,EAX
6FA4E34B 0F85 9B000000 JNZ D2Launch.6FA4E3EC
6FA4E351 68 04EBA56F PUSH D2Launch.6FA5EB04 ; ASCII "Bnclient.dll"
6FA4E356 FF15 D0C2A56F CALL DWORD PTR DS:[<&KERNEL32.LoadLibraryA>] ; kernel32.LoadLibraryA
6FA4E35C 85C0 TEST EAX,EAX
6FA4E35E A3 C056A66F MOV DWORD PTR DS:[6FA656C0],EAX
6FA4E363 50 PUSH EAX
6FA4E364 68 14FBA56F PUSH D2Launch.6FA5FB14 ; ASCII "LibraryName.dll"
6FA4E369 FF15 D0C2A56F CALL DWORD PTR DS:[<&KERNEL32.LoadLibraryA>] ; kernel32.LoadLibraryA
6FA4E36F 58 POP EAX
6FA4E370 90 NOP
"... ... ..."
6FA4E397 90 NOP

ocarinas
Posts: 56
Joined: Sun Apr 10, 2016 4:36 am

Re: [1.13c] my code edits compilation

Post by ocarinas » Tue Dec 20, 2016 3:15 am

2shared link is dead...
can someone please upload the file again?

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

Re: [1.13c] my code edits compilation

Post by devurandom » Tue Dec 20, 2016 8:44 am

Kidpaddle94 Code Edits Compilation - [1.13c]
https://www.dropbox.com/s/90wj01dshp467 ... eEdits.zip
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..

ocarinas
Posts: 56
Joined: Sun Apr 10, 2016 4:36 am

Re: [1.13c] my code edits compilation

Post by ocarinas » Tue Dec 20, 2016 6:28 pm

Thank you so much! you're a lifesaver.

User avatar
a000000
Posts: 36
Joined: Mon Apr 10, 2017 6:36 am

Re: [1.13c] my code edits compilation

Post by a000000 » Sat Dec 09, 2017 2:10 pm

2shared link is dead...
can someone please upload the file again?

Thank you

User avatar
a000000
Posts: 36
Joined: Mon Apr 10, 2017 6:36 am

Re: [1.13c] my code edits compilation

Post by a000000 » Sat Dec 09, 2017 2:54 pm

devurandom" wrote:Kidpaddle94 Code Edits Compilation - [1.13c]
https://www.dropbox.com/s/90wj01dshp467 ... eEdits.zip
link is dead...
can someone please upload the file again?

Thank you

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

Re: [1.13c] my code edits compilation

Post by devurandom » Sat Dec 09, 2017 8:43 pm

Has a message that says "zip files cant be previewed" click ok on that and the download link is presented.
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..

User avatar
a000000
Posts: 36
Joined: Mon Apr 10, 2017 6:36 am

Re: [1.13c] my code edits compilation

Post by a000000 » Sun Dec 10, 2017 3:47 am

devurandom" wrote:Has a message that says "zip files cant be previewed" click ok on that and the download link is presented.

I can't open the link. Can you send me mail?
Thank you for your trouble
Last edited by a000000 on Thu Dec 14, 2017 2:27 pm, edited 1 time in total.

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

Re: [1.13c] my code edits compilation

Post by devurandom » Sun Dec 10, 2017 5:17 am

Try right click on screen and temporarily allow noscript to accept dropboxstatic.com & dropbox.com
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..

User avatar
a000000
Posts: 36
Joined: Mon Apr 10, 2017 6:36 am

Re: [1.13c] my code edits compilation

Post by a000000 » Mon Dec 11, 2017 12:33 am

devurandom" wrote:Try right click on screen and temporarily allow noscript to accept dropboxstatic.com & dropbox.com
Sorry, I'm not good at English. He's not my native language.

I tried, I couldn't open that site, and I failed to open the right button. The reason is estimated by the state of the firewall to shield, there is no special software

What's your contact way, please?

User avatar
a000000
Posts: 36
Joined: Mon Apr 10, 2017 6:36 am

Re: [1.13c] my code edits compilation

Post by a000000 » Mon Dec 11, 2017 11:51 pm

[img][img][img]

Code: Select all

[list][list=][*][img][url][center][face=][float=][headline=][pre][right][s][/s][/right][/pre][/headline][/float][/face][/center][/url][/img][/list][/list]
[/b][/i][/u]
[/img][/img][/img]
devurandom" wrote:Try right click on screen and temporarily allow noscript to accept dropboxstatic.com & dropbox.com

User avatar
a000000
Posts: 36
Joined: Mon Apr 10, 2017 6:36 am

Re: [1.13c] my code edits compilation

Post by a000000 » Mon Dec 11, 2017 11:54 pm

devurandom" wrote:Try right click on screen and temporarily allow noscript to accept dropboxstatic.com & dropbox.com
89.png
(10.69 KiB) Not downloaded yet
Attachments
89.png
(10.69 KiB) Not downloaded yet

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

Re: [1.13c] my code edits compilation

Post by Kaladann » Tue Dec 12, 2017 7:27 am

Hello !

Big up to kidpaddle94 Who gave us this huge compilation !
Many thanx !


Here is another upload on Mega, maybe you can grab it here :
Whist113cCodeEdits.zip

Cheers !
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 !

User avatar
a000000
Posts: 36
Joined: Mon Apr 10, 2017 6:36 am

Re: [1.13c] my code edits compilation

Post by a000000 » Tue Dec 12, 2017 5:25 pm

Kaladann" wrote:Hello !

Big up to kidpaddle94 Who gave us this huge compilation !
Many thanx !


Here is another upload on Mega, maybe you can grab it here :
Whist113cCodeEdits.zip

Cheers !
It can't be downloaded, it is estimated that the national firewall is forbidden to access.
Thank you
Last edited by a000000 on Thu Dec 14, 2017 2:27 pm, edited 1 time in total.

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

Re: [1.13c] my code edits compilation

Post by Kaladann » Tue Dec 12, 2017 11:15 pm

Sent ;)
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”