|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
saadoxdev How do I cheat? Reputation: 0
Joined: 07 Dec 2017 Posts: 4
|
Posted: Thu Dec 07, 2017 12:28 am Post subject: Loop problem ... halp guys !! |
|
|
Hello .
I'm kinda stuck rn , i made a script but it bugs my game when loading .
this script is like a Loop , it's goal to check if "Alive" i'm Alive ( "0" ) to change it to 1 ( dead ) that kill every single thing in dungeon right away but it kills me too (i can't move ) , then Loop will go back and jump to newmem and start again but this time it will find that [ecx+00000C28] is not equal to 0 so it'll make it 0 first then i'll be able to move again and continue the loop (jmp) ....
Now the thing is i was doing this easy before cuz i had Two scripts one is for "Dead" second "Alive" so i just switch between them ...
But something happend and i can't no more bypass that damn XIGNCODE3 aka gaycode ..
script :
Code: |
[ENABLE]
assert(address,bytes)
alloc(newmem,$1000)
label(code)
label(return)
label(myLoop)
newmem:
//when 0 "Alive" change it to 1 "dead" then get back to " 0 " .
cmp [ecx+00000C28],0
je code
//Get back to life
mov [ecx+00000C28],0
mov al,[ecx+00000C28]
jmp code
code:
//Die bitch
mov [ecx+00000C28],1
mov al,[ecx+00000C28]
jmp myLoop
address:
jmp newmem
nop
myLoop:
jmp newmem
return:
[DISABLE]
|
so i'm trying to make them both in one script to inject it before that xigncode3 loads . and close the cheat engine so i won't get detected (mmo game) .
i'm realy Stuck rn Please help me out guys .
Last edited by saadoxdev on Fri Dec 08, 2017 1:58 am; edited 1 time in total |
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Thu Dec 07, 2017 12:42 am Post subject: |
|
|
you cant loop using the game thread, making the execution loop thru your code means you are preventing the game to execute it own code.
you must create thread on your desired code, so you dont get issues.
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
Back to top |
|
|
saadoxdev How do I cheat? Reputation: 0
Joined: 07 Dec 2017 Posts: 4
|
Posted: Thu Dec 07, 2017 1:18 am Post subject: |
|
|
OldCheatEngineUser wrote: | you cant loop using the game thread, making the execution loop thru your code means you are preventing the game to execute it own code.
you must create thread on your desired code, so you dont get issues. |
Please can u correct it to me , i would apreciate it ... i dunno how exactly i can do dat ...
|
|
Back to top |
|
|
Zanzer I post too much Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Thu Dec 07, 2017 7:02 pm Post subject: |
|
|
Code: | [ENABLE]
assert(address,bytes)
alloc(newmem,$1000)
label(code)
label(return)
newmem:
//when 0 / Alive jmp to 1 dead then get back to 1.
cmp [ecx+00000C28],0
je code
//Get back to life
mov [ecx+00000C28],0
mov al,[ecx+00000C28]
jmp return
code:
//Die bitch
mov [ecx+00000C28],1
mov al,[ecx+00000C28]
jmp return
address:
jmp newmem
nop
return:
[DISABLE] |
|
|
Back to top |
|
|
saadoxdev How do I cheat? Reputation: 0
Joined: 07 Dec 2017 Posts: 4
|
Posted: Fri Dec 08, 2017 1:55 am Post subject: |
|
|
Zanzer wrote: | Code: | [ENABLE]
assert(address,bytes)
alloc(newmem,$1000)
label(code)
label(return)
newmem:
//when 0 "Alive" change it to 1 "dead" then get back to " 0 " .
cmp [ecx+00000C28],0
je code
//Get back to life
mov [ecx+00000C28],0
mov al,[ecx+00000C28]
jmp return
code:
//Die bitch
mov [ecx+00000C28],1
mov al,[ecx+00000C28]
jmp return
address:
jmp newmem
nop
return:
[DISABLE] |
|
Hey man i Appreciate your help , But buddy where is the loop in here ?
Here is the updated code i came up with , But i dunno why call sleep does not work now + the code still bugs crash my game .......
Code: | define(address,"KRITIKA_Client.exe"+491E40)
define(bytes,8A 81 28 0C 00 00)
[ENABLE]
assert(address,bytes)
alloc(newmem,$1000)
label(code)
CREATETHREAD(code)
label(return)
newmem:
code:
mov [ecx+00000C28],0
mov al,[ecx+00000C28]
push #9000
call sleep
cmp al,0
jne code
mov [ecx+00000C28],1
mov al,[ecx+00000C28]
push #9000
call sleep
jmp code
address:
jmp newmem
nop
return:
[DISABLE]
address:
db bytes
dealloc(newmem)
|
I realy need help guys .... pls .
|
|
Back to top |
|
|
OldCheatEngineUser Whateven rank Reputation: 20
Joined: 01 Feb 2016 Posts: 1587
|
Posted: Fri Dec 08, 2017 12:46 pm Post subject: |
|
|
make two scripts:
- hook the original instructions and move them into a global variable, and make that global variable write to the original instruction.
- create another script without hooking any of the original instructions, load your global variables into registers (your global variables contain the memory address of the original instructions) let your loop run however you like using createthread function.
make sure you the first script is activated so the memory location of the original instructions are loaded into your global variables, so you can use your global variables as a copy of the original instructions to create a thread on.
remember let your global variables write to the original instruction. (the script you hooked them on which is the first one)
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
Back to top |
|
|
saadoxdev How do I cheat? Reputation: 0
Joined: 07 Dec 2017 Posts: 4
|
Posted: Fri Dec 08, 2017 3:32 pm Post subject: |
|
|
OldCheatEngineUser wrote: | make two scripts:
- hook the original instructions and move them into a global variable, and make that global variable write to the original instruction.
- create another script without hooking any of the original instructions, load your global variables into registers (your global variables contain the memory address of the original instructions) let your loop run however you like using createthread function.
make sure you the first script is activated so the memory location of the original instructions are loaded into your global variables, so you can use your global variables as a copy of the original instructions to create a thread on.
remember let your global variables write to the original instruction. (the script you hooked them on which is the first one) |
i wish i understand u .
i'm still a begginer , i don't understand the things u said 80% of it ..
PS : I cannot keep CE running cuz i can't bypass the anti cheat so i just inject scripts first before the anticheat (xigncode) load to the game and exit CE .
I hope u can just write me something might work (if you are not lazy :p ) .
That will help me more and learn about how it works better .
Thanks .
|
|
Back to top |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8517 Location: 127.0.0.1
|
Posted: Mon Dec 11, 2017 5:05 am Post subject: |
|
|
This is an online game. We do not allow online / multiplayer hacking on this site.
Locked.
http://forum.cheatengine.org/faq.php#0
_________________
- Retired. |
|
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
|
|