Raised This Month: $51 Target: $400
 12% 

No HLSTATSX Messages and Crashing [CS:GO]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Krillin
Senior Member
Join Date: Jul 2004
Old 02-18-2014 , 18:12   No HLSTATSX Messages and Crashing [CS:GO]
Reply With Quote #1

Server MOD: Counter-Strike: Global Offensive
Server Host: Debian Linux 7.0.3
MM Version: 1.10
SM Version: 1.5.2

Compiling HLStatsx.sp with SM 1.5.2 generated a warning with hlstatsx.sp file. Line #219 function being depreciated.

Code:
	g_iSDKVersion = GuessSDKVersion();
Updated to:
Code:
	g_iSDKVersion = GetEngineVersion();
So we changed the error to the updated function recompiled it and the error went away. Not sure if this will need more looking into?

Code:
sm plugins list
[SM] Listing 27 plugins:
  01 "SourceBans" (1.4.10) by SourceBans Development Team
  02 "SMAC ConVar Checker" (0.8.4.0) by SMAC Development Team
  03 "Admin Menu" (1.5.2) by AlliedModders LLC
  04 "SQL Admin Manager" (1.5.2) by AlliedModders LLC
  05 "HLstatsX CE Ingame Plugin" (1.6.19) by psychonic
  06 "RCON Lock" (0.6.7) by devicenull
  07 "SourceMod Anti-Cheat" (0.8.4.0) by SMAC Development Team
  08 "Fun Commands" (1.5.2) by AlliedModders LLC
  09 "SMAC AutoTrigger Detector" (0.8.4.0) by SMAC Development Team
  10 "Basic Commands" (1.5.2) by AlliedModders LLC
  11 "Player Commands" (1.5.2) by AlliedModders LLC
  12 "Anti-Flood" (1.5.2) by AlliedModders LLC
  13 "Client Preferences" (1.5.2) by AlliedModders LLC
  14 "Sound Commands" (1.5.2) by AlliedModders LLC
  15 "Admin Help" (1.5.2) by AlliedModders LLC
  16 "Basic Comm Control" (1.5.2) by AlliedModders LLC
  17 "SMAC Aimbot Detector" (0.8.4.0) by SMAC Development Team
  18 "Basic Chat" (1.5.2) by AlliedModders LLC
  19 "Basic Votes" (1.5.2) by AlliedModders LLC
  20 "Reserved Slots" (1.5.2) by AlliedModders LLC
  21 "SMAC Eye Angle Test" (0.8.4.0) by SMAC Development Team
  22 "Basic Info Triggers" (1.5.2) by AlliedModders LLC
  23 "SQL Admins (Prefetch)" (1.5.2) by AlliedModders LLC
  24 "SMAC Anti-Speedhack" (0.8.4.0) by SMAC Development Team
  25 "SuperLogs: CSS" (1.2.4) by psychonic
  26 "Increase Nade Damage" (1.0.3) by AUSTINBOTS! - SavSin
  27 "Fun Votes" (1.5.2) by AlliedModders LLC
Whenever an Admin calls "sm_admin" the server just crashes since adding HLStatsX.

It also seems that there aren't any HLStatsX Message being broadcasted in the game at all. Not the csays, psays, none of them.

Code:
L 02/18/2014 - 18:08:42: [SM] Plugin encountered error 21: Native is not bound
L 02/18/2014 - 18:08:42: [SM] Native "BfWriteByte" reported: 
L 02/18/2014 - 18:08:42: [SM] Displaying call stack trace for plugin "hlstatsx.smx":
L 02/18/2014 - 18:08:42: [SM]   [0]  Line 1194, hlstatsx.sp::hlx_sm_psay()
L 02/18/2014 - 18:08:42: rcon from "10.0.0.5:56078": command "hlx_sm_psay "2" "HLstatsX:CE disabled! Need at least 4 active players (0/4)""
Anyone have any idea why this will crash the server and no messages displayed?

Best Regards,
Krillin
__________________
Krillin's World Server(s) Operator


Last edited by Krillin; 02-18-2014 at 18:15.
Krillin is offline
mjmfighter
Member
Join Date: Jun 2010
Old 02-19-2014 , 13:07   Re: No HLSTATSX Messages and Crashing [CS:GO]
Reply With Quote #2

The reason its crashing is because of your change. GetEngineVersion() does not return the same thing as GuessSDKVersion(), therefore wherever g_iSDKVersion is being read at, its breaking and crashing.
mjmfighter is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:01.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode