Closed milani23234 closed 3 years ago
only thing you can do is to sync the gear of the player on DC. That means you use the on DC EVH and you need to rewrite you save gear script a bit so that you can execute it with any unit not only on player. than its fixed
life_server\Functions\Systems\fn_clientDisconnect.sqf
put [] call SOCK_fnc_updateRequest; above this [_uid] spawn TON_fnc_houseCleanup;
Tested using [] call SOCK_fnc_updateRequest (yes, even with remoteExecCall, no target sadly). Fix? Creating a similar script server-side.
Again, creating such a script, will implement even more exploits. One to mention is:
Edit: Adds to the point its stupid to directly add items to the player, instead of adding it to a created "dummy unit". https://community.bistudio.com/wiki/createVehicleLocal (typeOf player createVehicleLocal)
Expected behaviour
You take the items, hit sync data, give them back to your friend/veichle, press ALT F4, join back to the server and you don't have those items.
Actual behaviour
You take the items, hit sync data, give them back to your friend/veichle, press ALT F4, join back to the server. You have the items and your friend/veichle as well.
Steps to reproduce the behaviour
Two ways:
RPT and/or extDB3 logs (if applicable)
Mission version: v5.0.0
Launcher version: 1.5.146096
Game version: 1.96.146114
Branch: main / beta branch not specified