pvt. partz 248 Posted February 23, 2018 Hi all I am getting a missing bracket error but I'm not seeing my error. Can I get a second look please? value="[[[[""arifle_MX_SW_Black_F"",""arifle_MX_SW_Black_Hamr_pointer_F""],[1,1]],[[""30Rnd_65x39_caseless_mag_Tracer"",""APERSMine_Range_Mag"",""APERSTripMine_Wire_Mag"",[12,1,4,1]],[[""optic_DMS"",""Laserdesignator_01_khk_F"",""optic_LRPS""],[1,1,1,1]],[[],[]]],false]"; Thanks a lot. Share this post Link to post Share on other sites
Harzach 2516 Posted February 23, 2018 Looks like there's an extra bracket at the beginning - should be three, not four? Share this post Link to post Share on other sites
johnnyboy 3770 Posted February 23, 2018 @Harzach is right. Tip: Drop that line of code into NotePad++, and put your cursor next to a bracket. The bracket is highlighted and its other bracket in the pair of open/close brackets is also highlighted. Keep doing that until you find a bracke that is not highlighted, and then you have found the bracket that is not part of a pair. 1 1 Share this post Link to post Share on other sites
pvt. partz 248 Posted February 23, 2018 1 hour ago, johnnyboy said: Tip Beautiful ! Thanks 1 Share this post Link to post Share on other sites
Harzach 2516 Posted February 23, 2018 Yup, N++ makes it easy to break down those bracket-filled lines for error-checking. There are also a few SQF plugins/language XMLs you can install that will do syntax highlighting/autocomplete/etc. Very handy stuff. Share this post Link to post Share on other sites
Grumpy Old Man 3545 Posted February 23, 2018 1 hour ago, Harzach said: Yup, N++ makes it easy to break down those bracket-filled lines for error-checking. There are also a few SQF plugins/language XMLs you can install that will do syntax highlighting/autocomplete/etc. Very handy stuff. If you really want to step up your game take a look into poseidon. The features are nuts. Can't beat it for arma specific scripting. Cheers 1 1 Share this post Link to post Share on other sites
Harzach 2516 Posted February 23, 2018 For some reason, I thought Poseidon was payware. Thanks, @Grumpy Old Man! *edit* - Ah, it is payware. Still, probably worth it. Share this post Link to post Share on other sites
Grumpy Old Man 3545 Posted February 23, 2018 59 minutes ago, Harzach said: For some reason, I thought Poseidon was payware. Thanks, @Grumpy Old Man! *edit* - Ah, it is payware. Still, probably worth it. It's actually sublime text, which is free for use. You just get a reminder if you want to purchase it upon continued use, once in a while at a very low frequency. Barely notice it. Cheers 2 Share this post Link to post Share on other sites
Tankbuster 1740 Posted February 23, 2018 Don't ever answer that requester saying you will pay for it. It is quite expensive! Share this post Link to post Share on other sites
pvt. partz 248 Posted February 24, 2018 What is this? 8:31:28 Reading cached action map data 8:31:33 Extreme texture size (32767x65535) 8:31:33 Texture init failed. found it buried in the .rpt Share this post Link to post Share on other sites
Grumpy Old Man 3545 Posted February 24, 2018 29 minutes ago, pvt. partz said: What is this? 8:31:28 Reading cached action map data 8:31:33 Extreme texture size (32767x65535) 8:31:33 Texture init failed. found it buried in the .rpt Are you trying to put some adult HD textures on a billboard? Cheers 1 Share this post Link to post Share on other sites
froggyluv 2133 Posted February 24, 2018 On 2/22/2018 at 8:40 PM, johnnyboy said: @Harzach is right. Tip: Drop that line of code into NotePad++, and put your cursor next to a bracket. The bracket is highlighted and its other bracket in the pair of open/close brackets is also highlighted. Keep doing that until you find a bracke that is not highlighted, and then you have found the bracket that is not part of a pair. How (after 5+ years) did I never pick up on this?? Share this post Link to post Share on other sites
pvt. partz 248 Posted February 24, 2018 Quote Are you trying to put some adult HD textures on a billboard? Who me?!? but no. I have been adding a lot of tracks/halodrops/some fastropes etc but all from Arma default. The only mod I am using is GMT's Cessna planes. (oversized texture maybe?) and back to my OP: I did find that I had too many brackets as per the solutions given BUT, after removing it, I am getting other errors now which makes me think that since I didn't get a match when I tried johnnyboys method, I am questioning whether I might NEED another bracket. Here are the errors: 9:38:22 Error in expression <],[["FirstAidKit",[1,1]],[[],[]]],false]> 9:38:22 Error position: <> 9:38:22 Error Missing ] 9:38:22 Error in expression <],[["FirstAidKit",[1,1]],[[],[]]],false]> 9:38:22 Error position: <> 9:38:22 Error Missing ] 9:38:22 Error in expression <"optic_LRPS"],[1,1,1,1]],[[],[]]],false]> 9:38:22 Error position: <> 9:38:22 Error Missing ] 9:38:22 Error in expression <"optic_LRPS"],[1,1,1,1]],[[],[]]],false]> 9:38:22 Error position: <> 9:38:22 Error Missing ] Here is the mission.sqm and I really appreciate the help https://www.dropbox.com/s/li06re20gd6j8w3/mission.sqm?dl=0 Share this post Link to post Share on other sites
johnnyboy 3770 Posted February 24, 2018 1 hour ago, pvt. partz said: I did find that I had too many brackets as per the solutions given BUT, after removing it, I am getting other errors now which makes me think that since I didn't get a match when I tried johnnyboys method, I am questioning whether I might NEED another bracket. Here are the errors: Just because every bracket has a mate, doesn't mean you have formatted a call properly. You could try removing items, triggers, units, one-by-one until the error goes away. You will then know which object or trigger or whatever is causing it. Process of elimination. Good luck. Share this post Link to post Share on other sites
Harzach 2516 Posted February 24, 2018 Sometimes, context is everything. You want to add a specific cargo loadout to a vehicle. I'm not sure where you got the process you are using, but try simply pasting this into the init field of the vehicle: [this, [[ [[],[]], [["30Rnd_45ACP_Mag_SMG_01","30Rnd_9x21_Mag"],[6,6]], [["FirstAidKit","optic_Aco","optic_ACO_grn","O_NVGoggles_hex_F"],[6,3,3,3]], [[],[]] ],false]] call bis_fnc_initAmmoBox; Share this post Link to post Share on other sites
johnnyboy 3770 Posted February 24, 2018 2 hours ago, froggyluv said: How (after 5+ years) did I never pick up on this?? That's what separates amphibians from higher life forms bro. Share this post Link to post Share on other sites
froggyluv 2133 Posted February 24, 2018 4 hours ago, johnnyboy said: That's what separates amphibians from higher life forms bro. via Imgflip Meme Generator 2 Share this post Link to post Share on other sites