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 


AA script cant be enable after game closed

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
kilomn
How do I cheat?
Reputation: 0

Joined: 18 May 2015
Posts: 4

PostPosted: Mon May 18, 2015 6:51 am    Post subject: AA script cant be enable after game closed Reply with quote

I try to make cheat engine script for cs : condition zero, it work fine... but after i close the game and open my cheat table again i cant enable my AA script Sad . And i tought i make a mistake with that script and try to make it again, it same script but after i make new one, the old script can be enable again and it work again...

I find awkwardness with that game, when im only open my cheat table it wont enable but after i "find out what writes to this address" it flashing and i can enable my script again and it work fine. I try using 0DA3365F it just work 1 times and when game exited and opened again the address changed..

here the screenshot (i cant use URL yet, so im using file attachment)

sorry for my bad spelling, thanks... Smile



1.png
 Description:
before flashing
 Filesize:  18.88 KB
 Viewed:  16706 Time(s)

1.png



2.png
 Description:
after flashing and my old code can be enable again and it work fine
 Filesize:  19.72 KB
 Viewed:  16706 Time(s)

2.png


Back to top
View user's profile Send private message
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5627

PostPosted: Mon May 18, 2015 8:22 am    Post subject: Reply with quote

Online cheat discussions are not allowed on the forum.

http://forum.cheatengine.org/faq.php#0

_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
Back to top
View user's profile Send private message
kilomn
How do I cheat?
Reputation: 0

Joined: 18 May 2015
Posts: 4

PostPosted: Mon May 18, 2015 8:25 am    Post subject: Reply with quote

Geri wrote:
Online cheat discussions are not allowed on the forum.


no, its offline games counter strike condition zero...
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Mon May 18, 2015 11:23 am    Post subject: Reply with quote

Post your AA script. Make sure your enable/disable part are correct and you aren't registering the same symbol name for two different AA scripts etc.

Hard ot know whats wrong unless you post your script. Also your picture show the exact same opcodes, not sure what is different there ?

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Mon May 18, 2015 11:29 am    Post subject: Reply with quote

It sounds like you're using the following label as your injection point.
Code:
0DA3365F:

When you should be using the following.
Code:
mp.dll+9365F:
Back to top
View user's profile Send private message
kilomn
How do I cheat?
Reputation: 0

Joined: 18 May 2015
Posts: 4

PostPosted: Mon May 18, 2015 2:16 pm    Post subject: Reply with quote

STN wrote:
Post your AA script. Make sure your enable/disable part are correct and you aren't registering the same symbol name for two different AA scripts etc.

Hard ot know whats wrong unless you post your script. Also your picture show the exact same opcodes, not sure what is different there ?


Zanzer wrote:
It sounds like you're using the following label as your injection point.
Code:
0DA3365F:

When you should be using the following.
Code:
mp.dll+9365F:


here my code
Code:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)

newmem: //this is allocated memory, you have read,write,execute access
//place your code here

originalcode:
mov [esi+000001CC],00003e80

exit:
jmp returnhere

"mp.dll"+9365F:
jmp newmem
nop
returnhere:


 
 
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"mp.dll"+9365F:
mov [esi+000001CC],ecx
//Alt: db 89 8E CC 01 00 00


i dont know why i cant enable this, sound like
Code:
0DA3365F:

wont change like this before i run debugger
Code:
mp.dll+9365F:
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Mon May 18, 2015 2:23 pm    Post subject: Reply with quote

Try using the AOB Injection template instead of Code Injection.
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Mon May 18, 2015 2:36 pm    Post subject: Reply with quote

Zanzer wrote:
It sounds like you're using the following label as your injection point.
Code:
0DA3365F:

When you should be using the following.
Code:
mp.dll+9365F:


That won't explain why the script won't activate even if the game is using codeshifting because CE will write dumbly to 0DA3365F when there is different code there.

The only thing that can explain that sort of behavior is if the memory doesn't exist at that address after some time, this can happen with games which load data when needed. I don't know if Counter strike does that though, to check it, when you can't enable the script go to that address in memory viewer and see if there is any code there.

Your script looks fine.


EDIT: are you sure CS is offline ? it is a vac enabled game i believe and it could very well be interfering with that.

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
kilomn
How do I cheat?
Reputation: 0

Joined: 18 May 2015
Posts: 4

PostPosted: Tue May 19, 2015 12:09 am    Post subject: Reply with quote

Zanzer wrote:
Try using the AOB Injection template instead of Code Injection.

i know little bit about AOB, last time im using AOB to this script it doesnt work. can you make it for me ?

STN wrote:
Zanzer wrote:
It sounds like you're using the following label as your injection point.
Code:
0DA3365F:

When you should be using the following.
Code:
mp.dll+9365F:


That won't explain why the script won't activate even if the game is using codeshifting because CE will write dumbly to 0DA3365F when there is different code there.

The only thing that can explain that sort of behavior is if the memory doesn't exist at that address after some time, this can happen with games which load data when needed. I don't know if Counter strike does that though, to check it, when you can't enable the script go to that address in memory viewer and see if there is any code there.

Your script looks fine.


EDIT: are you sure CS is offline ? it is a vac enabled game i believe and it could very well be interfering with that.

thanks, i think game still load data. I wait for little bit and i can enable my script again. And about codeshifting, i think cheat engine do that for me (thanks Dark Byte)

EDIT: sure, i play mission in CS : Condition Zero offline without internet connection
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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