Raised This Month: $32 Target: $400
 8% 

[ANY] SteamWorks


Post New Thread Reply   
 
Thread Tools Display Modes
away000
Veteran Member
Join Date: Sep 2010
Old 02-14-2017 , 08:11   Re: [ANY] SteamWorks
Reply With Quote #511

Quote:
Originally Posted by alcybery View Post
Your version has only that "plus" thing? Cause if yeah, will use for sure
__________________
away000 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 02-14-2017 , 09:21   Re: [ANY] SteamWorks
Reply With Quote #512

Quote:
Originally Posted by away000 View Post
Your version has only that "plus" thing? Cause if yeah, will use for sure
From a quick look at the code:

- GeoCity support
- Adds "The" to certain countries, if they contain phrases like "United", "Netherlands", "Bahamas", ... etc.
- adds {HOURS} via SteamWorks, showing the total amount of hours played.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
away000
Veteran Member
Join Date: Sep 2010
Old 02-14-2017 , 09:34   Re: [ANY] SteamWorks
Reply With Quote #513

Quote:
Originally Posted by arne1288 View Post
From a quick look at the code:

- GeoCity support
- Adds "The" to certain countries, if they contain phrases like "United", "Netherlands", "Bahamas", ... etc.
- adds {HOURS} via SteamWorks, showing the total amount of hours played.
Thanks for looking into that, anything i should change from the original one or is just compile and use this version?

Also, any new "string tag" to use with this version?
__________________
away000 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 02-14-2017 , 09:59   Re: [ANY] SteamWorks
Reply With Quote #514

Quote:
Originally Posted by away000 View Post
Thanks for looking into that, anything i should change from the original one or is just compile and use this version?
It depends on what you want, so you're the only who can provide an answer to that yourself.

Quote:
Originally Posted by away000 View Post
Also, any new "string tag" to use with this version?
Doesn't seem like there's more than {HOURS}, but you can see the function doing the replacing in the end of the file. It is actually very readable, even if you don't code.


Should you however have any issues with that version, I suggest you contact alcybery directly, as the modifications are his. Support for such third party things aren't really relevant for this thread. :-)
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
away000
Veteran Member
Join Date: Sep 2010
Old 02-14-2017 , 11:09   Re: [ANY] SteamWorks
Reply With Quote #515

Quote:
Originally Posted by arne1288 View Post
It depends on what you want, so you're the only who can provide an answer to that yourself.



Doesn't seem like there's more than {HOURS}, but you can see the function doing the replacing in the end of the file. It is actually very readable, even if you don't code.


Should you however have any issues with that version, I suggest you contact alcybery directly, as the modifications are his. Support for such third party things aren't really relevant for this thread. :-)
Yeah, i'll contact him since for some reason, plugin is'nt compiling because of SteamWorks, maybe he has a compiled version
__________________
away000 is offline
kamild1996
Senior Member
Join Date: May 2011
Old 02-16-2017 , 15:14   Re: [ANY] SteamWorks
Reply With Quote #516

I see checking for hours played is possible, but does it allow me to get the account creation date, or age? If so, could someone please show me an example of how the code would look like?
kamild1996 is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 02-16-2017 , 21:36   Re: [ANY] SteamWorks
Reply With Quote #517

Quote:
Originally Posted by kamild1996 View Post
I see checking for hours played is possible, but does it allow me to get the account creation date, or age? If so, could someone please show me an example of how the code would look like?
The {HOURS} one is requested based on the user's "game stats", without testing - but according to previously mentioned words in the above posts, it would appear that you can access these "game stats", even if the profile is private.

The creation time of your Steam account is a part of another API, which will be public/private depending on your profile settings, and therefore may or may not work for some profiles.

It is possible to retrieve the creation time on public profiles with any plugins that can communicate with an HTTP(S) backend (for example through SteamWorks and CURL), but it requires a little bit more code than this {HOURS} does, and would require you to supply a Steam Web API Key to the plugin as well.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 03-01-2017 , 08:21   Re: [ANY] SteamWorks
Reply With Quote #518

Is there anyway to do a non-threaded call with SteamWorks_SendHTTPRequest?
__________________

Last edited by Neuro Toxin; 03-01-2017 at 08:21.
Neuro Toxin is offline
KyleS
SourceMod Plugin Approver
Join Date: Jul 2009
Location: Segmentation Fault.
Old 03-01-2017 , 13:46   Re: [ANY] SteamWorks
Reply With Quote #519

Quote:
Originally Posted by Neuro Toxin View Post
Is there anyway to do a non-threaded call with SteamWorks_SendHTTPRequest?
Yes, you'd have to be insane to do it though.
KyleS is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 03-01-2017 , 14:44   Re: [ANY] SteamWorks
Reply With Quote #520

Can you share?

Trust my sanity lol...
__________________
Neuro Toxin 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 17:34.


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