[Resource] Foppa's Vote Rewards [Deleted]

Welcome!

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

SignUp Now!
This prefix applies to all resources.
Status
Not open for further replies.
Code:
Fatal error!



VERSION: 289.101 
KERNELBASE.dll!UnknownFunction (0x00007ffdab334048) + 0 bytes [UnknownFile:0]
VCRUNTIME140.dll!UnknownFunction (0x00007ffd9e1742cd) + 0 bytes [UnknownFile:0]
VoteRewards.dll!nlohmann::adl_serializer<bool,void>::from_json<nlohmann::basic_json<std::map,std::vector,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,bool,__int64,unsigned __int64,double,std::allocator,nlohmann::adl_serializer> const &,bool>() (0x00007ffd889aa003) + 78 bytes [e:\arkservermodding\arkserverapirep\version\core\public\json.hpp:12311]
VoteRewards.dll!RewardPlayer() (0x00007ffd8897e9a4) + 282 bytes [e:\arkservermodding\arkserverapi\voterewards\voterewards\voterewards.cpp:44]
VoteRewards.dll!HttpVoteCallBack() (0x00007ffd8897f8af) + 69 bytes [e:\arkservermodding\arkserverapi\voterewards\voterewards\voterewards.cpp:90]
VoteRewards.dll!std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,void (__cdecl*)(bool,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,int,VoteSiteConfig const &,AShooterPlayerController *,__int64,bool),std::_Ph<1> const &,std::_Ph<2> const &,int const &,VoteSiteConfig const &,AShooterPlayerController * &,__int64 const &,bool const &>,void,bool,std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::_Do_call() (0x00007ffd889ac0fb) + 0 bytes [e:\programs\vs\2017\vc\tools\msvc\14.16.27023\include\functional:15732480]
VERSION.dll!API::Requests::Update() (0x00007ffd6681943e) + 102 bytes [d:\programs\ark\**************\version\core\private\tools\requests.cpp:153]
VERSION.dll!ArkApi::Hook_AGameState_DefaultTimer() (0x00007ffd667f4a12) + 80 bytes [d:\programs\ark\**************\version\core\private\ark\hooksimpl.cpp:136]
ShooterGameServer.exe!FTimerManager::Tick() (0x00007ff6bb2e7ee7) + 0 bytes [f:\build\trunk\engine\source\runtime\engine\private\timermanager.cpp:1080]
ShooterGameServer.exe!UWorld::Tick() (0x00007ff6bb1a07e0) + 0 bytes [f:\build\trunk\engine\source\runtime\engine\private\leveltick.cpp:1288]
ShooterGameServer.exe!UGameEngine::Tick() (0x00007ff6bb0fff1f) + 0 bytes [f:\build\trunk\engine\source\runtime\engine\private\gameengine.cpp:1170]
ShooterGameServer.exe!FEngineLoop::Tick() (0x00007ff6b9d2c47c) + 0 bytes [f:\build\trunk\engine\source\runtime\launch\private\launchengineloop.cpp:2421]
ShooterGameServer.exe!GuardedMain() (0x00007ff6b9d27ddc) + 0 bytes [f:\build\trunk\engine\source\runtime\launch\private\launch.cpp:140]
ShooterGameServer.exe!GuardedMainWrapper() (0x00007ff6b9d2d4ca) + 5 bytes [f:\build\trunk\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
ShooterGameServer.exe!WinMain() (0x00007ff6b9d2d600) + 8 bytes [f:\build\trunk\engine\source\runtime\launch\private\windows\launchwindows.cpp:209]
ShooterGameServer.exe!__tmainCRTStartup() (0x00007ff6bc112eb1) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
KERNEL32.DLL!UnknownFunction (0x00007ffdae5d8364) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ffdae99e851) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ffdae99e851) + 0 bytes [UnknownFile:0]
慌瑳删灥楬慣整⁤捁潴⁲汐祡牥慐湷敔瑳䵟污彥彃റ䰊獡⁴敒潭整䘠湵瑣潩汃敩瑮灕慤整瑉浥畑湡楴祴਍
 
OwnProx thank you for the updates, could you please post a sample config with only ark-servers.net and 3 voting servers as removing other vote sites causes server crash with v1.2 and without removing other servers vote reward either works partially ( rewarding 1 vote then have to make another claim to reward other 2 votes ) or it crashes the server.
fixed now thanks for the report.
 
