I hope you can help me
I hope you can help me
As you said all seem good with the console (no error), last problem could be come from config/data
Can you post here your config file and data file please
(13:52:43) | Failed to call hook 'Unload' on plugin 'Lottery v1.2.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Lottery.SaveData (System.Collections.Generic.Dictionary`2[TKey,TValue] datas) [0x00000] in <185b84a6bc8d4de8a620e98a16081467>:0
at Oxide.Plugins.Lottery.Unload () [0x0005e] in <185b84a6bc8d4de8a620e98a16081467>:0
at Oxide.Plugins.Lottery.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00223] in <185b84a6bc8d4de8a620e98a16081467>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <33f7c42a56934dae8ec04b11017dce31>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <33287985591c40d6983f0b8f0e915565>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <33287985591c40d6983f0b8f0e915565>:0if i overwrite the en file with the de file the same error will shown me, so i have to delete the German file and only can use the english file, than the Plugin works without any Problems.
It is possible that i can use the German data for my German Players, because a few Players can't speak and read English. I translate all english lang datas from all plugins in German that my players can understand all options that a plugin can do and how it works.
BlackJackFW95i reset the plugin,
oxide version: v2.0.4462
server version: (13:45:53) | Protocol: 2215.189.1
Build Date: 02/19/2020 12:44:34
Unity Version: 2019.2.0f1
Changeset: 47193
Branch: release
I found the Problem: i can't use the German Lang data, if i put them in the "de" file in Lang the console show me this Problem:(13:52:43) | Failed to call hook 'Unload' on plugin 'Lottery v1.2.5' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Lottery.SaveData (System.Collections.Generic.Dictionary`2[TKey,TValue] datas) [0x00000] in <185b84a6bc8d4de8a620e98a16081467>:0 at Oxide.Plugins.Lottery.Unload () [0x0005e] in <185b84a6bc8d4de8a620e98a16081467>:0 at Oxide.Plugins.Lottery.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00223] in <185b84a6bc8d4de8a620e98a16081467>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <33f7c42a56934dae8ec04b11017dce31>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <33287985591c40d6983f0b8f0e915565>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <33287985591c40d6983f0b8f0e915565>:0if i overwrite the en file with the de file the same error will shown me, so i have to delete the German file and only can use the english file, than the Plugin works without any Problems.
It is possible that i can use the German data for my German Players, because a few Players can't speak and read English. I translate all english lang datas from all plugins in German that my players can understand all options that a plugin can do and how it works.
Well, you probably have an error in your lang file. you may try to pass your file to a json formatter/validator