Oxide Updated but not working
Code:Failed to call hook 'OnServerInitialized' on plugin 'PlayerChallenges v2.0.30' (NullReferenceException: Object reference not set to an instance of an object) 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 (Oxide.Core.Plugins.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0

Player Challenges
Allows titles to be set when certain criteria are met, with a UI Leader board
Total Downloads: 5,608 - First Release: Nov 11, 2015 - Last Update: May 5, 2018
- 5/5, 20 likes
-
Code:
Failed to call hook 'OnServerInitialized' on plugin 'PlayerChallenges v2.0.30' (NullReferenceException: Object reference not set to an instance of an object) 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 (Oxide.Core.Plugins.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
-
Does your config match the one on the overview?
-
-
-
Code:oxide.reload PlayerChallenges Failed to call hook 'OnServerInitialized' on plugin 'PlayerChallenges v2.0.30' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.PlayerChallenges.OnServerInitialized () [0x00000] in :0 at Oxide.Plugins.PlayerChallenges.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0
-
when i put the original .cs on plugin folder it works again, but when I change something in the configuration it gives me this error (I unload before)
Code:"Options": { "Ignore kills against sleeping players (Players killed)": false, "Ignore kills against NPC players (Players killed)": true, "Show challenge leader title tags (Requires BetterChat)": false, "Ignore all statistics recorded by admins": true, "Ignore kills for event players (Players killed)": false, "Ignore supply signals thrown (Explosives thrown)": false, "Ignore survey charges thrown (Explosives thrown)": false, "Broadcast new challenge leaders to chat": true, "Update leaders on a timer (Recommended)": false, "Create and use Oxide groups for each challenge type": false, "Update timer (hours)": 168, "Maximum tags to display (Requires BetterChat)": 2, "Data save timer (seconds)": 600, "Format of tags displayed (Requires BetterChat)": "[{TAG}]"
Last edited by a moderator: Dec 11, 2017 -
-
when it does modification and reload the plugin does not work
-
Have you changed some of the titles maybe? If so, you are not supposed to do that.Titles are meant to be named as they are.
If you changed UI position order, you need to make sure you assigned proper number to each of them. -
-
I renamed my config and reloaded the plugin. I get this.
Code:(08:07:36) | Unloaded plugin PlayerChallenges v2.0.30 by k1lly0u (08:07:36) | Failed to call hook 'OnServerInitialized' on plugin 'PlayerChallenges v2.0.30' (NullReferenceException: Object reference not set to an instance of an object) (08:07:36) | 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 (Oxide.Core.Plugins.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 hook, System.Object[] args) [0x00000] in <filename unknown>:0
- blade kills[Swordsman]
- plants gathered[Farmer]
-
Nevermind. I found Swordsman is now BladeKillsMan and Farmer is now Harvester. The overview just needs to be updated.
Btw, I fixed the above error by doing pc_wipe, then deleting all related files.
[DOUBLEPOST=1513129912][/DOUBLEPOST]Actually it's not fixed. I modified the config and the error is back.
[DOUBLEPOST=1513130116][/DOUBLEPOST]Where is the data stored for this plugin??
[DOUBLEPOST=1513130549][/DOUBLEPOST]Ok this is officially annoying. Here is the full account of what happens and it's similar to the other person.
- Load plugin, get error.
- perform pc_wipe
- Unload plugin
- Delete .cs, language file, config file
- Reupload plugin
- Load plugin, no error
- Download config
- Modify config
- Reload plugin, get error
[DOUBLEPOST=1513130738][/DOUBLEPOST]Haha omg ok, I have a new development.
- Load plugin, get error.
- perform pc_wipe
- Unload plugin
- Delete .cs, language file, config file
- Reupload plugin
- Load plugin, no error
- Unload plugin
- Reload plugin, get error
Attached Files:
-
-
Its been having problems since the last game update.I bought privately made plugin with own highscore preference but I do hope that you guys get this one updated because there are no better free alternatives.
-
Is it possible to make an update that display /pc automatic broadcast in chat 1 category that admin can deside. Not just when 1 player gets a new record. But also repeatly every hour says who is in the lead automatic in that category.
-
Manually - reloading this plugin sometimes pushes this to chat but this isn't what you are looking for. -
k1lly0u updated Player Challenges with a new update entry:
2.0.31
-
How do you set the config file to show the rank in chat with BetterChat?
"Create and use Oxide groups for each challenge type" is set to true and BetterChat is v5.0.14 -
can i change the values from a player to he can have more than he realy do lik farm etc...? i change the data file and reload the plugin but never change in the game
Last edited by a moderator: Dec 17, 2017 -
In my server the in gave tags are not correct... The person who is the first dont really have the tag in the name... What can i do and dont lose the data?