View Single Post
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 03-31-2020 , 13:03   Re: [ANY] SteamWorks
Reply With Quote #745

Quote:
Originally Posted by BeepIsla View Post
Code:
EGCResults SteamWorks_GCRetrieveMessage(int punMsgType, const char[] pubDest, int cubDest, int pcubMsgSize)
EGCResults SteamWorks_GCSendMessage(int unMsgType, const char[] pubData, int cubData)
These two seem to be slightly broken, "SteamWorks_GCRetrieveMessage" doesn't work at all and "SteamWorks_GCSendMessage" only works if there is no "SteamWorks_GCRetrieveMessage" forward.

Looking at the source on Github it seems to be the fault of lines 132 and 134.

Code:
this->pGCSendMsg
should be

Code:
this->pGCRetMsg
Attempting to fix and compile this myself made the entire extension not do anything anymore while apparently loading successfully. Maybe something related to what SM/MM/SteamWorks version I compile it against though I tried a few different combinations and none worked.
Thanks for the report, try 132 if you'd like.
KyleS is offline