Jump to content
Wyqer

[MP][CTI-COOP] Liberation (continued)

Recommended Posts

23 hours ago, Wyqer said:

@sturmfalkerda

ACE doesn't breaks the kill event handler in KP Liberation. It works fine on my end, also on KP Ranks. Maybe you're running and old version or a derivative which is based on an old version.

https://github.com/KillahPotatoes/KP-Liberation/commit/88fa4c143dc3e3a17f58fe87d96e6abfee6a3c53#diff-4c37f5c8d1d53c6d87f6425d485829dd

Just double checked, yeah. It's running a a derivative which is a mix between new and old. I've checked the way the files are called and double checked the merge of the ACE fix...

Would R3F_Log, specifically

player addEventHandler ["HandleDamage", {0}];
//and
_x setVariable ["R3F_LOG_idx_EH_HandleDamage", _x addEventHandler ["HandleDamage", {_this call R3F_LOG_FNCT_EH_HandleDamage}]];

Those are the only two lines of code across the project that I can think of that would cause it to break. I think the second is primarily for boxes, but I don't know.

 

I'll move back to the actual KP Liberation and import any changes I need selectively to avoid this.

Share this post


Link to post
Share on other sites

I haven't used R3F, but it would suprise me, if something in a "logistic mod" affects the kill event handler. Also even if it would add another kill event handler, it won't interfere the liberation one, as they're called independently from each other.

So you should maybe head to the creator of the derivative and inform him about the issue in his version.

Share this post


Link to post
Share on other sites

Ayo, loving the updates! Quick question, is there a way to transfer Liberation progress/saves from the server I host ingame (with the host server button) to a dedicated server? Thanks!!

Share this post


Link to post
Share on other sites
3 hours ago, Not_Oliver said:

Ayo, loving the updates! Quick question, is there a way to transfer Liberation progress/saves from the server I host ingame (with the host server button) to a dedicated server? Thanks!!

documents/arma3 other profiles/yourprofilename/yourprofilename.vars.arma3profile is the file you are looking for, just copy it to server profile folder and rename it so it will be yourserverprofilename.vars.arma3profile

Share this post


Link to post
Share on other sites

I'm scripting some extra stuff for this, but haven't been able to decipher the resource system. How can I reduce the amount of resources the players have? For example, -100 supplies.

Share this post


Link to post
Share on other sites

What’s there to decipher?

Have a look to the do_build.sqf for example. Remove a crate from a storage and delete it.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×