Code:
Fatal error!



VERSION: 289.101
KERNELBASE.dll!UnknownFunction (0x00007ffdab334048) + 0 bytes [UnknownFile:0]
VCRUNTIME140.dll!UnknownFunction (0x00007ffd9e1742cd) + 0 bytes [UnknownFile:0]
VoteRewards.dll!nlohmann::adl_serializer<bool,void>::from_json<nlohmann::basic_json<std::map,std::vector,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,bool,__int64,unsigned __int64,double,std::allocator,nlohmann::adl_serializer> const &,bool>() (0x00007ffd889aa003) + 78 bytes [e:\arkservermodding\arkserverapirep\version\core\public\json.hpp:12311]
VoteRewards.dll!RewardPlayer() (0x00007ffd8897e9a4) + 282 bytes [e:\arkservermodding\arkserverapi\voterewards\voterewards\voterewards.cpp:44]
VoteRewards.dll!HttpVoteCallBack() (0x00007ffd8897f8af) + 69 bytes [e:\arkservermodding\arkserverapi\voterewards\voterewards\voterewards.cpp:90]
VoteRewards.dll!std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,void (__cdecl*)(bool,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,int,VoteSiteConfig const &,AShooterPlayerController *,__int64,bool),std::_Ph<1> const &,std::_Ph<2> const &,int const &,VoteSiteConfig const &,AShooterPlayerController * &,__int64 const &,bool const &>,void,bool,std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::_Do_call() (0x00007ffd889ac0fb) + 0 bytes [e:\programs\vs\2017\vc\tools\msvc\14.16.27023\include\functional:15732480]


can i see your config? and are you using 1.5?
 
it kind of works in our setup, we have to claim twice to get all 3 vote rewards, first claim gives reward for only 1 vote, then we have to make another claim which gives rewards for other 2 votes.

It would be nice if 1 claim gives all 3 vote rewards, maybe @OwnProx can check it out. Thank in advance.
 
Thank you!

p.s you forgot to update PluginInfo.json
thanks lol im forever forgetting to :)


it kind of works in our setup, we have to claim twice to get all 3 vote rewards, first claim gives reward for only 1 vote, then we have to make another claim which gives rewards for other 2 votes.

It would be nice if 1 claim gives all 3 vote rewards, maybe @OwnProx can check it out. Thank in advance.
weird in my testing, i got rewarded from all 3 vote sites in 1x /claim can you send me your config. remove vote keys ofcourse
 
it kind of works in our setup, we have to claim twice to get all 3 vote rewards, first claim gives reward for only 1 vote, then we have to make another claim which gives rewards for other 2 votes.

It would be nice if 1 claim gives all 3 vote rewards, maybe @OwnProx can check it out. Thank in advance.
How did you line that up? Would like to do the same 😁
it kind of works in our setup, we have to claim twice to get all 3 vote rewards, first claim gives reward for only 1 vote, then we have to make another claim which gives rewards for other 2 votes.

It would be nice if 1 claim gives all 3 vote rewards, maybe @OwnProx can check it out. Thank in advance.
 
Sure just to make sure following are our vote setup. Ark-servers.net only for 3 servers. For each vote we are trying to give 3 arc bars to players which is a currency from TC Auto reward vault mod.
Following is our config:
JSON:
{
   "VoteRewards":{
      "ServerName":"rewardbot",
      "VoteSitesCommand":"/vote",
      "CheckCommand":"/claim",
      "Messages":[
         "Checking for votes please wait...",
         "There are no rewards to claim.",
         "Below are a list of sites you can vote at",
         "Simply vote at a site listed above and type /claim to receive a reward, if you havent received full reward type /claim again few minutes after your first claim.",
         "You must wait {} Hours & {} Minutes before making your next claim.",
         "You must wait {} Seconds before making your next claim."
      ]
   },
   "ark-servers.net":{
      "VoteKeys":[
         "votekey1",
         "votekey2",
         "votekey3"
      ],
      "VoteUrls":[
         "url1",
         "url2",
         "url3"
      ],
      "VoteDelayHours":0,
      "ChanceofPointsOrItems": false,
      "MinPointsReward": 0,
      "MaxPointsReward": 0,
      "Items":[
         {
            "Blueprint":"Blueprint'/Game/Mods/TCsAutoRewards/Main/Currency/PrimalItemConsumable_TCsAR_CurrencyARc.PrimalItemConsumable_TCsAR_CurrencyARc'",
            "RewardChance":-1,
            "MinQuantity":3,
            "MaxQuantity":3,
            "MinQuality":0,
            "MaxQuality":0,
            "MinIsBP":0,
            "MaxIsBP":0
         }
      ],
      "Dinos":[
      ],
      "Messages":[
         "Something is wrong with the request please try later.",
         "Congratulations enjoy your reward and big thank you for voting."
      ]
   }
}

So far first claim it gives 3 arc bars, then second claim it gives 6 arc bars. There was one time where an another admin received 3 + 6 + 6 in 3 claim attempts during testing while mostly third attempt at claiming shows "no more rewards" message.
 
Last edited:
Thx for sharing your knowlege mate 😁 i will try it 😁 and maybe you know a better way updating plugins than download latest and copypaste all?
 
@moonriddim i am using symbolic links in windows, how it works is i have a main plugin folder outside servers where i add / copy plugins or edit config files. This is the main real folder. Then i create symbolic folders in each servers plugin folder which are basically fake folders and actualy a link to main folder. So any changes in main folder takes effect basically. Its like a shortcuts but as far as what programs see is its real. Obviously since all of the plugins we use have same settings for all of our servers so this works fine for us but if you have config setup differently for each server then i suggest you make a bat file or script which copies them to your servers plugin folders automatically.

See below link for symbolic links.
https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/
 
Thanks for your work OwnProx. We're having an issue still. The info of course still says 1.5, but you know that already. Also we're still crashing when we run the /vrtest. We're loading all of our ark-server.net keys into one line like before and it doesn't seem to work.

Edit: PS We're running 1.6
 
Last edited:
This is a great plugin. My community is going to love it. I do have one request however. Is there a chance of adding a more customized chance for getting rewards? Like allowing us to put a percentage 1-100? Also is there a chance that we could have an option like CannotCombineWithSameCategory and CannotCombineWithAnyOther that would make it so if one reward in that category was given that you could not receive this reward with that one... if that makes sense. That way you could reward stuff in tiers with a chance to give a better tier but not give double.
 
@moonriddim i am using symbolic links in windows, how it works is i have a main plugin folder outside servers where i add / copy plugins or edit config files. This is the main real folder. Then i create symbolic folders in each servers plugin folder which are basically fake folders and actualy a link to main folder. So any changes in main folder takes effect basically. Its like a shortcuts but as far as what programs see is its real. Obviously since all of the plugins we use have same settings for all of our servers so this works fine for us but if you have config setup differently for each server then i suggest you make a bat file or script which copies them to your servers plugin folders automatically.

See below link for symbolic links.
https://www.howtogeek.com/howto/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/
what a smart thing =) thx mate =) i have also same 4 all servers =)
 
So we've had crashes today doing the /vrtest (although I knew it, it did crash multiple maps across the cluster). But we did have a few random crashes without that command too today. I will have to take the plugin out for now.

LowLevelFatalError [File:F:\build\Trunk\Engine\Source\Runtime\CoreUObject\Private\UObject\ScriptCore.cpp] [Line: 805]
Failed to find function ClientChatMessage in DinoCharacterStatusComponent_BP_Coel_C /Game/Maps/TheIslandSubMaps/TheIsland.TheIsland:PersistentLevel.Coel_Character_BP_Ocean_C_28197.DinoCharacterStatus_BP_Coel_C1


