Page MenuHomePhabricator

Adding a CfgRemoteExec file via a mission's Description.ext causes many synchronization issues!
Assigned, WishlistPublic

Description

After doing a tonne of testing after my Zeus missions became unplayable, I have narrowed the cause of the issue down to one thing in the Description.ext

class CfgRemoteExec {

#include "sos\common\CfgRemoteExec.hpp"

};

My path is correct, there was no issue before 1.54. The mission loads correctly but here are some of the things we encountered.

  • Virtual Arsenal actions missing
  • Cannot change Weather with Zeus
  • Cannon change Time with Zeus
  • Players don't show up for Zeus as editable objects

All in all it seems that the majority of modules that require syncing with other players don't work at all.

This MUST be something to do with the recent changes to CfgRemoteExec or the deprecation of BIS_fnc_MP.

With the culprit code above commented out the mission works 100% correctly just without the security of defining individual remoteCalls.

Details

Legacy ID
3229813986
Severity
None
Resolution
Open
Reproducibility
Always
Category
Engine
Steps To Reproduce

My CfgRemoteExec file looks like the following... (names are changed for security reasons).

class Commands {

mode    = 1;
jip     = 1;

};
class Functions {

mode    = 1;
jip     = 1;

class SOS_fnc_example1 {
    allowedTargets = 0;
};
class SOS_fnc_example2 {
    allowedTargets = 0;
};
class SOS_fnc_example3 {
    allowedTargets = 0;
};

};

Event Timeline

legman edited Steps To Reproduce. (Show Details)Dec 5 2015, 3:42 PM
legman set Category to Engine.
legman set Reproducibility to Always.
legman set Severity to None.
legman set Resolution to Open.
legman set Legacy ID to 3229813986.May 8 2016, 1:14 PM
legman edited a custom field.

Confirmed broken.

Confirmed broken.

according to https://community.bistudio.com/wiki/CfgRemoteExec mode = 1 will only allow whitelisted calls, did you include everything needed in whitelist?

legman added a subscriber: legman.May 8 2016, 1:14 PM
legman added a comment.Dec 6 2015, 2:16 PM

I believe I have set everything up properly, however this wouldn't explain why all the Zeus Modules don't work with a CfgRemoteExec set up.

Also this worked before 1.54!

shukari added a subscriber: shukari.May 8 2016, 1:14 PM

Set mode to 2 (mode = 2;) then it works but the happy script kiddie time will start ^^ Thx BI

Seams to be connected to BIS_fnc_mp or something... in 1.54 BIS_fnc_mp is manged over remoteExec and this use the Cfg...