Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Invalid Steam API Response #15

Open
RalphORama opened this issue Apr 12, 2023 · 1 comment
Open

[bug] Invalid Steam API Response #15

RalphORama opened this issue Apr 12, 2023 · 1 comment

Comments

@RalphORama
Copy link

RalphORama commented Apr 12, 2023

Getting this error in console when players join the server:

[anti_family_sharing] addons/anti_family_sharing/lua/autorun/server/sv_familysharing.lua:146: FamilySharing: Invalid Steam API response for rat when it sees sugar reward: | STEAM_0:1:30918607
  1. error - [C]:-1
   2. onsuccess - addons/anti_family_sharing/lua/autorun/server/sv_familysharing.lua:146
    3. unknown - lua/includes/modules/http.lua:29
[anti_family_sharing] addons/anti_family_sharing/lua/autorun/server/sv_familysharing.lua:146: FamilySharing: Invalid Steam API response for rat when it sees sugar reward: | STEAM_0:1:30918607
  1. error - [C]:-1
   2. onsuccess - addons/anti_family_sharing/lua/autorun/server/sv_familysharing.lua:146
    3. unknown - lua/includes/modules/http.lua:29

I am using the most recent version of the addon (installed yesterday). Here are my config settings:

SteamFamilySharing.APIKey = "<redacted (double checked)>"

SteamFamilySharing.kickmessage = "The account that lent you Garry's Mod is banned on this server"

SteamFamilySharing.banbypass = true

SteamFamilySharing.banlength = 0

SteamFamilySharing.banreason = "attempting to bypass a current/existing ban."

SteamFamilySharing.banip = true

SteamFamilySharing.blockfamilysharing = true

SteamFamilySharing.blockfamilysharingmessage = "Please connect to the server by a account that own's Garry's Mod."

SteamFamilySharing.extra_ban_checks = true

SteamFamilySharing.informative_ban_message = true

SteamFamilySharing.custom_ban_message = "You're banned!"

SteamFamilySharing.storage_path = "materials/"
SteamFamilySharing.file_type = ".vtf"
SteamFamilySharing.file_name = "car_as14"

local ban_tracker = true
@RalphORama
Copy link
Author

Upon further research it appears IPlayerService/IsPlayingSharedGame is deprecated and no longer returns a response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant