Raised This Month: $32 Target: $400
 8% 

[ANY] SteamWorks


Post New Thread Reply   
 
Thread Tools Display Modes
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 11-06-2016 , 23:21   Re: [ANY] SteamWorks
Reply With Quote #471

Quote:
Originally Posted by ImACow View Post
Thanks!

I'm trying to figure out how this GC stuff works.

Code:
SteamWorks_GCSendMessage(unMsgType, const char[] pubData, cubData)
Logging it:
Code:
SteamWorks_GCSendMessage(%i, %s, %i)", unMsgType, pubData, cubData
gives the following result:
Code:
SteamWorks_GCSendMessage(-2147474495, Á#, 14)
and
Code:
SteamWorks_GCMsgAvailable
Is returning

Code:
SteamWorks_GCMsgAvailable(4614)
SteamWorks_GCMsgAvailable(22)
SteamWorks_GCMsgAvailable(147)
SteamWorks_GCMsgAvailable(2670)
SteamWorks_GCMsgAvailable(826)
SteamWorks_GCMsgAvailable(147)
SteamWorks_GCMsgAvailable(22)
The numbers represent a certain message from an enum.

Is there a way to get more details ?
It's not a string, it's a byte buffer.
KyleS is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 11-07-2016 , 06:47   Re: [ANY] SteamWorks
Reply With Quote #472

Can I turn this into something readable ?

What about references of the values:
Code:
SteamWorks_GCMsgAvailable(4614)
SteamWorks_GCMsgAvailable(22)
SteamWorks_GCMsgAvailable(147)
SteamWorks_GCMsgAvailable(2670)
SteamWorks_GCMsgAvailable(826)
SteamWorks_GCMsgAvailable(147)
SteamWorks_GCMsgAvailable(22)
__________________

Last edited by ImACow; 11-07-2016 at 06:47.
ImACow is offline
VoiDeD
AlliedModders Donor
Join Date: Mar 2009
Location: Illinois, USA
Old 11-13-2016 , 13:40   Re: [ANY] SteamWorks
Reply With Quote #473

Quote:
Originally Posted by ImACow View Post
Can I turn this into something readable ?

What about references of the values:
Code:
SteamWorks_GCMsgAvailable(4614)
SteamWorks_GCMsgAvailable(22)
SteamWorks_GCMsgAvailable(147)
SteamWorks_GCMsgAvailable(2670)
SteamWorks_GCMsgAvailable(826)
SteamWorks_GCMsgAvailable(147)
SteamWorks_GCMsgAvailable(22)
The values can depend on the game. There's a few shared values between games, but the higher the msgtype the more likely it's a game-specific message.

For tf: https://github.com/SteamDatabase/Gam...r/Protobufs/tf
__________________
VoiDeD is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 11-24-2016 , 16:56   Re: [ANY] SteamWorks
Reply With Quote #474

None of the number I get in CSGO match any of those CSGO numbers in the protobufs? :/
__________________
ImACow is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 11-27-2016 , 13:54   Re: [ANY] SteamWorks
Reply With Quote #475

Quote:
Originally Posted by ImACow View Post
None of the number I get in CSGO match any of those CSGO numbers in the protobufs? :/
Those numbers you're seeing are for the entire msg size. You'd need to read the first N (4?) bytes to get the msg id, then go from there. It's an arguably mean API, since there's no way to push this buffer into a protobuf msg in pawn (atleast at the time of this writing).
KyleS is offline
Doulos
AlliedModders Donor
Join Date: Aug 2007
Old 12-14-2016 , 06:45   Re: [ANY] SteamWorks
Reply With Quote #476

I am getting this error with the sourcemod-1.8.0-git5967-windows:

[SM] Unable to load extension "SteamWorks.ext": Could not find interface: INativeInterface

If I dial back to sourcemod-1.7.3-git5317-windows I get no error.
Doulos is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-14-2016 , 12:08   Re: [ANY] SteamWorks
Reply With Quote #477

You need a less ancient version of SteamWorks.
__________________
asherkin is offline
Doulos
AlliedModders Donor
Join Date: Aug 2007
Old 12-14-2016 , 16:03   Re: [ANY] SteamWorks
Reply With Quote #478

I took the most recent windows version that was posted here in these forums.
Doulos is offline
versatile_bfg
Veteran Member
Join Date: Feb 2012
Old 12-14-2016 , 17:28   Re: [ANY] SteamWorks
Reply With Quote #479

Quote:
Originally Posted by Doulos View Post
I took the most recent windows version that was posted here in these forums.
http://users.alliedmods.net/~kyles/builds/SteamWorks/

Get the latest from here.
__________________

Last edited by versatile_bfg; 12-14-2016 at 17:28.
versatile_bfg is offline
Doulos
AlliedModders Donor
Join Date: Aug 2007
Old 12-15-2016 , 07:54   Re: [ANY] SteamWorks
Reply With Quote #480

Thank-you.
Doulos is offline
Reply


Thread Tools
Display Modes

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:11.


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