:shipit: SeriousVote 4.8.4 ―Your one stop Votifier Listener API 5/6/7


#181

Basically when the server reaches 500 Votes or something There is a a grand prize for players and something happens on the server.


#182

Hello,

I've recently updated one of my servers from 1.7.10 to 1.10.2 and I'm having trouble getting my votes to work.

Here's a copy of my Config, in case I set that up wrong.
http://www.codesend.com/view/02aaa288c534adc4ec93b9728777feb2/

I'm using the same port and the same websites as before, they're set up correctly, I have NuVotifier installed, /vote works; yet when anyone votes nothing happens, not even an error or a message in console. I'm beginning to think the error is with NuVotifier, but I wanted to check with you first.


#183

the dev-5 build got worse with rewards being lost.


#184

@Khaoz Do you know if this got fixed?


#185

My guess is no, I'm gonna try to get this resolved today. It seems to be a common problem with pixelmon servers, and has happened in the past a bunch.


#186

SeriousVote 3.1 Bug Fixes

--Fixed some serious NPE's when milestones are not loaded.
https://raw.githubusercontent.com/curscascis/SeriousVote/master/build/libs/seriousvote-3.1.jar


#187

Yea, was having the same problem with simple votifier listener, before I started using SV; hopefully you can find a fix, it's really annoying seeing it spam the console.


#188

yep I understand, I was talking with blood it seems to be triggered by nuVotifier running async. That's what my whole fix for it was doing, which seems to have improved the situation, but not enough.I'll do my best.


#189

Would you care to test a build for me?

https://github.com/curscascis/SeriousVote/raw/bleeding/build/libs/seriousvote-3.2-Bleeding.jar

@Khaoz


VoteRight - Sponge's First Votifier Listener [Discontinued]
What are people using as Vote Listener?
#190

I've added bleeding to my server to test it. will provide feedback shortly.


#191

Thank you very much I appreciate it. It's difficult since I can't reproduce the error.


