Player Challenges

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

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

5/5, 20 likes
  1. I have set the Savetime to 300. But after each Restart @ 4am the Rangings are erased...
     
  2. Deleted this
     
    Last edited by a moderator: Jul 14, 2016
  3. i cant get the /pc ui to close any ideas? Everything else works fine
     
  4. NO UI closes for me. /pc, /s, /shop, /info...
     
  5. Same thing happened to other plugins with the GUI not closing.
     
  6. yes, all UI mods wont close. Shop wont close even if you unload it. I just took that .cs completely out for now until theirs updates for all these mods.
     
  7. Buttons not working, when I open the menu im unable to close it or go to the next page, and would there be a way for a player to check there own stats and a command to wipe the DB and remove players from the better chat groups?
     
  8. wulf i notice you fix a shitload of mods. Would you know of a quickfix?
     
  9. k1lly0u updated Player Challenges with a new update entry:

    2.0.3

     
  10. Compiler log

    PlayerChallenges.cs(21,34): warning CS0169: The private field `Oxide.Plugins.PlayerChallenges.Quests' is never used
    PlayerChallenges.cs(35,38): warning CS0649: Field `Oxide.Plugins.PlayerChallenges.PCUI.configdata' is never assigned to, and will always have its default value `null'


    oxide log

    [DOUBLEPOST=1468571150][/DOUBLEPOST]01:23 [Error] Failed to call hook 'OnServerInitialized' on plugin 'PlayerChallenges v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    01:23 [Debug] at Oxide.Plugins.PlayerChallenges.RegisterGroups () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.PlayerChallenges.OnServerInitialized () [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
    [DOUBLEPOST=1468571783][/DOUBLEPOST][Debug] at Oxide.Plugins.PlayerChallenges.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [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
    01:34 [Error] Failed to call hook 'OnDispenserGather' on plugin 'PlayerChallenges v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    01:34 [Debug] at Oxide.Plugins.PlayerChallenges.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [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
    01:34 [Error] Failed to call hook 'OnDispenserGather' on plugin 'PlayerChallenges v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    01:34 [Debug] at Oxide.Plugins.PlayerChallenges.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [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
    01:34 [Error] Failed to call hook 'OnDispenserGather' on plugin 'PlayerChallenges v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    01:34 [Debug] at Oxide.Plugins.PlayerChallenges.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [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
    01:34 [Error] Failed to call hook 'OnDispenserGather' on plugin 'PlayerChallenges v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    01:34 [Debug] at Oxide.Plugins.PlayerChallenges.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [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
    01:35 [Error] Failed to call hook 'OnCollectiblePickup' on plugin 'PlayerChallenges v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    01:35 [Debug] at Oxide.Plugins.PlayerChallenges.OnCollectiblePickup (.Item item, .BasePlayer player, .CollectibleEntity entity) [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
    01:35 [Error] Failed to call hook 'OnCollectiblePickup' on plugin 'PlayerChallenges v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    01:35 [Debug] at Oxide.Plugins.PlayerChallenges.OnCollectiblePickup (.Item item, .BasePlayer player, .CollectibleEntity entity) [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
    [DOUBLEPOST=1468571794][/DOUBLEPOST]is their a fix for this?
     
  11. What the problem with this plugin when someone steals there tags it splits it... goes on 3 4 5 people with the same tag..........
     
  12. post your oxide log so it can be seen from your logs folder pretty please, i wana see if its related to this onhook function.
     
  13. k1lly0u updated Player Challenges with a new update entry:

    2.0.33


    [DOUBLEPOST=1468587018][/DOUBLEPOST]
    Unload the plugin and delete your data file
    If multiple people have the same tag then something has bugged. You will have to do the following for each group that has multiple players in;
    1) Remove the group from BetterChat: (console) chat group remove <titlename> (chat) /chat group remove <titlename>
    2) Remove the group from Oxide: (console) oxide.group remove <titlename>

    Additional checks have been added to the latest update to stop this from happening
     
  14. G'day

    I d/loaded the new update from the front page and uninstalled the plug in then deleted the challenge_data file before reinstalling the new version of the plug in, I am getting this.

    (23:15:39) | [Oxide] 23:46 [Info] PlayerChallenges was compiled successfully in 1660ms
    (23:15:39) | [Oxide] 23:46 [Info] Loaded plugin PlayerChallenges v2.0.33 by k1lly0u
    (23:15:39) | [Oxide] 23:46 [Error] Failed to call hook 'OnServerInitialized' on plugin 'PlayerChallenges v2.0.33' (NullReferenceException: Object reference not set to an instance of an object)
    (23:15:39) | [Oxide] 23:46 [Debug] at Oxide.Plugins.PlayerChallenges.UserInGroup (System.String ID, System.String name) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.PlayerChallenges.AddAllUsergroups () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.PlayerChallenges.OnServerInitialized () [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
     
  15. Try this
     

    Attached Files:

  16. That looks to have worked, thanks Mate.
     
  17. Not working

    [Oxide] 18:04 [Error] Error while compiling PlayerChallenges.cs(346,31): error CS1061: Type `Planner' does not contain a definition for `ownerPlayer' and no extension method `ownerPlayer' of type `Planner' could be found. Are you missing an assembly reference?
     
  18. Confused on this one, all my other plugins are working.

    [Oxide] 11:08 [Error] PlayerChallenges plugin failed to compile!
    [Oxide] 11:08 [Error] PlayerChallenges.cs(346,31): error CS1061: Type `Planner' does not contain a definition for `ownerPlayer' and no extension method `ownerPlayer' of type `Planner' could be found. Are you missing an assembly reference?
     
  19. Fkn FP keep changing shit