Player Challenges

Allows titles to be set when certain criteria are met, with a UI Leader board

Total Downloads: 5,643 - First Release: Nov 11, 2015 - Last Update: May 5, 2018

5/5, 20 likes
  1. Post what it says in console when it kicks someone
     
  2. This was the last thing on the console.
    [Oxide] 14:40 [Warning] Calling 'cmdChangePage' on 'PlayerChallenges v2.0.35' took 279ms
    Then all players got disconnect one by one.
    Before the kicking there are huge lags.
     
  3. Very nice how this Plugin looks now :)

    2 things:
    - NPC are counting, is there a way to disable this?
    - Some of the challenges are not displayed with /pc, any idea why?
    x2.JPG
     
  4. That is just a time warning, there is next to no chance this is responsible for kicking all your players
    If you have them disabled then they wouldn't show. If that's the case move the disabled categories to the end of the UI list
     

  5. @k1lly0u
    I had different disconnects in different times on the server with PlayerChallenges. Now i have removed it and it did not happend again.
    There was no special Error before. It just startet disconnecting one by one.
     
  6. Code:
    {
      "ActiveChallengeTypes": {
        "Animals": true,
        "Arrows": true,
        "Built": true,
        "Clothes": true,
        "Explosives": true,
        "Headshots": true,
        "Healed": true,
        "Killed": true,
        "Melee": true,
        "Plants": true,
        "PVEKill": true,
        "PVPKill": true,
        "Quests": true,
        "Repaired": true,
        "Revolver": true,
        "Rockets": true,
        "Rocks": true,
        "Swords": true,
        "Weapons": true,
        "Wood": true
      },
      "Messaging": {
        "MSG_ColorMain": "<color=orange>",
        "MSG_ColorMsg": "<color=#939393>"
      },
      "Options": {
        "AnnounceNewLeaders": true,
        "IgnoreAdmins": true,
        "IgnoreSleepers": true,
        "SaveTimer": 600,
        "UpdateTimer": 168,
        "UseBetterChat": true,
        "UseUpdateTimer": false
      },
      "Titles": {
        "AnimalsKilled": "Jagdmeister",
        "ArrowKills": "Bogenmeister",
        "BladeKills": "Schwertmeister",
        "ClothesCrafted": "Nähmaschine",
        "Headshots": "KopfschussMeister",
        "MeleeKills": "NahkampfMeister",
        "PlantsGathered": "Farmer",
        "PlayersHealed": "Heiler",
        "PlayersKilled": "Killer",
        "PVEKillDistance": "NPC-Sniper",
        "PVPKillDistance": "Sniper",
        "QuestsCompleted": "Abenteurer",
        "RevolverKills": "Revolverheld",
        "RocketsFired": "Raketenwerfer",
        "RocksGathered": "Steinhacker",
        "StructuresBuilt": "Baumeister",
        "StructuresRepaired": "Hausmeister",
        "ThrownExplosives": "Bomberman",
        "WeaponsCrafted": "Waffenschmied",
        "WoodGathered": "Holzhacker"
      },
      "UI_Arrangement": [
        "Tiere",
        "Pfeile",
        "Gebaut",
        "Kleidung",
        "Explosivstoffe",
        "Headshots",
        "Geheilt",
        "Killed",
        "Nahkampf",
        "Pflanzen",
        "PVEKill",
        "PVPKill",
        "Quests",
        "Repariert",
        "Revolver",
        "Raketen",
        "Steine",
        "Schwert",
        "Waffen",
        "Holz"
      ]
    }
    Hm didn't disabled them.
    I think it's the translation. But I wonder why some of them work and others don't.
     
  7. Yes it would be, I'm surprised it worked at all like that lol. I'll add the names to lang when I get some time
     
  8. With the English part it works again ;)
     
  9. Similar problem, but only for some players.
    If they switch to the last page their game freezes and they have to restart the game
    Error:
    Code:
    [Error] Failed to call hook 'cmdChangePage' on plugin 'PlayerChallenges v2.0.35' (ArgumentException: An element with the same key already exists in the dictionary.)
     
  10. Post your config so I can try it
     
  11. here the log to this error:
    Code:
    20:52 [Error] Failed to call hook 'cmdChangePage' on plugin 'PlayerChallenges v2.0.35' (ArgumentException: An element with the same key already exists in the dictionary.)
    20:52 [Debug]   at System.Collections.Generic.Dictionary`2[System.String,System.Int32].Add (System.String key, Int32 value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayerChallenges.GetLeaders (CTypes type) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayerChallenges.AddMenuStats (Oxide.Game.Rust.Cui.CuiElementContainer& MenuElement, System.String panel, System.String type, System.String posMinA, System.String posMaxA, System.String posMinB, System.String posMaxB) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayerChallenges.CreateMenuContents (.BasePlayer player, Int32 page) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayerChallenges.cmdChangePage (.Arg arg) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PlayerChallenges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 
    and here my config.
    I wasn't able to reproduce this problem, so far it happend for 4 people several times but not to me.
    Would be nice if you can find the problem.
     

    Attached Files:

  12. You have 2 players with the same name display name. I added a random number to the players name when this happens, there is a 1 in 1000 chance its the same number and you got the same number lol. Either find the duplicate display name in your data file and rename it, or post it here and I will
     
  13. Guess I found the Problem.
    I have some hostile NPC, all named the same.
    And those are counted as players too.
    So I guess I have to change their names... or is there a way to ignore NPCs ?
    [DOUBLEPOST=1470829650][/DOUBLEPOST]Ok, after counting them from 1 to 12 it works again...
     
  14. Ill see if I can find a way to ignore them
     
  15. Hi, this plugin seems like a great idea!

    I am having a problem though. I have installed the plugin and also betterchat and when I rank to the top of a skill it doesn't seem to want to give me the title. It at the moment just says [player] NAME.
     
  16. Hey, would it be possible to add a stat for helicopter downs ?
     
  17. Hello i'm new and i have a problem i installed BetterChat and PlayerChallenges to my server and i work but i dont see the grade to my people server why the command /pc good but i not found tuto for use betterchat for playerchallenges can you help me please


    sorry for my english i'm french
     
  18. I'm not sure if I missed it but is there a way to clear the challenges to start over?
     
  19. @k1lly0u

    Any possibility of adding 2nd and 3rd place to the better chat groups too? (probably best if turned off by default)

    Edit: i didnt describe that very well.

    Separate groups, IE, "Lumberjack 2nd" "Gunslinger 3rd" and so on....
     
  20. Any way to reset the table after a wipe? i deleted and reinstalled but loads old one back up