[Outdated] Vote Rewards

Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
Multiple ServerKey's doesnt work after you added them all you cant use the command or atleast no responce.

Maybe your problem is that you only execute the program once, you have to execute it up to 3 times as maximum, which is the number of votes that you allow to do per day, each time you execute it gives you the votes of one of the 3 servers.
 
Maybe your problem is that you only execute the program once, you have to execute it up to 3 times as maximum, which is the number of votes that you allow to do per day, each time you execute it gives you the votes of one of the 3 servers.
It doesnt register my command/vote at all until i remove all the keys and let 1 stay (from 5 keys to 1) and try the command again.

@Michidu mind releasing this plugin open source? or atleast give me the code to use it in different plugins.
 
Last edited:
everytime 2 or more people /votereward at the same time the server crashes well Ark has stopped responding not even a crash report just stops responding
 
everytime 2 or more people /votereward at the same time the server crashes well Ark has stopped responding not even a crash report just stops responding

Confirmed for my servers as well. If players execute a vote reward one at a time then all is fine. But if one player runs it multiple times (for multiple claims) or if two+ players run it at the same time it results in a timeout -> crash.
 
Confirmed for my servers as well. If players execute a vote reward one at a time then all is fine. But if one player runs it multiple times (for multiple claims) or if two+ players run it at the same time it results in a timeout -> crash.

anyone found a fix for this?

pls fix it, we had to disable this plugin because crash servers.

I have added a task for this, Will get back after some verification. Thanks for the great report @Jiro_89 will set this as default test scenario for the verification of this plugin!
 
I'm still getting a server crash with the latest APi and plugin versions.

When doing /votereward for the first time, it says checking rewards for all 3 servers and then it crashes the server. I restart the server and /votereward again and it works, but says the first 2 votes have been claimed (but no points), and awards the 3rd set of points.
As I can only test this once a day (unless someone can point me to a way to reset my votes), I can't add much more info until tomorrow as I didnt think to screenshot the errors until it was too late.

{
"ServerKey":"key1,key2,key3",
"ShopPoints":100,
"Cooldown":60,
"ItemsConfig":{
"Items":[
],
"Dinos":[
]
},
"Messages":{
"Sender":"VoteRewards",
"Command":"/votereward",
"RequestFailed":"<RichColor Color=\"1, 0, 0, 1\">Server {}: Request has failed, please try again later</>",
"VoteNotFound":"<RichColor Color=\"1, 0, 0, 1\">Server {}: Your vote wasn't found</>",
"VoteClaimed":"<RichColor Color=\"1, 0, 0, 1\">Server {}: Your reward has already been claimed</>",
"VoteNotClaimed":"<RichColor Color=\"1, 0, 0, 1\">Server {}: Your vote has not been claimed</>",
"SuccessfullyClaimed":"<RichColor Color=\"0, 1, 0, 1\">Server {}: You have successfully claimed your reward</>",
"CheckingVote":"Checking vote for server {0}..",
"CooldownMsg":"<RichColor Color=\"1, 0, 0, 1\">Cooldown {} seconds</>"
}
}
 
I updatet the plugins today aswell and voterewards is crashing them instantly.

Code:
{
  "ServerKey":"key1,key2,key3,key4,key5",
  "ShopPoints":50,
  "Cooldown":30,
  "ItemsConfig":{
    "Items":[
      {
        "Amount":0,
        "Quality":0,
        "ForceBlueprint":false,
        "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle'"
      }
    ]
  },
  "Messages":{
    "Sender":"VoteRewards",
    "Command":"/votereward",
    "RequestFailed":"<RichColor Color=\"1, 0, 0, 1\">Server {}: Request has failed, please try again later</>",
    "VoteNotFound":"<RichColor Color=\"1, 0, 0, 1\">Server {}: Your vote wasn't found</>",
    "VoteClaimed":"<RichColor Color=\"1, 0, 0, 1\">Server {}: Your reward has already been claimed</>",
    "VoteNotClaimed":"<RichColor Color=\"1, 0, 0, 1\">Server {}: Your vote has not been claimed</>",
    "SuccessfullyClaimed":"<RichColor Color=\"0, 1, 0, 1\">Server {}: You have successfully claimed your reward</>",
    "CheckingVote":"Checking vote for server {0}..",
    "CooldownMsg":"<RichColor Color=\"1, 0, 0, 1\">Cooldown {} seconds</>"
  }
}
 