#192
[02:43:59] [pool-2-thread-1/INFO] [seriousvote]: Vote Registered From pixelmonservers.com for Tridaak
[02:43:59] [pool-2-thread-1/INFO] [seriousvote]: Choosing a random reward.
[02:43:59] [pool-2-thread-1/INFO] [seriousvote]: Chose Reward from Table4000
[02:43:59] [pool-2-thread-1/INFO] [seriousvote]: Player Tridaak voted and received Premier Balls &
[02:43:59] [pool-2-thread-1/INFO] [seriousvote]: Player Tridaak voted and received Premier Balls &
[02:44:19] [User Authenticator #1/INFO]: UUID of player Tridaak is 57838f9a-6cfe-4873-aa81-3337d1ff3d04
[02:44:21] [Netty Epoll Server IO #6/INFO] [FML]: Client protocol version 2
[02:44:21] [Netty Epoll Server IO #6/INFO] [FML]: Client attempting to join with 5 mods : mercurius_updater@1.0,FML@8.0.99.99,Forge@12.18.3.2185,mcp@9.19,pixelmon@5.0.1
[02:44:21] [Netty Epoll Server IO #6/INFO] [FML]: Attempting connection with missing mods [spongeapi, sponge, nucleus-mixin, economylite, gameshark, griefprevention, mysterygift, nucleus, nuvotifier, permissionsex, pixelannouncer, pixelextras, pixelmoneconomybridge, pixelshout, seriousvote, wondertrade, worldedit] at CLIENT
[02:44:21] [Server thread/INFO] [FML]: [Server thread] Server side modded connection established
[02:44:21] [Server thread/INFO]: Tridaak[/104.158.35.3:63413] logged in with entity id 244 in Poke-Craft(0) at (12733.204451453035, 77.0, -10978.142491790837)
[02:44:22] [Server thread/INFO] [seriousvote]: Choosing a random reward.
[02:44:22] [Server thread/INFO] [seriousvote]: Chose Reward from Table4000
[02:44:22] [Server thread/INFO] [seriousvote]: Player Tridaak voted and received Shiny stone shards &
[02:44:22] [Server thread/INFO] [seriousvote]: Player Tridaak voted and received Shiny stone shards &
[02:44:22] [Server thread/INFO] [nucleus]: Server ran the command: /give Tridaak pixelmon:premier_ball 6
[02:44:22] [Server thread/INFO]: Given [Premier Ball] * 6 to Tridaak
[02:44:22] [Server thread/INFO] [nucleus]: Server ran the command: /econ add Tridaak 200
[02:44:22] [Server thread/INFO] [nucleus]: Server ran the command: /tellraw Tridaak {"text":"Thank you for voting, you got 200 PokeDollars and possibly an item!", "color":"green"}
[02:44:22] [Server thread/INFO] [nucleus]: Server ran the command: /give Tridaak pixelmon:shiny_stone_shard 2
[02:44:22] [Server thread/INFO]: Given [Shiny Stone Shard] * 2 to Tridaak
[02:44:22] [Server thread/INFO] [nucleus]: Server ran the command: /econ add Tridaak 200
[02:44:22] [Server thread/INFO] [nucleus]: Server ran the command: /tellraw Tridaak {"text":"Thank you for voting, you got 200 PokeDollars and possibly an item!", "color":"green"}
[02:44:22] [Server thread/INFO] [seriousvote]: Creating a new record for 57838f9a-6cfe-4873-aa81-3337d1ff3d04.
[02:44:22] [pool-2-thread-4/INFO]: Successfully added currency to the balance of Tridaak!
[02:44:22] [pool-2-thread-1/INFO]: Successfully added currency to the balance of Tridaak!
[02:44:22] [Server thread/INFO]: + Tridaak

Offline votes are counting twice.


#193

I'll take a look at that, I was a fraid that might happen. Thanks for testing. Did you stop receiving the other error?


#194

Nope... well, I voted 6 times, received rewards for 4 of those.
For 2 of the ones I received rewards, they were offline votes, and did not get the error message.
For the other two (ones when I was online), I did get the error message.

I'm not sure if it's coincidence or something's up, so figured I'd let you know which did which.


#195

can i see a copy of the log with the error message please? It would come in handy


#196

Also can you verify that offline votes are counting twice, and that you already had an offline vote stored?


#197
[03:06:50] [pool-2-thread-5/INFO]: Successfully added currency to the balance of Tridaak!
[03:07:11] [pool-2-thread-3/INFO] [seriousvote]: Vote Registered From Minepick.com for tridaak
[03:07:11] [pool-2-thread-3/INFO] [seriousvote]: Choosing a random reward.
[03:07:11] [pool-2-thread-3/INFO] [seriousvote]: Chose Reward from Table2700
[03:07:11] [pool-2-thread-3/INFO] [seriousvote]: Player tridaak voted and received Fossil 4 &
[03:07:11] [pool-2-thread-3/INFO] [seriousvote]: Player tridaak voted and received Fossil 4 &
[03:07:11] [pool-2-thread-3/INFO] [nucleus]: Server ran the command: /give tridaak pixelmon:covered_fossil_4 1
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]: java.lang.Exception: Stack trace
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at java.lang.Thread.dumpStack(Thread.java:1333)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.entity.EntityTracker.handler$onAddEntityToTracker$zda000(EntityTracker.
java:576)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.entity.EntityTracker.func_72785_a(EntityTracker.java)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.entity.EntityTracker.func_72786_a(EntityTracker.java:139)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.world.ServerWorldEventHandler.func_72703_a(ServerWorldEventHandler.java
:33)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.world.World.func_72923_a(World.java:1142)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.world.WorldServer.func_72923_a(WorldServer.java:1118)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.world.WorldServer.onSpongeEntityAdded(WorldServer.java:2822)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.world.WorldServer.forceSpawnEntity(WorldServer.java:2868)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.world.WorldServer.forceSpawnEntity(WorldServer.java:2851)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.common.event.tracking.phase.TrackingPhase.spawnEntityOrCapture(Trac
kingPhase.java:284)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.common.event.tracking.phase.general.GeneralPhase.spawnEntityOrCaptu
re(GeneralPhase.java:357)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.common.event.tracking.CauseTracker.spawnEntity(CauseTracker.java:55
8)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.world.WorldServer.func_72838_d(WorldServer.java:2593)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.common.entity.EntityUtil.dropItemAndGetStack(EntityUtil.java:1115)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.common.entity.EntityUtil.playerDropItem(EntityUtil.java:1075)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.entity.player.EntityPlayer.func_146097_a(EntityPlayer.java:3561)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.entity.player.EntityPlayer.func_71019_a(EntityPlayer.java:3502)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.command.CommandGive.func_184881_a(SourceFile:75)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.minecraft.command.CommandHandler.func_175786_a(CommandHandler.java:104)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.common.command.MinecraftCommandWrapper.tryExecute(MinecraftCommandWrapper.java:143)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.common.command.MinecraftCommandWrapper.process(MinecraftCommandWrapper.java:129)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:333)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:295)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.adamsanchez.seriousvote.SeriousVote.giveReward(SeriousVote.java:549)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.adamsanchez.seriousvote.SeriousVote.giveVote(SeriousVote.java:590)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at net.adamsanchez.seriousvote.SeriousVote.onVote(SeriousVote.java:513)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.common.event.listener.VotifierEventListener_SeriousVote_onVote27.handle(Unknown Source)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:301)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:330)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.mod.event.SpongeModEventManager.post(SpongeModEventManager.java:314)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at com.vexsoftware.votifier.sponge.VotifierPlugin$3.run(VotifierPlugin.java:356)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.api.scheduler.Task$Builder.lambda$execute$0(Task.java:138)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at org.spongepowered.common.scheduler.SchedulerBase.lambda$startTask$0(SchedulerBase.java:183)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[03:07:11] [pool-2-thread-3/INFO] [STDERR]: [java.lang.Thread:dumpStack:1333]:  at java.lang.Thread.run(Thread.java:745)
[03:07:11] [pool-2-thread-3/ERROR] [Sponge]: Detected attempt to add entity 'EntityItem['item.item.covered_fossil_4'/1435, l='Poke-Craft', x=502.33, y=86.24, z=93.42]' to tracker asynchronously.
 This is very bad as it can cause ConcurrentModificationException's during a server tick.
 Skipping...
[03:07:11] [pool-2-thread-3/INFO]: Given [Covered Fossil] * 1 to Tridaak

Also, forgot to mention, it displays the reward you get twice. As you can see.

[03:07:11] [pool-2-thread-3/INFO] [seriousvote]: Player tridaak voted and received Fossil 4 &
[03:07:11] [pool-2-thread-3/INFO] [seriousvote]: Player tridaak voted and received Fossil 4 &

And have a question about the ongoing vote rewards thing. If I vote for a week, I can get a reward.... but what happens when I vote for 2 weeks, do I get anything or would I need to wait to get to the 30 day vote reward?


#198

You get the reward every week.


#199

Can you quickly verify that you are using the bleeding build?


#200

When I updated the mod, I did the following (I had no votes stored previous to this, always vote when online).
-Voted offline

Got 2 rewards
-Voted online
Got 1 reward and error
-Voted offline
Got 2 rewards (well, one that said I got nothing and then another that gave me an item)
-Voted online
Got nothing
-Voted online
Got nothing
-Voted online
Got 1 reward and error.