View Single Post
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 07-10-2017 , 18:43   Re: [ANY] SteamWorks
Reply With Quote #585

Quote:
Originally Posted by ReymonARG View Post
Because I want to download a config file from a command, and if the file is ok, respond to that rcon.
Now I am using curl, but I don't want to use more, because I also using this for some other respond without blocking, but that I need to block the server and wait if all is ok.
Set the context value on the http request to be the client serial and reply source, when the request comes back, use SetCmdReplySource and GetClientFromSerial and it's like they never left. There should also be a timeout native so you can keep it relatively tight, but there's absolutely no reason to block the game frame for this.
KyleS is offline