@LTrix, In your reward list has some typos, here is fixed version.
Also you reward list is long, so it will not shown in chat. Because chat has char limits.
[DOUBLEPOST=1476126822][/DOUBLEPOST]@Frank Costello, Thanks! Its late now, but i check next day what is the issue here.Code:"Reward": { "vote1": [ "wood: 10000" ], "vote3": [ "wood: 10000", "stones: 10000" ], "vote6": [ "wood: 10000", "stones: 10000", "metal.ore: 5000" ], "vote10": [ "wood: 10000", "stones: 10000", "metal.ore: 5000", "sulfur.ore: 5000" ], "vote15": [ "wood: 10000", "stones: 10000", "metal.ore: 5000", "sulfur.ore: 5000", "hq.metal.ore: 1000" ], "vote25": [ "rifle.ak: 1", "ammo.rifle: 200", "metal.ore: 10000", "sulfur.ore: 10000", "hq.metal.ore: 2000" ], "vote35": [ "rifle.bolt: 1", "ammo.rifle.hv: 50", "addlvl: 2" ], "vote50": [ "weapon.mod.small.scope: 1", "ammo.rifle.hv: 50", "weapon.mod.silencer: 1", "addlvl: 2" ], "vote70": [ "metal.fragments: 10000", "autoturret: 3", "addlvl: 2" ], "vote90": [ "explosive.timed: 50", "rocket.launcher: 1", "ammo.rocket.hv: 50", "addlvl: 2" ], "vote100": [ "addgroup: voter" ] },
EasyVote
Moved
Total Downloads: 4,115 - First Release: Aug 27, 2016 - Last Update: Mar 24, 2018
- 5/5, 14 likes
-
Thanks Exel80 !
-
I get this error:
(11:52:25) | [Oxide] 11:52 AM [Warning] Waiting for another application to stop using script: EasyVote
(11:52:26) | [Oxide] 11:52 [Debug] Load requested for plugin which is already loading: EasyVote
(11:52:27) | [Oxide] 11:52 [Info] EasyVote was compiled successfully in 1762ms
(11:52:27) | [Oxide] 11:52 [Info] Loaded plugin EasyVote v1.1.53 by Exel80
(11:52:27) | [Oxide] 11:52 [Error] Failed to initialize plugin 'EasyVote v1.1.53' (NullReferenceException: Object reference not set to an instance of an object)
(11:52:27) | [Oxide] 11:52 [Debug] at Oxide.Core.Libraries.Lang.GetMessage (System.String key, Oxide.Core.Plugins.Plugin plugin, System.String userId) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.Lang (System.String key, System.String id, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.BuildRewardList () [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.Loaded () [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
(11:52:27) | [Oxide] 11:52 [Info] Unloaded plugin EasyVote v1.1.53 by Exel80
(11:52:27) | [Oxide] 11:52 [Info] No previous version to rollback plugin: EasyVote
(11:52:29) | Saved 24,030 ents, serialization(0.00), write(0.00), disk(0.00) totalstall(0.01). -
@Tommy_vr can you upload your config file? Plugin works fine for me.
-
Attached Files:
Last edited by a moderator: Oct 15, 2016 -
-
-
Last edited by a moderator: Oct 15, 2016
-
@Tommy_vr Try delete lang/easyvote.json file. And if it not working, backup and delete all easyvote json files. (lang/easyvote.json, config/easyvote.json, data/easyvote.json)
-
@Exel80
Re-Installed all the EasyVote files. Still gets this error:
(13:42:58) | [Oxide] 13:42 [Info] EasyVote was compiled successfully in 1844ms
(13:42:58) | [Oxide] 13:42 [Info] Loaded plugin EasyVote v1.1.53 by Exel80
(13:42:58) | [Oxide] 13:42 [Error] Failed to initialize plugin 'EasyVote v1.1.53' (NullReferenceException: Object reference not set to an instance of an object)
(13:42:58) | [Oxide] 13:42 [Debug] at Oxide.Core.Libraries.Lang.GetMessage (System.String key, Oxide.Core.Plugins.Plugin plugin, System.String userId) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.Lang (System.String key, System.String id, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.BuildRewardList () [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.Loaded () [0x00000] in <filename unknown>:0
at Oxide.Plugins.EasyVote.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.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
(13:42:58) | [Oxide] 13:42 [Info] Unloaded plugin EasyVote v1.1.53 by Exel80
(13:42:58) | [Oxide] 13:42 [Info] No previous version to rollback plugin: EasyVote -
@Tommy_vr Seems like oxidemod redirect all lang files. Try update your Oxidemod Release Changelog | Page 5 | Oxide to Oxide build 2.0.2496
-
Add support so multiple servers can be voted for.
-
-
@Tommy_vr This is interesting. i got similar error report from Github also. Try this Failed to initialize plugin v1.1.153 · Issue #5 · exel80/EasyVote · GitHub
[DOUBLEPOST=1476640232][/DOUBLEPOST] -
Say I have 3 different servers to vote for
I can define the amount of points for voting for each server. A player can vote for any, and receive the defined amount. -
-
IT works, someone sent me a lang file!!
Last edited by a moderator: Oct 16, 2016 -
-
Plugin would not load getting same error as Tomm_vr i copied the lang file from overview and created file myself and it compiles seems to work but anything i edit lang file is does not change.
-
@PUREjaguar - Try to use this exact file:
OXIDE -> LANG -> EN (You may not have an EN folder, then skip this) -> PASTE THE FILEAttached Files:
-