Not being able to reload back in after you die

LTGNick

Valued Member!
So this seems to happen almost everytime i die on my server i cant reload back ingame without having to DC and then re join the server and it allows me to go back to the lobby after i die and choose my spawn and my gender but right after that it just loads and counts to 120 before kicking me back to the lobby does anyone know what could be causing this? and i get no player errors in the rpt

Im quoting what my players replied when i asked them if they get the same problem and they said
I'll often get a time out after 120 seconds, re-attempt connection, and then it'll work fine
 
Last edited:
So this seems to happen almost everytime i die on my server i cant reload back ingame without having to DC and then re join the server and it allows me to go back to the lobby after i die and choose my spawn and my gender but right after that it just loads and counts to 120 before kicking me back to the lobby does anyone know what could be causing this? and i get no player errors in the rpt

Im quoting what my players replied when i asked them if they get the same problem and they said
check your client RPT its located here

C:\Users\YOURUSERNAME\AppData\Local\ArmA 2 OA

it will show client errors, its the same as the server RPT but for your client :)
 
Okay so looking at it i believe i found the problem i deleted my old rpt and restarted my server got in and died (on purpose) and now im trying to reload back in and looking at my rpt i got these errors which i believe are causing it http://pastebin.com/XY4Dwt69

Any idea how to fix this?
 
Last edited:
this seems to be the issue for some reason a standard variable isnt being picked up
Code:
Error in expression <count (PVCDZ_plr_Login2) > 0>
Error position: <PVCDZ_plr_Login2) > 0>
Error Undefined variable in expression: pvcdz_plr_login2

also this shouldnt happen either
Code:
File z\addons\dayz_code\compile\player_gearSet.sqf, line 35

if you have custom scripts i would remove any that modify player spawn/login and player_gearSet.sqf then see if the issue is still present
 
I havent modded those files really but my hoster's have modded them for loadout spawning
if i PM'd the files to you could you show me where the problems are?
 
to stop the fn_selfactions error

add this to your variables with the others that look the same
Code:
s_server_menu = -1;

im assuming this is a custom scroll menu :)
 
So it should look like this

Code:
player removeAction s_player_fillfuel;
    s_player_fillfuel = -1;
    player removeAction s_server_menu;
    s_server_menu = -1;
    player removeAction s_player_studybody;
    s_player_studybody = -1;
 
So it should look like this

Code:
player removeAction s_player_fillfuel;
    s_player_fillfuel = -1;
    player removeAction s_server_menu;
    s_server_menu = -1;
    player removeAction s_player_studybody;
    s_player_studybody = -1;
yep that should stop the undefined variable error
 
What about this error here


Code:
  Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\kh_actions.sqf, line 36
Error in expression <sNearFeed) then {
_vehicle removeAction _vehicle_refuel_id;
_vehicle = objNull;
>
  Error position: <_vehicle_refuel_id;
_vehicle = objNull;
>
  Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\kh_actions.sqf, line 36
"SpawnCheck Local.Agents: 3/15, NearBy.Agents: 3/30, Global.Agents: 77/3000, W.holders: 1/80, (radius:150m 16fps)."
Error in expression <sNearFeed) then {
_vehicle removeAction _vehicle_refuel_id;
_vehicle = objNull;
>
  Error position: <_vehicle_refuel_id;
_vehicle = objNull;
>
  Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\kh_actions.sqf, line 36
Error in expression <sNearFeed) then {
_vehicle removeAction _vehicle_refuel_id;
_vehicle = objNull;

It is just about the same thing as the menu?
 
What about this error here


Code:
  Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\kh_actions.sqf, line 36
Error in expression <sNearFeed) then {
_vehicle removeAction _vehicle_refuel_id;
_vehicle = objNull;
>
  Error position: <_vehicle_refuel_id;
_vehicle = objNull;
>
  Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\kh_actions.sqf, line 36
"SpawnCheck Local.Agents: 3/15, NearBy.Agents: 3/30, Global.Agents: 77/3000, W.holders: 1/80, (radius:150m 16fps)."
Error in expression <sNearFeed) then {
_vehicle removeAction _vehicle_refuel_id;
_vehicle = objNull;
>
  Error position: <_vehicle_refuel_id;
_vehicle = objNull;
>
  Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\kh_actions.sqf, line 36
Error in expression <sNearFeed) then {
_vehicle removeAction _vehicle_refuel_id;
_vehicle = objNull;

It is just about the same thing as the menu?
yep should also work the same way as its an action :)
 
