What would happen if i set AC 100MS
#1

Hey, what would happen if i set AC timer to 100MS, would i couse alot of lagg? Players 20-50 at one time.
Reply
#2

at the very beginning of the callback, add
pawn Код:
public AntiCheat(blabla);
    new debugtime=GetTickCount();

//your AC stuff inside. could be...
//
//very
//
//long. and at its end, add:

    debugtime=GetTickCount()-debugtime;
    new debugstring[32];
    format(debugstring,sizeof(debugstring),"%d",debugtime);
    GameTextForAll(debugstring,500,5);
//  return 1; //no need to insert this, you already got that return 1. but to illustrate the gametext should be at the very end.
}
then play and watch the gametext(-s annoying all players). it shows the milliseconds the whole AC-checks need. if you set the timer to a lower value than the ms shown ingame, then it will perhaps skip one iteration...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)