VERSION: 289.101
KERNELBASE.dll!UnknownFunction (0x00007ffc7a684048) + 0 bytes [UnknownFile:0]
ShooterGameServer.exe!FError::LowLevelFatal() (0x00007ff7f84f4c3a) + 0 bytes [f:\build\trunk\engine\source\runtime\core\private\misc\outputdevice.cpp:354]
ShooterGameServer.exe!UObject::FindFunctionChecked() (0x00007ff7f859d1a1) + 218 bytes [f:\build\trunk\engine\source\runtime\coreuobject\private\uobject\scriptcore.cpp:805]
ShooterGameServer.exe!AShooterPlayerController::ClientChatMessage() (0x00007ff7f7dbbf90) + 18 bytes [f:\build\trunk\projects\shootergame\intermediate\build\win64\shootergameserver\inc\shootergame\shootergame.generated.1.cpp:3564]
AdvancedChat.dll!UnknownFunction (0x00007ffc660203df) + 0 bytes [UnknownFile:0]
VoteRewards.dll!AShooterPlayerController::ClientChatMessage() (0x00007ffc65f3a70d) + 157 bytes [e:\arkservermodding\arkserverapirep\version\core\public\api\ark\actor.h:2407]
VoteRewards.dll!ArkApi::IApiUtils::SendChatMessage<wchar_t>() (0x00007ffc65f53a24) + 37 bytes [e:\arkservermodding\arkserverapirep\version\core\public\ark\arkapiutils.h:90]
VoteRewards.dll!RewardPlayer() (0x00007ffc65f3eecc) + 197 bytes [e:\arkservermodding\arkserverapi\voterewards\voterewards\voterewards.cpp:72]
VoteRewards.dll!HttpVoteCallBack() (0x00007ffc65f3f8af) + 69 bytes [e:\arkservermodding\arkserverapi\voterewards\voterewards\voterewards.cpp:90]
VoteRewards.dll!std::_Func_impl_no_alloc<std::_Binder<std::_Unforced,void (__cdecl*)(bool,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,int,VoteSiteConfig const &,AShooterPlayerController *,__int64,bool),std::_Ph<1> const &,std::_Ph<2> const &,int const &,VoteSiteConfig const &,AShooterPlayerController * &,__int64 const &,bool const &>,void,bool,std::basic_string<char,std::char_traits<char>,std::allocator<char> > >::_Do_call() (0x00007ffc65f6c0fb) + 0 bytes [e:\programs\vs\2017\vc\tools\msvc\14.16.27023\include\functional:15732480]
VERSION.dll!API::Requests::Update() (0x00007ffc666a943e) + 102 bytes [d:\programs\ark\**************\version\core\private\tools\requests.cpp:153]
VERSION.dll!ArkApi::Hook_AGameState_DefaultTimer() (0x00007ffc66684a12) + 80 bytes [d:\programs\ark\**************\version\core\private\ark\hooksimpl.cpp:136]
ShooterGameServer.exe!FTimerManager::Tick() (0x00007ff7f8cc7ee7) + 0 bytes [f:\build\trunk\engine\source\runtime\engine\private\timermanager.cpp:1080]
ShooterGameServer.exe!UWorld::Tick() (0x00007ff7f8b807e0) + 0 bytes [f:\build\trunk\engine\source\runtime\engine\private\leveltick.cpp:1288]
ShooterGameServer.exe!UGameEngine::Tick() (0x00007ff7f8adff1f) + 0 bytes [f:\build\trunk\engine\source\runtime\engine\private\gameengine.cpp:1170]
ShooterGameServer.exe!FEngineLoop::Tick() (0x00007ff7f770c47c) + 0 bytes [f:\build\trunk\engine\source\runtime\launch\private\launchengineloop.cpp:2421]
ShooterGameServer.exe!GuardedMain() (0x00007ff7f7707ddc) + 0 bytes [f:\build\trunk\engine\source\runtime\launch\private\launch.cpp:140]
ShooterGameServer.exe!GuardedMainWrapper() (0x00007ff7f770d4ca) + 5 bytes [f:\build\trunk\engine\source\runtime\launch\private\windows\launchwindows.cpp:125]
ShooterGameServer.exe!WinMain() (0x00007ff7f770d600) + 8 bytes [f:\build\trunk\engine\source\runtime\launch\private\windows\launchwindows.cpp:209]
ShooterGameServer.exe!__tmainCRTStartup() (0x00007ff7f9af2eb1) + 21 bytes [f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c:618]
KERNEL32.DLL!UnknownFunction (0x00007ffc7b0c8364) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ffc7d4ee851) + 0 bytes [UnknownFile:0]
ntdll.dll!UnknownFunction (0x00007ffc7d4ee851) + 0 bytes [UnknownFile:0]
慌瑳删灥楬慣整⁤捁潴⁲潄潤䍟慨慲瑣牥䉟彐彃㈱㔰ശ䰊獡⁴敒潭整䘠湵瑣潩汃敩瑮敒散癩卥慰湷潐湩獴਍
 
We only use ark-servers.net and have 3 server keys added. /Claim only checks the first server vote, we have to use /claim again to get the points for the other votes.
thanks lol im forever forgetting to :)



weird in my testing, i got rewarded from all 3 vote sites in 1x /claim can you send me your config. remove vote keys ofcourse
 
Status
Not open for further replies.
Back
Top