Jump to content
Sign in to follow this  
Chip360

'launcherBASE' not an array ***please help!

Recommended Posts

Well, anytime I fire a weapon I get an error like 'whateverweapon [launcherBase or M4Recoil]' not an array, and a little dialog box... then i dont have any recoil, its ANNOYING

I think its an addon thats doing it, anyone have any similiar probs??

Share this post


Link to post
Share on other sites
Guest RKSL-Rock

This is due to not using the right class definitions in your config.

For things like "Launcher base" etc: you need to ensure you inherit from the right class eg:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class CfgWeapons

{

class CannonCore; // External class reference

class MGunCore; // External class reference

class LauncherCore; // External class reference

class MYMISSILELAUNCHER : LauncherCore

{

...

....

.....

}

For "BLAH BLAH is not an array" errors you need to ensure you use the right syntax for external class addons.  Eg:

This will prove your error:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">recoil = {Value1, Value2, Value3, Value4}

This wont produce your error

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">recoil[] = {Value1, Value2, Value3, Value4}

PS You might do better next time posting in Configs and Scripting forums. smile_o.gif

Share this post


Link to post
Share on other sites

Darn... so I know it's something in my massive CustomAddon Directory... must have been something I downloaded recently... I've already pulled half the folder and I havn't yet found the culprit :/

Thank you for your explanation on how to fix the problem once I've tracked it down, I will be doing a manul fix instead of waiting for the addon creator to change smile_o.gif

Edit: OMG I may just kill myself instead, ALL I WANTED TO DO was play some damn armed assault with addons! And now because of some retarded screwed up mistake in a pbo somewhere, I Cant do that! Ughhh Ive gone through over 100 addons already... started up the game at least 30 times looking for this damn thing

Share this post


Link to post
Share on other sites
Guest RKSL-Rock
Darn... so I know it's something in my massive CustomAddon Directory... must have been something I downloaded recently... I've already pulled half the folder and I havn't yet found the culprit :/

Thank you for your explanation on how to fix the problem once I've tracked it down, I will be doing a manul fix instead of waiting for the addon creator to change smile_o.gif

Edit: OMG I may just kill myself instead, ALL I WANTED TO DO was play some damn armed assault with addons! And now because of some retarded screwed up mistake in a pbo somewhere, I Cant do that! Ughhh Ive gone through over 100 addons already... started up the game at least 30 times looking for this damn thing

Well finding the culprit is easy.... ArmA logs all the errors in the arma.rpt file.  Its a hidden file so you will need to change yoru explorer settings to "show hidden/system files".  After than goto:

C:\Documents and Settings\<YOUR PROFILE NAME>\Local Settings\Application Data\ArmA

Right click on the arma.rpt file and choose "Open With".  From the context menu choose your prefered text editor - notepad/wordpad and open it.

In it you will find entires created each time arma is started.  These will list all the config and model errors your arma install has encountered.  You can work through the list until you find the error and the offending files... either delete the addon or fix them yourself.

Share this post


Link to post
Share on other sites

Ah, It appears the problem is linked to "LoBoWeapons.Pbo" and or "LoBo_AAunit.Pbo"...

I am going to check for a newer version to the Lost Brothers Mod now and if no fix for this error (v1.09) is found notify the creator, there is a myriad of configs in the Pbos and I'de rather leave them undisturbed.

Edit: yes, I am quite sure the problem was in the LoBoWeapons pbo from the most recent release, notification in LBM thread.

Share this post


Link to post
Share on other sites
Ah, It appears the problem is linked to "LoBoWeapons.Pbo" and or "LoBo_AAunit.Pbo"...

I am going to check for a newer version to the Lost Brothers Mod now and if no fix for this error (v1.09) is found notify the creator, there is a myriad of configs in the Pbos and I'de rather leave them undisturbed.

Edit: yes, I am quite sure the problem was in the LoBoWeapons pbo from the most recent release, notification in LBM thread.

Check the posts over there. I believe they've discussed the errors before. If there's nothing at the LoBo thread then another addons could give the same error.

I get the same errors the first time I fire a weapon during a mission but then it stops. I remember reading about this in a thread but I forgot which one it was.

Edit:

rofl.gif I guess I took too damn long to compose the post. You beat me to it. biggrin_o.gif

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  

×