help hacking Stronghold Crusader 2 - The Jackal and The Khan

Memory scanning, code injection, debugger internals and other gamemodding related discussion
pharaon
Expert Cheater
Expert Cheater
Posts: 88
Joined: Sat Aug 05, 2017 1:42 pm
Reputation: 0

Re: help hacking Stronghold Crusader 2 - The Jackal and The Khan

Post by pharaon » Fri Aug 31, 2018 4:09 pm

thanks for you reply
and what about the back trace strategy why its not working out

User avatar
koderkrazy
Fearless Donors
Fearless Donors
Posts: 252
Joined: Sun Jun 17, 2018 2:14 pm
Reputation: 165

Re: help hacking Stronghold Crusader 2 - The Jackal and The Khan

Post by koderkrazy » Fri Aug 31, 2018 4:18 pm

pharaon wrote:
Fri Aug 31, 2018 4:09 pm
thanks for you reply
and what about the back trace strategy why its not working out
It's a long explanation. I'll tell you later.
What you want is getting to actual value from display value. There could be many things in between(things are not same for every game)
Instead of display value we've found actual value directly using 4byte scan. Easiest way is to modify at location where it's getting written.

pharaon
Expert Cheater
Expert Cheater
Posts: 88
Joined: Sat Aug 05, 2017 1:42 pm
Reputation: 0

Re: help hacking Stronghold Crusader 2 - The Jackal and The Khan

Post by pharaon » Fri Aug 31, 2018 4:37 pm

ok so i have to do the same steps for gold value as well or from wood i can find gold easily? and if i can what would be the right way to do

how can i know the value within [ebp+0C]
you told me before add it to watch list
i open watch list from memory view and add it manually but that shows me no values is there other working way

how can i know other stack values of ebp

chachacho
What is cheating?
What is cheating?
Posts: 2
Joined: Sat Sep 01, 2018 5:15 pm
Reputation: 0

Re: help hacking Stronghold Crusader 2 - The Jackal and The Khan

Post by chachacho » Sat Sep 01, 2018 5:18 pm

The File for unlimited Wood and Gold is for everyone and not only for you. Is there a way to change that ?

pharaon
Expert Cheater
Expert Cheater
Posts: 88
Joined: Sat Aug 05, 2017 1:42 pm
Reputation: 0

Re: help hacking Stronghold Crusader 2 - The Jackal and The Khan

Post by pharaon » Mon Sep 03, 2018 3:47 pm

[ebp+08] add gold for me and the computer as well how can i separate my offsite of the computer offsite so the gold would be add only to me

User avatar
koderkrazy
Fearless Donors
Fearless Donors
Posts: 252
Joined: Sun Jun 17, 2018 2:14 pm
Reputation: 165

Re: help hacking Stronghold Crusader 2 - The Jackal and The Khan

Post by koderkrazy » Mon Sep 03, 2018 5:22 pm

pharaon wrote:
Mon Sep 03, 2018 3:47 pm
[ebp+08] add gold for me and the computer as well how can i separate my offsite of the computer offsite so the gold would be add only to me
this video explains it perfectly:

chachacho
What is cheating?
What is cheating?
Posts: 2
Joined: Sat Sep 01, 2018 5:15 pm
Reputation: 0

Re: help hacking Stronghold Crusader 2 - The Jackal and The Khan

Post by chachacho » Tue Sep 04, 2018 2:37 pm

Can you do it for me, I'm a total noob at cheat engine :)

pharaon
Expert Cheater
Expert Cheater
Posts: 88
Joined: Sat Aug 05, 2017 1:42 pm
Reputation: 0

Re: help hacking Stronghold Crusader 2 - The Jackal and The Khan

Post by pharaon » Wed Sep 05, 2018 6:48 pm

ok i back trace it to this code

Code: Select all

fstp dword ptr [ebp-14]
and when i modifies it to

Code: Select all

fstp dword ptr [ebp-14]
  mov [ebp-14],(float)9999
it writes the new value for me and the computer as well
and the opcode write to only one address

so i back trace out of this function
found this

Code: Select all

StrongholdBase.StrongholdBase::Estate::GetKeep+8F0 - xor ebx,ebx
StrongholdBase.StrongholdBase::Estate::GetKeep+915 - mov [ebp-14],ebx <<<<<< ebx value is 00000
StrongholdBase.StrongholdBase::Estate::GetKeep+94B - mov eax,[ebp-14]<<<<<<<<ebp value is address 00BFF94C when i add it manulayy -14 it give me value 0
should i back trace further than xor ebx,ebx?

Code: Select all

StrongholdBase.StrongholdBase::Estate::GetKeep+8F0 - 33 DB                 - xor ebx,ebx
opcode and byte if you like to check yourself for anything else

Post Reply

Who is online

Users browsing this forum: No registered users