Thread: Old thread
View Single Post
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 06-29-2011 , 12:59   Re: SteamTools - SteamWorks for SourceMod
#133

Quote:
Originally Posted by r3dw3r3w0lf View Post
Well is there a way it doesn't spam my error logs? That's my main issue then.
You're welcome to pick any of these:
  • Get Valve to fix thier code to not call SteamWorks functions before it's ready.
  • Recompile the extension without the error message.
  • Ignore it.

The error message is legitimate when in response to a function call made by SteamTools, hence I'm not going to just blindly remove it.

EDIT:
The error is because Valve call ISteamGameServer::GetGameplayStats(...) during the startup process, before the SteamWorks library is fully initialised. This causes the call to fail and SteamTools just catches the error response right after startup (hence the error message).
__________________

Last edited by asherkin; 06-29-2011 at 13:02.
asherkin is offline