Raised This Month: $95 Target: $400
 23% 

[ANY] SteamWorks


Post New Thread Reply   
 
Thread Tools Display Modes
splewis
Veteran Member
Join Date: Feb 2014
Location: United States
Old 07-07-2017 , 22:19   Re: [ANY] SteamWorks
Reply With Quote #581

Quote:
Originally Posted by Bl4CkGuuN View Post
How to install SteamWorks?

If I download the attached file i only get three .so files in the bin folder.

cstrike, hl2dm and tf are empty


Greetz
That's the steam client you probably don't need (it says so in the OP).

You download the most recent build from http://users.alliedmods.net/~kyles/builds/SteamWorks/ for your OS.
__________________
splewis is offline
ReymonARG
Junior Member
Join Date: Jun 2017
Old 07-10-2017 , 12:29   Re: [ANY] SteamWorks
Reply With Quote #582

Hi, is possible to make a request blocking the plugin? I don't want to set a callback!!

Thanks!!
ReymonARG is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 07-10-2017 , 12:38   Re: [ANY] SteamWorks
Reply With Quote #583

Quote:
Originally Posted by ReymonARG View Post
Hi, is possible to make a request blocking the plugin? I don't want to set a callback!!

Thanks!!
Why would you want to block your game from processing frames while just arbitrarily waiting?
KyleS is offline
ReymonARG
Junior Member
Join Date: Jun 2017
Old 07-10-2017 , 12:41   Re: [ANY] SteamWorks
Reply With Quote #584

Quote:
Originally Posted by KyleS View Post
Why would you want to block your game from processing frames while just arbitrarily waiting?
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.
ReymonARG is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 07-10-2017 , 19: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
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 07-11-2017 , 03:31   Re: [ANY] SteamWorks
Reply With Quote #586

Quote:
Originally Posted by KyleS View Post
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.
You can't async reply to rcon.
__________________
asherkin is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 07-11-2017 , 10:16   Re: [ANY] SteamWorks
Reply With Quote #587

Quote:
Originally Posted by asherkin View Post
You can't async reply to rcon.
There's a beyond near zero chance he's talking about using the TCP socket. If he is, why on earth would he use SRCDS for this when he has the entirety of another language behind him?
KyleS is offline
ReymonARG
Junior Member
Join Date: Jun 2017
Old 07-11-2017 , 20:56   Re: [ANY] SteamWorks
Reply With Quote #588

Thanks for Replay, So I can block the server/plugin until I have the comeback? Like I can do with curl
ReymonARG is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 07-11-2017 , 21:39   Re: [ANY] SteamWorks
Reply With Quote #589

I asked this a few pages ago and got ingored after asking why.

A closed answer of yes or no would be great.
__________________
Neuro Toxin is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 07-12-2017 , 17:38   Re: [ANY] SteamWorks
Reply With Quote #590

Quote:
Originally Posted by Neuro Toxin View Post
I asked this a few pages ago and got ingored after asking why.

A closed answer of yes or no would be great.
What? Not knowing how to do something is vastly different then not getting an answer.

Quote:
Originally Posted by Neuro Toxin View Post
Is there anyway to do a non-threaded call with SteamWorks_SendHTTPRequest?
Quote:
Originally Posted by KyleS View Post
Yes, you'd have to be insane to do it though.
KyleS is offline
Reply


Thread Tools
Display Modes

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 03:37.


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