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

[ANY] SteamWorks


Post New Thread Reply   
 
Thread Tools Display Modes
TheLastRevenge
Junior Member
Join Date: Mar 2013
Location: Korea Republic Of
Old 11-06-2014 , 08:00   Re: [ANY] SteamWorks
Reply With Quote #171

Quote:
Originally Posted by Peace-Maker View Post
Try using the right sdk to build.
my said meant Bubka3's dll doesn't work for me.
and i attached other dll built by me.
__________________
TheLastRevenge is offline
yusufali
Member
Join Date: Feb 2014
Old 11-06-2014 , 09:50   Re: [ANY] SteamWorks
Reply With Quote #172

whats the difference between this extension and steamtools by asherkin?
__________________
yusufali is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-06-2014 , 10:11   Re: [ANY] SteamWorks
Reply With Quote #173

Quote:
Originally Posted by yusufali View Post
whats the difference between this extension and steamtools by asherkin?
For starters, this one supports more than just TF2
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
yusufali
Member
Join Date: Feb 2014
Old 11-06-2014 , 11:43   Re: [ANY] SteamWorks
Reply With Quote #174

I see. Can this extension be used with updater?
https://forums.alliedmods.net/showthread.php?t=169095
__________________
yusufali is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 11-06-2014 , 11:47   Re: [ANY] SteamWorks
Reply With Quote #175

Quote:
Originally Posted by yusufali View Post
I see. Can this extension be used with updater?
https://forums.alliedmods.net/showthread.php?t=169095
Not until Updater is updated to support SteamWorks.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 11-06-2014 , 13:05   Re: [ANY] SteamWorks
Reply With Quote #176

https://bitbucket.org/GoD_Tony/updat...teamworks/diff

__________________
Dr. McKay is offline
404UNF
( ͡ ͜ʖ ͡)
Join Date: Dec 2011
Location: 🍁
Old 11-06-2014 , 20:38   Re: [ANY] SteamWorks
Reply With Quote #177

So, say I was to want to use this to make a plugin that detects and logs Family Sharing players to a TXT file....would that be possible and if so, what would be a good place to start (like maybe a specific function or something)?
__________________
I'm not a SourcePawn expert, I just play one on TV.
Want to join the SourceMod Discord server? Click here!

404UNF is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 11-06-2014 , 22:27   Re: [ANY] SteamWorks
Reply With Quote #178

Quote:
Originally Posted by abrandnewday View Post
So, say I was to want to use this to make a plugin that detects and logs Family Sharing players to a TXT file....would that be possible and if so, what would be a good place to start (like maybe a specific function or something)?
PHP Code:
#include <SteamWorks>

public SteamWorks_OnValidateClient(ownerauthidauthid) {
    if(
ownerauthid && authid && ownerauthid != authid) {
        
decl String:path[PLATFORM_MAX_PATH];
        
BuildPath(Path_SMpathsizeof(path), "logs/familysharing.log");
        
LogToFile(path"[U:1:%d] (STEAM_1:%d:%d) is borrowing the game from [U:1:%d] (STEAM_1:%d:%d)"authidauthid 1authid >> 1ownerauthidownerauthid 1ownerauthid >> 1);
    }

__________________
Dr. McKay is offline
TheLastRevenge
Junior Member
Join Date: Mar 2013
Location: Korea Republic Of
Old 11-06-2014 , 22:35   Re: [ANY] SteamWorks
Reply With Quote #179

Quote:
Originally Posted by abrandnewday View Post
So, say I was to want to use this to make a plugin that detects and logs Family Sharing players to a TXT file....would that be possible and if so, what would be a good place to start (like maybe a specific function or something)?
https://forums.alliedmods.net/showpo...&postcount=169
How about refer this sample plugin
__________________
TheLastRevenge is offline
404UNF
( ͡ ͜ʖ ͡)
Join Date: Dec 2011
Location: 🍁
Old 11-06-2014 , 22:50   Re: [ANY] SteamWorks
Reply With Quote #180

Quote:
Originally Posted by Dr. McKay View Post
PHP Code:
#include <SteamWorks>

public SteamWorks_OnValidateClient(ownerauthidauthid) {
    if(
ownerauthid && authid && ownerauthid != authid) {
        
decl String:path[PLATFORM_MAX_PATH];
        
BuildPath(Path_SMpathsizeof(path), "logs/familysharing.log");
        
LogToFile(path"[U:1:%d] (STEAM_1:%d:%d) is borrowing the game from [U:1:%d] (STEAM_1:%d:%d)"authidauthid 1authid >> 1ownerauthidownerauthid 1ownerauthid >> 1);
    }

Dr. McKay, you continue to go above and beyond. Thank you my good man! Was about to put this into use on a TF2 server, but then I remembered that TF2 is not Family Sharing eligible due to it being a Free To Play title. Silly me! I still have a use for it though!
__________________
I'm not a SourcePawn expert, I just play one on TV.
Want to join the SourceMod Discord server? Click here!


Last edited by 404UNF; 11-06-2014 at 22:51.
404UNF 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:08.


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