Jump to content
Sign in to follow this  
El' Rabito

Infistar !fixme exploits fix

Recommended Posts

This fixes two exploits related to the Infistar !fixme command.

1.Add to your mission init.sqf

ExileClientLastFixme = diag_tickTime;

2. a3_infiSTAR_Exile\fn_preInit.sqf line 527
- Replace the code with the code below.

if(_fix_uniform_and_vest)then{
    fnc_check_uniform_n_vest = {
        if(isNil'cunvthread')then
        {
            cunvthread = _this spawn {
            
                if(!isNil 'ExileClientLoadedIn' && alive player && (diag_tickTime - ExileClientLastFixme) >= 300)then
                {
                
                    params [
                        ['_uniformServer','',['']],
                        ['_vestServer','',['']]
                    ];
                    
                    _uniform = uniform player;
                    _vest = vest player;
                    if (!(_uniformServer isEqualTo _uniform) || !(_vestServer isEqualTo _vest)) then
                    {
                        closeDialog 0;
                        _loadout = getUnitLoadout player;
                        ExileClientLastFixme = diag_tickTime;
                        ["InfoTitleAndText", ["!fixme", format ["Fixed your invisible gear!"]]] call ExileClient_gui_toaster_addTemplateToast;
                        
                        waitUntil {
                            player setUnitLoadout _loadout;
                            (_uniform isEqualTo (uniform player)) && (_vest isEqualTo (vest player))
                        };
                    };
                };
                cunvthread = nil;
            };
        };
    };
    publicVariable "fnc_check_uniform_n_vest";
};


 

  • Like 3
  • Thanks 2

Share this post


Link to post
Share on other sites

# Updated
- Added a fix for another exploit related to the Infistar !fixme command.

  • Like 1

Share this post


Link to post
Share on other sites
Sign in to follow this  

×