Jump to content
Sign in to follow this  
goliath86

[WIP] CorePatch: config patch for ArmA 2 OA

Recommended Posts

I'm always getting 'Undefined variable in expression' on variables that are clearly defined after this update. Any ideas?

...wait for goliath86 to continue incorporating fixes into this addon and keep it updated?

Alternatively, remove -showscripterrors from your command line and remain blissfully unaware.

Share this post


Link to post
Share on other sites
I'm always getting 'Undefined variable in expression' on variables that are clearly defined after this update. Any ideas?

There are a lot of 'Undefined variables'. I'm working on it daily, it is not so simple to catch and correct all of them.

---------- Post added at 09:37 ---------- Previous post was at 09:32 ----------

If you want, you can help me by posting here all the Undefined variable errors present in your RPT. It would be greatly appreciated!

Share this post


Link to post
Share on other sites

A newer version (1.0.0.10) is available on first post.

- Fixed some more challenges and meta challenges on MP Armory missions and SP Armory missions:

Error in expression <_Challenge_addDynamicContent;

[_grp, _grpPlayers, _this] spawn

{

private ["_>

Error position: <_grpPlayers, _this] spawn

{

private ["_>

Error Variabile non definita nell’espressione: _grpplayers

File ca\mp_armory\armory_mp_challenges\data\scripts\challenges\survival.sqf, line 76

****************************************************************

Error in expression <alive _x} count (units _grp)) > 0) && ((_chal getVariable "state") == -1)} do

{>

Error position: <_chal getVariable "state") == -1)} do

{>

Error Variabile non definita nell’espressione: _chal

File ca\mp_armory\armory_mp_challenges\data\scripts\challenges\survival.sqf, line 96

****************************************************************

Error in expression <imaryChal getVariable "state") != -1};

_player setVariable ["lastMetaChallengeE>

Error position: <_player setVariable ["lastMetaChallengeE>

Error Variabile non definita nell’espressione: _player

File ca\mp_armory\armory_mp_challenges\data\scripts\meta-challenges\night.sqf, line 27

****************************************************************

Error in expression <imaryChal getVariable "state") != -1};

_player setVariable ["lastMetaChallengeE>

Error position: <_player setVariable ["lastMetaChallengeE>

Error Variabile non definita nell’espressione: _player

File ca\mp_armory\armory_mp_challenges\data\scripts\meta-challenges\rush.sqf, line 33

****************************************************************

Error in expression <LT_REACH", _alt]) + "</t><br /><br />", _speed]);

_altString = parseText (format>

Error position: <_speed]);

_altString = parseText (format>

Error Variabile non definita nell’espressione: _speed

File ca\missions\armory\data\scripts\tryout\secchals\minAlt.sqf, line 77

****************************************************************

Error in expression <at [localize "STR_LIB_CHAL_LAND_REACH", _alt]) + "</t><br /><br />", _speed]);

_>

Error position: <_alt]) + "</t><br /><br />", _speed]);

_>

Error Variabile non definita nell’espressione: _alt

File ca\missions\armory\data\scripts\tryout\secchals\land.sqf, line 82

- Fixed OA Shooting Range mission:

Error in expression <IS_ShootingCompleted} do {

waitUntil{!BIS_ShootingPaused};

_tdelta = random(1>

Error position: <BIS_ShootingPaused};

_tdelta = random(1>

Error Variabile non definita nell’espressione: bis_shootingpaused

File ca\missions_e\Bootcamp\TE03_Shooting_range.Zargabad\mission_flow_3_rifles.sqf, line 173

- Fixed Advanced hints System:

_deltax = (_posEnd select 0) - (_posStart select 0)>

Error position: <_posEnd select 0) - (_posStart select 0)>

Error Variabile non definita nell’espressione: _posend

File ca\modules_e\functions\hints\fn_hints_functions_animations.sqf, line 183

****************************************************************

Error in expression <_hoverHeight") then {

_object setPosASL[_posx,_posy,_posz];

} else {

_object set>

Error position: <_posx,_posy,_posz];

} else {

_object set>

Error Variabile non definita nell’espressione: _posx

File ca\modules_e\functions\hints\fn_hints_functions_animations.sqf, line 204

****************************************************************

Error in expression <s / (_distancesPrev select _wpEnd);

if (_progress > 1) then {

_progress = 1;

};

>

Error position: <_progress > 1) then {

_progress = 1;

};

