Jump to content

Question

Since upgrading arma2oa to 11255, I started getting this error in my rpt:

 

==============================================================================
18:12:56 Error in expression <;
_weapon = weaponState _attacker;
if (_weapon select 0 == "Throw") then 
{
_we>
18:12:56   Error position: <_weapon select 0 == "Throw") then 
{
_we>
18:12:56   Error Undefined variable in expression: _weapon
18:12:56 File z\addons\dayz_server\compile\fnc_plyrHit.sqf, line 11
==============================================================================
 
I was hoping it would go away with the Epoch upgrade to 105 and then 1051 but it didn't. Then I hoped it would go with the arma2oa upgrade to 125402 but it didn't. However, it did change slightly from Epoch 1042 to 105:
 
==============================================================================
20:19:24 Error in expression <;
_weapon = weaponState _attacker;
if (_weapon select 0 == "Throw") then 
{
_we>
20:19:24   Error position: <_weapon select 0 == "Throw") then 
{
_we>
20:19:24   Error Undefined variable in expression: _weapon
20:19:24 File z\addons\dayz_server\compile\fnc_plyrHit.sqf, line 12
==============================================================================
 
This is the only error in my rpt apart from the usual client/server: object not found spam.
 
I'm running quite a few scripts including:
WAI, DZMS, Set View Distance, Free Refuel Repair & Rearm, Lift & Tow, Safe Zones, Building Snapping, Additional Buildings, Lights, Deployable Bike, Take Clothes, Suicide & infiSTAR.
 
Is anyone else seeing this? Can anyone help?
 
Any help would be greatly appreciated.

 

Share this post


Link to post
Share on other sites

15 answers to this question

Recommended Posts

  • 0
Guest

Yeah I'm getting the same error:

 

15:15:21 Error in expression <;
 
_weapon = weaponState _attacker;
if (_weapon select 0 == "Throw") then 
{
_we>
15:15:21   Error position: <_weapon select 0 == "Throw") then 
{
_we>
15:15:21   Error Undefined variable in expression: _weapon
15:15:21 File z\addons\dayz_server\compile\fnc_plyrHit.sqf, line 12

Share this post


Link to post
Share on other sites
  • 0

Thanks Piggd for the tip but, I have now checked all my crates and configs for both the mission systems I run, DZMS & WAI and everything is in the right place and in the right category i.e. cargoglobal & weaponglobal.

 

Any other suggestions?

Share this post


Link to post
Share on other sites
  • 0

 

Since upgrading arma2oa to 11255, I started getting this error in my rpt:

 

==============================================================================
18:12:56 Error in expression <;
_weapon = weaponState _attacker;
if (_weapon select 0 == "Throw") then 
{
_we>
18:12:56   Error position: <_weapon select 0 == "Throw") then 
{
_we>
18:12:56   Error Undefined variable in expression: _weapon
18:12:56 File z\addons\dayz_server\compile\fnc_plyrHit.sqf, line 11
==============================================================================
 
I was hoping it would go away with the Epoch upgrade to 105 and then 1051 but it didn't. Then I hoped it would go with the arma2oa upgrade to 125402 but it didn't. However, it did change slightly from Epoch 1042 to 105:
 
==============================================================================
20:19:24 Error in expression <;
_weapon = weaponState _attacker;
if (_weapon select 0 == "Throw") then 
{
_we>
20:19:24   Error position: <_weapon select 0 == "Throw") then 
{
_we>
20:19:24   Error Undefined variable in expression: _weapon
20:19:24 File z\addons\dayz_server\compile\fnc_plyrHit.sqf, line 12
==============================================================================
 
This is the only error in my rpt apart from the usual client/server: object not found spam.
 
I'm running quite a few scripts including:
WAI, DZMS, Set View Distance, Free Refuel Repair & Rearm, Lift & Tow, Safe Zones, Building Snapping, Additional Buildings, Lights, Deployable Bike, Take Clothes, Suicide & infiSTAR.
 
Is anyone else seeing this? Can anyone help?
 
Any help would be greatly appreciated.

 

I have noticed a trend with this error I'm still getting, it only appears when players are either hit by a vehicle or shot using the vehicles weapon.

 

Hope this may help anyone who may be interested in helping me.....

Share this post


Link to post
Share on other sites
  • 0

 

Since upgrading arma2oa to 11255, I started getting this error in my rpt:

 

==============================================================================
18:12:56 Error in expression <;
_weapon = weaponState _attacker;
if (_weapon select 0 == "Throw") then 
{
_we>
18:12:56   Error position: <_weapon select 0 == "Throw") then 
{
_we>
18:12:56   Error Undefined variable in expression: _weapon
18:12:56 File z\addons\dayz_server\compile\fnc_plyrHit.sqf, line 11
==============================================================================
 
I was hoping it would go away with the Epoch upgrade to 105 and then 1051 but it didn't. Then I hoped it would go with the arma2oa upgrade to 125402 but it didn't. However, it did change slightly from Epoch 1042 to 105:
 
==============================================================================
20:19:24 Error in expression <;
_weapon = weaponState _attacker;
if (_weapon select 0 == "Throw") then 
{
_we>
20:19:24   Error position: <_weapon select 0 == "Throw") then 
{
_we>
20:19:24   Error Undefined variable in expression: _weapon
20:19:24 File z\addons\dayz_server\compile\fnc_plyrHit.sqf, line 12
==============================================================================
 
This is the only error in my rpt apart from the usual client/server: object not found spam.
 
I'm running quite a few scripts including:
WAI, DZMS, Set View Distance, Free Refuel Repair & Rearm, Lift & Tow, Safe Zones, Building Snapping, Additional Buildings, Lights, Deployable Bike, Take Clothes, Suicide & infiSTAR.
 
Is anyone else seeing this? Can anyone help?
 
Any help would be greatly appreciated.

 

Giving this a bit of a bump to see if anyone can help as I'm still getting this error.

 

I'm also getting a new error since updating to Steam 125548:

18:24:20 Error in expression < getVariable["actionSet", false];
 
if (!_actionSet) then {
s_player_holderPickup>
18:24:20   Error position: <_actionSet) then {
s_player_holderPickup>
18:24:20   Error Undefined variable in expression: _actionset
18:24:20 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13
 
Anyone else seeing this?
 
Thanks

Share this post


Link to post
Share on other sites
  • 0

Having still the same error.

i`m on arma 125548 with epoch 1.0.5.1 chernarus.

 

Wai Mission, Animated Crashsites (fixed), Indestructibel Items, SnapPro with vectorbuildung,Service point.

 

I think these are the scripts which COULD cause this error.

Share this post


Link to post
Share on other sites
  • 0

Having still the same error.

i`m on arma 125548 with epoch 1.0.5.1 chernarus.

 

Wai Mission, Animated Crashsites (fixed), Indestructibel Items, SnapPro with vectorbuildung,Service point.

 

I think these are the scripts which COULD cause this error.

Hi edhunter, which one are you still getting out of my errors above?

 

I have managed to fix both:

 

For the error with fnc_plyrHit.sqf, line 12 I solved by pulling the 1052 file from github and dropping it into my dayz_server/compiles folder.

 

and the error with object_BackpackAction.sqf, line 13 I deleted the following line from any mission system's ai_killed.sqf file that try to remove AI gear when they are run over:

removeBackpack _unit;

Then just give them an average backpack or, turn the option off to remove gear from AI run being over altogether.

 

I found the fix for this here:

 

Hope this helps...

 

EDIT: I only didn't post my fixes as no one had replied to my thread so, thought no one else was experiencing the problems...

Edited by ReDBaroN

Share this post


Link to post
Share on other sites
  • 0

Hi edhunter, which one are you still getting out of my errors above?

 

I have managed to fix both:

 

For the error with fnc_plyrHit.sqf, line 12 I solved by pulling the 1052 file from github and dropping it into my dayz_server/compiles folder.

 

and the error with object_BackpackAction.sqf, line 13 I deleted the following line from any mission system's ai_killed.sqf file that try to remove AI gear when they are run over:

removeBackpack _unit;

Then just give them an average backpack or, turn the option off to remove gear from AI run being over altogether.

 

I found the fix for this here:

 

Hope this helps...

 

EDIT: I only didn't post my fixes as no one had replied to my thread so, thought no one else was experiencing the problems...

What do you mean by the 1052 file? Where can I get it to fix this issue with the PlyrHit file

Share this post


Link to post
Share on other sites
  • 0

Sub, I think this is the link; https://github.com/vbawol/DayZ-Epoch/tree/master/Server%20Files

 

However it appears the server files re from an older Epoch release.  I compared my plyhit to the one on the site, exactly the same. ReD, any chance you could point us in the right direction??? I too would like to fix this before the next release. Many thanks!

Share this post


Link to post
Share on other sites
  • 0

This might not be connected, but it seems very coincidental. After I searched for this error and found this thread, I replaced the fnc_playerHit.sqf with the one in the github, and since then if you are killed by a vehicle your corpse instantly disappears. There is no error in the RPT. Any ideas?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Reaper5150
      Simple but fun little script I put together awhile ago.
      What it does? It is bound to a object in this case "ItemObsidian" as a right click, but can be changed to whatever you want. It then will sends out a message to the players on the server and marks the player with red smoke and a marker on the map.
      The player will then get 2 mins of god mod acting like the amour. Once the amour takes damage (All it is is a countdown timer really) The god mode is then disabled so they can be killed.
      I'm still working on this and will update it when it is done. If any of you better scriptwriters then myself ( I'm still a noob lol) have any ideas on how to improve this? contact me so I can give you credit in the update :)
      Known bugs:
      marker sometimes stays on map Credits to : @Schalldampfer  For helping me understand map markers
      Install: Place this in your scripts folder name it something like Jugg.sqf
      //========================================================
      //========= Juggernaut script-Written by Reaper5150 ===========
      //=======================================================
      sleep 2;
      [nil,nil,rTitleText,"THERE IS A JUGGERNAUT,FIND HIM AND KILL HIM IF YOU CAN!!!","PLAIN",3] call RE;
      sleep 1;
      [nil, player, rSAY, "YOURSOUND.OGG", 100] call RE; //Add your custom sound here when Juggernaut spawns 
      [] spawn {
      player removeMagazine 'ItemObsidian';//Add whatever object you want and bound to your right click function
      sleep 5;
      [nil,nil,rTitleText,"THE JUGGERNAUT HAS BODY ARMOR,WE CAN'T KILL HIM...HELP!!!","PLAIN",3] call RE;
      ////////Set marker/////////////////////////////////////////////////////////////////////
      [] execVM "scripts\marker.sqf";
      //Start Smoke Marker//////////////////////////////////////////////////////////////////////////
      sleep 5;
      PJ_grenade = "SmokeShellRed" createVehicle position player;
      PJ_grenade attachto [vehicle player,[0.1,0,0]];
      sleep 2;
      [nil,nil,rTitleText,"THE JUGGERNAUT (PLAYER) HAS BEEN MARKED WITH SMOKE AND ON THE MAP!!!","PLAIN",3] call RE;
       
      //Temp Godmode for 2 mins////////////////////////////////////////////////////
      (vehicle player) removeAllEventHandlers "handleDamage";
      (vehicle player) addEventHandler ["handleDamage", { false }];    
      (vehicle player) allowDamage false;
       
      //Acts like a countdown timer//////////////////////////////////////////////////////////////////
      sleep 90;
      [nil,nil,rTitleText,"THE JUGGERNAUTS ARMOR HAS TAKEN 30% DAMAGE","PLAIN",3] call RE;
      sleep 100;
      [nil,nil,rTitleText,"THE JUGGERNAUTS ARMOR HAS TAKEN 50% DAMAGE","PLAIN",3] call RE;
      sleep 110;
      [nil,nil,rTitleText,"THE JUGGERNAUTS ARMOR HAS TAKEN 90% DAMAGE","PLAIN",3] call RE;
      uiSleep 120;
      [nil,nil,rTitleText,"THE JUGGERNAUTS ARMOR IS WEAK...TAKE HIM OUT NOW!!!","PLAIN",3] call RE;
      sleep 2;
       
      //Start ending Juggernaut///////////////////////////////////
      (vehicle player) addEventHandler ["handleDamage", { true }];    
      (vehicle player) removeAllEventHandlers "handleDamage";
      (vehicle player) allowDamage true;
      uiSleep 240;
      deleteVehicle PJ_grenade;
      END;
      Call it from your right click
      ["ItemObsidian","JUGGERNAUT","execVM 'scripts\Jugg.sqf';","true"], 
      marker.sqf:
      _unit = player;
      _nameP = name _unit;
      _markerobjp = createMarker [_namep,[0,0]];
      _markerobjp setMarkerShape "ICON";
      _markerobjp setMarkerType "mil_dot";
      _markerobjp setMarkerColor "ColorRed";
      _markerobjp setMarkerText _nameP;
      _markerobjp setMarkerSize [1,1];

      while {alive _unit} do {
      _markerobjp setmarkerdir (getdir _unit);
      _markerobjp setMarkerPos (getPos _unit);
      _markerobjp setMarkerText _nameP;
      sleep 5;
      };
      ////////////////////////////////////////////
      uiSleep 240;
      deleteMarker _markerobjp;
       
    • By Vladick
      BSBS Server IP: 216.244.93.103:7802
      Website: https://bsbsepoch.000webhostapp.com/
      Discord: https://discord.gg/PVn8PvG
      Server Features:
      PvPvE Database wiped 1/5/18 ESS V3 spawn selection Coins and Global Banking WAI missions and Roaming DZAI Bandits Customized map additions Skalisky Bridge Skalisky Island Bandit Camp with high loot (fun mission!) Garage Door Opener Virtual Garage Deploy bike Refuel, Repair, Rearm Take clothes Bury Body Butcher Body Locate vehicle with keys and GPS One plot poll per player Indestructible bases Trader Safe Zones Day/Night Schedule 4-hour restarts
    • By FG_Trap
      Made this in my free time awhile ago thought id make it public.
      Right Alt is the key to open the menu.
      Install instructions are inside the download.
      https://github.com/NWDZ-Trapxxgods/traps-menu
       
       
      here is a picture of the server menu
       
    • By lordacus
      so i have been making a server between trying to get my provider to update their mods section. after getting this don i found the server with epoch and infistar were conflicting each other such as: when joining i can use infistar but when i press f9 or i to enter my inventory or f10 for the mobile pad it then conflicts (i think) infistar and i can no longer use it. any ideas on how to stop this
       
    • By vbawol
      Open world survival mod set just two years after the mass extinction of billions of people. Those that remain are left with remnants of a once technological society. Try to survive, build, or explore your way through the harsh dynamic environment.
      Features
      Powerful persistence framework for Arma 3 with native Windows and Linux dedicated server support. Fully configurable script based security checks. Base Building re-envisioned for Arma 3 PhysX. Persistent secure and insecure storage devices. Upgradeable locking doors. Barter based economy and trading systems backed a single currency ¤ called "Krypto". Hostile Environment with several different types of antagonists, Air and Water temperature extremes, and Earthquakes. Hunting, Fishing, Tame Dogs, Explore & Loot: Wrecked ships, Abandoned vehicles and buildings, Perform task based missions and more! Open source APL-SA Epoch Survival MP gamemode. Open source APL-SA Modders resource configs and Class List. Assets can be used as a mod dependency on Steam workshop.
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...