Error code: 1114 - any further logging?

Welcome!

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

SignUp Now!
  • Public Service Announcement

    Hey Guest, I’ve got some exciting news to share! 🎉

    Starting this December, I’ll be moving the entire GameServersHub website away from WordPress and rebuilding it in Next.js! This upgrade will bring incredibly faster speeds, smoother performance, and a modern user experience that sets the stage for everything coming next.

    In 2026, GameServersHub will be entering a new era. I’ll be revamping the entire platform from the ground up and launching a brand-new, fully modernized marketplace. It’ll feature a cleaner design, improved functionality, and better tools for both creators and server owners.

    On top of that, development has already started on the GameServerListing project at https://gsl-six.vercel.app/, which is expected to launch in early Q1 2026. This new system will make discovering and managing servers easier than ever before.


    👉 Stay in the loop!
    Join our Discord for behind-the-scenes updates, early previews, and community discussions.

    » Click here to join our Discord! «

    ~ MrOwlSky

Status
Not open for further replies.

tebex

Well-known member
Joined
Jul 17, 2018
Messages
49
Hi There,

Trying to get a 'bare-bones' plugin to compile (just to get the basic structure):

#include <windows.h>
#include <API/ARK/Ark.h>


#pragma comment(lib, "lib/ArkApi.lib")

void Load()
{
Log::Get().Init("TebexArk");
Log::GetLog()->info("Hello world!");
}


BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved)
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
Load();
break;
case DLL_PROCESS_DETACH:
break;
}
return TRUE;
}


At the moment it literally does nothing (just provides the DLL entry point and writes a log message), but when we add the plugin it fails to load with error 1114:

07/20/18 11:18 [API][info] Loaded plugin Permissions V1.2 (Manage permissions groups)
07/20/18 11:18 [API][warning] Failed to load plugin - TebexArk
Error code: 1114


From what I've read I think 1114 normally means a file can't be found, but this doesn't use any additional files, so I'm a little lost! Is there a way to get additional debug messaging to try to pin down the error?
 
Last edited:
Ok, so I've pinned it down - if I comment out the Log lines, (so the plugin _literally_ does nothing), then it loads successfully.

Completely at a loss as to why trying to Init the Log is causing it to fail - is there any way to get additional debug information that might give a clue as to why?
 
Just in case, do you use the latest lib version? And what VS version?
 
Last edited:
upload your project so i can look over the settings thanks (the full plugin, sln / ect)
 
Thanks for the responses - did manage to get it sorted in the end (can't remember what the problem was to be honest now!).

Got other issues going on - trying to send multiple HTTP requests in parallel and then check for responses with different callbacks is causing difficulties, but that's more for me to actually research the right way of doing it before asking about it ;-).

Thanks!
 
Thanks for the responses - did manage to get it sorted in the end (can't remember what the problem was to be honest now!).

Got other issues going on - trying to send multiple HTTP requests in parallel and then check for responses with different callbacks is causing difficulties, but that's more for me to actually research the right way of doing it before asking about it ;-).

Thanks!
I can look if you post your code.
 
Thanks - we managed to get it sorted eventually and we now have a working plugin!

https://github.com/BuycraftPlugin/Tebex-Ark

We are still doing some internal testing at the moment, but would be interested in being able to post it on here once it's been Tidied up a little.
 
Sure, you should be able to do it now. Nice job.
 
Status
Not open for further replies.
Back
Top