>

Error Variabile non definita nell’espressione: _progress

File ca\modules_e\functions\hints\fn_hints_functions_animations.sqf, line 195

****************************************************************

Error Variabile non definita nell’espressione: _dir

File ca\modules_e\functions\hints\fn_hints_functions_animations.sqf, line 189

****************************************************************

Error in expression <_hoverHeight") then {

_object setPosASL[_posx,_posy,_posz];

} else {

_object set>

Error position: <_posx,_posy,_posz];

} else {

_object set>

Error Variabile non definita nell’espressione: _posx

File ca\modules_e\functions\hints\fn_hints_functions_animations.sqf, line 204

****************************************************************

Error in expression <_positions select _wpEnd;

_deltax = (_posEnd select 0) - (_posStart select 0)>

Error position: <_posEnd select 0) - (_posStart select 0)>

Error Variabile non definita nell’espressione: _posend

File ca\modules_e\functions\hints\fn_hints_functions_animations.sqf, line 183

- Fixed BIS_fn_halo:

Error: Cannot create custom post effect(type: 5), PE with same priority(464) already exist.

Post process effect creation failed

Invalid post effect handle.

- Fixed OA Armor Training mission:

Error in expression <1_Stop,

BIS_MG2_Stop,

BIS_MG3_Stop

];

