| View previous topic :: View next topic |
| Author |
Message |
Mcclures How do I cheat?
Reputation: 0
Joined: 10 Jan 2016 Posts: 9 Location: United Kingdom
|
Posted: Sat Jan 30, 2016 2:09 pm Post subject: How to turn This script into a working trainer?? |
|
|
Hey, Im a complete noob at CE to be completly honest, But, I need help turning this script into a working hotkey trainer.
(Again im a complete noob, so dont get mad at me)
| Code: | alloc(newmem,2048,"Growtopia.exe"+F67C4)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
movss xmm2, [rdi+0C]
exit:
jmp returnhere
"Growtopia.exe"+F67C4"
jmp newmem
return here
|
To this:
| Code: | alloc(newmem,2048,"Growtopia.exe"+F67C4)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
nop
nop
nop
nop
nop
exit:
jmp returnhere
"Growtopia.exe"+F67C4"
jmp newmem
return here
|
Can anyone help?
And yes, ive tried putting [ENABLE] And [DISABLE], It doesn't work when i generate the trainer.
_________________
Ponypussy was meant for man dick ylko
Ponypussy was meant for man dick ylko
Ponypussy was meant for man dick ylko
Ponypussy was meant for man dick ylko
Ponypussy was meant for man dick ylko
Ponypussy was meant for man dick ylko |
|
| Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Sat Jan 30, 2016 2:40 pm Post subject: |
|
|
| Why don't you let CE generate the code for you? That's much easier and prevents you from typing something wrong or missing some colons, like you did in your code ...
|
|
| Back to top |
|
 |
Mcclures How do I cheat?
Reputation: 0
Joined: 10 Jan 2016 Posts: 9 Location: United Kingdom
|
Posted: Sat Jan 30, 2016 4:56 pm Post subject: |
|
|
| hhhuut wrote: | | Why don't you let CE generate the code for you? That's much easier and prevents you from typing something wrong or missing some colons, like you did in your code ... |
Wait, I didnt miss anything, I injected it straight from the game
I Went to the memory viewer, and i went to address 1400F67C4, which is a hack, and i changed it to random address, and it let me walk on things i couldnt walk on. its fine, But i cant turn it into a TRAINER
_________________
Ponypussy was meant for man dick ylko
Ponypussy was meant for man dick ylko
Ponypussy was meant for man dick ylko
Ponypussy was meant for man dick ylko
Ponypussy was meant for man dick ylko
Ponypussy was meant for man dick ylko |
|
| Back to top |
|
 |
Rydian Grandmaster Cheater Supreme
Reputation: 31
Joined: 17 Sep 2012 Posts: 1358
|
|
| Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Sun Jan 31, 2016 7:00 am Post subject: |
|
|
| Mcclures wrote: | | Wait, I didnt miss anything |
Hm, then I wonder why that script is working ...
You declared the label for the backjump as
and jump to it using
| Code: | exit:
jmp returnhere |
But the actual label declaration is
| Code: | "Growtopia.exe"+F67C4"
jmp newmem
return here //You have an additional space and there's missing the colon at the end of the line to tell CE that it actually is a jump label ...
|
|
|
| Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4717
|
Posted: Sun Jan 31, 2016 12:31 pm Post subject: |
|
|
CE tried to idiot-proof the AA as much as possible. I suppose in this case it makes it even more confusing for new people since they don't realize their code is wrong even though it may work. It should be something like this:
| Code: | ...
jmp returnhere
"Growtopia.exe"+F67C4":
jmp newmem
returnhere: |
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sun Jan 31, 2016 12:46 pm Post subject: |
|
|
I suggested DB to add an ON,OFF option for "PotentialLabels" feature and should be disabled by default (after installing, or after ceregreset). Rejected
_________________
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25830 Location: The netherlands
|
Posted: Sun Jan 31, 2016 1:07 pm Post subject: |
|
|
this isn't one of these situations
he did define the label, so the auto assembler will complain that it isn't defined
| Code: |
Error in line 2 (label(returnhere)) :label returnhere is not defined in the script
|
also, the address specifier is missing a : so that will fail as well
In short, this script won't even pass the syntax check, let alone edit wrong memory locations
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
|