Michido Posted January 7, 2017 Share Posted January 7, 2017 ArkApi is a plugin which allows you to create your own server-side plugins for ARK using C++ language.Installation: Extract everything to "ARK\ShooterGame\Binaries\Win64". This means that files like "version.dll" should be in "Win64" folder. Start your ARK server as usual. Video instruction: If everything went correctly, you will see something like this in the server console: Installing new plugins: Download plugin. Copy plugins folder to "ARK\ShooterGame\Binaries\Win64\ArkApi\Plugins". Example: "ArkApi\Plugins\ArkShop". Start or restart your server. Alternatively, you can load plugin without restarting the server by using commands provided in this thread: https://arkserverapi.com/threads/faq.5/. Requirements: Microsoft Visual C++ 2017 Redistributable Package (https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads). Download and install "vc_redist.x64.exe". Windows Server 2008 / Windows 7 or above. Logs: Logs created by ArkApi can be found in 'ShooterGame/Win64/logs/ArkApi.log'. Dumps and crash logs can be found in 'ShooterGame/Saved/Logs/'. Plugins: Available plugins can be found here: http://arkserverapi.com/resources/categories/ark-server-plugins.3/ If you have any questions, read our FAQ first. Download: http://arkserverapi.com/resources/ark-server-api.4/ Link to comment Share on other sites More sharing options...
Michido Posted January 8, 2017 Author Share Posted January 8, 2017 Added source code and small guide for creating plugins. Link to comment Share on other sites More sharing options...
Toni Posted January 18, 2017 Share Posted January 18, 2017 On 8.1.2017 at 7:28 PM, Michido said: Added source code and small guide for creating plugins. It would be good if server owners would try this too. Whats the advantage of your tool? What you can do with it which is not possible with mods? How are you handling the client-side? Link to comment Share on other sites More sharing options...
Michido Posted January 19, 2017 Author Share Posted January 19, 2017 18 hours ago, Toni said: Whats the advantage of your tool? What you can do with it which is not possible with mods? How are you handling the client-side? Actually, it allows you to make server-side plugins that don't require file transfers. Take a look at the example plugins, i don't think it's possible to make them with ARK dev kit or at least it would be hard. Some examples of what else is possible: automatic donations, configurable stack mod without remapping existing items, adding new console/chat commands, more kits, private message system, creating admin groups with different permissions... Link to comment Share on other sites More sharing options...
FatDude Posted February 24, 2017 Share Posted February 24, 2017 Cant seem to compile your api though UE4, tried about everything ;-/ Can compile a blank plugin, but fails when adding your api. Tried your guide multiple times and tried your plugin source code, both failed and showed some error about try to rebuild manually. Copied over the api folder to private folder. Changed the ark.lib path to where I coped the file and the needed includes. (Im pretty much an UE4 noob though) Link to comment Share on other sites More sharing options...
Michido Posted February 24, 2017 Author Share Posted February 24, 2017 2 hours ago, FatDude said: Cant seem to compile your api though UE4, tried about everything ;-/ Can compile a blank plugin, but fails when adding your api. Tried your guide multiple times and tried your plugin source code, both failed and showed some error about try to rebuild manually. Copied over the api folder to private folder. Changed the ark.lib path to where I coped the file and the needed includes. (Im pretty much an UE4 noob though) Compile it using Visual Studio, not UE4 itself. Also, your plugin should have same name as api (if you are recompiling it). I can upload a new version to github that doesn't require UE4, it's not as convenient to use as version with Unreal Engine, because reimplementation of default UE types is not full or missing at all, but it's probably still better. Link to comment Share on other sites More sharing options...
FatDude Posted February 24, 2017 Share Posted February 24, 2017 5 hours ago, Michido said: Compile it using Visual Studio, not UE4 itself. Also, your plugin should have same name as api (if you are recompiling it). I can upload a new version to github that doesn't require UE4, it's not as convenient to use as version with Unreal Engine, because reimplementation of default UE types is not full or missing at all, but it's probably still better. I dunno, kinda hoped I could just cook up some sql calls via you little tutorial and do a swiftly little command based on one of your plugin examples as a start Guess the compiling UE4 project is a bit over my head, got a million errors in VS and have no clue whats wrong ;-/ Tried to follow you tut 1:1, but guess its missing something I just dont know what Link to comment Share on other sites More sharing options...
Michido Posted February 25, 2017 Author Share Posted February 25, 2017 11 hours ago, FatDude said: I dunno, kinda hoped I could just cook up some sql calls via you little tutorial and do a swiftly little command based on one of your plugin examples as a start Guess the compiling UE4 project is a bit over my head, got a million errors in VS and have no clue whats wrong ;-/ Tried to follow you tut 1:1, but guess its missing something I just dont know what Uploaded new version, try it (You don't need UE anymore). Also updated plugins. Link to comment Share on other sites More sharing options...
FatDude Posted February 25, 2017 Share Posted February 25, 2017 1 hour ago, Michido said: Uploaded new version, try it (You don't need UE anymore). Also updated plugins. Dude u rock.. Thanks a lot for your effort ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== Link to comment Share on other sites More sharing options...
Kristane Posted March 18, 2017 Share Posted March 18, 2017 I am getting errors when trying to start my server using this plugin. I am using Ark Server Manager to provide automatic updates and twice a day server restarts. I am getting the following errors: 1) ShooterGameServer.exe - System Error "The program can't start because MSVCP140.dll is missing from your computer. Try reinstalling the program to fix this problem." 2) ShooterGameServer.exe - System Error "The program can't start because VCRUNTIME140.dll is missing from your computer. Try reinstalling the program to fix this problem." I never had these errors before using ASM to start the server before. Edited: Apparently pdbreader was flagged as a virus by Trend Micro and completely halted the process. Link to comment Share on other sites More sharing options...
Michido Posted March 18, 2017 Author Share Posted March 18, 2017 As it says you need to install Microsoft Visual C++ 2015 Redistributable Package. Link to comment Share on other sites More sharing options...
Kristane Posted March 19, 2017 Share Posted March 19, 2017 21 hours ago, Michido said: As it says you need to install Microsoft Visual C++ 2015 Redistributable Package. I had it installed. However even if you have a 64bit OS you still need to install the 32bit version that is x86 for it to work. I finally got it up and running. Thank you! Link to comment Share on other sites More sharing options...
CTHULLHU Posted March 20, 2017 Share Posted March 20, 2017 I was wondering if you knew of any server hosts that support this. Link to comment Share on other sites More sharing options...
Michido Posted March 21, 2017 Author Share Posted March 21, 2017 On 20.03.2017 at 4:30 AM, CTHULLHU said: I was wondering if you knew of any server hosts that support this. Unfortunately, no. Some of them should support it but you would need to ask them first. Added new plugin: Custom Chat Commands. Link to comment Share on other sites More sharing options...
Kristane Posted March 26, 2017 Share Posted March 26, 2017 The Plugins have been forcing a crash at server startup. I have attached a screen shot. Did the 255.7 update alter a file you were referencing? Error Screenshot Link to comment Share on other sites More sharing options...
Michido Posted March 26, 2017 Author Share Posted March 26, 2017 It looks like you are using old API version. Install the latest one. Link to comment Share on other sites More sharing options...
Gruffbug Posted April 7, 2017 Share Posted April 7, 2017 I extracted all files in the zip folder into the win64 folder on my dedicated server and the api doesn't load? The server loads just fine but nothing works my path is: ark survival evolved dedicated server / shootergame/binaries/win64. Also downloaded the arkshop plugin and placed plugin folder inside, ArkAPI/BeyondApi/Plugins/Arkshop (folder) #Michido - Can u get back on steam when you get a chance, have a quick question. Link to comment Share on other sites More sharing options...
Michido Posted April 7, 2017 Author Share Posted April 7, 2017 1 hour ago, Gruffbug said: I extracted all files in the zip folder into the win64 folder on my dedicated server and the api doesn't load? The server loads just fine but nothing works my path is: ark survival evolved dedicated server / shootergame/binaries/win64. Also downloaded the arkshop plugin and placed plugin folder inside, ArkAPI/BeyondApi/Plugins/Arkshop (folder) I guess you downloaded source code instead of binary files. Use link under "Download:" to download it. http://www.beyondmods.rocks/ark/files/file/27-ark-server-beyond-api-alpha/ Link to comment Share on other sites More sharing options...
Gruffbug Posted April 7, 2017 Share Posted April 7, 2017 I downloaded the download this file link. Is that the source file? Went to that link and thats the only download i see. Thanks for the fast reply. I posted screenshot of the link i downloaded. Link to comment Share on other sites More sharing options...
Michido Posted April 7, 2017 Author Share Posted April 7, 2017 19 minutes ago, Gruffbug said: I downloaded the download this file link. Is that the source file? Went to that link and thats the only download i see. Thanks for the fast reply. I posted screenshot of the link i downloaded. It's correct, you downloaded right files. It was just my first thought as someone already made the same mistake and you said "zip" when it's actually "rar". So is API working? What do you see in server console? Link to comment Share on other sites More sharing options...
Gruffbug Posted April 7, 2017 Share Posted April 7, 2017 Yeah it was a rar, and no API working. I run my .bat for my server and it boots up perfectly but nothing shows that the api booted up and the in game chat commands aren't working which is why i assuming it was not installed. Now i am installing it in my arkdedicatedserver directory not ark. If that has anything to do with it. https://photos.google.com/photo/AF1QipPu4WDbNCVTu5TjLwBGrLmjAigQZaLxc-gIyQ6x https://photos.google.com/photo/AF1QipMeaPEPLw-xDeLogQuWnFD7ahvZ82tVs_Asx6o9 Link to comment Share on other sites More sharing options...
Michido Posted April 7, 2017 Author Share Posted April 7, 2017 So you don't see that green text in server console? Can you make a screenshot of your win64 folder? Link to comment Share on other sites More sharing options...
Michido Posted April 7, 2017 Author Share Posted April 7, 2017 1 hour ago, Gruffbug said: Can you please pm me as for some reason, this forum / website isnt allowing me to do anything anymore! I can't post and when i go to your profile there is no link for a private message? No, i can't too. Well, you can write me on my forum. Edit: I wrote to you. Link to comment Share on other sites More sharing options...
gameragereviews Posted April 20, 2017 Share Posted April 20, 2017 I'm going to talk to HostHavoc about setting this up with one of my servers. I'm interested in some of the custom commands and such. I will probably be hitting you back with questions from their end if we decide to set it up. Link to comment Share on other sites More sharing options...
Kev90sc Posted May 30, 2017 Share Posted May 30, 2017 I am having the same Issue as Gruffbug, extracted all the files, API is not loading into my server window, There is no link to message you directly @Michido Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.