I updatet the plugins today aswell and voterewards is crashing them instantly.

Code:
{
  "ServerKey":"key1,key2,key3,key4,key5",
  "ShopPoints":50,
  "Cooldown":30,
  "ItemsConfig":{
    "Items":[
      {
        "Amount":0,
        "Quality":0,
        "ForceBlueprint":false,
        "Blueprint":"Blueprint'/Game/PrimalEarth/CoreBlueprints/Items/Armor/Saddles/PrimalItemArmor_CarnoSaddle.PrimalItemArmor_CarnoSaddle'"
      }
    ]
  },
  "Messages":{
    "Sender":"VoteRewards",
    "Command":"/votereward",
    "RequestFailed":"<RichColor Color=\"1, 0, 0, 1\">Server {}: Request has failed, please try again later</>",
    "VoteNotFound":"<RichColor Color=\"1, 0, 0, 1\">Server {}: Your vote wasn't found</>",
    "VoteClaimed":"<RichColor Color=\"1, 0, 0, 1\">Server {}: Your reward has already been claimed</>",
    "VoteNotClaimed":"<RichColor Color=\"1, 0, 0, 1\">Server {}: Your vote has not been claimed</>",
    "SuccessfullyClaimed":"<RichColor Color=\"0, 1, 0, 1\">Server {}: You have successfully claimed your reward</>",
    "CheckingVote":"Checking vote for server {0}..",
    "CooldownMsg":"<RichColor Color=\"1, 0, 0, 1\">Cooldown {} seconds</>"
  }
}

That is not a votereward related crash.
Edit: It is a votereward related crash, cannot tell if its votereward itself or the connection to and from the api.. Michidu knows.
 
That is not a votereward related crash.
Edit: It is a votereward related crash, cannot tell if its votereward itself or the connection to and from the api.. Michidu knows.
I have verified that And it is something with the Vote Reward when you have more than 2 servers in the config and after you have voted and executed the /votereward command the server crash instant.
 
I have verified that And it is something with the Vote Reward when you have more than 2 servers in the config and after you have voted and executed the /votereward command the server crash instant.

I am having the same thing happen to my server, yet mine is not a clustered server. When I or someone does /votereward server crashes and i have never switched or changed anything on my config besides the update and this started happening. Before my server would stay up for 1-2 days at a time.

F a t a l e r r o r !



V E R S I O N : 2 8 2 . 1 0 2
S h o o t e r G a m e S e r v e r . e x e ! F H a n g T h r e a d W a t c h e r : : H a n g e D e t e c t e d ( ) ( 0 x 0 0 0 0 0 0 0 1 4 1 0 e f a 7 0 ) + 0 b y t e s [ d : \ b u i l d \ p c \ e n g i n e \ s o u r c e \ r u n t i m e \ e n g i n e \ p r i v a t e \ g a m e e n g i n e . c p p : 1 6 9 ]
S h o o t e r G a m e S e r v e r . e x e ! F H a n g T h r e a d W a t c h e r : : R u n ( ) ( 0 x 0 0 0 0 0 0 0 1 4 1 0 e f 9 b c ) + 0 b y t e s [ d : \ b u i l d \ p c \ e n g i n e \ s o u r c e \ r u n t i m e \ e n g i n e \ p r i v a t e \ g a m e e n g i n e . c p p : 1 3 3 ]
S h o o t e r G a m e S e r v e r . e x e ! F R u n n a b l e T h r e a d W i n : : R u n ( ) ( 0 x 0 0 0 0 0 0 0 1 4 0 b 5 8 a f f ) + 0 b y t e s [ d : \ b u i l d \ p c \ e n g i n e \ s o u r c e \ r u n t i m e \ c o r e \ p r i v a t e \ w i n d o w s \ w i n d o w s r u n n a b l e t h r e a d . c p p : 7 3 ]
S h o o t e r G a m e S e r v e r . e x e ! F R u n n a b l e T h r e a d W i n : : G u a r d e d R u n ( ) ( 0 x 0 0 0 0 0 0 0 1 4 0 b 5 8 9 f 8 ) + 8 b y t e s [ d : \ b u i l d \ p c \ e n g i n e \ s o u r c e \ r u n t i m e \ c o r e \ p r i v a t e \ w i n d o w s \ w i n d o w s r u n n a b l e t h r e a d . c p p : 2 6 ]
k e r n e l 3 2 . d l l ! U n k n o w n F u n c t i o n ( 0 x 0 0 0 0 0 0 0 0 7 6 d 3 5 9 c d ) + 0 b y t e s [ U n k n o w n F i l e : 0 ]
n t d l l . d l l ! U n k n o w n F u n c t i o n ( 0 x 0 0 0 0 0 0 0 0 7 6 e 9 3 8 3 d ) + 0 b y t e s [ U n k n o w n F i l e : 0 ]
n t d l l . d l l ! U n k n o w n F u n c t i o n ( 0 x 0 0 0 0 0 0 0 0 7 6 e 9 3 8 3 d ) + 0 b y t e s [ U n k n o w n F i l e : 0 ]
Last Replicated Actor FabledStyracosaurus_Character_BP_C_1
Last Remote Function Spike_Raise_Visual
 
