i setup everything but when i used loadplugin nehoscreenshotuploader it says:
Error: Init failure. Cvar nehoscreenshot_identkey or nehoscreenshot_url is not set
Error in plugin's OnInit function!
Plugin load failed.
but i set both of them in my server.cfg
then i visit https://github.com/callofduty4x/CoD4x_S ... der/main.c and in line 30 i saw this:
static cvar_t* identkey;
and in next line it was:
static cvar_t *screenshothandlerurl;
i checked some other plugins and i realized that it must be like this: static cvar_t *identkey;. not this static cvar_t* identkey;;
so i downloaded the https://github.com/callofduty4x/CoD4x_S ... hotsender/ plugin and fixed main.c file.
then i tried compiling the plugin but i realize that i have to compile CoD4x_Server-master first and compile plugin after that.
so i tried compiling CoD4x_Server-master but it was Unsuccessful because of errors.
after some search in google i realized that i have to use the 5.3 version of MinGW.
i downloaded it and try compiling it again but i got this:
gcc math/bn_fast_mp_invmod.o
math/bn_fast_mp_invmod.c:1:21: fatal error: tommath.h: No such file or directory
so i replaced #include <tommath.h> with #include "tommath.h" in every files in math folder and it started compiling again.
but after a while i got this error:
gcc obj/version.o -DCOD4X18UPDATE -DOFFICIAL -DBUILD_NUMBER=0 -DBUILD_BRANCH=no-branch -DBUILD_REVISION=no-revision -DWINVER=0x501
g++ bin/cod4x18_dedrun.exe
obj/_bg_animation_mp.o:src/asmsource/_bg_:(.text+0x223c): undefined reference to`_Unwind_Resume'
obj/_collision_kernel.o:src/asmsource/_col:(.text+0x6d8): undefined reference to`_Unwind_Resume'
obj/_collision_kernel.o:src/asmsource/_col:(.text+0xd5c): undefined reference to`_Unwind_Resume'
obj/_collision_space.o:src/asmsource/_col:(.text+0x42d): undefined reference to`_Unwind_Resume'
obj/_collision_space.o:src/asmsource/_col:(.text+0x4d1): undefined reference to`_Unwind_Resume'
obj/_collision_space.o:src/asmsource/_col:(.text+0x8d1): more undefined references to `_Unwind_Resume' follow
so i didn't Successful fixing this one.
i uploaded fixed plugin on this link https://ufile.io/hsri7keo
someone please compile the plugin inside screenshotsender folder and upload it for me
![Smile :)](./images/smilies/face-smile.png)
or if you can upload the currect Required files and programs and teach me how to compile cod4x and plugins.
i can use alpemix if needed.