Cow-Anti-Cheat icon indicating copy to clipboard operation
Cow-Anti-Cheat copied to clipboard

Add Support for SourceBans++ 1.6.3 and higher

Open Groruk opened this issue 7 years ago • 1 comments

Fixes #8

Context

SourceBans++ 1.6.3 introduced new native prefixes and a new library name (while still retaining its backward compatibility with SourceBans++ 1.6.2 and lower / SourceBans 1.4.11).

This PR fixes the native problems with SourceBans++ 1.6.3

Proposed Changes

  • Include the new sourcebanspp.inc (Fully backwards compatible with SourceBans++ 1.6.2 and lower / SourceBans 1.4.11)

  • Use the original SBBanPlayer instead of the short-lived SourceBans_BanPlayer (this also enables support for SourceBans 1.4.11)

  • Integrate new SBPP_BanPlayer call for SourceBans++ 1.6.3

  • Remove AskPluginLoad2 function (not needed [anymore])

Groruk avatar Apr 22 '18 17:04 Groruk