|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
Glenn1987 How do I cheat? Reputation: 0
Joined: 16 May 2014 Posts: 1
|
Posted: Fri May 16, 2014 5:44 pm Post subject: Street Fighter VS Tekken lua script for power gauge |
|
|
Can someone help me with this please? When I activate it the script causes the game to crash. It does work, but I was wondering if anyone could help me improve this to where it doesn't crash the game if at all possible.
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
add [edi+30],edx
mov ecx,[edi+30]
exit:
jmp returnhere
"SFTK.exe"+44D12D:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"SFTK.exe"+44D12D:
sub [edi+30],edx
mov ecx,[edi+30]
//Alt: db 29 57 30 8B 4F 30
|
|
Back to top |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8518 Location: 127.0.0.1
|
Posted: Fri May 16, 2014 6:34 pm Post subject: |
|
|
Moved from the Lua section, this is not a Lua related post/question.
_________________
- Retired. |
|
Back to top |
|
|
++METHOS I post too much Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Fri May 16, 2014 6:43 pm Post subject: |
|
|
If it's crashing, you need to find out why. It could be that the instruction that you are using for your injection point is also accessing other, unwanted addresses, and increasing those 'other' addresses is causing the crash...that being the case, you must either filter out those unwanted addresses so that they are not affected, or, use a different instruction to manipulate your targeted address (preferably, one that is exclusive to your targeted address...that does not access any other addresses).
Or...
It could be that the address that you are manipulating was designed to only reach a certain amount...and once it goes beyond that amount, the game freaks out and crashes. If that is the case, you must find out what this 'maximum' amount is and write a conditional jump that checks for that. For example:
Code: | newmem:
cmp [edi+30],#99 /////check if value is 99
jge originalcode /////if value is equal to or greater than 99, jump over to originalcode
add [edi+30],edx
mov ecx,[edi+30]
jmp returnhere
originalcode:
sub [edi+30],edx
mov ecx,[edi+30]
jmp returnhere |
Or...
The game has anti-cheat. Check to see if there is a workaround or refer to stealthedit plugin.
|
|
Back to top |
|
|
Gniarf Grandmaster Cheater Supreme Reputation: 43
Joined: 12 Mar 2012 Posts: 1285
|
Posted: Fri May 16, 2014 11:47 pm Post subject: Re: Street Fighter VS Tekken lua script for power gauge |
|
|
Glenn1987 wrote: | When I activate it the script causes the game to crash. It does work, but I was wondering if anyone could help me improve this to where it doesn't crash the game if at all possible. | Your game is protected by games for windows live, grab Geri's XLive disabler from any table on this forum (even for another game), apply it, THEN activate your script and it shouldn't crash anymore.
Example location to find Geri's xlive disabler: http://forum.cheatengine.org/viewtopic.php?t=551786
Also your script didn't work for me, so I arranged it that way: Code: | [ENABLE]
aobscan(PowerGaugeFix,8B 4F 30 33 D2 85 C9 0F 9E C2)
registersymbol(PowerGaugeFix)
PowerGaugeFix-3:
add dword [edi+30],edx
[DISABLE]
unregistersymbol(PowerGaugeFix)
PowerGaugeFix-3:
sub dword [edi+30],edx
//What we're looking for:
{
SFTK.exe+4588DD - 8B 55 0C - mov edx,[ebp+0C]
SFTK.exe+4588E0 - 8D 4D 0C - lea ecx,[ebp+0C]
SFTK.exe+4588E3 - 39 57 30 - cmp [edi+30],edx
SFTK.exe+4588E6 - 7F 03 - jg SFTK.exe+4588EB
SFTK.exe+4588E8 - 8D 4F 30 - lea ecx,[edi+30]
SFTK.exe+4588EB - 8B 31 - mov esi,[ecx]
SFTK.exe+4588ED - 29 57 30 - sub [edi+30],edx <-[edi+30]=our gauge
SFTK.exe+4588F0 - 8B 4F 30 - mov ecx,[edi+30] <-PowerGaugeFix is here
SFTK.exe+4588F3 - 33 D2 - xor edx,edx
SFTK.exe+4588F5 - 85 C9 - test ecx,ecx
SFTK.exe+4588F7 - 0F9E C2 - setle dl
SFTK.exe+4588FA - 53 - push ebx
} | (it still requires killing GFWL's protection though).
_________________
DO NOT PM me if you want help on making/fixing/using a hack. |
|
Back to top |
|
|
Glenn1987 How do I cheat? Reputation: 0
Joined: 16 May 2014 Posts: 1
|
Posted: Sat May 17, 2014 8:36 am Post subject: |
|
|
Gniarf, thanks so much that script did the trick and ++METHOS thanks for that advise. I forgot how to do it, but I remember there was a way to dissect the code to only effect the 1st players power gauge. I can figure it out, but this script does give p2/cpu infinite gauge as well. Not a big deal thanks guys.
|
|
Back to top |
|
|
lazenes How do I cheat? Reputation: 0
Joined: 22 Jan 2022 Posts: 1 Location: Turkey
|
Posted: Sat Jan 22, 2022 2:39 pm Post subject: Re: Street Fighter VS Tekken lua script for power gauge |
|
|
I need a script to convert this game to coin trading, how can I do that?
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|