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 


Code filter tool is not working. Pls help.

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

Joined: 10 Apr 2020
Posts: 172

PostPosted: Wed Jan 13, 2021 4:06 am    Post subject: Code filter tool is not working. Pls help. Reply with quote

I always wanted to use Ultimap but i cant.
So i found about Code Filter.

Unfortunately, it is not working either. It normally returns 0 values, or it simply crashes. Sad Sad.

I did exactly what he does in this tutorial:

https://www.youtube.com/watch?v=csrU18C4rWY

Used the From unwind info.

Is there any other option to make this work?

I dont know what to do. Maybe it doesnt work in my pc?
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: Wed Jan 13, 2021 8:09 am    Post subject: Reply with quote

Do you get 0 addresses when you get the unwind info or when doing things like has been executed/has not been executed ?

The unwind info data is only available on 64-bit targets and for the other methods you will need to go with trial and error in combination of enabling handling of unhandled exceptions so you can figure out which entries are at invalid code addresses

Besides that, it could be the game is problematic. Can you use the normal windows debugger interface?

Also, which module did you use to filter? E.g if system DLL's, DO NOT use VEH debug

_________________
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
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 172

PostPosted: Wed Jan 13, 2021 9:49 am    Post subject: Reply with quote

Thank you.

Yes its a old game. Age of Empires 2. So thats probably not gonna work. But i also tried using on the CE tutorial and it didnt work. It crashed a few times and it gave 0 results many others times. Using unwind.

I tried all 4 options and the Launch.
Is there any problem? Can i ruin the .exe doing this?
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: Wed Jan 13, 2021 11:04 am    Post subject: Reply with quote

If it's 32-bit (The instructions use eax,ebx, ecx, ... instead of rax,rbx,rcx in instructions that have brackets) , then you have to provide it a list of addresses yourself that are on instruction starts only. The disassembler is ok, but it's not 100% and can end up in the middle of an instruction. And if it's going to place a int3 bp, it will change the instruction instead of making it break.
Oh, and does this game have integrity check protection? If so, that'll cause it to crash/detect as well

As for the tutorial, there are 2 versions of the tutorial. Have you tried the 64-bit one, with just unwind info?

And it's pretty much impossible you can ruin the .exe. At most you can make the .exe difficult to load if you use kernelmode routines, and forced overwrite protection disabled but that's fixable by rebooting, and let's just assume you didn't do that to begin with

_________________
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
vonboesenWind
How do I cheat?
Reputation: 0

Joined: 29 Jun 2021
Posts: 1
Location: Deutschland

PostPosted: Sun Jul 04, 2021 1:45 am    Post subject: Reply with quote

[quote="Dark Byte"]If it's 32-bit (The instructions use eax,ebx, ecx, ... instead of rax,rbx,rcx in instructions that have brackets) , then you have to provide it a list of addresses yourself that are on instruction starts only. The disassembler is ok, but it's not 100% and can end up in the middle of an instruction. And if it's going to place a int3 bp, it will change the instruction instead of making it break.
Oh, and does this game have integrity check protection? If so, that'll cause it to crash/detect as well

As for the tutorial, there are 2 versions of the tutorial. Have you tried the 64-bit one, with just unwind info?

And it's pretty much impossible you can ruin the .exe. At most you can make the .exe difficult to load if you use kernelmode routines, and forced overwrite protection disabled but that's fixable by rebooting, and let's just assume you didn't do that to begin with[/quote]

well, set The unwind info data as 32-bit target
is it possible for you to share it?
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: Sun Jul 04, 2021 3:16 am    Post subject: Reply with quote

set unwind missing 32-bit in
_________________
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
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Jan 19, 2022 4:51 pm    Post subject: Reply with quote

I also cannot seem to get code filter to work on v7.3.

I do not experience crashing, but nothing ever gets executed.

I have tried:

1. Multiple targets, including CE tutorial 64bit.
2. Both, from disassembler and unwind info methods.
3. Different versions of CE (SSE4-AVX2 and normal).
4. Different debugger settings (VEH and windows debugger).
5. Different breakpoint settings (hardware and Int3).
6. Removing all LUA files from autorun folder.
7. Rebooting.

Not sure what else to try.

Thanks.
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: Thu Jan 20, 2022 12:24 am    Post subject: Reply with quote

Is the target mono or .net? if so build the list manually (e.g get all method base addresses)
_________________
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
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Thu Jan 20, 2022 11:33 am    Post subject: Reply with quote

They are not. I have tried on CE tutorial, Windows Calculator and my current target, Sleeping Dogs Definitive Edition.

Nothing is working for some reason.

Thanks.
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: Thu Jan 20, 2022 11:40 am    Post subject: Reply with quote

do you start it after generating the list of instructions?

when you start it places an int3 breakpoint on each address in that list

_________________
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
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Thu Jan 20, 2022 11:58 am    Post subject: Reply with quote

Yes. I followed your video tutorial on Youtube. Once the addresses are added, I click start. I can see already that nothing is getting executed. I even hit the 'hit me' button and other things, but still, nothing is getting executed.

I am really not sure why this is happening.

Thanks for your help.

EDIT: Tested on v7.1 and it is working. So, either v7.3 is the problem, or, I have something set up differently for that version that is interfering.
Back to top
View user's profile Send private message
Arcansel
Cheater
Reputation: 0

Joined: 04 Jun 2022
Posts: 28

PostPosted: Mon Oct 03, 2022 9:23 am    Post subject: Reply with quote

Necroing just to say i am having the same problem, code filter does not work at all even in ce tutorial x64bits, i tried with windows debugger and vehdebugger, i am on cheat engine version 7.4, i need it to try to find possible boolean values that may be handling achievements in the game, not steam achievements, it is game internal achievements.

UPDATE:
Problem solved, i remember watching a video about this and i had forgotten until now, there is a crucial step needed for the code filter to work and that is DBVM needs to be activated first, i was under the wrong impression that it was already activated when cheat engine is launched.

Suggestion for DB or anyone that is free and dominates lua:
I suggest having a warning message box before using codefilter about activating DBVM and it's crashing possibilities, with yes and no buttons, where pressing yes activates DBVM and no for just exiting. Just like when doing "DBVM Find out what writes or acesses this address" for example.
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: Mon Oct 03, 2022 12:14 pm    Post subject: Reply with quote

codefilter does not use dbvm
_________________
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
Arcansel
Cheater
Reputation: 0

Joined: 04 Jun 2022
Posts: 28

PostPosted: Mon Oct 03, 2022 12:52 pm    Post subject: Reply with quote

Dark Byte wrote:
codefilter does not use dbvm


Thanks for the response, i see, i was just testing codefilter and dbvm, i concluded that if i do activate dbvm everytime i start cheat engine to use code filter it crashes the game, but there must be some kind of bug here though, that is because the only way i could use code filter again was to actually activate dbvm once and then it started working, but like i said, after i did activate dbvm that time i try to activate it again everytime i launch cheat engine it will crash the game and not work. So, for some reason it acted like some kind of one-time activation trick. Bottomline, something clearly happens that renders code filter unusable.

UPDATE:
Nvm it crashes more now than it works on the game i try to attach, it works fine with tutorial x64 and i did make it work 2 times in the other game too but i dunno why it is crashing nonstop now, i do not have dbvm activated, i executed "Kernelmoduleunloader.exe" and "windowsrepair.exe" and then restarted computer but problem persists. At this point i m jsut gonna leave it to the side and check it out other time.
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