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

[ANY] SteamWorks


Post New Thread Reply   
 
Thread Tools Display Modes
Deathknife
Senior Member
Join Date: Aug 2014
Old 08-09-2016 , 13:09   Re: [ANY] SteamWorks
Reply With Quote #451

Quote:
Originally Posted by techlover1 View Post
DNS is working properly (tested with both nslookup and ping)

There is now another error showing up
Code:
httpclient.cpp (2374) : Assertion Failed: pHost && *pHost
When are you sending the http request? I am getting same error when I send http request after plugin reloads, and I send http request OnMapStart, anything after works fine. Doesn't bother me, but could be something related to your issue
__________________
Deathknife is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 08-09-2016 , 13:52   Re: [ANY] SteamWorks
Reply With Quote #452

Quote:
Originally Posted by Deathknife View Post
When are you sending the http request? I am getting same error when I send http request after plugin reloads, and I send http request OnMapStart, anything after works fine. Doesn't bother me, but could be something related to your issue
Are you guys checking if Steam is even loaded?
KyleS is offline
Deathknife
Senior Member
Join Date: Aug 2014
Old 08-09-2016 , 14:44   Re: [ANY] SteamWorks
Reply With Quote #453

Quote:
Originally Posted by KyleS View Post
Are you guys checking if Steam is even loaded?
PHP Code:
native bool:SteamWorks_IsLoaded(); 
Returns true (before calling any HTTP stuff)
__________________
Deathknife is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 08-10-2016 , 10:02   Re: [ANY] SteamWorks
Reply With Quote #454

Quote:
Originally Posted by Deathknife View Post
PHP Code:
native bool:SteamWorks_IsLoaded(); 
Returns true (before calling any HTTP stuff)
With HTTP still doing that assert?
KyleS is offline
Deathknife
Senior Member
Join Date: Aug 2014
Old 08-10-2016 , 11:22   Re: [ANY] SteamWorks
Reply With Quote #455

Quote:
Originally Posted by KyleS View Post
With HTTP still doing that assert?
Yes, and HTTP request returns error code 0. It seems to be only done when the plugin is loaded, as waiting a second(just random value), then sending HTTP requests will work fine. For me it isn't an issue as I can wait that second.

I'm also fairly certain that this wasn't an issue always, pretty sure it used to work before.
__________________
Deathknife is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 08-12-2016 , 09:13   Re: [ANY] SteamWorks
Reply With Quote #456

Do we have to do url encoding ourself? base64,etc...

Or does SteamWorks_SetHTTPRequestGetOrPostParameter take care of that ?
__________________
ImACow is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 08-14-2016 , 20:37   Re: [ANY] SteamWorks
Reply With Quote #457

Quote:
Originally Posted by ImACow View Post
Do we have to do url encoding ourself? base64,etc...

Or does SteamWorks_SetHTTPRequestGetOrPostParameter take care of that ?
I believe you confirmed in IRC after this was posted that it does work. Just making this searchable, with an answer.
KyleS is offline
ImACow
AlliedModders Donor
Join Date: Feb 2015
Old 08-23-2016 , 11:08   Re: [ANY] SteamWorks
Reply With Quote #458

Quote:
Originally Posted by KyleS View Post
I believe you confirmed in IRC after this was posted that it does work. Just making this searchable, with an answer.

You did, and I came to IRC after posting here ;) my bad
__________________
ImACow is offline
dubbeh
Senior Member
Join Date: Jul 2007
Old 09-07-2016 , 00:44   Re: [ANY] SteamWorks
Reply With Quote #459

Made an updated SteamWorks.inc for new decals, because of my OCD and sticking with one coding style xD.

Think everything is converted correctly.

Update 1:
A
dded SteamWorks_SetMapName for the latest development build.

Update 2:
100% new decals compatible with "#pragma newdecls required"
Attached Files
File Type: inc SteamWorks.inc (19.9 KB, 358 views)
__________________
SM Plugins - dubbeh.net - Plugin requests are welcome

Last edited by dubbeh; 03-16-2017 at 04:04.
dubbeh is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 09-08-2016 , 19:47   Re: [ANY] SteamWorks
Reply With Quote #460

Quote:
Originally Posted by dubbeh View Post
Made an updated SteamWorks.inc for new decals, because of my OCD and sticking with one coding style xD.

Think everything is converted correctly.

What would be appreciated is this to be method-mapped.
KyleS is offline
Reply



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 13:56.


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