AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Extensions (https://forums.alliedmods.net/forumdisplay.php?f=134)
-   -   [ANY] SteamWorks (https://forums.alliedmods.net/showthread.php?t=229556)

away000 02-14-2017 08:11

Re: [ANY] SteamWorks
 
Quote:

Originally Posted by alcybery (Post 2494206)

Your version has only that "plus" thing? Cause if yeah, will use for sure :D

DarkDeviL 02-14-2017 09:21

Re: [ANY] SteamWorks
 
Quote:

Originally Posted by away000 (Post 2495359)
Your version has only that "plus" thing? Cause if yeah, will use for sure :D

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.

away000 02-14-2017 09:34

Re: [ANY] SteamWorks
 
Quote:

Originally Posted by arne1288 (Post 2495367)
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?

DarkDeviL 02-14-2017 09:59

Re: [ANY] SteamWorks
 
Quote:

Originally Posted by away000 (Post 2495371)
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 (Post 2495371)
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. :-)

away000 02-14-2017 11:09

Re: [ANY] SteamWorks
 
Quote:

Originally Posted by arne1288 (Post 2495376)
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 :D

kamild1996 02-16-2017 15:14

Re: [ANY] SteamWorks
 
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?

DarkDeviL 02-16-2017 21:36

Re: [ANY] SteamWorks
 
Quote:

Originally Posted by kamild1996 (Post 2495952)
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.

Neuro Toxin 03-01-2017 08:21

Re: [ANY] SteamWorks
 
Is there anyway to do a non-threaded call with SteamWorks_SendHTTPRequest?

KyleS 03-01-2017 13:46

Re: [ANY] SteamWorks
 
Quote:

Originally Posted by Neuro Toxin (Post 2499670)
Is there anyway to do a non-threaded call with SteamWorks_SendHTTPRequest?

Yes, you'd have to be insane to do it though.

Neuro Toxin 03-01-2017 14:44

Re: [ANY] SteamWorks
 
Can you share?

Trust my sanity lol...


All times are GMT -4. The time now is 05:20.

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