This code is simple and only detect ScreenShot's by 5 minutes.
Free for edit!!!
Go to
WarZ_Server.sln (Server)
// Search
// Add belowCode:void ServerGameLogic::SendWeaponsInfoToPlayer(DWORD peerId)
// SearchCode:void ServerGameLogic::TimedScreenshot() { //This logic was made so that the server can get a screenshot of all the players! for(int i=0; i<curPlayers_; ++i) { obj_ServerPlayer* pl = plrList_[i]; PKT_S2C_CheatWarning_s sn; sn.cheatId = 255; p2pSendToPeer(pl->peerId_, pl, &sn, sizeof(sn),true); } }
// Add belowCode:if(GetAsyncKeyState(VK_F11) & 0x8000)
// SearchCode:static float ScreenShotTime = 0; if(curTime > ScreenShotTime) { //This logic was made so that the server can get a screenshot of all the players! ScreenShotTime = curTime + 300.0f; // 300 = 5 MINUTES / 120 = 2 MINUTES / google.com time x to y TimedScreenshot(); }
// Add belowCode:void DoKillPlayer(GameObject* sourceObj, obj_ServerPlayer* targetPlr, STORE_CATEGORIES weaponCat, bool forced_by_server=false, bool fromPlayerInAir = false, bool targetPlayerInAir = false );
Code:void TimedScreenshot();For input report buuton in PlayerList [TAB] is easy.
but if you don't know to do this, get your help this post.
Thank you for me =D
Bye haters ^_^
- - - Updated - - -
Tested in Infestation: Reloaded, Doom MMO and CodeXPO!




Reply With Quote![[TUTORIAL] Timed ScreenShot auto 5 minutes](http://ragezone.com/hyper728.png)


