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

SourceMod 1.7.2 and Metamod:Source 1.10.5 Released


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 06-21-2015 , 08:40   Re: SourceMod 1.7.2 and Metamod:Source 1.10.5 Released
#41

I don't know what plugins you use or what gets sent to where, but you can use the following function to get the steam 2 ID: (I think this is correct)

https://sm.alliedmods.net/new-api/cl...etClientAuthId

PHP Code:
char SteamID[100];
GetClientAuthId(iClientAuthId_Steam2SteamIDsizeof(SteamID), true);
// SteamID string now contains the steam 2 ID of the client with client index 'iClient' 

Last edited by Potato Uno; 06-21-2015 at 08:41. Reason: Typo
Potato Uno is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 06-21-2015 , 10:15   Re: SourceMod 1.7.2 and Metamod:Source 1.10.5 Released
#42

If you want HLSW to pull the logs and display SteamID with the latest SM or the SteamID3 change then install the Superlogs plugin. The only issue I have with that plugin is it needs to be fixed as its throwing a few small errors that aren't stopping it from working but well its annoying.

Last edited by Horsedick; 06-21-2015 at 10:15.
Horsedick is offline
scso1502
Senior Member
Join Date: Dec 2007
Location: Windsor, CA USA
Old 06-22-2015 , 20:21   Re: SourceMod 1.7.2 and Metamod:Source 1.10.5 Released
#43

Thanks Potato and Horse! I'll look into these. Much appreciated brothers...
__________________

Lt. Maverick
BOOM! Gaming & Technology Community
www.boomgaming.net
scso1502 is offline
NIK12184
AlliedModders Donor
Join Date: Mar 2015
Location: Midwestern United States
Old 06-28-2015 , 20:27   Re: SourceMod 1.7.2 and Metamod:Source 1.10.5 Released
#44

Just got SourceMod 1.7.2 but server crashed with these errors any know why?

L 06/28/2015 - 20:23:57: SourceMod error session started
L 06/28/2015 - 20:23:57: Info (map "") (file "errors_20150628.log")
L 06/28/2015 - 20:23:57: Failed lookup of gEntList - Reverting to networkable entities only
L 06/28/2015 - 20:23:58: Error log file session closed.
L 06/28/2015 - 20:23:58: SourceMod error session started
L 06/28/2015 - 20:23:58: Info (map "kw2mp_078_sadrcity") (file "errors_20150628.log")
L 06/28/2015 - 20:23:58: [SDKTOOLS] Could not locate FireOutput - Disabling detour
L 06/28/2015 - 20:23:58: [SDKTOOLS] Failed to find PlayerRunCmd offset - OnPlayerRunCmd forward disabled.
L 06/28/2015 - 20:24:13: Error log file session closed.
__________________
AlliedModders Enthusiast: N.I.K.™

NIK12184 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 06-28-2015 , 20:42   Re: SourceMod 1.7.2 and Metamod:Source 1.10.5 Released
#45

Quote:
Originally Posted by NIK12184 View Post
Just got SourceMod 1.7.2 but server crashed with these errors any know why?

L 06/28/2015 - 20:23:57: SourceMod error session started
L 06/28/2015 - 20:23:57: Info (map "") (file "errors_20150628.log")
L 06/28/2015 - 20:23:57: Failed lookup of gEntList - Reverting to networkable entities only
L 06/28/2015 - 20:23:58: Error log file session closed.
L 06/28/2015 - 20:23:58: SourceMod error session started
L 06/28/2015 - 20:23:58: Info (map "kw2mp_078_sadrcity") (file "errors_20150628.log")
L 06/28/2015 - 20:23:58: [SDKTOOLS] Could not locate FireOutput - Disabling detour
L 06/28/2015 - 20:23:58: [SDKTOOLS] Failed to find PlayerRunCmd offset - OnPlayerRunCmd forward disabled.
L 06/28/2015 - 20:24:13: Error log file session closed.
Unsupported game and poor error handling.
psychonic is offline
NIK12184
AlliedModders Donor
Join Date: Mar 2015
Location: Midwestern United States
Old 06-28-2015 , 21:24   Re: SourceMod 1.7.2 and Metamod:Source 1.10.5 Released
#46

Poor error handling? And how could I get the game supported?
__________________
AlliedModders Enthusiast: N.I.K.™

NIK12184 is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 06-28-2015 , 22:12   Re: SourceMod 1.7.2 and Metamod:Source 1.10.5 Released
#47

Quote:
Originally Posted by NIK12184 View Post
how could I get the game supported?
Learn how to program in C/C++, and make the appropriate contributions/modifications to Sourcemod itself to make it compatible with your game.
__________________

Last edited by ddhoward; 06-28-2015 at 22:12.
ddhoward is offline
Peace-Maker
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 06-29-2015 , 04:37   Re: SourceMod 1.7.2 and Metamod:Source 1.10.5 Released
#48

Quote:
Originally Posted by Powerlord View Post
HLSW was relying on old behavior.

TF2 switched to SteamID3 sometime last year.

SourceMod 1.6.1 (or was it 1.6.2) and newer had a compatibility hack to make certain parts of SourceMod return SteamID2 (the old format) instead.

SourceMod 1.7.0 and newer no longer have that compatibility hack and it sounds like HLSW has it hard-coded to check for SteamId2 values and not show them if it thinks the format is wrong.

Edit: Side note, it is possible to get SteamID2 values in newer plugins, but it requires a new method call to do it (GetSteamAuthId)
SM1.7+ still has that hack in place. GetClientAuthString still returns the Steam2 format for compatibility with old plugins. HLSW might parse the rcon status output or game log which contain the game's own formatting - not sourcemod's fault
__________________
Peace-Maker is offline
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Old 06-29-2015 , 19:10   Re: SourceMod 1.7.2 and Metamod:Source 1.10.5 Released
#49

Yeah, HLSW monitors the game log for that information, at least last I checked. I would not see details for a given player until that player was involved in some sort of event, such as being killed or typing in the chat. HLSW needs an update.
__________________
ddhoward is offline
scso1502
Senior Member
Join Date: Dec 2007
Location: Windsor, CA USA
Old 06-30-2015 , 12:11   Re: SourceMod 1.7.2 and Metamod:Source 1.10.5 Released
#50

Something definitely changed from SM 1.6 to 1.7 that caused HLSW to stop displaying the older steamIDs in HLSW. Either that or the hack no longer works to convert the steamIDs from the original format to the new steamID3 format in SM 1.7. But I can tell that my server logs for TF2 only output the steam3 format now and the live game logs displayed at the bottom of the HLSW screen only display the steam3 IDs and not the steamID as before on 1.6. Other than reverting back to SM 1.6, can anyone offer a solution to get HLSW to output the Steam IDs so I can see them and click on them in HLSW? I can't believe I'm the only one managing servers that still uses HLSW and wants this to work.

I completely understand HLSW is no longer being worked on by its developers, but even as outdated as it is, it is still by far the best tool out there for monitoring multiple game servers and is an incredible asset to managing my community. Not having the steamIDs of players in HLSW significantly reduces the usefulness of it and since it worked on SM 1.6, I'm hoping someone can make it work the same on SM 1.7 for the guys like me who still use it. If I need to pay someone to code something, I will. That how important it is to me, I'd hedge some bets others are in my shoes as well.

Many thanks for all the constructive input.
__________________

Lt. Maverick
BOOM! Gaming & Technology Community
www.boomgaming.net

Last edited by scso1502; 06-30-2015 at 22:53.
scso1502 is offline
Closed Thread



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 16:23.


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