Solved Get When Players Disconnects

Hexui Undetected CSGO Cheats Sinkicheat PUBG Cheat

Virulant

Newbie
Full Member
Aug 19, 2015
14
112
0
Hello guys,

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.

Thanks.
 

Rake

Cesspool Admin
Administrator
Jan 21, 2014
12,149
78,998
2,395
Hello guys,

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.

Thanks.
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

Here are the tutorials you need to learn how to do it:
 
Last edited:

Virulant

Newbie
Full Member
Aug 19, 2015
14
112
0
Rake;42327 said:
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

Here are the tutorials you need to learn how to do it:
https://youtu.be/YaFlh2pIKAg
https://youtu.be/fgMl0Uqiey8
Thanks for your help.
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:

MasterG

Coder
Dank Tier Donator
Nobleman
Mar 14, 2015
102
888
1
Just download wpe pro and fuck with the packets of the game
 

Lukor

ded
Meme Tier VIP
Fleep Tier Donator
Dec 13, 2013
490
5,353
25
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.
 

Virulant

Newbie
Full Member
Aug 19, 2015
14
112
0
Hey,

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 !
 
Attention! Before you post:

Read the How to Ask Questions Guide
99% of questions are answered in the Beginner's Guide, do it before asking a question.

No Hack Requests. Post in the correct section.  Search the forum first. Read the rules.

How to make a good post:

  • Fill out the form correctly
  • Tell us the game name & coding language
  • Post everything we need to know to help you
  • Ask specific questions, be descriptive
  • Post errors, line numbers & screenshots
  • Post code snippets using code tags
  • If it's a large project, zip it up and attach it

If you do not comply, your post may be deleted.  We want to help, please make a good post and we will do our best to help you.

Community Mods