TheVampire Posted February 22, 2014 Author Report Share Posted February 22, 2014 I would really like the AI spawn rate to increase. Doesn't feel like a challenge. You can go into each mission file and adjust the amount of AI that spawn. The "Usage" is still correct that's noted right above them, just ignore the last number. I'm getting this: 12:36:30 Error in expression <on "RPG7V"; { _unit removeMagazine _x } forEach "PG7V" in (magazines _unit); }; > 12:36:30 Error position: <forEach "PG7V" in (magazines _unit); }; > 12:36:30 Error foreach: Type String, expected Array 12:36:30 File z\addons\dayz_server\DZMS\Scripts\DZMSAIKilled.sqf, line 69 Can you post your full RPT to pastebin? I'll try to recreate this myself for now. Link to comment Share on other sites More sharing options...
Sukkaed Posted February 22, 2014 Report Share Posted February 22, 2014 Can you post your full RPT to pastebin? I'll try to recreate this myself for now. HERE Link to comment Share on other sites More sharing options...
TheVampire Posted February 22, 2014 Author Report Share Posted February 22, 2014 HERE I think i've fixed it. https://github.com/SMVampire/DZMS-DayZMissionSystem/commit/b7d17e3891e31a73ed12045a1fad247b752721d2 Link to comment Share on other sites More sharing options...
WEB11 Posted February 22, 2014 Report Share Posted February 22, 2014 Edit: Nevermind. After taking a better look at the DZMSBox.sqf I think I understand how to customize the loot crates. Link to comment Share on other sites More sharing options...
WEB11 Posted February 22, 2014 Report Share Posted February 22, 2014 Is this line what controls the loot quantity? for "_x" from 0 to 2 do { I'm trying to spawn an exact number of random guns in each box. Link to comment Share on other sites More sharing options...
Sukkaed Posted February 22, 2014 Report Share Posted February 22, 2014 I think i've fixed it. https://github.com/SMVampire/DZMS-DayZMissionSystem/commit/b7d17e3891e31a73ed12045a1fad247b752721d2 Yup, that fixed it. I haven't seen this before in my .rpt log. Might not be related to this mission system tho. 19:32:13 Bad conversion: array 19:32:13 Error in expression <r"] call server_updateObject; } forEach nearestObjects [_pos, dayz_updateObjects> 19:32:13 Error position: <nearestObjects [_pos, dayz_updateObjects> 19:32:13 Error 0 elements provided, 3 expected 19:32:13 File z\addons\dayz_server\compile\server_playerSync.sqf, line 209 Link to comment Share on other sites More sharing options...
TheVampire Posted February 22, 2014 Author Report Share Posted February 22, 2014 Is this line what controls the loot quantity? for "_x" from 0 to 2 do { I'm trying to spawn an exact number of random guns in each box. Thats how many items it chooses from the array. They may be the same or different because its random. Some below also have a round(random(#)) which is how many of the item chosen this time through it adds to the crate. It can be from 0 to the max number. Link to comment Share on other sites More sharing options...
TheVampire Posted February 22, 2014 Author Report Share Posted February 22, 2014 Yup, that fixed it. I haven't seen this before in my .rpt log. Might not be related to this mission system tho. 19:32:13 Bad conversion: array 19:32:13 Error in expression <r"] call server_updateObject; } forEach nearestObjects [_pos, dayz_updateObjects> 19:32:13 Error position: <nearestObjects [_pos, dayz_updateObjects> 19:32:13 Error 0 elements provided, 3 expected 19:32:13 File z\addons\dayz_server\compile\server_playerSync.sqf, line 209 I don't think that's related to DZMS. In that case it looks like _pos returned null. Link to comment Share on other sites More sharing options...
WEB11 Posted February 22, 2014 Report Share Posted February 22, 2014 Thats how many items it chooses from the array. They may be the same or different because its random. Some below also have a round(random(#)) which is how many of the item chosen this time through it adds to the crate. It can be from 0 to the max number. So if I use : for "_x" from 20 to 20 do { That will give me 20 guns in a crate? Link to comment Share on other sites More sharing options...
TheVampire Posted February 22, 2014 Author Report Share Posted February 22, 2014 So if I use : for "_x" from 20 to 20 do { That will give me 20 guns in a crate? That would give you one if not 0 because it starts counting at the first number till it reaches the second. If its starting at 20 counting to 20, its already there and adds nothing. Link to comment Share on other sites More sharing options...
WEB11 Posted February 22, 2014 Report Share Posted February 22, 2014 That would give you one if not 0 because it starts counting at the first number till it reaches the second. If its starting at 20 counting to 20, its already there and adds nothing. Gotcha so I want 0 to 20 to get 20 guns. Link to comment Share on other sites More sharing options...
TheVampire Posted February 22, 2014 Author Report Share Posted February 22, 2014 Gotcha so I want 0 to 20 to get 20 guns. As long as this part is hardcoded to 1. [_item,(round(random 2))]; You have to remember though that DZMSBox has a different array for different types of weapons. Link to comment Share on other sites More sharing options...
TheVampire Posted February 22, 2014 Author Report Share Posted February 22, 2014 DZMSFunctions has been updated with Radii for different maps. Users of large maps like Napf, Sauerland, and Taviana should notice a large change in missions spread from this update. Link to comment Share on other sites More sharing options...
FragZ Posted February 22, 2014 Report Share Posted February 22, 2014 So this worsk with WAI 1.73? If so does it replace their missions? Or do they overlap. Link to comment Share on other sites More sharing options...
TheVampire Posted February 22, 2014 Author Report Share Posted February 22, 2014 So this worsk with WAI 1.73? If so does it replace their missions? Or do they overlap. DZMS will work fine with WickedAI. The missions will run alongside eachother. Link to comment Share on other sites More sharing options...
FragZ Posted February 22, 2014 Report Share Posted February 22, 2014 DZMS will work fine with WickedAI. The missions will run alongside eachother. Okok. I would like to know how to change the crate content... cus so far it is alot OP. Is there files to change them? I would make less stuff for the missions... Link to comment Share on other sites More sharing options...
TheVampire Posted February 22, 2014 Author Report Share Posted February 22, 2014 Okok. I would like to know how to change the crate content... cus so far it is alot OP. Is there files to change them? I would make less stuff for the missions... You can change the counts in DZMSBox.sqf. The contents can be changed in DZMSWeaponCrateList.sqf Link to comment Share on other sites More sharing options...
nathan00107 Posted February 23, 2014 Report Share Posted February 23, 2014 You can go into each mission file and adjust the amount of AI that spawn. The "Usage" is still correct that's noted right above them, just ignore the last number. Can you post your full RPT to pastebin? I'll try to recreate this myself for now. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 23, 2014 Report Share Posted February 23, 2014 I've added @mudzereli to the Github because of the great additions he is making. AI that are at a completed mission location will now get cleaned up when a new mission of the same type spawns to prevent lag. There is now also configurable blacklist areas in the config. You simply enter the coordinates and the radius. If you are running static coordinates, then this will of course have no effect. I also fixed a few positioning issues with the items at missions. Link to comment Share on other sites More sharing options...
TheVampire Posted February 23, 2014 Author Report Share Posted February 23, 2014 I set my blacklist like this: But in the log I get this: -snip- Are the commas supposed to be semicolons? *edit* I have two servers and I uploaded the dzmsconfig.sqf for my Chernarus server to my Napf server so the coordinates in the error are different from what the coordinates are in the blacklist code I posted because the blacklist code I posted is what was supposed to be uploaded to the Napf server, but that shouldn't affect the blacklist. If the blacklist was working, then they'd simply be in the wrong place for the Napf server. In any case, the formating of the Blacklist is what I am questioning. Hopefully I just didn't format it correctly. :) You formatted all of them except the first one incorrectly. Here's the list you posted formatted correctly. DZMSBlacklistZones = [ [[8246.3184,15485.867,0],300], [[15506.952,13229.368,0],300], [[12399.751,5074.5273,0],300], [[10398.626,8279.4619,0],300], [[5149.9814,4864.1191,0],300], [[2122.7954,7807.9878,0],300], [[5379.0342,16103.187,0],300], [[6772.8877,16983.27,0],300], [[16839.973,5264.0566,0],300], [[15128.379,16421.879,0],300], [[16857.543,1,0],300] ]; Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 23, 2014 Report Share Posted February 23, 2014 You formatted all of them except the first one incorrectly. Oops. I see it now! :) Thanks. Link to comment Share on other sites More sharing options...
WEB11 Posted February 23, 2014 Report Share Posted February 23, 2014 Enabling this is causing the missions not to clear for me: DZMSRequiredKillPercent = 80; Edit: Nevermind it works. I just had to change it to 0.8 instead. Link to comment Share on other sites More sharing options...
TheVampire Posted February 23, 2014 Author Report Share Posted February 23, 2014 Enabling this is causing the missions not to clear for me: DZMSRequiredKillPercent = 80; Edit: Nevermind it works. I just had to change it to 0.8 instead. That setting just so everyone know is the percentage of AI that must be killed for the mission to be completed. 0 being 0%, 1 being 100%. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted February 23, 2014 Report Share Posted February 23, 2014 I'm still getting an error: 9:06:17 Error in expression <867,0],300], [15506.952,13229.368,0],300], [12399.751,5074.5273,0],300], [10398.> 9:06:17 Error position: <], [12399.751,5074.5273,0],300], [10398.> 9:06:17 Error Missing ; 9:06:17 File z\addons\dayz_server\DZMS\DZMSConfig.sqf, line 94 9:06:17 Error in expression <867,0],300], [15506.952,13229.368,0],300], [12399.751,5074.5273,0],300], [10398.> 9:06:17 Error position: <], [12399.751,5074.5273,0],300], [10398.> 9:06:17 Error Missing ; 9:06:17 File z\addons\dayz_server\DZMS\DZMSConfig.sqf, line 94 Here's my blacklist: DZMSBlacklistZones = [ [8246.3184,15485.867,0],300], [15506.952,13229.368,0],300], [12399.751,5074.5273,0],300], [10398.626,8279.4619,0],300], [5149.9814,4864.1191,0],300], [2122.7954,7807.9878,0],300], [5379.0342,16103.187,0],300], [6772.8877,16983.27,0],300], [16839.973,5264.0566,0],300], [15128.379,16421.879,0],300], [16857.543,1,0],300] ]; Line 94 is this: [15506.952,13229.368,0],300], Link to comment Share on other sites More sharing options...
Sukkaed Posted February 23, 2014 Report Share Posted February 23, 2014 Lines needs to be like this: [[8246.3184,15485.867,0],300] You're missing --> [ from the front of your lines, just like Vampire pointed out before. TheVampire 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now