Checking game cstrike... Expecting version 6630498 Using filelist: 'server.txt'. No username given. Using anonymous account with dedicated server subscription. Connecting to Steam3... Done! Logging anonymously into Steam3... Done! Using Steam3 suggested CellID: 10 Got AppInfo for 232330 Using app branch: 'prerelease'. Warning: Depot 232330 does not have branch named "prerelease". Trying public branch. Got depot key for 232330 result: OK Warning: Depot 232335 does not have branch named "prerelease". Trying public branch. Got depot key for 232335 result: OK Warning: Depot 232336 does not have branch named "prerelease". Trying public branch. Got depot key for 232336 result: OK Downloading depot 232330 - CS:S Dedicated server assets Downloading depot manifest...Got CDN auth token for cache2-iad1.steamcontent.com result: OK (expires 7/9/21 8:30:05 PM) Initialized connection to content server cache2-iad1.steamcontent.com:443 (SteamCache) with depot id 232330 Done! 100.00% source/css/cstrike/steam.inf Depot 232330 - Downloaded 128 bytes (120 bytes uncompressed) Downloading depot 232335 - CS:S Windows server Downloading depot manifest...Got CDN auth token for cache2-iad1.steamcontent.com result: OK (expires 7/9/21 8:30:07 PM) Re-authed CDN connection to content server cache2-iad1.steamcontent.com:443 (SteamCache) from 232330 to 232335 Done! Got CDN auth token for cache25-iad1.steamcontent.com result: OK (expires 7/9/21 8:30:07 PM) Initialized connection to content server cache25-iad1.steamcontent.com:443 (SteamCache) with depot id 232335 68.33% source/css/bin/engine.dll 100.00% source/css/cstrike/bin/server.dll Depot 232335 - Downloaded 3173424 bytes (9933776 bytes uncompressed) Downloading depot 232336 - CS:S Linux server Downloading depot manifest...Got CDN auth token for cache25-iad1.steamcontent.com result: OK (expires 7/9/21 8:30:14 PM) Re-authed CDN connection to content server cache25-iad1.steamcontent.com:443 (SteamCache) from 232335 to 232336 Done! 00.01% source/css/srcds_linux Got CDN auth token for steampipe.akamaized.net result: OK (expires 7/9/21 8:30:14 PM) Got CDN auth token for cache2-iad1.steamcontent.com result: OK (expires 7/9/21 8:30:14 PM) Initialized connection to content server steampipe.akamaized.net:443 (CDN) with depot id 232336 Re-authed CDN connection to content server cache2-iad1.steamcontent.com:443 (SteamCache) from 232335 to 232336 Got CDN auth token for cache5-lax1.steamcontent.com result: OK (expires 7/9/21 8:30:14 PM) Initialized connection to content server cache5-lax1.steamcontent.com:443 (SteamCache) with depot id 232336 03.94% source/css/bin/crashhandler.so 05.81% source/css/bin/libstdc++.so.6 08.78% source/css/bin/libsteam_api.so 09.08% source/css/bin/libtier0_s.so 10.72% source/css/bin/filesystem_stdio.so 11.04% source/css/bin/libtier0_srv.so 14.59% source/css/bin/dedicated_srv.so 17.88% source/css/bin/datacache_srv.so 18.25% source/css/bin/libvstdlib_s.so 18.53% source/css/bin/libtier0.so 26.76% source/css/bin/engine_srv.so 28.45% source/css/bin/studiorender_srv.so 28.62% source/css/bin/vphysics_srv.so 30.62% source/css/bin/shaderapiempty_srv.so 34.16% source/css/bin/scenefilecache_srv.so 38.01% source/css/bin/soundemittersystem_srv.so 42.95% source/css/bin/replay_srv.so 46.75% source/css/bin/libvstdlib.so 49.79% source/css/bin/materialsystem_srv.so 50.41% source/css/bin/libvstdlib_srv.so 76.73% source/css/cstrike/bin/server_srv.so 100.00% source/css/bin/steamclient.so Depot 232336 - Downloaded 16414128 bytes (63288953 bytes uncompressed) Total downloaded: 19587680 bytes (73222849 bytes uncompressed) from 3 depots Disconnected from Steam Dumping symbols from source/css/cstrike/bin/server_srv.so... Done. Dumping symbols from source/css/bin/filesystem_stdio.so... Done. Dumping symbols from source/css/bin/libsteam_api.so... Done. Dumping symbols from source/css/bin/libtier0_s.so... Done. Dumping symbols from source/css/bin/libvstdlib.so... Done. Dumping symbols from source/css/bin/replay_srv.so... Done. Dumping symbols from source/css/bin/shaderapiempty_srv.so... Done. Dumping symbols from source/css/bin/studiorender_srv.so... Done. Dumping symbols from source/css/bin/crashhandler.so... Done. Dumping symbols from source/css/bin/soundemittersystem_srv.so... Done. Dumping symbols from source/css/bin/libvstdlib_srv.so... Done. Dumping symbols from source/css/bin/libsteam.so... Done. Dumping symbols from source/css/bin/dedicated_srv.so... Done. Dumping symbols from source/css/bin/scenefilecache_srv.so... Done. Dumping symbols from source/css/bin/libtier0_srv.so... Done. Dumping symbols from source/css/bin/vphysics_srv.so... Done. Dumping symbols from source/css/bin/engine_srv.so... Done. Dumping symbols from source/css/bin/libvstdlib_s.so... Done. Dumping symbols from source/css/bin/steamclient.so... Done. Dumping symbols from source/css/bin/libtier0.so... Done. Dumping symbols from source/css/bin/materialsystem_srv.so... Done. Dumping symbols from source/css/bin/datacache_srv.so... Done. Dumping symbols from source/css/srcds_linux... Done. checking to see if ./gdc_cstrike_repos.sh exists Updating CSSDM repo Already up to date. Updating NapalmLagFix repo abort: error: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:727) Updating Connect repo abort: error: Name or service not known Updating botattackcontrol repo abort: error: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:727) Updating admin-all-spec repo abort: error: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:727) Updating WebCon repo Already up to date. Updating SourceTVManager Already up to date. Updating SMRCon repo Already up to date. Updating SourceMod repo Updating a9d3cf45..d7c359c4 Fast-forward configs/core.cfg | 12 +- core/logic/AdminCache.cpp | 2 +- core/logic/smn_string.cpp | 29 + core/sourcemod.cpp | 33 +- extensions/geoip/AMBuilder | 9 +- extensions/geoip/GeoIP.c | 969 -------------- extensions/geoip/GeoIP.h | 169 --- extensions/geoip/data-pool.c | 169 +++ extensions/geoip/data-pool.h | 52 + extensions/geoip/extension.cpp | 323 ++++- extensions/geoip/extension.h | 3 + extensions/geoip/geoip_util.cpp | 209 +++ extensions/geoip/geoip_util.h | 46 + extensions/geoip/maxminddb-compat-util.h | 160 +++ extensions/geoip/maxminddb.c | 2092 ++++++++++++++++++++++++++++++ extensions/geoip/maxminddb.h | 258 ++++ extensions/geoip/maxminddb_config.h | 16 + extensions/geoip/osdefs.h | 64 + extensions/geoip/smsdk_config.h | 4 +- gamedata/sdktools.games/engine.l4d.txt | 15 + gamedata/sdktools.games/engine.l4d2.txt | 15 + plugins/include/geoip.inc | 147 ++- plugins/include/string.inc | 23 + public/amtl | 2 +- sourcepawn | 2 +- tools/buildbot/package.pl | 45 +- 26 files changed, 3655 insertions(+), 1213 deletions(-) delete mode 100644 extensions/geoip/GeoIP.c delete mode 100644 extensions/geoip/GeoIP.h create mode 100644 extensions/geoip/data-pool.c create mode 100644 extensions/geoip/data-pool.h create mode 100644 extensions/geoip/geoip_util.cpp create mode 100644 extensions/geoip/geoip_util.h create mode 100644 extensions/geoip/maxminddb-compat-util.h create mode 100644 extensions/geoip/maxminddb.c create mode 100644 extensions/geoip/maxminddb.h create mode 100644 extensions/geoip/maxminddb_config.h create mode 100644 extensions/geoip/osdefs.h Game: cstrike Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/sdktools.games/game.cstrike.txt O: GiveNamedItem - GOOD. current [ w: 401, l: 402 ]. O: RemovePlayerItem - GOOD. current [ w: 270, l: 271 ]. O: Weapon_GetSlot - GOOD. current [ w: 268, l: 269 ]. O: Ignite - GOOD. current [ w: 209, l: 210 ]. O: Extinguish - GOOD. current [ w: 213, l: 214 ]. O: Teleport - GOOD. current [ w: 108, l: 109 ]. O: CommitSuicide - GOOD. current [ w: 440, l: 440 ]. O: GetVelocity - GOOD. current [ w: 140, l: 141 ]. O: EyeAngles - GOOD. current [ w: 131, l: 132 ]. O: AcceptInput - GOOD. current [ w: 36, l: 37 ]. O: SetEntityModel - GOOD. current [ w: 24, l: 25 ]. O: WeaponEquip - GOOD. current [ w: 261, l: 262 ]. O: Activate - GOOD. current [ w: 33, l: 34 ]. O: PlayerRunCmd - GOOD. current [ w: 419, l: 420 ]. O: GiveAmmo - GOOD. current [ w: 252, l: 253 ]. Windows offsets are (semi-)wild guesses! Signature offsets are wild guesses! ------------------------------------------------------ Game: cstrike Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/sdktools.games/engine.css.txt O: GetTEName - no Linux symbol, skipping O: GetTENext - no Linux symbol, skipping O: TE_GetServerClass - no Linux symbol, skipping O: sv - no Linux symbol, skipping O: SetUserCvar - no Linux symbol, skipping O: SetClientName - no Linux symbol, skipping O: InfoChanged - no Linux symbol, skipping Windows offsets are (semi-)wild guesses! Signature offsets are wild guesses! S: sv (engine) - w: UNKNOWN - l: GOOD S: FireOutput (server) - w: GOOD - l: GOOD S: SetCollisionGroup (server) - w: GOOD - l: GOOD ------------------------------------------------------ Game: cstrike Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/sm-cstrike.games/game.css.txt O: WeaponName - no Linux symbol, skipping O: WeaponPrice - no Linux symbol, skipping O: ClanTagOffset - no Linux symbol, skipping O: CTTeamScoreOffset - no Linux symbol, skipping O: TTeamScoreOffset - no Linux symbol, skipping O: MVPs - no Linux symbol, skipping Windows offsets are (semi-)wild guesses! Signature offsets are wild guesses! S: RoundRespawn (server) - w: GOOD - l: GOOD S: SwitchTeam (server) - w: GOOD - l: GOOD S: HandleCommand_Buy_Internal (server) - w: GOOD - l: GOOD S: GetWeaponPrice (server) - w: GOOD - l: GOOD S: CSWeaponDrop (server) - w: GOOD - l: GOOD S: TerminateRound (server) - w: GOOD - l: GOOD S: GetTranslatedWeaponAlias (server) - w: GOOD - l: GOOD S: GetWeaponInfo (server) - w: GOOD - l: GOOD S: SetClanTag (server) - w: GOOD - l: GOOD S: AliasToWeaponID (server) - w: GOOD - l: GOOD S: WeaponIDToAlias (server) - w: GOOD - l: GOOD S: CheckWinLimit (server) - w: GOOD - l: GOOD S: SetModelFromClass (server) - w: GOOD - l: GOOD ------------------------------------------------------ Game: cstrike Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/sdkhooks.games/game.cstrike.txt O: Blocked - GOOD. current [ w: 102, l: 103 ]. O: EndTouch - GOOD. current [ w: 100, l: 101 ]. O: FireBullets - GOOD. current [ w: 112, l: 113 ]. O: GetMaxHealth - GOOD. current [ w: 117, l: 118 ]. O: GroundEntChanged - GOOD. current [ w: 177, l: 179 ]. O: OnTakeDamage - GOOD. current [ w: 62, l: 63 ]. O: OnTakeDamage_Alive - GOOD. current [ w: 272, l: 273 ]. O: PreThink - GOOD. current [ w: 332, l: 333 ]. O: PostThink - GOOD. current [ w: 333, l: 334 ]. O: Reload - GOOD. current [ w: 270, l: 271 ]. O: SetTransmit - GOOD. current [ w: 20, l: 21 ]. O: ShouldCollide - GOOD. current [ w: 16, l: 17 ]. O: Spawn - GOOD. current [ w: 22, l: 23 ]. O: StartTouch - GOOD. current [ w: 98, l: 99 ]. O: Think - GOOD. current [ w: 47, l: 48 ]. O: Touch - GOOD. current [ w: 99, l: 100 ]. O: TraceAttack - GOOD. current [ w: 60, l: 61 ]. O: Use - GOOD. current [ w: 97, l: 98 ]. O: VPhysicsUpdate - GOOD. current [ w: 157, l: 158 ]. O: Weapon_CanSwitchTo - GOOD. current [ w: 266, l: 267 ]. O: Weapon_CanUse - GOOD. current [ w: 260, l: 261 ]. O: Weapon_Drop - GOOD. current [ w: 263, l: 264 ]. O: Weapon_Equip - GOOD. current [ w: 261, l: 262 ]. O: Weapon_Switch - GOOD. current [ w: 264, l: 265 ]. Windows offsets are (semi-)wild guesses! Signature offsets are wild guesses! ------------------------------------------------------ Game: cstrike Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/cssdm.games.txt O: LagCompPatch - no Linux symbol, skipping O: TakeDmgPatch1 - no Linux symbol, skipping O: TakeDmgPatch2 - no Linux symbol, skipping O: g_pGameRules - no Linux symbol, skipping O: IPointsForKill - GOOD. current [ w: 80, l: 81 ]. O: Weapon_GetSlot - GOOD. current [ w: 268, l: 269 ]. O: RemoveAllItems - GOOD. current [ w: 342, l: 343 ]. O: GiveAmmo - GOOD. current [ w: 252, l: 253 ]. O: DropWeaponsPatch - no Linux symbol, skipping O: CSWeaponDropPatch - no Linux symbol, skipping O: CalcDomRevPatch - no Linux symbol, skipping Windows offsets are (semi-)wild guesses! Signature offsets are wild guesses! S: UTIL_Remove (server) - w: GOOD - l: GOOD S: RoundRespawn (server) - w: GOOD - l: GOOD S: OnTakeDamage (server) - w: GOOD - l: GOOD w: OnTakeDamage -> TakeDmgPatch1 ( 828) \x75 == \x75 GOOD w: OnTakeDamage -> TakeDmgPatch2 ( 828) \x75 == \x75 GOOD ! l: OnTakeDamage -> TakeDmgPatch1 ( 564) \x24 != \x0F BAD ! l: OnTakeDamage -> TakeDmgPatch2 ( 564) \x24 != \x0F BAD S: WantsLagComp (server) - w: GOOD - l: GOOD w: WantsLagComp -> LagCompPatch ( 46) \x75 == \x75 GOOD l: WantsLagComp -> LagCompPatch ( 31) \x0F == \x0F GOOD S: CGameRules (server) - w: GOOD - l: GOOD S: CSWeaponDrop (server) - w: GOOD - l: GOOD S: DropWeapons (server) - w: GOOD - l: GOOD S: CalcDominationAndRevenge (server) - w: GOOD - l: GOOD w: CalcDominationAndRevenge -> CalcDomRevPatch ( 65) \x0F == \x0F GOOD l: CalcDominationAndRevenge -> CalcDomRevPatch ( 96) \x74 == \x74 GOOD ------------------------------------------------------ Game: cstrike Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/smrcon.txt O: RemoteListeners - no Linux symbol, skipping Windows offsets are (semi-)wild guesses! Signature offsets are wild guesses! S: WriteDataRequest (engine) - w: GOOD - l: GOOD S: CheckPassword (engine) - w: GOOD - l: GOOD S: Filter_ShouldDiscard (engine) - w: GOOD - l: GOOD S: LogCommand (engine) - w: GOOD - l: GOOD S: OnSocketClosed (engine) - w: GOOD - l: GOOD S: IsPassword (engine) - w: GOOD - l: GOOD ------------------------------------------------------ Game: cstrike Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/napalmlagfix.games.txt O: RadiusDamage - GOOD. current [ w: 68, l: 69 ]. Windows offsets are (semi-)wild guesses! Signature offsets are wild guesses! ------------------------------------------------------ Game: cstrike Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/connect.games.txt O: ISteamGameServer__BeginAuthSession - no Linux symbol, skipping O: ISteamGameServer__EndAuthSession - no Linux symbol, skipping Windows offsets are (semi-)wild guesses! Signature offsets are wild guesses! S: CBaseServer__ConnectClient (engine) - w: GOOD - l: GOOD S: CBaseServer__CheckChallengeType (engine) - w: GOOD - l: GOOD S: CBaseServer__RejectConnection (engine) - w: GOOD - l: GOOD S: CBaseClient__SetSteamID (engine) - w: GOOD - l: GOOD ! S: CBaseServer__CheckMasterServerRequestRestart (engine) - w: NOTFOUND - l: UNKNOWN ! current: ! w: "\xE8\x2A\x2A\x2A\x2A\x83\x38\x00\x74\x2A\xE8\x2A\x2A\x2A\x2A\x8B\x08\x8B\x01\x8B\x40\x2C\xFF\xD0" ! l: "" S: Steam3Server (engine) - w: UNKNOWN - l: GOOD ------------------------------------------------------ Game: cstrike Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/botattackcontrol.games.txt Windows offsets are (semi-)wild guesses! Signature offsets are wild guesses! S: CBaseEntity::InSameTeam (server) - w: GOOD - l: GOOD S: CCSBot::OnAudibleEvent (server) - w: GOOD - l: GOOD S: CCSBot::OnPlayerRadio (server) - w: GOOD - l: GOOD S: CCSBot::OnPlayerDeath (server) - w: GOOD - l: GOOD ------------------------------------------------------ Game: cstrike Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/allow-spec.games.txt O: IsValidObserverTarget - GOOD. current [ w: 380, l: 381 ]. Windows offsets are (semi-)wild guesses! Signature offsets are wild guesses! ------------------------------------------------------ Game: cstrike Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/conplex.games.txt Windows offsets are (semi-)wild guesses! Signature offsets are wild guesses! S: ProcessAccept (engine) - w: UNKNOWN - l: GOOD S: RunFrame (engine) - w: UNKNOWN - l: GOOD S: HandleFailedRconAuth (engine) - w: UNKNOWN - l: GOOD S: ProcessAccept (engine) - w: GOOD - l: UNKNOWN S: RunFrame (engine) - w: GOOD - l: UNKNOWN S: HandleFailedRconAuth (engine) - w: GOOD - l: UNKNOWN ------------------------------------------------------ Game: cstrike Gamedata: /users/psychonic/gdc/sourcemod-central/gamedata/sourcetvmanager.games.txt Windows offsets are (semi-)wild guesses! Signature offsets are wild guesses! ------------------------------------------------------