NexiusTailer / Nex-AC

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

Nex-AC conflict problem #324

Closed aujiz11 closed 3 months ago

aujiz11 commented 3 months ago

My server is using omp-stdlib, I have added Nex-AC to the command and have removed the warnings and errors, however when starting the server it may have caused a conflict with Pawn.CMD Because the PC_EmulateCommand function cannot be used. After the server had been open for a while (about more than 1 hour), it crashed without any logs.

NexiusTailer commented 3 months ago

So, the problem is probably in Pawn.CMD and its PC_EmulateCommand function.

aujiz11 commented 3 months ago

Vì vậy, vấn đề có thể nằm ở Pawn.CMD và hàm PC_EmulateCommand của nó.

Hmm, I just need to remove 1 of 2 from every stable complete script.

NexiusTailer commented 3 months ago

Which 1 of which 2?

aujiz11 commented 3 months ago

Which 1 of which 2?

Sorry, I said it wrong, my server still works fine if I remove Nex-AC or Pawn.CMD from the server.

aujiz11 commented 3 months ago
#include <open.mp>

#include <streamer>
#include <Pawn.CMD>
#include <a_mysql>
#include <sscanf2>
#include <samp_bcrypt>
#include <Pawn.RakNet>

#include <colandreas>
#include <PawnPlus>
#include <pp-mysql>
#include <pp-bcrypt>

#include <YSI\YSI_Data\y_foreach>
#include <YSI\YSI_Coding\y_malloc>
#include <YSI\YSI_Data\y_bit>
#include <YSI\YSI_Coding\y_va>
#include <YSI\YSI_Core\y_utils>

#include <YSI\YSI_Players\y_android>
#include <YSI\YSI_Game\y_vehicledata>
#include <YSI\YSI_Game\y_weapondata>

#define DEBUG
#define AC_DEFAULT_COLOR 0xFF6347FF

#include <nex-ac_vn.lang>
#include <nex-ac>

#include <weapon-config>
#include <easyDialog>
#include <vehicle_plus>
#include <pawn-easing-functions>
#include <skin-tags>
NexiusTailer commented 3 months ago

Are you now running your server under omp, right? Which version of the server is currently crashes? Is it nightly or release build?

aujiz11 commented 3 months ago

omp server v1.2.0.2670

NexiusTailer commented 3 months ago

Does your server produce a .dmp file when it's crashed?

aujiz11 commented 3 months ago

yes, it creates a omp_minidump.dmp file

NexiusTailer commented 3 months ago

So, send it to the omp developers