Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Trainer generator help - Arizona Sunshine

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Drivium
Advanced Cheater
Reputation: 0

Joined: 16 Apr 2013
Posts: 97

PostPosted: Fri Mar 31, 2017 4:16 pm    Post subject: Trainer generator help - Arizona Sunshine Reply with quote

I've never tried to use the trainer generator before, but it seems pretty straight forward. I have 2 scripts in my cheat table and when I go through the process to create a generic trainer, it only generates this: CET_TRAINER.CETRAINER, even though I have .exe selected. I read on here somewhere that you must create it in the C:\, tried that and same result.

Can someone look at my cheat table and tell me if it's clear why it's failing to create the .exe ?

Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="24">
  <CheatEntries>
    <CheatEntry>
      <ID>0</ID>
      <Description>"Infinite Ammo"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
aobscan(INJECT,89 B7 48 02 00 00 48 8B)
alloc(newmem,$1000,4B406B22)

label(code)
label(return)

newmem:

code:
  mov [rdi+00000248],#99
  jmp return

INJECT:
  jmp newmem
  nop
return:
registersymbol(INJECT)

[DISABLE]

INJECT:
  db 89 B7 48 02 00 00

unregistersymbol(INJECT)
dealloc(newmem)
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>1</ID>
      <Description>"Infinite Health"</Description>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
aobscan(INJECT,F2 0F 5A E8 F3 0F 11 AE EC 00 00 00 83)
alloc(newmem,$1000,099F8BD8)

label(code)
label(return)

newmem:

code:
db 90 90 90 90
  jmp return

INJECT:
  jmp newmem
  nop
  nop
  nop
  nop
  nop
  nop
  nop
return:
registersymbol(INJECT)

[DISABLE]
INJECT:
  db F2 0F 5A E8 F3 0F 11 AE EC 00 00 00

unregistersymbol(INJECT)
dealloc(newmem)
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
</CheatTable>
[/code]
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Fri Mar 31, 2017 9:26 pm    Post subject: Reply with quote

In CE, you are selecting 'File' from the drop-down menu, then clicking on 'Generate generic trainer lua script from table'? From there, you can select .exe as your output -- but that should be selected by default.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

Joined: 09 May 2003
Posts: 25262
Location: The netherlands

PostPosted: Fri Mar 31, 2017 9:30 pm    Post subject: Reply with quote

besides missing hotkeys looks ok.

As for creating the exe, make sure output is set to .EXE (you said you did, just making sure)

And put it in a folder where you are currently NOT looking at.
e.g create a folder at c:\mytrainer, and close any window/folder that has it open/visible


also, set the trainer size to "Gigantic"

_________________
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
View user's profile Send private message MSN Messenger
anioconn
How do I cheat?
Reputation: 0

Joined: 13 Apr 2017
Posts: 1

PostPosted: Thu Apr 13, 2017 4:16 pm    Post subject: Reply with quote

any further luck with this id love to try out a arizona sunshine trainer and cant get anything working
Back to top
View user's profile Send private message AIM Address
acorchia
Newbie cheater
Reputation: 0

Joined: 02 Nov 2013
Posts: 12
Location: Israel

PostPosted: Wed May 06, 2020 10:44 am    Post subject: Reply with quote

@Drivium
Any chance you can update if it worked or not?
I would very much like to use it on single player campaign
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites