martial69320 / passive-anticheat-for-tc

Automatically exported from code.google.com/p/passive-anticheat-for-tc
0 stars 0 forks source link

[Implant ] Report Latency For Players #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Simply Add after Name

stmt->setUInt64(3,pPlayer->GetSession()->GetLatency());

To all Report Fields , and add

INSERT INTO cheat_reports 
(`guid`,`name`,`latency`,`mapid`,`position_x`,`position_y`,`position_z`,`report`
,`time`) VALUES (?,?,?,?,?,?,?,?,?););

INSERT INTO cheat_temp_reports 
(`guid`,`name`,`latency`,`mapid`,`position_x`,`position_y`,`position_z`,`report`
,`time`) VALUES (?,?,?,?,?,?,?,?,?););

INSERT INTO cheat_first_report (`guid`,`name`,`latency`,`time`) VALUES 
(?,?,?,?););

Original issue reported on code.google.com by abduhman on 15 Nov 2010 at 4:56

GoogleCodeExporter commented 9 years ago
I will add it to the commands output, soon.

Thanks.

Original comment by manu...@live.com.ar on 15 Nov 2010 at 6:18