1. can u make it ban
     
  2. Hi !

    I've got someone trying to connect, and they've got kicked despite them not having any VAC bans according to http://vacbanned.com.
    The server kicked him, and then threw an error - any clue why that happend ?
    I don't supposed i need to have any special ports open for Steam and VACKicker to communicate, or is it just the matter of a bug of some sort ?

    Would be great if i could get some feedback...

    VACKicker Settings:
    Code:
    {
      "Messages: Too many VAC Bans": "Players with VAC Bans are not welcome to join this server !",
      "Settings: Max VAC allowed": 0,
      "STEAM API Key: http://steamcommunity.com/dev/apikey": "F22****************E2A"
    }
    Console Output:
    Code:
    [7/19/2015 3:11:15 AM] 1*0.50.2*5.2*4:49733/76***********69/k****7 Rejecting connection - Steam Auth Startup:k_EBeginAuthSessionResultInvalidTicket
    [7/19/2015 3:11:15 AM] 1*0.50.2*5.2*4:49733/76***********69/kevin777 kicked: Steam Auth Startup:k_EBeginAuthSessionResultInvalidTicket
    [7/19/2015 3:11:15 AM] [Oxide] 3:11 AM [Debug]   at System.Collections.Generic.List`1[System.Object].get_Item (Int32 index) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.VACKicker+<OnUserApprove>c__AnonStorey0.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0
    [7/19/2015 3:11:38 AM] [EAC] Kicking 76***********69 (unconnected)
     
  3. Code:
    186.88.160.199:64635/76561199736442083/Ciro kicked: Steam Auth Startup:k_EBeginAuthSessionResultInvalidTicket
    [Oxide] 5:26 PM [Error] Web request callback raised an exception in 'VACKicker' plugin (ArgumentOutOfRangeException: Argument is out of range. Parameter name: index)
    [Oxide] 5:26 PM [Debug] at System.Collections.Generic.List`1[System.Object].get_Item (Int32 index) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VACKicker+<OnUserApprove>c__AnonStorey0.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0
     
  4. del *.*
    [DOUBLEPOST=1438729606,1438553869][/DOUBLEPOST]Would it be possible for this plugin to check VAC bans of the family share owner account too?
     
  5. one player in my server has 2 VAC BAN.why still can in my server ??
    apikey mean my steam64 id ?
    Code:
    {
      "Messages: Too many VAC Bans": "You have too many VAC Bans to join this server",
      "Settings: Max VAC allowed": 1,
      "STEAM API Key: http://steamcommunity.com/dev/apikey": ""
    }
     
  6. Wulf

    Wulf Community Admin

    No, the API key is what you get by going to that link in the config.
     
  7. I dont get it.. I used my API key and set the allowed to 0. I have no VAC bans and have never had any. But i cant connect to my server as it says i got one?
     
  8. Wulf

    Wulf Community Admin

    It may be because your profile is private, but unsure.
     
  9. My profile is friends only, does that count as private?
     
  10. Wulf

    Wulf Community Admin

    I believe so. I'm not sure if that matters or not for this plugin.
     
  11. Just tried to connect with my profile as public, same results.

    JsonSerializerSettings jsonsettings;
    static string apikey = "4FF1C***************B**E";
    static string reason = "You have too many VAC Bans to join this server";
    static int maxAllowed = 0;
    void LoadDefaultConfig() { }
     
  12. Wulf

    Wulf Community Admin

    You should be editing the config, not the plugin itself. Once you edit the config, reload the plugin.
     
  13. Where do i find the json file then? When i download the plugin i only get the cs file? :S
    Im sorry for being slow, never done this before.
     
  14. Wulf

    Wulf Community Admin

    The .cs is the plugin, it generates the config with a matching name under oxide/config.
     
  15. [Oxide] 5:35 PM [Debug] at System.Collections.Generic.List`1[System.Object].get_Item (Int32 index) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VACKicker+<OnUserApprove>c__AnonStorey0.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0
     
  16. Seems to be letting multiple VACs through.
     
  17. Is this going to get an update?
     
  18. Wulf

    Wulf Community Admin

    Are you getting errors?
     
  19. [Oxide] 10:48 AM [Error] Failed to initialize plugin 'VACKicker v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)

    > oxide.version
    [Oxide] 10:49 AM [Info] Oxide version: 2.0.1704, Rust version: 1344.113.1
    [DOUBLEPOST=1452696438,1452530675][/DOUBLEPOST]
    FYI: Turned out to be a 0 byte config file causing the problem.
     
  20. Code:
    [2/18/2016 10:01:29 AM] [Oxide] 10:01 AM [Error] Web request callback raised an exception in 'VACKicker v1.0.0' plugin (ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index)
    [2/18/2016 10:01:38 AM] [Oxide] 10:01 AM [Error] Web request callback raised an exception in 'VACKicker v1.0.0' plugin (ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index)
    [2/18/2016 10:01:49 AM] [Oxide] 10:01 AM [Error] Web request callback raised an exception in 'VACKicker v1.0.0' plugin (ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index)
    [2/18/2016 10:02:01 AM] [Oxide] 10:02 AM [Error] Web request callback raised an exception in 'VACKicker v1.0.0' plugin (ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index)
    [2/18/2016 10:03:14 AM] [Oxide] 10:03 AM [Error] Web request callback raised an exception in 'VACKicker v1.0.0' plugin (ArgumentOutOfRangeException: Argument is out of range.
    Parameter name: index)