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

Update nex-ac.inc #278

Closed punkochel closed 1 year ago

punkochel commented 1 year ago

Added compatibility with open.mp console vars. Define AC_USE_OMP if you are using the open.mp server to run your scripts. The ip_address[] parameter in ac_KickWithCode and ac_OnCheatDetected has been set to constant because it is a constant and does not change.

NexiusTailer commented 1 year ago

OMP server is still in beta which means its console variables and other stuff may change several times (like it already was in previous bt builds). Thus, I don't see the point do add additional compatibility before the release, when all names become settled and fully consistent to be able to track them reliably. Moreover, I prefer to see any such support enabled at compile time automatically, so it will require checking some omp-specific native/callback names and apply all needed changes based on this. So far, official libraries have not been released yet and it's another reason to wait for the full release.