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 


Is this possible?

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

Joined: 28 Apr 2017
Posts: 1

PostPosted: Sun Apr 30, 2017 10:03 am    Post subject: Is this possible? Reply with quote

Hi,

I am trying to hack a game that causes a windows message-box to appear when I enter a curse/swear word saying that swearing is not allowed. I am trying to find the function that causes this message-box to appear. My end goal is to create a script that will essentially allow me to swear by editing this function.

I have tried searching for the text that appears in the message-box and I even got results... But when I try to 'Find what writes to this address' I do not get any results because every time the message-box appears it is in a new address

So in short, how can I use Cheat Engine to find a function that causes a windows message-box to appear when I try to swear in game?

Any advice/help is appreciated, thanks.
Back to top
View user's profile Send private message
M-Z
Advanced Cheater
Reputation: 1

Joined: 08 Nov 2014
Posts: 77
Location: Poland

PostPosted: Sun Apr 30, 2017 10:23 am    Post subject: Reply with quote

Don't you think you should be looking what reads from that address?
If program has a list of swear-words, it reads from it and compares with your text.
Back to top
View user's profile Send private message Send e-mail
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sun Apr 30, 2017 1:32 pm    Post subject: Reply with quote

A way I have done this in other games is to do the following:
  • Type some non-typical text into the game chat including a curse word that will pop up the message (don't send it yet).
  • Open Cheat Engine and look for that text.
  • You should generally only get 1-5 results depending on how the game is coded.
  • On the first letters address, find what accesses the address.
  • Attempt to send the chat via hitting enter or whatever does it in the game.


At this point the 'Find What Accesses' window should have results of what has been reading the chat. Go into each function and trace around to see if you find any references to things that are causing curse words to be prevented and so on. This should get you what you need fairly easily. Typically there is going to be a loop of some sort checking the sentence you entered for specific words, or parts of words. If one is found a jump is taken to cause the prompt to popup, otherwise send as normal etc.

Another thing you could look for is the function that is used to send the chat after it has been checked and just directly call it yourself to bypass any type of curse word checks and so on.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
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