[1.13c] How to make a repeatable Charsi quest ?

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
Kaladann
Posts: 95
Joined: Fri Oct 23, 2015 1:15 am
Location: France
France

[1.13c] How to make a repeatable Charsi quest ?

Post by Kaladann » Sat Mar 28, 2020 7:54 pm

Hello there !

I've got an idea to prevent player to abuse the imbue quest to gain tons of gold.
Instead of keep the imbue for ever, why not reinitialise Charsi quest, so the player have to bring back the malus each time they want to imbue an item ?

I have the idea, but not the skill to acheave that. Can someone provides a 'search and replace' exemple ?

Thank you !

-+-

For reference, I've already done this edit to have unlimited imbue :

Code: Select all

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
@ 045CFF change 74 18 to 90 90

Code: Select all

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
@ 0C0351 change 6A 01 to 6A 03

:wave:
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
jessedazebra
Junior Member
Paladin
Posts: 130
Joined: Sun Nov 11, 2012 9:46 am
Russia

Re: [1.13c] How to make a repeatable Charsi quest ?

Post by jessedazebra » Sun Mar 29, 2020 10:09 am

There's a call that sets Charsi's quest completed, if you nope these lines you'll never get quest completed and you'll be able to imbue forever.

Code: Select all

D2Game.dll:
000C04F6   8BC7             MOV EAX,EDI
000C04F8   8BFD             MOV EDI,EBP
000C04FA   E8 E132FAFF      CALL 000637E0
I tried nopping out these lines and added jump to where the quest is started, but the game crashed when I pressed imbue button. I never believed it would work this way, but gave it a try anyway. Maybe someone knows how to set the quest from starting point, would be interesting to see the code.
Image

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

Re: [1.13c] How to make a repeatable Charsi quest ?

Post by Kaladann » Sun Mar 29, 2020 6:24 pm

Hello jessedazebra, TY to stop by :)

I've already done the edit to have unlimited imbue, but it's too easy to get gold from that, so I want to try a different way to handle this quest.
Thank you for tried something ;)

I wish someone could help us to find it out :P
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”