Fixed in latest update
EasyVote
Moved
Total Downloads: 4,114 - First Release: Aug 27, 2016 - Last Update: Mar 24, 2018
- 5/5, 14 likes
-
-
Okay so this is what the console spits out
(05:01:19) | [Oxide] 05:02 [Error] Failed to call hook 'cmdReward' on plugin 'EasyVote v1.0.6' (IndexOutOfRangeException: Array index is out of range.)
(05:01:19) | [Oxide] 05:02 [Debug] at Oxide.Plugins.EasyVote.cmdReward (.BasePlayer player, System.String command, System.String[] args) [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.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
Okay so im using serverrewards and i want them to get RP when they vote, I also tried changing the chat command from reward to vreward so it dosnt interfear with donators doing /reward because i changed the serverreward chat command from /sr to /reward. And when i type /vote into chat the links dont come up, this is a pic of the chat http://puu.sh/r11l3/f80ef69106.jpg -
-
-
One thing I wonder about when seeing a plugin post a URL to chat is:
You can not click on a link in chat, right? So why post the link? The player usually is too lazy to click on it.
And: Is it possible to make a GUI for Rust with buttons that open a URL in a Browser? -
Solved - Clicking links in the chat? | Oxide
I dont know is it possible to do with gui Buttons. I check what i can do.
[DOUBLEPOST=1473152110][/DOUBLEPOST] -
The first version was pretty good .please do not add evrything and not to much..i like idea of easy vote .
-
Hope you still enjoy EasyVote, and sorry for all these updates -
Sadly I get an error message in server console:
[XP Manager] Syntax: xp addlvl <player> <level>
So it seems the syntax your plugin is giving to server console wrong. Sadly i cant check (perhaps add a small console output that so we can debug that)
br -
And make sure that you don't have in "godmode" (if you have that plugin),
because its broke your name with that [god] prefix. -
Code:
{ "Reward": { "vote1": [ "addlvl: 1", ], "vote2": [ "addlvl: 1", "supply.signal: 1", ], "vote3": [ "addlvl: 1", ], "vote4": [ "addlvl: 1", "supply.signal: 1", ] }, "Settings": { "Prefix": "<color=cyan>[EasyVote]</color>", "RustServersID": "", "RustServersKEY": "", "TopRustServersID": "", "TopRustServersKEY": "", }, "Variables": { "addgroup": "addgroup {playerid} {value} {value2}", "addlvl": "xp addlvl {playername} {value}", "grantperm": "grantperm {playerid} {value} {value2}", "money": "eco.c deposit {playerid} {value}", "rp": "sr add {playername} {value}", "zlvl-mg": "zlvl {playername} MG +{value}", "zlvl-s": "zlvl {playername} S +{value}", "zlvl-wc": "zlvl {playername} WC +{value}" } }
Godmode isnt installed, but Clans:IO is.
Br & thanks
Btw: I deleted my Api Keys. -
SteamID is always better then display name, but sadly xp addlvl want display name.
Try these config
Code:{ "Reward": { "vote1": [ "addlvl: 1" ], "vote2": [ "addlvl: 1", "supply.signal: 1" ], "vote3": [ "addlvl: 1" ], "vote4": [ "addlvl: 1", "supply.signal: 1" ] }, "Settings": { "Prefix": "<color=cyan>[EasyVote]</color>", "RustServersID": "", "RustServersKEY": "", "TopRustServersID": "", "TopRustServersKEY": "" }, "Variables": { "addgroup": "addgroup {playerid} {value} {value2}", "addlvl": "xp addlvl \"{playername}\" {value}", "grantperm": "grantperm {playerid} {value} {value2}", "money": "eco.c deposit {playerid} {value}", "rp": "sr add \"{playername}\" {value}", "zlvl-mg": "zlvl \"{playername}\" MG +{value}", "zlvl-s": "zlvl \"{playername}\" S +{value}", "zlvl-wc": "zlvl \"{playername}\" WC +{value}" } }
-
Bug players get rewards everytime they do /reward
-
You found it by open EasyVote.cs and go line 25, its under Helper region.
If you use 1.0.7 its should be false by default. (I just check it)
But its seems to work with me when i try it.
I earn reward what i voted.
I check later more when i have time. Other ways disable EasyVote, if you have still have this problem. -
-
-
-
Is there a way , how I can see how much vote points I have ?