sapphonie / StAC-tf2

steph's anticheat (StAC). a built-from-scratch sourcemod based solution to cheating in Team Fortress 2.
https://sappho.io
GNU General Public License v3.0
115 stars 21 forks source link

Pre-Fortress 2 compatibility #200

Open blackletum opened 2 months ago

blackletum commented 2 months ago

Tried to add this sourcemod to PF2, when compiling I get the following:

Compiling stac.sp... SourcePawn Compiler 1.11.0.6916 Copyright (c) 1997-2006 ITB CompuPhase Copyright (c) 2004-2021 AlliedModders LLC

stac/stac_stocks.sp(769) : error 017: undefined symbol "Discord_EscapeString" stac/stac_stocks.sp(1236) : error 017: undefined symbol "Discord_SendMessage"

2 Errors.

alekny commented 2 months ago

Did you make sure "discord.inc" is in your scripts/include folder? Stac needs all of those to compile: https://github.com/sapphonie/StAC-tf2/tree/master/scripting/include