Anthrax Posted March 22, 2016 Report Share Posted March 22, 2016 Trying to debug some client side stuff. Any help is always appreciated. I have a copy of this client rpt just not sure how to post it. Everything works ok but errors are not acceptable. There is another 1000+ lines of warning on the client side also but I assume they are common and don't matter. Here is the client side rpt stuff im concerned the most of at the moment. :) Error in expression < getVariable["actionSet", false]; if (!_actionSet) then { s_player_holderPickup> Error position: <_actionSet) then { s_player_holderPickup> Error Undefined variable in expression: _actionset File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13 Error in expression <= -1; }; } else { _vehicle removeAction s_player_nitrobooston; s_player_nitroboo> Error position: <s_player_nitrobooston; s_player_nitroboo> Error Undefined variable in expression: s_player_nitrobooston File mpmissions\__CUR_MP.Napf\custom\fn_selfActions.sqf, line 34 Error in expression <"",""]; }; } else { player removeAction s_player_nitroInstall; s_player_nitroIns> Error position: <s_player_nitroInstall; s_player_nitroIns> Error Undefined variable in expression: s_player_nitroinstall File mpmissions\__CUR_MP.Napf\custom\fn_selfActions.sqf, line 823 Link to comment Share on other sites More sharing options...
Anthrax Posted March 23, 2016 Author Report Share Posted March 23, 2016 From what I understand the s_player_holderPickup> cannot be fixed OK cool. I sure would like to get this nitro error off my players side. Ya I know I should be able to figure it out... Well 40 years puts a toll on ya ;) So help a guy out please.... Link to comment Share on other sites More sharing options...
Buck0 Posted March 24, 2016 Report Share Posted March 24, 2016 Variables.sqf dayz_resetSelfactions ={ s_player_nitroinstall = -1; Ect for each undefined error your getting Anthrax 1 Link to comment Share on other sites More sharing options...
Anthrax Posted March 24, 2016 Author Report Share Posted March 24, 2016 Might be getting closer but still no cigar. Thanks Buck0. I'll get r figured out soon. Can't believe I haven't fingered it out yet... same exact nitro errors. Link to comment Share on other sites More sharing options...
Anthrax Posted March 24, 2016 Author Report Share Posted March 24, 2016 Thinking I need to add 'some part of this nitro script' in the custom compiles and possibly move the variables to custom also? Link to comment Share on other sites More sharing options...
axeman Posted March 25, 2016 Report Share Posted March 25, 2016 Error in expression is normally a syntax mistake. Look up the command on the BIS Wiki. Undefined variables, well just define them, always ! Is good practice and lately Arma has started to insist on it. At the top of your code, or at a point in the code where you know it is the first time the engine queries that variable, define it. Even if it is just _myObjectIWillUseLater = objNull; at the start. FSM pissess and moans all the time about this. Also, sometime the errors aren't where the log says they are, a missing semi colon can throw a weird error several lines later, always trace back up your code if the error doesn't make sense. Then, there are the typos, the ones that you just can't see cos you been staring at the code for too long :) In your 'if actionset', I always put the not ! outside of the brackets. If !(_boolVar) then... A habit formed over time. DaveA and Anthrax 2 Link to comment Share on other sites More sharing options...
Anthrax Posted March 25, 2016 Author Report Share Posted March 25, 2016 Thank you axeman. axeman 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now