{

_x setObjectTexture [0,"#(argb,8,8,3)col>

Error position: <_x setObjectTexture [0,"#(argb,8,8,3)col>

Error Variabile non definita nell’espressione: _x

File ca\missions_e\Bootcamp\TE08_Armor.Takistan\mission_setup.sqf, line 215

****************************************************************

Error in expression <unner2,

BIS_WP_Gunner3,

BIS_WP_Gunner4,

BIS_WP_Gunner5,

BIS_WP_Gunner6,

BIS_WP_G>

Error position: <BIS_WP_Gunner5,

BIS_WP_Gunner6,

BIS_WP_G>

Error Variabile non definita nell’espressione: bis_wp_gunner5

File ca\missions_e\Bootcamp\TE08_Armor.Takistan\mission_setup.sqf, line 206

****************************************************************

Error in expression <nner2,

BIS_WP_Gunner3,

BIS_WP_Gunner4,

BIS_WP_Gunner6,

BIS_WP_Gunner7,

BIS_WP_R>

Error position: <BIS_WP_Gunner6,

BIS_WP_Gunner7,

BIS_WP_R>

Error Variabile non definita nell’espressione: bis_wp_gunner6

- Improved OA Armor Training mission:

When the tank is driven by the AI, it doesn't get stuck at certain waypoint

- Fixed and improved SSM Module (Symple Support Module):

- Fixed heli/aircraft crash on spawn when calling CAS or Reinforcements (unit air drop) support

- Fixed RPT error: ca\weapons\lasertgt.p3d: No geometry and no visual shape

- Improved CAS support: now CAS support is more effective; no more aircraft indefinitely flying in circle trying to hit clearly visible target. Now CAS support can hit even buildings without problems. Now SSM Module can set a Functions Manager Module automatically without adding it manually in editor.

- Fixed OA Attack Helicopter mission:

- Now player can finish this mission without problem. Before the player remained stuck when asked to change weapon to Hydra missile to continue the training but Hydra missile are normally manually controlled by player so he has no possibilities to change it and mission stay there forever.

- Fixed even some hints that now display the correct key to press to change the main weapon.

As always, bugs reporting and suggestions are welcomed!

Enjoy :cool:

goliath86

Edited by goliath86

Share this post


Link to post
Share on other sites

Outstanding job goliath86 :bounce3:

Will give for a merge in AiA next weeks and thus inspect your changes in detail. :)

Share this post


Link to post
Share on other sites
Guest

Updated version frontpaged on the Armaholic homepage.

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

We have also "connected" these pages to your account on Armaholic.

This means soon you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have.

When you have any questions already feel free to PM or email me!

Share this post


Link to post
Share on other sites

A newer version (1.0.0.11) is available on first post:

- Fixed BIS UAV Module:

Fixed many Undefined Variable errors

- Fixed BIS ULB Module:

Fixed many Undefined Variable errors

- Fixed BIS UAV Training mission

Fixed group icon of ULB and UAV that disappears when returning to base

Fixed some Undefined Variable errors of the mission.fsm

- Fixed BIS "MARTA" Module (Military Symbols)

It didn't allow use of custom group icon with custom text and/or color (like in the BIS UAV Training mission).

- Added: now with MARTA Module you can define a custom icon color for a group icon by setting the desired colour in the setGroupIconParams settings and then setting the MARTA_custom_color variable to true

_icon = _grp addGroupIcon ["dummy",[]];
_grp setvariable ["BIS_MARTA_ICON_TYPE",_icon];

_iconsize = _grp addgroupicon ["dummy"];
_grp setvariable ["BIS_MARTA_ICON_SIZE",_iconsize];

_grp setVariable ["MARTA_customIcon",["dummy"]];

_grp setGroupIconParams [[1,0,0,1],"HELLO!",1,true];   // Set the group icon parameters for group _grp

_grp setVariable ["MARTA_custom_color", true];           // Apply the custom color specified with the previous commands

Now I've finally fixed most, if not all, the errors that kju provided me.

Now I'm focusing on fixing the remaining module (ALICE, Silvie, Animals etc.) and missions (Warfare etc.)

Cheers,

goliath86

Edited by goliath86

Share this post


Link to post
Share on other sites
Guest

Updated version frontpaged on the Armaholic homepage.

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

We have also "connected" these pages to your account on Armaholic.

This means soon you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have.

When you have any questions already feel free to PM or email me!

Share this post


Link to post
Share on other sites

Goliath: many thanks for all your efforts.

Its fantastic to see such so many long-standing bugs fixed.

Equally heart-warming to see you working so efficiently with an old salt, like kju.

I wish I could buy you a beer or roast you some duck.

Keep up the good work!

Share this post


Link to post
Share on other sites

Thank you Foxhound and kecharles28 for links! :cool:

Goliath: many thanks for all your efforts.

Its fantastic to see such so many long-standing bugs fixed.

Equally heart-warming to see you working so efficiently with an old salt, like kju.

I wish I could buy you a beer or roast you some duck.

Keep up the good work!

Thank you so much domokun! :yay:

Edited by goliath86

Share this post


Link to post
Share on other sites

A newer version (1.0.0.12) is available on first post.

- Merged BIS Ambient Animals Module from BIS Module Improvements Projects by Wolffy.au

  • Added random roosters to the mix of hens
  • Added BIS_Animals_Debug variable for marker visibility
  • Reduced spawn radius to improve MP performance
  • Re-enabled to be dedicated server compatible

- Merged BIS Jukebox Module from BIS Module Improvements Projects by Wolffy.au

  • BIS_fnc_music is played in realtime, playback is faster after hitting Escape (by zGuba)

- Merged BIS_fnc_locations fixes from BIS Module Improvements Projects by Wolffy.au

  • Fixed custom locations

- Fixed BIS Zora (Zone Restriction) Module (removed "Knwon Bugs" reported even on BI Wiki)

- Fixed many "Undefined Variable xxxx" errors

- Fixed "Known Bugs":

  • Disembarking from a vehicle you embarked in the border will make you killed as if you left the combat area (even if disembarking in safe zone)
  • Disembarking from a vehicle you started in will make you killed as if you left the combat area

The fix does not include the workaround code mentioned on BI WIKI but instead corrects the bug completely!

- Merged BIS Ambient Civilian (Expansion) Module from BIS Module Improvements Projects by Wolffy.au

  • Added bis_alice_emptydoor code for A2 building compatibility
  • Reduced default AI skill for less CPU
  • Increased traffic vehicles (3) per town
  • Added traffic debug markers
  • Added passengers to traffic
  • Driver and passenger faction dependent on town faction
  • Added removal if vehicle moves out of range of players
  • Randomise destination if vehicle still within range
  • Reduced traffic spawn delay from 60 sec to max 15 sec
  • Changed traffic spawn condition to when town active and 1 player within spawn distance

A big thanks to Wolffy.au and zGuba for their BIS MIP Project!

More fixes coming soon! :cool:

Cheers

goliath86

Share this post


Link to post
Share on other sites

Outstanding! You are a monster goliath86 - in the positive sense of course :cool:

Share this post


Link to post
Share on other sites
Guest

Updated version frontpaged on the Armaholic homepage.

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

We have also "connected" these pages to your account on Armaholic.

This means soon you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have.

When you have any questions already feel free to PM or email me!

Share this post


Link to post
Share on other sites
;2819883']Outstanding! You are a monster goliath86 - in the positive sense of course :cool:

Like .kju [PvPscene] said. ;)

Share this post


Link to post
Share on other sites

Must have unofficial patch/fix!

ArmA 2 is resurrecting from the ashes of DayZ(mod) hordes and ArmA 3 year one mass migrations! :cool:

Share this post


Link to post
Share on other sites
Must have unofficial patch/fix!

ArmA 2 is resurrecting from the ashes of DayZ(mod) hordes and ArmA 3 year one mass migrations! :cool:

To bad Tankbuster already coined the term Project Phoenix, although that has probably fallen back to ashes also...

Great work goliath86!

Share this post


Link to post
Share on other sites

A newer version (1.0.0.13) is available on first post:

- Merged BIS Silvie Module from BIS Module Improvements Projects by Wolffy.au and zGuba

  • Enabled random radio
  • Added random lock (optional)
  • Ported zGuba's random fuel and damage (optional)
  • Rating -400 if stealing a civilian car (optional)
  • Converge to terrain (zGuba and tweaked by goliath86)
  • Randomly remove weapon and magazine cargo

- Further improved BIS Silvie Module so no more heavy damage vehicle are spawned

- Fixed "Duplicate item .." RPT entries by first training mission of ArmA 2

Duplicate weapon ItemMap detected for FR_Cooper

Duplicate weapon ItemWatch detected for FR_Cooper

Duplicate weapon ItemRadio detected for FR_Cooper

Duplicate weapon ItemRadio detected for FR_Miles

Duplicate weapon ItemRadio detected for FR_Sykes

Duplicate weapon ItemRadio detected for FR_Commander

Duplicate weapon ItemRadio detected for FR_OHara

Now I'm focusing on remaining A2 modules (ACM, SOM and Warfare) then I'll try to correct as many bugs as possibile from the CCP bug tracker

Enjoy!

:cool:

Share this post


Link to post
Share on other sites
Guest

Updated version frontpaged on the Armaholic homepage.

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

We have also "connected" these pages to your account on Armaholic.

This means soon you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have.

When you have any questions already feel free to PM or email me!

Share this post


Link to post
Share on other sites

How did you fix these?

Fixed "Duplicate item .." RPT entries

No addWeapon "item" when already present?

Share this post


Link to post
Share on other sites
;2825951']How did you fix these?

No addWeapon "item" when already present?

Exactly .kju!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×