IsPlayerInRangeOfPoint(hitid, 3.0, fPos[0], fPos[1], fPos[2])
else AntiCheatInfo[playerid][pFloodCount][13] = AntiCheatInfo[playerid][pFloodCount][27] = 0;
nex-ac.inc(741) : warning 202: number of arguments does not match definition nex-ac.inc(758) : warning 202: number of arguments does not match definition nex-ac.inc(923) : error 017: undefined symbol "GetPlayerPoolSize" nex-ac.inc(1648) : warning 201: redefinition of constant/macro (symbol "RepairVehicle") nex-ac.inc(1742) : error 017: undefined symbol "GetPlayerPoolSize" nex-ac.inc(1808) : error 017: undefined symbol "BlockIpAddress" nex-ac.inc(1935) : error 025: function heading differs from prototype nex-ac.inc(1939) : warning 202: number of arguments does not match definition nex-ac.inc(1952) : error 025: function heading differs from prototype nex-ac.inc(2831) : error 017: undefined symbol "VectorSize" nex-ac.inc(3157) : error 017: undefined symbol "GetPlayerLastShotVectors" nex-ac.inc(3709) : warning 201: redefinition of constant/macro (symbol "OnVehicleDamageStatusUpdate") nex-ac.inc(3714) : warning 235: public function lacks forward declaration (symbol "OnVehicleSirenStateChange") nex-ac.inc(3770) : error 025: function heading differs from prototype nex-ac.inc(3810) : warning 202: number of arguments does not match definition nex-ac.inc(3810) : warning 202: number of arguments does not match definition nex-ac.inc(3810) : warning 202: number of arguments does not match definition nex-ac.inc(3810) : warning 202: number of arguments does not match definition nex-ac.inc(3810) : warning 202: number of arguments does not match definition nex-ac.inc(3810) : warning 202: number of arguments does not match definition nex-ac.inc(3832) : error 025: function heading differs from prototype nex-ac.inc(3859) : error 017: undefined symbol "NetStats_MessagesRecvPerSecond" nex-ac.inc(3971) : error 017: undefined symbol "BlockIpAddress" nex-ac.inc(4056) : error 017: undefined symbol "VectorSize" nex-ac.inc(4056) : warning 203: symbol is never used: "vZ" nex-ac.inc(4056) : warning 203: symbol is never used: "vY" nex-ac.inc(4056) : warning 203: symbol is never used: "vX" dealer.inc(191) : warning 209: function "ac_OnVehiclePaintjob" should return a value dealer.inc(213) : warning 209: function "ac_OnVehicleRespray" should return a value dealer.inc(416) : warning 209: function "ac_OnVehicleDeath" should return a value
Code:
nex-ac.inc(741) : warning 202: number of arguments does not match definition nex-ac.inc(758) : warning 202: number of arguments does not match definition nex-ac.inc(923) : error 017: undefined symbol "GetPlayerPoolSize" nex-ac.inc(1648) : warning 201: redefinition of constant/macro (symbol "RepairVehicle") nex-ac.inc(1742) : error 017: undefined symbol "GetPlayerPoolSize" nex-ac.inc(1808) : error 017: undefined symbol "BlockIpAddress" nex-ac.inc(1935) : error 025: function heading differs from prototype nex-ac.inc(1939) : warning 202: number of arguments does not match definition nex-ac.inc(1952) : error 025: function heading differs from prototype nex-ac.inc(2831) : error 017: undefined symbol "VectorSize" nex-ac.inc(3157) : error 017: undefined symbol "GetPlayerLastShotVectors" nex-ac.inc(3709) : warning 201: redefinition of constant/macro (symbol "OnVehicleDamageStatusUpdate") nex-ac.inc(3714) : warning 235: public function lacks forward declaration (symbol "OnVehicleSirenStateChange") nex-ac.inc(3770) : error 025: function heading differs from prototype nex-ac.inc(3810) : warning 202: number of arguments does not match definition nex-ac.inc(3810) : warning 202: number of arguments does not match definition nex-ac.inc(3810) : warning 202: number of arguments does not match definition nex-ac.inc(3810) : warning 202: number of arguments does not match definition nex-ac.inc(3810) : warning 202: number of arguments does not match definition nex-ac.inc(3810) : warning 202: number of arguments does not match definition nex-ac.inc(3832) : error 025: function heading differs from prototype nex-ac.inc(3859) : error 017: undefined symbol "NetStats_MessagesRecvPerSecond" nex-ac.inc(3971) : error 017: undefined symbol "BlockIpAddress" nex-ac.inc(4056) : error 017: undefined symbol "VectorSize" nex-ac.inc(4056) : warning 203: symbol is never used: "vZ" nex-ac.inc(4056) : warning 203: symbol is never used: "vY" nex-ac.inc(4056) : warning 203: symbol is never used: "vX" dealer.inc(191) : warning 209: function "ac_OnVehiclePaintjob" should return a value dealer.inc(213) : warning 209: function "ac_OnVehicleRespray" should return a value dealer.inc(416) : warning 209: function "ac_OnVehicleDeath" should return a value |
All of the above errors/warnings appeared when I included the nex-ac.inc, I checked it before including it
|
I have to agree with Yashas what here and would like to add some more input to the overall design of this system which definitely needs a lot of work but don't get me wrong there is a lot of potential here
|
Another thing is it looks really bad practice to index your variables the way you have for instance.
Code:
else AntiCheatInfo[playerid][pFloodCount][13] = AntiCheatInfo[playerid][pFloodCount][27] = 0; |
German Translation: http://www.solidfiles.com/d/65bd6fd22e/
|
Which version of the samp are you using?
According to the log file, there is not even defined VectorSize, it leads me to such thoughts |
Again, I can not be sure that the called public does not slow down, thereby measuring GetTickCount() will not be accurate at the real time of the completion of a public |
But if connect my anticheat first - the problems will not be: D And yes, that's what I wrote in the installation instructions |
#if defined _I_ZCMD_INCLUDED_V0_2_2_ || defined _zcmd_included #error "You must include NEX-AC before ZCMD/iZCMD #endif
This is the minimum interval that is equal to the player ping (given time only on a send message notifying about kick), thereby unwanted players will not linger on the server longer than they should) |
SetTimerEx("ac_KickTimer",100, false, "i", playerid);
nex-ac.inc(741) : warning 202: number of arguments does not match definition
nex-ac.inc(758) : warning 202: number of arguments does not match definition
nex-ac.inc(3714) : warning 235: public function lacks forward declaration (symbol "OnVehicleSirenStateChange")
Pawn compiler 3.2.3664.samp Copyright (c) 1997-2006, ITB CompuPhase
Header size: 15508 bytes
Code size: 832676 bytes
Data size: 5602116 bytes
Stack/heap size: 17039360 bytes; estimated max. usage: unknown, due to recursion
Total requirements:23489660 bytes
3 Warnings.
(741) new vehicleid = AddStaticVehicleEx(modelid, spawn_x, spawn_y, spawn_z, z_angle, color1, color2, respawn_delay, addsiren);
(758) new vehicleid = CreateVehicle(vehicletype, x, y, z, rotation, color1, color2, respawn_delay, addsiren);
(3714) public OnVehicleSirenStateChange(playerid, vehicleid, newstate)
forward OnVehicleSirenStateChange(playerid, vehicleid, newstate);
Why not this?
Code:
SetTimerEx("ac_KickTimer",100, false, "i", playerid); |