Jump to content
Sign in to follow this  
hamis

size:`required addons/´not an array

Recommended Posts

I get this error message then trying to launch arma!It is fault of some addon most likely.What does this msg mean? banghead.gif

Share this post


Link to post
Share on other sites
I get this error message then trying to launch arma!It is fault of some addon most likely.What does this msg mean? banghead.gif

It means that in one of your addons, there's a CfgPatches class with a syntax error in the line with "requiredAddons".

That property is supposed to be an array, like this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">requiredAddons[]={ "SomeAddon", "AnotherAddon" };

I'll bet a shiny coin that the offending addon has a config.cpp with a missing pair of square brackets after requiredAddons, much like this example:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">requiredAddons={ "SomeAddon", "AnotherAddon" };

Now, unfortunately, the ARMA.RPT error file doesn't say which addon the error message originates from, so you'll have to dig.

Share this post


Link to post
Share on other sites

Well,i extracted many pbo's with pbox and eliteness and none of the config's have those brackets!Eliteness gives error msg even for original config.bin's!!!Do these tools remove brackets when extracting? banghead.gif  banghead.gif

EDIT:Seems that eliteness works ok.Thank's for help! :)Btw,where can i find weapon sway thingy in config?

EDIT:still getting those msg's! banghead.gif

Share this post


Link to post
Share on other sites

i was about to open a thread about it. strange, i unpbo´d TrueIngameUI.pbo and changed some values (to move the GPS window to the left of the screen), it worked with the old version of TruningameUI, so i used the values from my old config.cpp. I unpbo´d the pbo and then unbinarized the config.bin and changed the values in config.cpp, then binarized it again with BINPbo and then i get this message when trying to start ArmA. Can´t figure out what to do now.

Share this post


Link to post
Share on other sites

i think something got messed up during initial unBining. I used ArmaUnbin, maybe thats the problem?

Share this post


Link to post
Share on other sites
I get this error message then trying to launch arma!It is fault of some addon most likely.What does this msg mean? banghead.gif

It means that in one of your addons, there's a CfgPatches class with a syntax error in the line with "requiredAddons".

That property is supposed to be an array, like this:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">requiredAddons[]={ "SomeAddon", "AnotherAddon" };

I'll bet a shiny coin that the offending addon has a config.cpp with a missing pair of square brackets after requiredAddons, much like this example:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">requiredAddons={ "SomeAddon", "AnotherAddon" };

Now, unfortunately, the ARMA.RPT error file doesn't say which addon the error message originates from, so you'll have to dig.

ok mate, that helped me, somehow, all the [] got deleted during unBINing i think. I had to add the [] in every array and now it works. Thx alot! smile_o.gif

Share this post


Link to post
Share on other sites

For me nothing seems to help,tried original unedited weapons.pbo (which is only thing i have edited)but still same msg! crazy_o.gif

Share this post


Link to post
Share on other sites
For me nothing seems to help,tried original unedited weapons.pbo (which is only thing i have edited)but still same msg! crazy_o.gif

you could paste the code in here, maybe someone can help. what do you want to change?

Share this post


Link to post
Share on other sites

Can't do that because i'm going to edit many things over time.This is latest arma.rpt:

=======================================================

Date: 03/17/08 Time: 18:05:06

-------------------------------------------------------

Exception code: C0000005 ACCESS_VIOLATION at 008056E2

Version 1.09.5208

Fault address: 008056E2 01:004046E2 H:\Armed Assault\beta\arma.exe

file:

world: Intro

Prev. code bytes: FF FF 5E C9 C3 FF 74 24 0C 8B 49 30 FF 74 24 0C

Fault code bytes: 8B 01 FF 74 24 0C FF 50 1C 8B 44 24 04 C2 0C 00

Registers:

EAX:0097DE04 EBX:02872F48

ECX:00000000 EDX:000001DC

ESI:02872F40 EDI:00000000

CS:EIP:001B:008056E2

SS:ESP:0023:0125FA3C EBP:0125FA80

DS:0023 ES:0023 FS:003B GS:0000

Flags:00090246

=======================================================

note: Minidump has been generated into the file Profiles\arma.mdmp

Share this post


Link to post
Share on other sites
For me nothing seems to help,tried original unedited weapons.pbo (which is only thing i have edited)but still same msg! crazy_o.gif

A clean, working ArmA installation does not have that problem. Therefore, it is clear that you have other altered and broken addons being loaded. Restore your ArmA installation to a working, known good state ("reinstall from scratch") and begin anew.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×