We currently do not get this message, but with each player only a few people. Especially having the special characters in its name.
Code:[Oxide] 2:17 PM [Error] Web request callback raised an exception in 'VoteChecker' plugin (NullReferenceException: Object reference not set to an instance of an object) [Oxide] 2:17 PM [Debug] at BasePlayer.SendConsoleCommand (System.String command, System.Object[] obj) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RustPlugin.PrintToChat (.BasePlayer player, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RustPlugin.SendReply (.BasePlayer player, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VoteChecker.giveItems (.BasePlayer player, Int32 voteCount) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VoteChecker.WebRequestCallback (Int32 code, System.String response, .BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VoteChecker+<GetRewardsForThisPlayer>c__AnonStorey1.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0
Vote Checker & Rewarder
Give rewards to users for voting on game-servers.top & rust-servers.net
Total Downloads: 1,948 - First Release: Jul 12, 2015 - Last Update: Feb 15, 2016
- 5/5, 12 likes
-
[7/19/2015 8:59:00 PM] [Oxide] 8:59 PM [Error] Web request callback raised an exception in 'VoteChecker' plugin (NullReferenceException: Object reference not set to an instance of an object)
-
Thanks guys. Could you please indicate the avg amount of players on your servers?
I will release a fix in the next day -
-
Code:
[7/21/2015 4:06:44 PM] [Oxide] 4:06 PM [Debug] at BasePlayer.SendConsoleCommand (System.String command, System.Object[] obj) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RustPlugin.PrintToChat (.BasePlayer player, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RustPlugin.SendReply (.BasePlayer player, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VoteChecker.giveItems (.BasePlayer player, Int32 voteCount) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VoteChecker.WebRequestCallback (Int32 code, System.String response, .BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.VoteChecker+<GetRewardsForThisPlayer>c__AnonStorey1.<>m__0 (Int32 code, System.String response) [0x00000] in <filename unknown>:0 at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0
Last edited by a moderator: Jul 21, 2015 -
any update on this? /vote isnt working
Also, is there no way to code this so when a player types /vote ingame it votes for them via the site? It is very time consuming to ask someone to go to a website as a new player and manually type in the url to vote. Dont even know if this is possible thoughLast edited by a moderator: Aug 16, 2015 -
@Sams2 Hey there isn't any vote function, the reason why you can do it from the app is because it's against the rules of listforge. I would also have preferred your suggestion.
-
Itemname has changend from "_" to this "."
-
We use m-teleportation and every time a person uses the /home command, upon spawning after home the vote checker seems to ask for rewards and states "You have no rewards, please vote for our server to receive rewards" but if you have voted you just receive the reward without requesting it.
There might be a conflict with the m-teleportation plugin. -
same. any fix?
-
Wulf Community Admin
-
thanks. switched it out. much better
-
-
Can we configure this trough RCON?
-
Wulf Community Admin
-
I would like to reward players a voting point for a certain activity, can this be done myself? Can I access the source code of this plugin somewhere so I can have a look? What about copyrights?
-
Wulf Community Admin
Generally the rule of thumb on the internet is that unless otherwise specified, All Rights Reserved applies. -
Can I get a little help here, digging in to the .cs file, where does it add the voting point after it has checked for a valid vote?
[DOUBLEPOST=1443297768][/DOUBLEPOST]I am guessing It'sCode:(amountToGive
Code:votesNeeded
Last edited by a moderator: Sep 26, 2015 -
Hi i have a problem with this Plugin .
(12:51:02) | [Oxide] 10:47 AM [Info] [VoteChecker] Should we give? amnt:100 vtneed:1 vtcnt:5
(12:51:02) | [Oxide] 10:47 AM [Info] [VoteChecker] WARNING!: [G4E] Viper had a 5 votecount but there was no reward for that amount to give.
(12:51:02) | [Oxide] 10:47 AM [Info] [VoteChecker] Should we give? amnt:1 vtneed:1 vtcnt:5
(12:51:02) | [Oxide] 10:47 AM [Info] [VoteChecker] WARNING!: [G4E] Viper had a 5 votecount but there was no reward for that amount to give.
(12:51:02) | [Oxide] 10:47 AM [Info] [VoteChecker] Should we give? amnt:1 vtneed:1 vtcnt:5
(12:51:02) | [Oxide] 10:47 AM [Info] [VoteChecker] WARNING!: [G4E] Viper had a 5 votecount but there was no reward for that amount to give.
what is the problem ? how fix it
greez viper -
What's this apikey in the config?