mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Fix PV value kick for player names with special characters
Vanilla development commit:
6b7a55b1ea
This commit is contained in:
@@ -1935,7 +1935,7 @@ class FSM
|
|||||||
itemno = 106;
|
itemno = 106;
|
||||||
init = /*%FSM<STATEINIT""">*/"if (_debug == 1) then {diag_log [diag_tickTime,'Finish'];};" \n
|
init = /*%FSM<STATEINIT""">*/"if (_debug == 1) then {diag_log [diag_tickTime,'Finish'];};" \n
|
||||||
"" \n
|
"" \n
|
||||||
"PVDZ_plr_LoginRecord = [_playerUID,_charID,0,(name vehicle player)];" \n
|
"PVDZ_plr_LoginRecord = [_playerUID,_charID,0,toArray (name vehicle player)];" \n
|
||||||
"" \n
|
"" \n
|
||||||
"progressLoadingScreen 1;" \n
|
"progressLoadingScreen 1;" \n
|
||||||
"" \n
|
"" \n
|
||||||
|
|||||||
@@ -228,7 +228,7 @@ dayz_objectUID2 = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
dayz_recordLogin = {
|
dayz_recordLogin = {
|
||||||
private ["_key","_status"];
|
private ["_key","_status","_name"];
|
||||||
_key = format["CHILD:103:%1:%2:%3:",_this select 0,_this select 1,_this select 2];
|
_key = format["CHILD:103:%1:%2:%3:",_this select 0,_this select 1,_this select 2];
|
||||||
_key call server_hiveWrite;
|
_key call server_hiveWrite;
|
||||||
|
|
||||||
@@ -238,7 +238,8 @@ dayz_recordLogin = {
|
|||||||
case ((_this select 2) == 2): { "LOGGED OUT" };
|
case ((_this select 2) == 2): { "LOGGED OUT" };
|
||||||
};
|
};
|
||||||
|
|
||||||
diag_log format["INFO - Player: %1(UID:%3/CID:%4) Status: %2",(_this select 3),_status,(_this select 0),(_this select 1)];
|
_name = if (typeName (_this select 3) == "ARRAY") then { toString (_this select 3) } else { _this select 3 };
|
||||||
|
diag_log format["INFO - Player: %1(UID:%3/CID:%4) Status: %2",_name,_status,(_this select 0),(_this select 1)];
|
||||||
};
|
};
|
||||||
|
|
||||||
dayz_reseed = {
|
dayz_reseed = {
|
||||||
|
|||||||
Reference in New Issue
Block a user