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

Question about Pawn.RakNet and Nex-AC #291

Closed byimrez closed 1 year ago

byimrez commented 1 year ago

Hello,

I include Pawn.RakNet before Nex-AC, Do I have to define Pawn.RakNet for filterscripts in all of them, or is there no need to include them?

NexiusTailer commented 1 year ago

You should include nex-ac in every filterscript (this is only obligatory action), and each FS should have this defined before you included the anticheat:

#define FILTERSCRIPT

(so the ac understand it was included to filterscript and behaves accordingly)

Pawn.RakNet, in turn, should be included only in those scripts where you really need it for yourself (like any other dependency). If you don't use it for your own purposes, just include it only in your gamemode before nex-ac.