Jump to content

norukid

Member
  • Posts

    9
  • Joined

  • Last visited

Posts posted by norukid

  1. I will like to add to my post.

    I think if you want to set a timeout of 30 sec,you should change condition from 120 sec to 30 sec in 'Timeout No Response' of ID15.

    Otherwise, the code around there will be inconsistent.

    Because it will timeout in 30 seconds before 120 seconds of 'Timeout No Response' of ID15'.

    So It will never go to the state of 'ERROR Server not Response' id 20.

    Also even if checking the mass will be false after 30 sec,it will be assume as correct and checking will pass.
    so I think that it is dangerous.

  2. Line 322 in @epochhive\addons\a3_epoch_server\compile\epoch_player\EPOCH_server_loadPlayer.sqf

    【org】 [_plyrNetID, _plyrUID, [_newPlyr, _vars, _currWeap, count(magazines _newPlyr), _plyrGroup, _canBeRevived, _newPlyr call EPOCH_server_setPToken]] call EPOCH_server_pushPlayer;

    【fixed】 [_plyrNetID, _plyrUID, [_newPlyr, _vars, _currWeap, loadAbs _newPlyr, _plyrGroup, _canBeRevived, _newPlyr call EPOCH_server_setPToken]] call EPOCH_server_pushPlayer;

    in mpmissions\__CUR_MP.Altis(←map name)\system\player_login.fsm (edited by FSM Editor)

    Line 7 of Action script in ID16 "Response"

    【org】 _magCount = _array deleteAt 0;

    【fixed】 _mass = _array deleteAt 0;

    Line 1 of Condition script in ID 61 "check new player not null"

    【org】 !(isNull _playerObject) && {_playerObject getVariable ["SETUP",false]} && {_magCount == count(magazines _playerObject)}

    【fixed】!(isNull _playerObject) && {_playerObject getVariable ["SETUP",false]} && {_mass == (loadAbs _playerObject)}

  3. I have not still had your response.So I tried to fix it by myself.

    Then I found a bug in Build:0.3.7.0104.

    If the player don't have magazines and other items as the magazine,he is going to be naked after relog.

    So I suggest that you need to check unit's mass (by command "loadAbs") instead of the magazine count.

    My fixed by its way is working perfectly now.

×
×
  • Create New...