View Single Post
BeepIsla
Member
Join Date: Mar 2020
Location: Germany
Old 04-06-2020 , 06:17   Re: [ANY] SteamWorks
Reply With Quote #748

Quote:
Originally Posted by KyleS View Post
Which game? platform? SM version? MM:S version?
I tried it on CSGO a long time ago on Windows, sadly don't remember the SM & MM versions back then and TF2 most recently on Windows and Linux, both tested with SM 1.11 - build 6522 & MM 1.11 - build 1130. As well as SM 1.10 and MM 1.10 a little bit prior to that.

This simple plugin does not output anything, while NetHook2 clearly says there are incoming GC messages:

Code:
#include <sourcemod>
#include <SteamWorks>

#pragma semicolon 1
#pragma newdecls required

public EGCResults SteamWorks_GCRetrieveMessage(int punMsgType, const char[] pubDest, int cubDest, int pcubMsgSize) {
    LogMessage("SteamWorks_GCRetrieveMessage: %d (%d)", punMsgType, cubDest);
    return k_EGCResultOK;
}
BeepIsla is offline