TaktiCool / CLib

CLib is a Function/Script Library for ArmA 3
23 stars 9 forks source link

Requirements for Linux extension build #37

Closed Aebian closed 6 years ago

Aebian commented 6 years ago

Hi Joko,

I have a question regarding your CLib. Can you tell me what to do in order to get it work on Linux?

I have built the PBO on Debian using the code below without issues.

armake build -f /mnt/p/Git-Files/CLib/addons/CLib /mnt/p/KI_AMD/@A3_Releases/Clib.pbo

I used your extension from the github repo since I thought there is no need to open the VS solution then. However I get the following error on mission start:

CallExtension 'CLib' could not be found 21:56:18 "arma3/log: ERROR: [BIS_fnc_endLoadingScreen] Loading screen 'CLib_loadModules' did not start yet." 21:56:18 "arma3/BIS_fnc_log: [BIS_fnc_preload] ----- Scripts initialized at 12732 ms -----"

Arma 3 then has disabled the userInput and I need to kill it via Taskmgr. So not sure whats wrong there.

RPT --> https://gist.github.com/Aebian/b8780817eaa52b7970f1c8de02a5e459

Regards,

Alex

netfusion commented 6 years ago

Hi @Aebian,

thanks for your report. Unfortunately, some features of CLib are not yet fully available on Linux. They are optional and should not prevent the mod from functioning though.

To help us to find out what caused your problem, please let us know what settings were set in the mission description.ext (e.g. CLib configuration). Additionally please upload your client RPT file too.

Regards, NetFusion

Aebian commented 6 years ago

Hi @netfusion,

Thanks for your reply. I have uploaded the mission for you: https://dl.knight-industries.org/TestMission.Stratis.pbo

Basiclly what I'm trying to do is getting his Streamenator Mod to work on Linux with CLib.

I have built that Mod without errors on Debian with this command: armake build -f -i /mnt/p/Git-Files/CLib/addons/CLib /mnt/p/Git-Files/Streamator/addons/Streamator /mnt/p/KI_AMD/@A3_Releases/Streamenator.pbo

The mission is even his own creation so that shouldn't be a problem. On Windows locally it seems to work. Not sure why it's not on Linux, maybe I miss something?

Client RPT: https://gist.github.com/Aebian/510ccdd32e36983aae4be0d51bf24f34

Note that my timezone differs from the server as the server is located in a different country

Regards,

Alex

netfusion commented 6 years ago

Hi @Aebian,

thanks for the additional info. CLib and Streamator(!) are serverside mods. You do not need to run them on your client. Please try if it works running them only on the server. This is also stated in your client RPT. You can see it here: https://gist.github.com/Aebian/510ccdd32e36983aae4be0d51bf24f34#file-arma3_x64_2018-05-14_15-04-01-rpt-L4189

Regards, NetFusion

Aebian commented 6 years ago

Thanks @netfusion that was quick. Works now, really the plugin loaded also on the client side caused the issue.

jokoho48 commented 6 years ago

that is not an issue it is an intended feature. CLib should never be loaded on the client side because it was never built for that. CLib was always and is always build for server-side mods!