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 


Why Any One Give me true answer??
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
-DEViL-
Expert Cheater
Reputation: 3

Joined: 21 Apr 2007
Posts: 185

PostPosted: Sat May 26, 2007 10:09 am    Post subject: Why Any One Give me true answer?? Reply with quote

hi every one
i ask this question in 2 topic and i cant get my true answer
just i want one true answer
please guys help me Crying or Very sad Crying or Very sad
i want to create trainer from this scripts my scripts work very good.
but when i create trainer from this scripts trainer is not work?
this is my problem
please some one help me Crying or Very sad Crying or Very sad
just i want one true answer Sad Sad
Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
registersymbol(insanity)

alloc(insanity,4)


label(returnhere)
label(originalcode)
label(exit)

SufferingTTB.rfl+1B2FD:
jmp SufferingTTB.rfl+3A0
nop
returnhere:

SufferingTTB.rfl+3A0: //this is allocated memory, you have read,write,execute access
//place your code here
mov [insanity],esi //store the base address to insanity

originalcode:
fstp [esi+0000048a]

exit:
jmp returnhere
 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
unregistersymbol(insanity)
dealloc(insanity)

SufferingTTB.rfl+1B2FD:
fstp [esi+0000048a]
Back to top
View user's profile Send private message
Kimo
Grandmaster Cheater Supreme
Reputation: 0

Joined: 20 Jan 2007
Posts: 1284
Location: irc://p2p-irc.net/cef

PostPosted: Sat May 26, 2007 11:19 am    Post subject: Reply with quote

I thought Dark Byte Helped you. Confused
Back to top
View user's profile Send private message
krayzie94
Newbie cheater
Reputation: 0

Joined: 26 May 2007
Posts: 13

PostPosted: Sat May 26, 2007 2:56 pm    Post subject: hmmm... Reply with quote

well, to be honest, im not too good with scripts, actually, im a n00b at scripts..lol, i hacked PSP using a PS2 disassembler, and i've gained a great amount of knowledge from that, but we havent had to deal with scripts, so im new at it. excuse me for asking, but could you please re-phrase the "problem", i dont get it...is your script just not running COMPLETELY?, or is it not working as it should?

^^^sorry for being a n00b, but i'll put in some work on it^^^

_________________
Oh By The Way, This Is My Signature....
Back to top
View user's profile Send private message AIM Address
kjmarket
Grandmaster Cheater
Reputation: 0

Joined: 11 Oct 2006
Posts: 600

PostPosted: Sat May 26, 2007 5:01 pm    Post subject: Reply with quote

Excuse me if I'm wrong, but is the problem that CE automatically finds code caves for the auto assemble script, but a trainer doesn't?
_________________


I can hear the voices of opcodes. "Come and NOP me!" Come and NOP me!"
Back to top
View user's profile Send private message MSN Messenger
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sat May 26, 2007 6:20 pm    Post subject: Reply with quote

Yeah you cant use alloc(newmem) for a trainers script you need to find the cave with the code caver in CE or any other one you use.

Then write the script for the trainer.
I had this problem several times before, then "SomeoneB" said use your own cave so i did and i tested it over and over, alloc is the problem.

i have talked with this guy on the same thing before and he doesnt understand me. Also i seen DB try as well.

Look X, this is all i can say mate is try this.

registersymbol(insanity) <--- Using this i dont know if it will work. Because i dont fully understand how the game can possibly know what this is.

SufferingTTB.rfl+3A0: <--- this is your code cave

mov [insanity],esi <--- Whats written to the cave

jmp back <---- Write a jump back to the next instruction in the original code so it has a place to jump back out of the cave.

SufferingTTB.rfl+1B2FD: <--- Your original address

jmp SufferingTTB.rfl+3A0 <--- Jumping to your cave to run your code injection
back: <--- Jumps back inline for the rest of the game code to continue.

[DISABLE]
SufferingTTB.rfl+1B2FD: <--- Original address
fstp [esi+0000048a][/code] <--- replaces the jmp with original code to disable the cheat.


Code:
[ENABLE]
registersymbol(insanity)
label(back)

SufferingTTB.rfl+3A0:
mov [insanity],esi
jmp back

SufferingTTB.rfl+1B2FD:
jmp SufferingTTB.rfl+3A0
nop
back:
 
[DISABLE]
SufferingTTB.rfl+1B2FD:
fstp [esi+0000048a]


This is how you write scripts to work in your trainers, It will also work just like a, AA script as well if you wanted to use it that way.

Im sorry i cant explain it any simpler because, i know how to do it for the most part and it is hard to explain things once you get to this point.
Tutorials are hard to understand when someone write them also because they know how and tend to skip or take if for granted the person that is going to read it will know the basic steps involved and it makes for a incomplete tutorial and will fail to teach people in some cases.

But i hope you get it now what i have been trying to show you.

==========================================
Edit:

Code:
[ENABLE]
registersymbol(insanity)
label(back)

SufferingTTB.rfl+3A0:
mov [insanity],esi
jmp back

SufferingTTB.rfl+1B2FD:
jmp SufferingTTB.rfl+3A0
nop
back:
 
