ReDBaroN Posted July 1, 2014 Report Share Posted July 1, 2014 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. Link to comment Share on other sites More sharing options...
0 ReDBaroN Posted July 2, 2014 Author Report Share Posted July 2, 2014 Is anyone else seeing this error at all? Can Epoch devs help me? I have checked and I have definitely got all the correct 1.0.5.1 files... Link to comment Share on other sites More sharing options...
0 Guest Posted July 5, 2014 Report Share Posted July 5, 2014 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 Link to comment Share on other sites More sharing options...
0 piggd Posted July 6, 2014 Report Share Posted July 6, 2014 I git the same error it was because I put ammo classname in the wepaon area of DZMS under ExtConfig Check you conifig and cratelist classnames. Link to comment Share on other sites More sharing options...
0 ReDBaroN Posted July 6, 2014 Author Report Share Posted July 6, 2014 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? Link to comment Share on other sites More sharing options...
0 ReDBaroN Posted July 16, 2014 Author Report Share Posted July 16, 2014 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..... Link to comment Share on other sites More sharing options...
0 ReDBaroN Posted July 26, 2014 Author Report Share Posted July 26, 2014 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 Link to comment Share on other sites More sharing options...
0 edhunter Posted August 13, 2014 Report Share Posted August 13, 2014 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. Link to comment Share on other sites More sharing options...
0 ReDBaroN Posted August 14, 2014 Author Report Share Posted August 14, 2014 (edited) 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 August 14, 2014 by ReDBaroN Link to comment Share on other sites More sharing options...
0 Sub Posted August 21, 2014 Report Share Posted August 21, 2014 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 Link to comment Share on other sites More sharing options...
0 (HPG) Heavy Posted December 15, 2014 Report Share Posted December 15, 2014 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! Link to comment Share on other sites More sharing options...
0 Antichrist Posted December 15, 2014 Report Share Posted December 15, 2014 Way to bring back the dead but here's all the sqf files for server https://github.com/vbawol/DayZ-Epoch/tree/master/SQF/dayz_server If you're looking for anything else then go back to SQF folder and have a look around it Link to comment Share on other sites More sharing options...
0 (HPG) Heavy Posted December 16, 2014 Report Share Posted December 16, 2014 Way to bring back the dead but here's all the sqf files for server https://github.com/vbawol/DayZ-Epoch/tree/master/SQF/dayz_server If you're looking for anything else then go back to SQF folder and have a look around it Many thanks Anti Link to comment Share on other sites More sharing options...
0 DangerRuss Posted December 31, 2014 Report Share Posted December 31, 2014 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? Link to comment Share on other sites More sharing options...
0 ReDBaroN Posted January 12, 2015 Author Report Share Posted January 12, 2015 TBH, I left this in the end hoping it will be fixed by 1052 when that eventually shows...so I didn't back port the fix on this. Link to comment Share on other sites More sharing options...
0 DangerRuss Posted January 12, 2015 Report Share Posted January 12, 2015 TBH, I left this in the end hoping it will be fixed by 1052 when that eventually shows...so I didn't back port the fix on this. Yea I did the fix in the github and it causes more harm than good, but the error goes away. Odd. Link to comment Share on other sites More sharing options...
Question
ReDBaroN
Since upgrading arma2oa to 11255, I started getting this error in my rpt:
Link to comment
Share on other sites
15 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now