NexiusTailer / Nex-AC

Anticheat system
https://pawn.wiki/index.php?/topic/27641-nex-ac/
GNU Lesser General Public License v3.0
212 stars 156 forks source link

v1.9.61; incompatible with omp-stdlib #285

Closed Zorono closed 1 year ago

Zorono commented 1 year ago
nex-ac.inc(5865) : error 025: function heading differs from prototype
nex-ac.inc(5929) : error 025: function heading differs from prototype
nex-ac.inc(6400) : error 025: function heading differs from prototype
nex-ac.inc(6683) : error 025: function heading differs from prototype
nex-ac.inc(7124) : error 025: function heading differs from prototype
nex-ac.inc(7177) : error 025: function heading differs from prototype
nex-ac.inc(7218) : error 025: function heading differs from prototype
nex-ac.inc(7813) : error 025: function heading differs from prototype
nex-ac.inc(8305) : error 025: function heading differs from prototype
NexiusTailer commented 1 year ago

open.mp claims it's fully backwards compatible, so, there shouldn't be any problems with anything like this. You can try to compile with samp includes and test it on omp server.

Zorono commented 1 year ago

on line 5865 & 6400 there is public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) (open.mp = public OnPlayerKeyStateChange(playerid, KEY:newkeys, KEY:oldkeys))

on line 5929 there is public OnPlayerClickPlayer(playerid, clickedplayerid, source) (open.mp = public OnPlayerClickPlayer(playerid, clickedplayerid, CLICK_SOURCE:source))

on line 6683 there is public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) (open.mp = public OnPlayerWeaponShot(playerid, weaponid, BULLET_HIT_TYPE:hittype, hitid, Float:fX, Float:fY, Float:fZ);)

on line 7124 there is public OnVehicleMod(playerid, vehicleid, componentid) (open.mp = public OnVehicleMod(playerid, vehicleid, component))

on line 7177 there is public OnVehiclePaintjob(playerid, vehicleid, paintjobid) (open.mp = public OnVehiclePaintjob(playerid, vehicleid, paintjob))

on line 7218 there is public OnVehicleRespray(playerid, vehicleid, color1, color2) (open.mp = public OnVehicleRespray(playerid, vehicleid, colour1, colour2))

on line 7813 there is public OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ) (open.mp = public OnPlayerSelectObject(playerid, SELECT_OBJECT:type, objectid, modelid, Float:fX, Float:fY, Float:fZ))

on line 8305 there is public OnPlayerEditAttachedObject(playerid, response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:fRotX, Float:fRotY, Float:fRotZ, Float:fScaleX, Float:fScaleY, Float:fScaleZ) (open.mp = public OnPlayerEditAttachedObject(playerid, EDIT_RESPONSE:response, index, modelid, boneid, Float:fOffsetX, Float:fOffsetY, Float:fOffsetZ, Float:rotationX, Float:rotationY, Float:rotationZ, Float:scaleX, Float:scaleY, Float:scaleZ))

NexiusTailer commented 1 year ago

So, all these incompatible changes from their side

Zorono commented 1 year ago

@AmyrAhmady @Y-Less @Southclaws

Zorono commented 1 year ago

@NexiusTailer image

NexiusTailer commented 1 year ago

Answered in discord

https://discord.com/channels/231799104731217931/231799180127895553/1102561475882655784 https://discord.com/channels/231799104731217931/231799180127895553/1102565031893274624