Jump to content
cool=azroul13

UPSMON Updated to ArmaIII

Recommended Posts

Guest

Thanks for sending us the newest release :cool:

New 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

Thanks for the quick fix! Appreciate your work :rthumb:

Share this post


Link to post
Share on other sites

Hi,

If you can take also a look at the retreat module. It´s missing "upsmon_doretreat" variable ;-) I found it by just enabling the retreat variable in the UPSMON init (UPSMON_WEST_RETREAT = 10, for instance) and spawning units in a town:

Undefined "upsmon_doretreat" variable in "UPSMON\COMMON\Group\fnc\UPSMON_IsRetreating.sqf, line 28", according to arma RTP log

Share this post


Link to post
Share on other sites
Guest

Thanks for sending us the fixed version :cool:

New 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

Thank you for your hard work...with the recent release 6.0.9.4 (Versiontxt in UPSMON_init.sqf still says "6.0.9.1") I get the following error. I do not use the respwan feature so I can't make sense of this.

Thanks.

Error in expression <iable "UPSMON_RESPAWNPOS";

_mensnear = _orgpos nearentities [["CAManBase","TANK>

9:41:22 Error position: <_orgpos nearentities [["CAManBase","TANK>

9:41:22 Error Undefined variable in expression: _orgpos

9:41:22 File \Scripts\UPSMON\MODULES\UPSMON_RESPAWN.sqf, line 73

9:41:22 Error in expression <live leader _grp,_removeunit];};

if (_side == civilian) then

{

if (_grp in UP>

9:41:22 Error position: <_side == civilian) then

{

if (_grp in UP>

9:41:22 Error Undefined variable in expression: _side

9:41:22 File \Scripts\UPSMON\MODULES\UPSMON_RESPAWN.sqf, line 31

9:41:22 Error in expression <N_Removegroup",false]) exitwith

{

[_grp,_UCthis] call UPSMON_RESPAWN;

};

_npc>

9:41:22 Error position: <_UCthis] call UPSMON_RESPAWN;

};

_npc>

9:41:22 Error Undefined variable in expression: _ucthis

9:41:22 File \Scripts\UPSMON\UPSMON_MAINLOOP.sqf, line 24

9:41:22 Error in expression <SMON_Lastattackpos",[]];

_areamarker = _Ucthis select 1;

_surrended = false;

i>

9:41:22 Error position: <_Ucthis select 1;

_surrended = false;

i>

9:41:22 Error Undefined variable in expression: _ucthis

9:41:22 File \Scripts\UPSMON\UPSMON_MAINLOOP.sqf, line 19

Share this post


Link to post
Share on other sites

I've got another error too:

I did allow retreating (chance of 10 percent):

11:31:16 Error in expression <pos,_typeofgrp,_assignedvehicles] spawn UPSMON_DORETREAT;
_grp setvariable ["UPS>
11:31:16   Error position: <UPSMON_DORETREAT;
_grp setvariable ["UPS>
11:31:16   Error Undefined variable in expression: upsmon_doretreat
11:31:16 File C:\Users\nomisum\Documents\Arma 3\missions\CO-14_SweetSurprise.Takistan\Scripts\UPSMON\COMMON\Group\fnc\UPSMON_IsRetreating.sqf, line 28
11:31:18 Error in expression <pos,_typeofgrp,_assignedvehicles] spawn UPSMON_DORETREAT;
_grp setvariable ["UPS>
11:31:18   Error position: <UPSMON_DORETREAT;
_grp setvariable ["UPS>
11:31:18   Error Undefined variable in expression: upsmon_doretreat
11:31:18 File C:\Users\nomisum\Documents\Arma 3\missions\CO-14_SweetSurprise.Takistan\Scripts\UPSMON\COMMON\Group\fnc\UPSMON_IsRetreating.sqf, line 28

Share this post


Link to post
Share on other sites
Thank you for your hard work...with the recent release 6.0.9.4 (Versiontxt in UPSMON_init.sqf still says "6.0.9.1") I get the following error. I do not use the respwan feature so I can't make sense of this.

Thanks.

I can reproduce it now: I have added an action to recruit a team from the UPSMON-controlled teams. It occurs when I join all units to my team after setting:

_group setvariable ["UPSMON_Removegroup",true];

It seems to help if I let the script wait a couple seconds. So it is not an UPSMON-error.

Is there a safe way to remove a group from upsmon and add its units to the players team?

Thanks!

Share this post


Link to post
Share on other sites

Okay, checking UPSMON_NPCs helped. I can now run my mission without interfering with UPSMON. Thanks a lot!

I also used your Version you gave me. It works as good as the version I used earlier. It also creates the same error that I mentioned in my first post. I can recreate it by removing all units from an upsmon-controlled group. Result is, that all upsmon controlled groups stop moving and the "exiting main loop" hint repeats continuously.

But adding your proposed check I can now safely remove entire teams and add them to another team. I hope this will fix all my issues I had in my main mission. But in the test environment it worked.

Thanks again.

EDIT: Still happening in main mission. have to perform deeper analysis. Will get back when sure what triggers it.

Edited by rosentorf

Share this post


Link to post
Share on other sites

I might found the problem, but I can't test or upload anything until this evening. Thanks for the report.

@Nomisum

I upload the wrong file, this last version should work.

Share this post


Link to post
Share on other sites

Love all the new additions to upsmon.

I like Gaia from MCC,but upsmon just makes the player able to tweak the balls out of the AI.

I can also confirm units exiting main loop after some time of play.Looking forward to next.Thanks again for all the time spent on this Azroul.

Share this post


Link to post
Share on other sites

Thanks Redarmy :) .

Can you be more precise :

I can also confirm units exiting main loop after some time of play.

Share this post


Link to post
Share on other sites

@Nomisum

I upload the wrong file, this last version should work.

Ah well, I just wanted to report more errors ^^ Will try again. Thanks.

Edit: Both files on armaholic still say UPSMON_Version = "UPSMON 6.0.9.1";

I get the following error when creating a group via script

My Call, whereas taliban is an array of CAF_AG units:

_grp1 = [(getMarkerPos "village"),east,taliban,[_minUnits,_maxUnits],3,["village","RANDOMA","NOWP"]] call UPSMON_CreateGroup;

Error:

_Behaviour = stealth;
_combatmode = "BLUE";
};

if (_>
17:12:53   Error position: <stealth;
_combatmode = "BLUE";
};

if (_>
17:12:53   Error Undefined variable in expression: stealth
17:12:53 File C:\Users\nomisum\Documents\Arma 3\missions\CO-14_SweetSurprise.Takistan\Scripts\UPSMON.sqf, line 339
17:12:53 Error in expression <p enableAttack false;
_npc setbehaviour _Behaviour;
_npc setspeedmode _speed;
_g>
17:12:53   Error position: <_Behaviour;
_npc setspeedmode _speed;
_g>
17:12:53   Error Undefined variable in expression: _behaviour
17:12:53 File C:\Users\nomisum\Documents\Arma 3\missions\CO-14_SweetSurprise.Takistan\Scripts\UPSMON.sqf, line 367

Edited by nomisum

Share this post


Link to post
Share on other sites
Can you both confirm if the error is still present ?

http://www.fileconvoy.com/dfl.php?id=g151e26b5f845fe8b9995840066e9208cdc54d57ee

P.S Foxhound: There's no need to upload this one ;) .

Not the errors from before. Thanks!

I'm calling with

_minUnits = 3;
_maxUnits = 6;

switch (paramsArray select 1) do {
   case 0: { _minUnits = 1; _maxUnits = 3; };
   case 1: { _minUnits = 3; _maxUnits = 6; };
   case 2: { _minUnits = 4; _maxUnits = 8; };
   case 3: { _minUnits = 8; _maxUnits = 9; };
   default { hint "error"; };
};
_pos = getMarkerPos "village";
_grp1 = [_pos,east,taliban,[_minUnits,_maxUnits],3,["fortify1","RANDOMA","NOWP"]] call UPSMON_CreateGroup;

Error:

12:46:34 Error in expression <],3,["fortify1","RANDOMA","NOWP"]] call UPSMON_CreateGroup;
_grp2 = [_pos,east,t>
12:46:34   Error position: <UPSMON_CreateGroup;
_grp2 = [_pos,east,t>
12:46:34   Error Undefined variable in expression: upsmon_creategroup
12:46:34 File mpmissions\__CUR_MP.Takistan\init.sqf, line 70

Share this post


Link to post
Share on other sites

just gona download now man.

When i said exiting main loop,i meant units just stopped moving after some time.Will try the version yu asked to test

Share this post


Link to post
Share on other sites
This version works for me. The error is not happening anymore. Upsmon groups do not stop moving anymore.

Great many thanks for your fix!

I can say the same.

However,iv used a 500x500 marker area,some blufor and opfor fighting over it.When all bluefor or opfor groups are dead,the remaining groups never leave combat behaviour.

Share this post


Link to post
Share on other sites
@RedArmy

What's their last Group mission (UPSMON_Debug = 1) ?

sorry,didnt have debug on,will test again.

However after spawning more units in,and they were killed,initial groups finaly turned to aware behaviour.

will test again

---------- Post added at 17:14 ---------- Previous post was at 16:22 ----------

Azroul

i couldnt reproduce original issue.

However a new one,after combat in a marker area and its cleared,groups proceeded to travel very far away on patrol mission.

Share this post


Link to post
Share on other sites
Where do they patrol ? Not in their marker ? Are they on Patrol or PatrolSrch mission ?

Not in their marker,about 3km away from marker(500x500) in patrolSrch

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

×