I am having the same thing happen to my server, yet mine is not a clustered server. When I or someone does /votereward server crashes and i have never switched or changed anything on my config besides the update and this started happening. Before my server would stay up for 1-2 days at a time.

F a t a l e r r o r !



V E R S I O N : 2 8 2 . 1 0 2
S h o o t e r G a m e S e r v e r . e x e ! F H a n g T h r e a d W a t c h e r : : H a n g e D e t e c t e d ( ) ( 0 x 0 0 0 0 0 0 0 1 4 1 0 e f a 7 0 ) + 0 b y t e s [ d : \ b u i l d \ p c \ e n g i n e \ s o u r c e \ r u n t i m e \ e n g i n e \ p r i v a t e \ g a m e e n g i n e . c p p : 1 6 9 ]
S h o o t e r G a m e S e r v e r . e x e ! F H a n g T h r e a d W a t c h e r : : R u n ( ) ( 0 x 0 0 0 0 0 0 0 1 4 1 0 e f 9 b c ) + 0 b y t e s [ d : \ b u i l d \ p c \ e n g i n e \ s o u r c e \ r u n t i m e \ e n g i n e \ p r i v a t e \ g a m e e n g i n e . c p p : 1 3 3 ]
S h o o t e r G a m e S e r v e r . e x e ! F R u n n a b l e T h r e a d W i n : : R u n ( ) ( 0 x 0 0 0 0 0 0 0 1 4 0 b 5 8 a f f ) + 0 b y t e s [ d : \ b u i l d \ p c \ e n g i n e \ s o u r c e \ r u n t i m e \ c o r e \ p r i v a t e \ w i n d o w s \ w i n d o w s r u n n a b l e t h r e a d . c p p : 7 3 ]
S h o o t e r G a m e S e r v e r . e x e ! F R u n n a b l e T h r e a d W i n : : G u a r d e d R u n ( ) ( 0 x 0 0 0 0 0 0 0 1 4 0 b 5 8 9 f 8 ) + 8 b y t e s [ d : \ b u i l d \ p c \ e n g i n e \ s o u r c e \ r u n t i m e \ c o r e \ p r i v a t e \ w i n d o w s \ w i n d o w s r u n n a b l e t h r e a d . c p p : 2 6 ]
k e r n e l 3 2 . d l l ! U n k n o w n F u n c t i o n ( 0 x 0 0 0 0 0 0 0 0 7 6 d 3 5 9 c d ) + 0 b y t e s [ U n k n o w n F i l e : 0 ]
n t d l l . d l l ! U n k n o w n F u n c t i o n ( 0 x 0 0 0 0 0 0 0 0 7 6 e 9 3 8 3 d ) + 0 b y t e s [ U n k n o w n F i l e : 0 ]
n t d l l . d l l ! U n k n o w n F u n c t i o n ( 0 x 0 0 0 0 0 0 0 0 7 6 e 9 3 8 3 d ) + 0 b y t e s [ U n k n o w n F i l e : 0 ]
Last Replicated Actor FabledStyracosaurus_Character_BP_C_1
Last Remote Function Spike_Raise_Visual
That crash is not related to the plugin. Your server is hanging. Might be a perfomance issue.
 
Monetize your ARK server
Tebex
Tempest Dedicated Servers
Rogue Vikings Discord Server - Rogue Vikings Gaming Servers - Minecraft Prison Servers - Minecraft Creative Servers
Back
Top