Posts: 1,297
Threads: 17
Joined: Apr 2011
Hello guys, I would like to understand how does the dialog hack works, I have been noticing in my server that some people uses cheat engine to add/edit some items that are stored in inventory using dialog hack, I have tried to search for it in the internet, but I found nothing. does anyone has an idea about it?
Posts: 826
Threads: 64
Joined: Oct 2013
Reputation:
0
Umm... I dont think they are able to do that at all..
Even if they succeed and edited the dialog text.. That would be just a 'text edit' and will never change its functionality.
Actually to be more detailed...
A hack like that will require to change the source of the script which will require accessing the host..
And even if they got access to the host, The AMX file codes can never be changed...
Posts: 1,297
Threads: 17
Joined: Apr 2011
my inventory system is not a MySQL system, its using .txt instead, heres a video that shows how they do it:
https://www.youtube.com/watch?v=qG-OJrcVhcg
Posts: 485
Threads: 18
Joined: Jun 2013
Reputation:
0
Not to sure about Dialog Hacking, but I heard you could spoof them.
Edit: Ignore this post. This doesn't appear to be the issue.
Posts: 213
Threads: 14
Joined: May 2007
Reputation:
0
I had similar issue on my server, a couple of players somehow managed to buy houses that wasn't for sale, and they have been owned by other players, after some research I found out that somehow they accessed the dialogs which was only meant for admins to be shown, I added some checks OnDialogResponse to see if player was an admin and that solved the issue. It had nothing to do with SQL.
I think there was/is a hack that can call any dialog id you want, or something like that. I am not sure.
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
Yeah, you should ALWAYS have checks for stuff like that anyways so your script is prepared for exceptions, and things such as this. But you should NOT ban if you detect someone who may not be allowed access as they have honestly gotten there by a script error and or mistake, just deny access.
Posts: 1,297
Threads: 17
Joined: Apr 2011
guys its not fake ffs, players does that ingame, if you have nothing to help here, then just dont waste your time and mine...
Posts: 3,133
Threads: 71
Joined: Dec 2013
Reputation:
0
Add protection to your dialogs, and make sure that they haven't spoofed the dialog ID. I believe aswell as provide better dialog management, the easydialog include by Emmet_ fixes the spoof vulnerability within dialogs.