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

[ANY] SteamWorks


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
joao7yt
Senior Member
Join Date: Nov 2014
Location: Brazil
Old 12-10-2019 , 21:50   Re: [ANY] SteamWorks
Reply With Quote #11

It seems like HTTP Requests are not working if they are inside OnPluginStart() and the server is still starting... if I reload the plugin after the server has fully loaded, using "sm plugins reload <pluginName>", then the HTTP Request retrieves the wanted data just fine. It has something to do with the server yet loading when an HTTP Request is called.

I didn't want to use a timer to fix it... Do you know if it's fixable or if there's an alternative to OnPluginStart(), some ServerLoaded() callback?
joao7yt is offline
 



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


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