Thread: Prime status
View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 12-07-2018 , 16:49   Re: Prime status
Reply With Quote #28

Quote:
Originally Posted by root88 View Post
I think there is a small but important bug in the code
PHP Code:
 if (!SteamWorks_HasLicenseForApp(client624820)) 
should be
PHP Code:
 if (SteamWorks_HasLicenseForApp(client624820)) 
https://github.com/KyleSanderson/Ste...amWorks.inc#L9
Correct me if I'm wrong, but now it looks like it's working fine for me.
Code:
L 12/07/2018 - 22:05:19: [free2bekicked_csgo.smx] vejit<423><STEAM_1:0:457112136><> doesn't have paid  CSGO.
L 12/07/2018 - 22:11:26: [free2bekicked_csgo.smx] DziadziA <3<435><STEAM_1:1:457085958><> doesn't have paid  CSGO.
https://steamid.io/lookup/76561198874490000
profile created: December 7, 2018
https://steamid.io/lookup/76561198874437645
profile created: December 7, 2018
Good catch. It was a bug when porting from SteamTools to SteamWorks since they use different return values. I've updated my snippet now.
psychonic is offline