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 making question in 6.1
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
BTGbullseye
Newbie cheater
Reputation: 0

Joined: 04 Mar 2009
Posts: 24
Location: Somewhere in the USA

PostPosted: Tue Jun 14, 2011 11:25 pm    Post subject: Trainer making question in 6.1 Reply with quote

Ok, so I have 3 codes in the Advanced Options code list, and I want them in my trainer, but I can't seem to find a way to get them in the trainer. Confused (used to be automatic in CE5.6)

Help please...

(cheat table I'm using is attached)



dxhr5_win7.CT
 Description:
The cheat table I'm trying to turn into a trainer...

Download
 Filename:  dxhr5_win7.CT
 Filesize:  2.13 KB
 Downloaded:  1151 Time(s)

Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Wed Jun 15, 2011 5:31 am    Post subject: Reply with quote

you'll have to convert it to a cheat table entry first (auto assembler type)

example for the first one:
press ctrl+alt+a (or ctrla in memory view)
there click template->cheat engine framework (or just add [enable] /[disable] manualy);

then add in the enable part:
dxhr5_win7.exe:
db 90 90 90 90

and in the disable part:
dxhr5_win7.exe:
db 66, FF, 48, 14

Then click assign to cheat table so it appears in the list
Then you can assign a hotkey to that entry which toggles it on/off and then create a trainer

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
BTGbullseye
Newbie cheater
Reputation: 0

Joined: 04 Mar 2009
Posts: 24
Location: Somewhere in the USA

PostPosted: Wed Jun 15, 2011 7:10 pm    Post subject: Reply with quote

Thanks, but it doesn't let me do anything with it... Gives an error.

"Error in line 3 (dxhr5_win7.exe:) :This address specifier is not valid"

Or do I have to have the program running?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Wed Jun 15, 2011 7:19 pm    Post subject: Reply with quote

you need to have the program running yes
_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
BTGbullseye
Newbie cheater
Reputation: 0

Joined: 04 Mar 2009
Posts: 24
Location: Somewhere in the USA

PostPosted: Wed Jun 15, 2011 7:26 pm    Post subject: Reply with quote

Ok, so what about the second one? I'm just not understanding the coding format... Embarassed

[EDIT] I understand how it edits the code, but not how it finds the address of the code.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Wed Jun 15, 2011 8:41 pm    Post subject: Reply with quote

sorry, the example script had a mistake

the script should be:
in the enable part:
dxhr5_win7.exe+2C2008:
db 90 90 90 90

and in the disable part:
dxhr5_win7.exe+2C2008:
db 66, FF, 48, 14

as for the second one:

enable:
dxhr5_win7.exe+296B24:
db 90 90 90

disable:
dxhr5_win7.exe+296B24
db 29 41 10


do the third one yourself to learn

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
BTGbullseye
Newbie cheater
Reputation: 0

Joined: 04 Mar 2009
Posts: 24
Location: Somewhere in the USA

PostPosted: Thu Jun 16, 2011 4:28 am    Post subject: Reply with quote

Ah... That makes much more sense now. lol

Thanks much! Very Happy

[EDIT] One last thing, I need a replacement code for "fstp dword ptr [ecx+04]" that will still pop, but not write the number anywhere.

Or just a code that will overwrite the number at that location to what it was before that code was executed.

[EDIT2] Nevermind, I figured it out... Got it working. Was a small set of opcodes that I forgot to comment out on my auto-assembly script.

PS: Sorry for asking some semi-noob questions... I can't seem to find any instructions online that cover the "not a noob, but not a pro" area of experience.
Back to top
View user's profile Send private message
pilgrams
Expert Cheater
Reputation: 0

Joined: 25 Apr 2011
Posts: 203

PostPosted: Tue Jun 21, 2011 5:32 pm    Post subject: Reply with quote

So how do you do this? So I tried using memory view couldn't find the enable or disable code to make a script?
Back to top
View user's profile Send private message
asspass
Newbie cheater
Reputation: 0

Joined: 03 Jul 2010
Posts: 18

PostPosted: Sat Jul 09, 2011 1:30 pm    Post subject: question Reply with quote

the script should be:
in the enable part:
dxhr5_win7.exe+2C2008:
db 90 90 90 90

and in the disable part:
dxhr5_win7.exe+2C2008:
db 66, FF, 48, 14

as for the second one:

enable:
dxhr5_win7.exe+296B24:
db 90 90 90

disable:
dxhr5_win7.exe+296B24
db 29 41 10

DarkByte,
where can I find those codes(sorry if that isn't the right way to call them):
"db 90 90 90" & "db 29 41 10", I know I wont have the same ones, but I don't know where I should find them.

I know what to do until the "Auto assemble" code, which I wrote above.

Many thanks in advance.



GC2TwilightOfTheArnor.CT
 Description:
This is the Ultimate edition of Galactic Civilizations II.
If you download the table, you will see Hull Size 1 and Hull Size 2,
both of them are the codes that makes the size "Increase", same for the money, all of them are the decrease codes(diff ways)

Download
 Filename:  GC2TwilightOfTheArnor.CT
 Filesize:  4.37 KB
 Downloaded:  973 Time(s)

Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Sat Jul 09, 2011 3:36 pm    Post subject: Reply with quote

open the .CT in a text editor
the block you need to look for for each entry is the "Actual" block which contains the original bytes

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
asspass
Newbie cheater
Reputation: 0

Joined: 03 Jul 2010
Posts: 18

PostPosted: Sat Jul 09, 2011 4:10 pm    Post subject: Reply with quote

thanks, it worked.
But there is one more problem, as I press execute nothing happens except that it says, code injection successful(I already knew that this had to happen I first time saw it),
I thought that something like a address should have showed up in the table so I can add it to the trainer...
Or are those addresses in the dissembler (with the 90 bytes) the addresses I should put in my "Address Screen" and freeze or what?
I apologize for my bad english and I hope you have an idea how to solve my problem.
Ty again in advance.

sorry, I didn't saw the last part of your message up there on top,
I assigned it to the current cheat table and now I have no more problems.
ty very much again.

[EDIT]
Well everything works fine now.
But how do I add multiple scrips to one hotkey for trainer?
I don't seem to find the solution...
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Sat Jul 09, 2011 5:15 pm    Post subject: Reply with quote

Just add the same hotkey to multiple scripts and then generate the trainer.
Go into userdefined mode and just delete the entries you don't want from the form and click the generate trainer button. The hotkey will still trigger for all the entries that have the hotkey set

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Sat Jul 09, 2011 5:22 pm    Post subject: Reply with quote

Or just combine the scripts into one:

e.g:
Code:

[enable]
00400500:
db 90 90 90 90

00400600:
db 90 90

[disable]
00400500:
db 00 00 00 11

00400600:
db 11 22


_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
asspass
Newbie cheater
Reputation: 0

Joined: 03 Jul 2010
Posts: 18

PostPosted: Sat Jul 09, 2011 5:50 pm    Post subject: Reply with quote

thank you very much! everything works fine now, mine trainer is working as he should too.
thanks again.

P.S.
If anyone wants to download my table, below.



GC2TwilightOfTheArnor.CT
 Description:
Table
If you add more options plz tell me ^^
---------------------------------------------
This is the updated table of the below one, now are there only 2 scripts instead of 8.

Download
 Filename:  GC2TwilightOfTheArnor.CT
 Filesize:  1.17 MB
 Downloaded:  966 Time(s)


GC2TwilightOfTheArnor.CT
 Description:
Table
If you add more options plz tell me ^^

Download
 Filename:  GC2TwilightOfTheArnor.CT
 Filesize:  1.17 MB
 Downloaded:  1023 Time(s)

Back to top
View user's profile Send private message
morannon
How do I cheat?
Reputation: 0

Joined: 22 Sep 2011
Posts: 7

PostPosted: Fri Sep 23, 2011 3:46 am    Post subject: Hello world Reply with quote

Hi guys, this is my first post on here so bare with me Wink
I finally took time ~a week ago reading on how to make my own trainers and found CE
Looks awsome, i always liked userfriendly in front of non-userfriendly ;x
The Tutorial-x86_64.exe is so nice too.
Now to my problem
I think im kind of having the same problem as this thread starter...
The thing is i totally understand the basics, and i have no problems in altering values, and searching for them.
I admit i still dont understand the pointer and code injection parts 100% yet but that comes later. (it messes up my head hehe)
What ive done now is both freezed values wich ofc is very simple when you put some time on the tutorial.
I also understand how to "find out what writes to this address" and replace with "code that does nothing"
And here my problem starts, i dont know how i can go from there, to have a working ****.exe with checkbox/hotkey or whatever.
I have that information i think i need in "advanced options" but just like BTGbullseye i dont understand how to get on forward now,
I tried looking in "Memory view" and the part with ENABLE / DISABLE but i dont understand what to add there.

Is this covered in the tutorial or the forum?

Or would someone be kind enough to help me out.

Thanks in advance and thanks for what i think look like an awsome app Smile

(When i download and add BTGbullseye's CT in my CE i see only a bunch of ???'s so i dont really get where you get the code from,)

/ Morannon
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
Goto page 1, 2  Next
Page 1 of 2

 
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