So what would the variable look like?


_vehicle removeAction _vehicle_refuel_id;

something like that?
 
Hey i just testing the auto refuel veriable and im still getting the error
Code:
 Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\kh_actions.sqf, line 36
Error in expression <sNearFeed) then {
_vehicle removeAction _vehicle_refuel_id;
_vehicle = objNull;
>
  Error position: <_vehicle_refuel_id;
_vehicle = objNull;
>
  Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\kh_actions.sqf, line 36
Error in expression <sNearFeed) then {
_vehicle removeAction _vehicle_refuel_id;
_vehicle = objNull;
>
  Error position: <_vehicle_refuel_id;
_vehicle = objNull;
>
  Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\kh_actions.sqf, line 36
"SpawnCheck Local.Agents: 4/4, NearBy.Agents: 11/30, Global.Agents: 156/3000, W.holders: 23/80, (radius:150m 16fps)."
Error in expression <sNearFeed) then {
_vehicle removeAction _vehicle_refuel_id;
_vehicle = objNull;
>

did i place the variable in the right place?
Code:
//fuel
    player removeAction s_player_fillfuel20;
    s_player_fillfuel20 = -1;
    player removeAction s_player_fillfuel5;
    s_player_fillfuel5 = -1;
    _vehicle_refuel_id = -1;
    //Allow player to siphon vehicle fuel
 
Hey i just testing the auto refuel veriable and im still getting the error
Code:
 Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\kh_actions.sqf, line 36
Error in expression <sNearFeed) then {
_vehicle removeAction _vehicle_refuel_id;
_vehicle = objNull;
>
  Error position: <_vehicle_refuel_id;
_vehicle = objNull;
>
  Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\kh_actions.sqf, line 36
Error in expression <sNearFeed) then {
_vehicle removeAction _vehicle_refuel_id;
_vehicle = objNull;
>
  Error position: <_vehicle_refuel_id;
_vehicle = objNull;
>
  Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\kh_actions.sqf, line 36
"SpawnCheck Local.Agents: 4/4, NearBy.Agents: 11/30, Global.Agents: 156/3000, W.holders: 23/80, (radius:150m 16fps)."
Error in expression <sNearFeed) then {
_vehicle removeAction _vehicle_refuel_id;
_vehicle = objNull;
>

did i place the variable in the right place?
Code:
//fuel
    player removeAction s_player_fillfuel20;
    s_player_fillfuel20 = -1;
    player removeAction s_player_fillfuel5;
    s_player_fillfuel5 = -1;
    _vehicle_refuel_id = -1;
    //Allow player to siphon vehicle fuel

its in right place try adding the
Code:
_vehicle removeAction _vehicle_refuel_id;
above to see if it helps
also try adding it to your fn_selfactions.sqf and variables so its in both and see if that helps
 
Code:
  Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\fn_selfActions.sqf, line 435
Error in expression <r_fillfuel5 = -1;
_vehicle removeAction _vehicle_refuel_id;
_vehicle_refuel_id =>
  Error position: <_vehicle_refuel_id;
_vehicle_refuel_id =>
  Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\fn_selfActions.sqf, line 435
Error in expression <r_fillfuel5 = -1;
_vehicle removeAction _vehicle_refuel_id;
_vehicle_refuel_id =>
  Error position: <_vehicle_refuel_id;
_vehicle_refuel_id =>
  Error Undefined variable in expression: _vehicle_refuel_id
File mpmissions\__CUR_MP.Chernarus\Scripts\fn_selfActions.sqf, line 435
Error in expression <r_fillfuel5 = -1;
_vehicle removeAction _vehicle_refuel_id;
_vehicle_refuel_id =>

The line looks like this

Code:
//fuel
    player removeAction s_player_fillfuel20;
    s_player_fillfuel20 = -1;
    player removeAction s_player_fillfuel5;
    s_player_fillfuel5 = -1;
    _vehicle removeAction _vehicle_refuel_id;
    _vehicle_refuel_id = -1;
    //Allow player to siphon vehicle fuel
    player removeAction s_player_siphonfuel;
    s_player_siphonfuel = -1;
 
Back
Top