glowpowner Posted October 18, 2014 Report Share Posted October 18, 2014 Hello all i need some help with my server_monitor.sqf Edit: its fixed this is the error i get 20:12:48 Error in expression < _countr)]; }; _countr = _countr + 1; } count _objWpnTypes; _objWpnTypes = (_> 20:12:48 Error position: <count _objWpnTypes; _objWpnTypes = (_> 20:12:48 Error count: Type String, expected Array 20:12:48 File z\addons\dayz_server\system\server_monitor.sqf, line 218 and this is my server_monitor.sqf http://pastebin.com/HNpmD2ft Link to comment Share on other sites More sharing options...
0 Jey Posted October 18, 2014 Report Share Posted October 18, 2014 Hello, I do not know exactly the structure of _inventory array but "_objWpnTypes = (_intentory select 0) select 0;" do select a string( so a characters sequence) instead of an actual array.(at least that was is saying your log) Would (_intentory select 0) be the actual array you want to loop on? Link to comment Share on other sites More sharing options...
0 glowpowner Posted October 18, 2014 Author Report Share Posted October 18, 2014 Here is the hole RPT log http://pastebin.com/UXxT9Mrp Link to comment Share on other sites More sharing options...
0 glowpowner Posted October 18, 2014 Author Report Share Posted October 18, 2014 found out that there is a problem in the database with a Inventory Link to comment Share on other sites More sharing options...
0 glowpowner Posted October 19, 2014 Author Report Share Posted October 19, 2014 i still have this problem and i dont know how to fix it when i use a clean database it works but after a restart i get the same error agian Link to comment Share on other sites More sharing options...
0 glowpowner Posted October 19, 2014 Author Report Share Posted October 19, 2014 its like when i place a object and restart the server i get that error Link to comment Share on other sites More sharing options...
0 glowpowner Posted October 19, 2014 Author Report Share Posted October 19, 2014 got it fixed i foget a line to add XD Link to comment Share on other sites More sharing options...
0 scottnkc Posted December 16, 2014 Report Share Posted December 16, 2014 shure would help other if u expland a little like the fix Link to comment Share on other sites More sharing options...
0 glowpowner Posted December 16, 2014 Author Report Share Posted December 16, 2014 Did you install the plotpole for life script if so check all the steps again thats what i did to fix the issue Link to comment Share on other sites More sharing options...
Question
glowpowner
Hello all i need some help with my server_monitor.sqf
Edit: its fixed
this is the error i get
20:12:48 Error in expression < _countr)];
};
_countr = _countr + 1;
} count _objWpnTypes;
_objWpnTypes = (_>
20:12:48 Error position: <count _objWpnTypes;
_objWpnTypes = (_>
20:12:48 Error count: Type String, expected Array
20:12:48 File z\addons\dayz_server\system\server_monitor.sqf, line 218
and this is my server_monitor.sqf
http://pastebin.com/HNpmD2ft
Link to comment
Share on other sites
8 answers to this question
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