Getting this errorCode:Failed to call hook 'cmdReward' on plugin 'EasyVote v2.0.33' (IndexOutOfRangeException: Array index is out of range.) at Oxide.Plugins.EasyVote.cmdReward (.BasePlayer player, System.String command, System.String[] args) [0x00000] in :0 at Oxide.Plugins.EasyVote.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
EasyVote
Moved
Total Downloads: 4,114 - First Release: Aug 27, 2016 - Last Update: Mar 24, 2018
- 5/5, 14 likes
-
-
Does this plugin not work anymore? When i vote and have the correct API it doesn't ./claim them. It just says "checking the voting sites....." Also when i /vote it doesn't list any servers to vote on even though 2 of them are listed exactly how default listed them
-
Request: Bring back admin /vote test cmd. Really useful to check if everything is working as it should.
-
Config location -> oxide/config/EasyVote.json
Logs location -> oxide/logs/EasyVote
[DOUBLEPOST=1518951924][/DOUBLEPOST]
Save config & o.reload EasyVote
Optional: Also you can remove other useless lines, if you only use RustServers.
Fixed version here:
Code:"Servers": { "ServerName1": { "RustServers": "138711:QqoLvqhF3*********cULeqXv25k8f3oH" } },
Config location -> oxide/config/EasyVote.json
Logs location -> oxide/logs/EasyVoteLast edited by a moderator: Feb 18, 2018 -
Changelog:
- Default configs no longer include ServerName1 or ServerName2
- Added few admin commands
- voteadmin test - Test reward(s)
- voteadmin reload - Reload config
- voteadmin addvotepage (ServerName) (VoteSite ID) (API ID) (API KEY) - Add vote page. If ServerName does not exist, it will create it. VoteSite ID is (0:
Beancan | 1: RustServers), if you just type /voteadmin addvotepage then id list will printed in chat.
- voteadmin delvotepage (ServerName) [Optional: VoteSite ID] - Remove one (or if you leave VoteSite ID empty it will remove all vote pages) vote
page(s)
- voteadmin servers - List all vote page(s)
-
The plugin works fine on my server. However i have a question.
I have set up the vote system by rewarding my players with money every time they vote so they can buy stuff from the shop.
Vote nr 1 gives 500 Vote nr 2 gives 1000 and so on till Vote nr 10.
Is there any command to reset the players vote? so that they can start from Vote nr 1?
I would really want to reset all votes after every wipe, but cant find any command for that./ Thx -
Is there a tutorial somewhere for this?
-
Code:"Servers": { "ServerName1": { <--- Name can be changed what you want "RustServers": "ID:KEY" } },
-
Is there any way to make it possible to implement voting for topg rust server?
The use a postback.php file to do the work and a external website. I am new to this so i don't have any idea to do so. But i have a website i can use for votes.
Here are a link to the postback.php file and votecheck system:
Voting Check -
-
Wont work it says checking voting websites... and nothing happens all set up correctly and few errors in console? anyone know how to fix this? thanks
ive tried reinstalling and changing only server API and still nothing -
Also remember gave "EasyVote.Use" permission to players -
changed API key charters before i uploaded but is that the correct format?Attached Files:
-
-
Failed to call hook 'OnPlayerSleepEnded' on plugin 'EasyVote v2.0.34' (IndexOutOfRangeException: Array index is out of range.) at Oxide.Plugins.EasyVote.OnPlayerSleepEnded (.BasePlayer player) [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 (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 -
Line 47
Use this format ID:KEY example 123:asd
Id can be found from vote link URL (http://rust-servers.net/server/-> 123 <-) -
-
returns 0 votes after voting, no rewards. "something went wrong, we got 0 error from website, try again later"
Code:| Failed to call hook 'cmdReward' on plugin 'EasyVote v2.0.34' (IndexOutOfRangeException: Array index is out of range.)at Oxide.Plugins.EasyVote.cmdReward (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.EasyVote.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0(14:07:46) | Failed to call hook 'cmdReward' on plugin 'EasyVote v2.0.34' (IndexOutOfRangeException: Array index is out of range.)at Oxide.Plugins.EasyVote.cmdReward (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.EasyVote.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0(14:07:48) | [EasyVote] Error: 0 - Couldn't get an answer for an original name (RustServers)(14:07:48) | [EasyVote] Error: 0 - Couldn't get an answer for an original name (Beancan)(14:07:48) | [EasyVote] Error: 0 - Couldn't get an answer for an original name (TopRustServers)(14:07:52) | [EasyVote] Error: 0 - Couldn't get an answer for PLAYERNAME IS HERE (RustServers)(14:07:52) | [EasyVote] Error: 0 - Couldn't get an answer for PLAYERNAME IS HERE (TopRustServers)(14:07:52) | [EasyVote] Error: 0 - Couldn't get an answer for PLAYERNAME IS HERE (Beancan)
Last edited by a moderator: Mar 10, 2018 -
Can you send me your Config json? -
Is it possible with timer to announcment? Nobody knows that its Vote on the server.