|
MMatchPeerInfo::GetPing
I am looking for a way to get my last attackers ping.
It happens to be I'm not very good a getting the right parameters and stuff like that.
I got a list of posibilities that should give me my attackers ping:
MMatchPeerInfo::GetPing
ZGame::PostPeerPingInfo
ZGame::OnPeerPing
first the first 1 beign the most likely one.
this is what it says in the parameter file:
sym name: ?GetPing@MMatchPeerInfo@@QAEHI@Z (public: int __thiscall MMatchPeerInfo::GetPing(unsigned int))
with the unsigned int being most likely to be the ping.
now im kinda stuck. I am not sure if i defined it right:
#define MMatchPeerInfo__GetPing(a) GunZ(0,_MMatchPeerInfo__GetPing, a)
What would be nicest is to get a function that could print off the attacker ping in chat. yes i know how to make a chat function.
thx in advance
~BlackArt
|