[DISABLE]
SufferingTTB.rfl+1B2FD:
fstp [esi+0000048a]


I was looking over this script again, It is not going to work because of registersymbol(insanity).

You need to find what your trying to alter.
mov [insanity],esi <---- What is insanity supposed to represent? Why not use what is really is to save some trouble.

Find the pointer for this: fstp [esi+0000048a]


Last edited by Labyrnth on Mon May 28, 2007 12:58 am; edited 1 time in total
Back to top
View user's profile Send private message
-DEViL-
Expert Cheater
Reputation: 3

Joined: 21 Apr 2007
Posts: 185

PostPosted: Sat May 26, 2007 11:59 pm    Post subject: Reply with quote

my problem is i cant find base pointer and i want to use this scripts as base pointer.
im read all over of pointer tutorials in the pointer section but im still cant find base pointer.
this scripts is the easiest way for me.
and i want to use this scripts in the trainer.

Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sun May 27, 2007 4:42 pm    Post subject: Reply with quote

Where did you come up with the word? [insanity]
You are insisting on using it, so is it a cheat code or something for the game?

I think i have asked this before....


Also alloc(insanity,4) <--- What does this look like when it is allocated in memory, Show a screen of it.
Back to top
View user's profile Send private message
UncommonCold
Cheater
Reputation: 0

Joined: 27 May 2007
Posts: 26

PostPosted: Sun May 27, 2007 6:59 pm    Post subject: Reply with quote

we dont want to
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Sun May 27, 2007 8:49 pm    Post subject: Reply with quote

UncommonCold wrote:
we dont want to


What are you talking about?
================================================




xxx_xxx

screenshot what that aa script writes when you use alloc(insanity,4)
If it does what i think then i can possibly post a script that will work maybe.
Back to top
View user's profile Send private message
kjmarket
Grandmaster Cheater
Reputation: 0

Joined: 11 Oct 2006
Posts: 600

PostPosted: Sun May 27, 2007 11:44 pm    Post subject: Reply with quote

I dont know about the script, but I do know baout the games. There is an insanity meter...that much I know. Never tried cheats on PC version as its too buggy, but there was no cheat code insanity int he console version.
_________________


I can hear the voices of opcodes. "Come and NOP me!" Come and NOP me!"
Back to top
View user's profile Send private message MSN Messenger
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Mon May 28, 2007 12:12 am    Post subject: Reply with quote

See thats what i dont get, why not find the address :S
Back to top
View user's profile Send private message
-DEViL-
Expert Cheater
Reputation: 3

Joined: 21 Apr 2007
Posts: 185

PostPosted: Mon May 28, 2007 12:16 am    Post subject: Reply with quote

here is screen shot:
018BB2FD=my original address

and this is my cave:
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Mon May 28, 2007 12:32 am    Post subject: Reply with quote

This AA script you posted at the first post. Does it work?
The reason im asking is because it looks like it just creates allocated cave named insanity with a size of 4. And your defining a cave for the instructions as well.
I dont think this script works.
Let me know.

Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
registersymbol(insanity)

alloc(insanity,4)


label(returnhere)
label(originalcode)
label(exit)

SufferingTTB.rfl+1B2FD:
jmp SufferingTTB.rfl+3A0
nop
returnhere:

SufferingTTB.rfl+3A0: //this is allocated memory, you have read,write,execute access
//place your code here
mov [insanity],esi //store the base address to insanity

originalcode:
fstp [esi+0000048a]

exit:
jmp returnhere
 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
unregistersymbol(insanity)
dealloc(insanity)

SufferingTTB.rfl+1B2FD:
fstp [esi+0000048a]


===============================================
Also you can try this script, maybe alloc will work if you are using it as a symbol in a trainer :S. "Doubt it tho"

Code:
[ENABLE]
registersymbol(insanity)
alloc(insanity,4)
label(back)

SufferingTTB.rfl+3A0:
mov [insanity],esi
jmp back

SufferingTTB.rfl+1B2FD:
jmp SufferingTTB.rfl+3A0
nop
back:
 
[DISABLE]
unregistersymbol(insanity)
dealloc(insanity)
SufferingTTB.rfl+1B2FD:
fstp [esi+0000048a]
Back to top
View user's profile Send private message
-DEViL-
Expert Cheater
Reputation: 3

Joined: 21 Apr 2007
Posts: 185

PostPosted: Mon May 28, 2007 2:22 am    Post subject: Reply with quote

thank you very much Labyrnth
but not work in the trainer only work in the cheat table.
yes this is scripts work for me very good but not in the trainer.
my problem is i cant find base pointer and i want to use this scripts as base pointer.
this scripts is easiest way for
me.look at this picture:

if you understand me.
(insanity) is not a cheat i can change that to any thing you want.
when i active that scripts this is write over there:

in here that scripts has been activated and you can use that as a normal base base pointer.
insanity+48a(offset)=normal base pointer
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6301

PostPosted: Mon May 28, 2007 10:18 am    Post subject: Reply with quote

3A53E40 <--- Look at this address.

This is really hard to work with like this since i dont have the game.
But you looked for a pointer, Now look at the address it points to 3A53E40
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