SteamChecks

Moved

Total Downloads: 1,152 - First Release: Sep 3, 2016 - Last Update: Jan 10, 2018

5/5, 10 likes
  1. Wulf

    Wulf Community Admin

    You aren’t updated if you see that. Update Oxide.
     
  2. @Wulf I believe line 497 should be:

    if (IsVacBanned(bans) && DaysSinceBan(bans) < thresholdRecentBan && kickRecentBan)
     
  3. Wulf

    Wulf Community Admin

    It's not my plugin, but I'll take a look if @Spicy doesn't reply. :p
     
  4. Sure, sorry I thought you did the most recent update.
     
  5. After the last update I also got;

    Error while compiling: SteamChecks.cs(587,24): error CS1061: Type `Oxide.Core.Libraries.WebRequests' does not contain a definition for `Enqueue' and no extension method `Enqueue' of type `Oxide.Core.Libraries.WebRequests' could be found. Are you missing an assembly reference?
     
  6. Wulf

    Wulf Community Admin

    Update Oxide or use the previous plugin version.
     
  7. Aah, it is a bit early for me so I missed the new Oxide update. Thanks a lot!
     
  8. For some reason it isnt kicking people with private profiles
     
  9. Hello Spicy, I am getting the following errors, any idea why?
    Code:
    (02:40:09) | SteamChecks was compiled successfully in 1891ms(02:40:09) | SteamChecks v3.0.1: Failed to load config file (is the config file corrupt?) (After parsing a value an unexpected character was encountered: ". Path 'Whitelist[0]', line 40, position 4.)(02:40:09) | Failed to initialize plugin 'SteamChecks v3.0.1' (InvalidCastException: Null object can not be converted to a value type.)(02:40:09) | at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000] in <filename unknown>:0at Oxide.Core.Configuration.DynamicConfigFile.ConvertValue (System.Object value, System.Type destinationType) [0x00000] in <filename unknown>:0at Oxide.Core.Configuration.DynamicConfigFile.ConvertValue[Boolean] (System.Object value) [0x00000] in <filename unknown>:0at Oxide.Core.Configuration.DynamicConfigFile.Get[Boolean] (System.String[] path) [0x00000] in <filename unknown>:0at Oxide.Plugins.SteamChecks.InitialiseConfig () [0x00000] in <filename unknown>:0at Oxide.Plugins.SteamChecks.Init () [0x00000] in <filename unknown>:0at Oxide.Plugins.SteamChecks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0(02:40:09) | Unloaded plugin SteamChecks v3.0.1 by Spicy(02:40:09) | No previous version to rollback plugin: SteamChecks
     
    Last edited by a moderator: Oct 29, 2017
  10. Wulf

    Wulf Community Admin

    "Failed to load config file (is the config file corrupt?)"

    Your config file is not valid JSON. Check with www.jsonlint.com
     
  11. Many thanks Wulf, problem solved, so simply, I bow to your amazing knowledge, best regards, JackDaw
     
  12. What are the biggest differences/benefits of using this over PlayerRestrictions?
     
  13. Wulf

    Wulf Community Admin

    Whatever the differences are on the Overview, and that it's universal. :p
     
  14. This is more of a beancan.io issue but I'll post anyways in case someone else is having the same issue.

    I had to perform a full wipe on my server this morning. I'm trying to configure my Steam Check json and the API Key I see from beancan.io is significantly shorter than the original one. When I use the "new" API key from beancan.io, it says "Invalid API Key" anytime someone logs in... when I use the "old" API Key it works fine.

    Is beancan.io still working? Is there an alternative way to get an API key for my server? Hosting with GameServers.com.
     
  15. You nead your SteamAPI key for this not your Beancan.io API key. Beancan key is just for LustyMap
    Steam Community
     
  16. What are some ways a player could bypass these checks? Seems to work for most but I've noticed a few players with private profiles able to get on my server even though they should be blocked. Should I assume something fishy is up with them? Or is it possible for the plugin to be unable to check certain players?
     
  17. i have the same issue some private profiles can join to
     
  18. Im getting this error each time a player is kicked for a SteamCheck issue.
    Code:
    [SteamChecks] Kicking player... (You have a recent VAC ban on record.)
    Web request callback raised an exception (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)  at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in :0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in :0
      at System.String.Format (System.String format, System.Object[] args) [0x00000] in :0
      at Oxide.Game.Rust.Libraries.Player.Message (.BasePlayer player, System.String message, System.String prefix, UInt64 userId, System.Object[] args) [0x00000] in :0
      at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Message (System.String message, System.String prefix, System.Object[] args) [0x00000] in :0
      at Oxide.Plugins.SteamChecks.Kick (IPlayer player, System.String key, Boolean shouldBroadcast) [0x00000] in :0
      at Oxide.Plugins.SteamChecks+c__AnonStorey0.<>m__0 (Int32 code, System.String response) [0x00000] in :0
      at Oxide.Core.Libraries.WebRequests+WebRequest.b__42_0 () [0x00000] in :0 
     
  19. Wulf

    Wulf Community Admin

    Which Oxide version?
     
  20. Oxide.Rust Version: 2.0.3774
    Its been happening for a while, just havent posted it!