[SOLVED]Epoch traders not staying open for player after 1.0.5.1 update

Sorry I post so many help request threads but I feel like a lot of people are going to have this issue once they update. We updated yesterday and today my players are reporting that they can not keep their trader menus open, however I can. That leads me to believe that I need to add an exception in my infistar config. Anybody know what it is?
 
Infistar needs to update for 1.0.5.1, since they changed the trader dialog.

For now you can just remove the dialog check. Delete this whole block:
Code:
if ((isNull (findDisplay 106)) && (isNull (findDisplay -1)) && (isNull (findDisplay 41144))
         && (isNull (findDisplay 6902)) && (isNull (findDisplay 6903)) && (isNull (findDisplay 6904)) && (isNull (findDisplay 6905))
         && (isNull (findDisplay 65431)) && (isNull (findDisplay 65432)) && (isNull (findDisplay 65433)) && (isNull (findDisplay 65434))
         && (isNull (findDisplay 65440)) && (isNull (findDisplay 65441)) && (isNull (findDisplay 65442)) && !(ctrlEnabled 1900)
         && (isNull (findDisplay 24000)) && (isNull (findDisplay 24011)) && (isNull (findDisplay 24001)) && (isNull (findDisplay 24101))
         && (isNull (findDisplay 24020)) && (isNull (findDisplay 24030)) && (isNull (findDisplay 24040))
         && (isNull (findDisplay 10667)) && (isNull (findDisplay 10668)) && (isNull (findDisplay 10669))
         && (isNull (findDisplay 10670)) && (isNull (findDisplay 10671)) && (isNull (findDisplay 10672)) && (isNull (findDisplay 10673))
         && (isNull (findDisplay 10674))) then
         {
           closeDialog 0;
         }
         else
         {
           if (!isNull (findDisplay 106) and !(ctrlEnabled 6902) and (lbSize ((findDisplay 106) displayCtrl 105) < 1)) then {closeDialog 0;};
         };

Or if you are using 331B or newer just set close dialogs to false in the config.

All I could find in my AH.sqf that resembles that block of code is this
Code:
                if ((isNull (findDisplay 106)) && (isNull (findDisplay 2001)) && (isNull (findDisplay -1)) && (isNull (findDisplay 41144))
                && (isNull (findDisplay 6902)) && (isNull (findDisplay 6903)) && (isNull (findDisplay 6904)) && (isNull (findDisplay 6905))
                && (isNull (findDisplay 65431)) && (isNull (findDisplay 65432)) && (isNull (findDisplay 65433)) && (isNull (findDisplay 65434))
                && (isNull (findDisplay 65440)) && (isNull (findDisplay 65441)) && (isNull (findDisplay 65442)) && !(ctrlEnabled 1900)) then
                {closeDialog 0;}else{if (!isNull (findDisplay 106) and !(ctrlEnabled 6902) and (lbSize ((findDisplay 106) displayCtrl 105) < 1)) then {closeDialog 0;};};
               
                _display = findDisplay 106;
                if (!isNull _display) then
                {
                    _chck = _display displayCtrl 101;
                    _txt = ctrlText _chck;
                    _txtA = toArray _txt;
                    _cntA = count _txtA;
                    if (_cntA < 3) then
                    {
                        closeDialog 0;
                        for '_close' from 0 to 25 do {sleep 0.1;closeDialog 0;};
                        _log = format['Gear Menu: %1',_txt];
                        "+_randvar10+" = [_name, _puid, _log,'',''];
                        publicVariableServer '"+_randvar10+"';
                    };
                    _foundDisplays = [];
                    for '_y' from -10 to 8888 do
                    {
                        if (!isNull (findDisplay _y)) then 
                        {
                            if !(_y in _foundDisplays) then 
                            {
                                _foundDisplays = _foundDisplays + [_y];
                            };
                        };
                    };
                    {
                        if !(_x in [0,8,12,18,46,70,106]) then
                        {
                            closeDialog 0;
                            for '_close' from 0 to 25 do {sleep 0.1;closeDialog 0;};
                            if (_x in [843]) then
                            {
                                [] spawn "+_randvar2+";
                            };
                        };
                    } forEach _foundDisplays;
                };
 
I'm assuming I should just delete
Code:
                if ((isNull (findDisplay 106)) && (isNull (findDisplay 2001)) && (isNull (findDisplay -1)) && (isNull (findDisplay 41144))
                && (isNull (findDisplay 6902)) && (isNull (findDisplay 6903)) && (isNull (findDisplay 6904)) && (isNull (findDisplay 6905))
                && (isNull (findDisplay 65431)) && (isNull (findDisplay 65432)) && (isNull (findDisplay 65433)) && (isNull (findDisplay 65434))
                && (isNull (findDisplay 65440)) && (isNull (findDisplay 65441)) && (isNull (findDisplay 65442)) && !(ctrlEnabled 1900)) then
                {closeDialog 0;}else{if (!isNull (findDisplay 106) and !(ctrlEnabled 6902) and (lbSize ((findDisplay 106) displayCtrl 105) < 1)) then {closeDialog 0;};};
and that will work. I'll try it now.
 
Back
Top