Get When Players Disconnects
I have a server file which I want to reverse, with IDA Prop & Cheat Engine.
Basically, I'd like to know if you've a methodology to grab certain events.
Let's say I want to catch event when someone write a messages, or if someone leaves the game.
I'd like to know how I could be able to grab the function relaying the message or the one handling player exitting.
The game will write "player disconnected" or something in chat box, find the address of that string and do "Find out what accesses this address" in cheat engine or "view crossreferences" in IDA
Originally Posted by Virulant
Here are the tutorials you need to learn how to do it:
Post Thanks / Like - 1 Thanks
Thanks for your help.
Originally Posted by [GH]Rake
However, it would have been too easy.
Here, I am reversing the server files, not the client, so even though there was a message, I wouldn't have it on the server.
I've been able to find the on player join function as the server write to log the player connecting, however, no log being written on disconnecting.
P.S: Already watched you awesome series on IDA Pro, helped me a lot.
Last edited by Virulant; 04-25-2016 at 11:00 AM.
Just download wpe pro and fuck with the packets of the game
I think packets are out of scope here.
Is it possible to enable debugging on the server? it should print more info in this case. Maybe it is just a -v for verbose mode.
You could also search for a variable which holds the player count. You could use what accesses this address for the variable and reverse from there.
Post Thanks / Like - 2 Thanks
Effectively, packet editing wouldn't be of much use in this case.
However I found a way to do it, using the plugin 'funcap' from IDA Pro, which displays registers from functions being triggered.
The player count variable is also an excellent idea Lukor, which I didn't even think of.
Anyway, thanks for your help !