Mikeeeyy 73 Report post Posted February 7, 2016 (edited) Simply download this pbo file: https://www.mediafire.com/?vyqx9s2dqn6ncd7 and drop it inside @ExileServer\addons. This will stop uniforms/vests disappearing after server restarts. It works by detecting that your uniform and/or vest is bugged, and then simply giving you a new one. Players won't be able to tell that anything is happening, it's like they were never bugged Edited February 7, 2016 by Mikeeeyy 8 Share this post Link to post Share on other sites
infiSTAR 1293 Report post Posted February 7, 2016 looks what I have made just worse what is this? Quote [] spawn { waitUntil {!isNil "ExileServer_system_thread_addTask"}; { [30, JR_containerBug_thread, [], true] call ExileServer_system_thread_addTask; } remoteExecCall ["call", 2]; }; this is what I did after Cen or Hollow asked me to do something/change it - did not test it yet tho: Spoiler /* Author: infiSTAR.de Description: fix Uniform + Vest bug for Exile Additional Information: untested Usage: Postinit - so we can make use of Exile Main Thread by adding this as Task! */ fnc_check_uniform_n_vest = compileFinal " params ['_uniform', '_vest']; if!(uniform player isEqualTo _uniform)then { _uniformContent = (uniformContainer player) call ExileClient_util_containerCargo_serialize; player forceAddUniform _uniform; [(uniformContainer _player), _uniformContent] call ExileClient_util_containerCargo_deserialize; systemChat '<infiSTAR.de> just repalced your UNIFORM as it was not shown for other players #ARMABUGS'; }; if!(vest player isEqualTo _vest)then { _vestContent = (vestContainer player) call ExileClient_util_containerCargo_serialize; player addVest _vest; [(vestContainer player), _vestContent] call ExileClient_util_containerCargo_deserialize; systemChat '<infiSTAR.de> just repalced your VEST as it was not shown for other players #ARMABUGS'; }; "; publicVariable 'fnc_check_uniform_n_vest'; _check_uniform_n_vest_loopcode = { { if(alive _x)then { [uniform _x,vest _x] remoteExecCall ['fnc_check_uniform_n_vest', owner _x,false]; }; } forEach allPlayers; }; if(!isNil'check_uniform_n_vest_THREAD')then{[check_uniform_n_vest_THREAD] call ExileServer_system_thread_removeTask;}; check_uniform_n_vest_THREAD = [30, _check_uniform_n_vest_loopcode, [], true] call ExileServer_system_thread_addTask; 1 Share this post Link to post Share on other sites
Mikeeeyy 73 Report post Posted February 7, 2016 (edited) That's to jump back into unscheduled environment. Also you're adding back uniform/vest from the variable from the server, the server sees you with no uniform/vest, so you're adding no uniform/vest lol. Edited February 7, 2016 by Mikeeeyy Share this post Link to post Share on other sites
CEN 449 Report post Posted February 7, 2016 13 hours ago, infiSTAR said: looks what I have made just worse what is this? this is what I did after Cen or Hollow asked me to do something/change it - did not test it yet tho: Reveal hidden contents /* Author: infiSTAR.de Description: fix Uniform + Vest bug for Exile Additional Information: untested Usage: Postinit - so we can make use of Exile Main Thread by adding this as Task! */ fnc_check_uniform_n_vest = compileFinal " params ['_uniform', '_vest']; if!(uniform player isEqualTo _uniform)then { _uniformContent = (uniformContainer player) call ExileClient_util_containerCargo_serialize; player forceAddUniform _uniform; [(uniformContainer _player), _uniformContent] call ExileClient_util_containerCargo_deserialize; systemChat '<infiSTAR.de> just repalced your UNIFORM as it was not shown for other players #ARMABUGS'; }; if!(vest player isEqualTo _vest)then { _vestContent = (vestContainer player) call ExileClient_util_containerCargo_serialize; player addVest _vest; [(vestContainer player), _vestContent] call ExileClient_util_containerCargo_deserialize; systemChat '<infiSTAR.de> just repalced your VEST as it was not shown for other players #ARMABUGS'; }; "; publicVariable 'fnc_check_uniform_n_vest'; _check_uniform_n_vest_loopcode = { { if(alive player)then { [uniform _x,vest _x] remoteExecCall ['fnc_check_uniform_n_vest', owner _x,false]; }; } forEach allPlayers; }; if(!isNil'check_uniform_n_vest_THREAD')then{[check_uniform_n_vest_THREAD] call ExileServer_system_thread_removeTask;}; check_uniform_n_vest_THREAD = [30, _check_uniform_n_vest_loopcode, [], true] call ExileServer_system_thread_addTask; It also broke my server 1 Share this post Link to post Share on other sites
Mikeeeyy 73 Report post Posted February 7, 2016 3 minutes ago, CEN said: It also broke my server Are you talking about mine or Chris'? Share this post Link to post Share on other sites
CEN 449 Report post Posted February 7, 2016 11 minutes ago, Mikeeeyy said: Are you talking about mine or Chris'? Chris' version Share this post Link to post Share on other sites
Mikeeeyy 73 Report post Posted February 7, 2016 3 minutes ago, CEN said: Chris' version Phew.. 2 Share this post Link to post Share on other sites
F1Schu 45 Report post Posted February 7, 2016 Cheers Mikeeey +rep! Share this post Link to post Share on other sites
DIamond 81 Report post Posted February 7, 2016 (edited) + rep! Edited February 7, 2016 by DIamond Share this post Link to post Share on other sites
infiSTAR 1293 Report post Posted February 8, 2016 11 hours ago, CEN said: It also broke my server You implemented it wrong ;-) Share this post Link to post Share on other sites