Thursday, December 15, 2016

Patch released

fixes a bug that prevented troops in friendly AI groups from spawning 
other minor fixes

15 comments:

  1. Got a new bug : When inside a vehicle, there is no gui menu or team select menu.

    Also got a lots of error in the chat after a retreat (can't give new order while retreat)

    ReplyDelete
  2. Hey, thanks for reporting but I have not yet received any error message my self... can you post the error messages in http://pastebin.com or something?

    the logs can be found in:
    C:\Users\*youname*\AppData\Local\Arma 3\arma3_2016-12-17_11-07-30.rpt

    thanks!

    ReplyDelete
  3. Full log : http://pastebin.com/wtMTKsPE
    Two recurring errors :
    3888.17:50:16 "GW ERROR: invalid side in onUnitLoss UNKNOWN"

    6156.18:26:33 "GW ERROR: attempt to issue new order while fleeing B PRIME (2)"

    ReplyDelete
  4. Ok thanks for posting the errors. Did I understand correctly that you are playing as commander and are trying to give order to retreating unit?

    I see that you were trying to use teamswitch "U" but this is not supported and I have coded a custom team select.

    I disabled the stock team switch for the next version.

    thanks!

    ReplyDelete
  5. no i'm not the commander, i'm in the retreating unit as a simple soldier

    ReplyDelete
  6. I tried the teamswitch as i didn't have the team switch menu yesterday

    ReplyDelete
  7. Ok Ive been fixing the bugs but I dont understand why is the actions not shown to you while in vehicle. it works just fine for me...

    ReplyDelete
  8. the actions work fine today, must be a bug in the dev version that has been corrected

    I think the errors I got has something to do with ASR AI as I don't get any with bcombat

    But I have a lot of errors with VCOMAI :

    File steam\__cur_sp.Altis\ai\getUnitsWithOrder.sqf, line 30
    12:00:25 Error in expression < getVariable "groupstate";
    _busyState = _state;

    if( _state call isPlaneState ) >
    12:00:25 Error position: <_state;

    if( _state call isPlaneState ) >
    12:00:25 Error Undefined variable in expression: _state
    12:00:25 File steam\__cur_sp.Altis\logic\isUnitReady.sqf, line 35
    12:00:25 Error in expression
    12:00:25 Error position: <_ut in _types) || (count _types) == 0) t>
    12:00:25 Error Undefined variable in expression: _ut
    12:00:22 File steam\__cur_sp.Altis\ai\getUnitsWithOrder.sqf, line 30
    12:00:22 Error in expression
    12:00:22 Error position: <_mor, false];
    };


    getNumRecover =
    {
    pri>
    12:00:22 Error Undefined variable in expression: _mor
    12:00:22 File steam\__cur_sp.Altis\logic\unitFns.sqf, line 180
    12:00:22 Error in expression < _group getVariable "morale";
    _morale = _morale + moraleRecovery;
    if(_morale > 1>
    12:00:22 Error position: <_morale + moraleRecovery;
    if(_morale > 1>
    12:00:22 Error Undefined variable in expression: _morale

    Didn't have any error with VCOM on this map with v0.9.7 beta.

    ReplyDelete
  9. ok so these errors come up only with VCOM and ASR AI? that's strange. I dont have these mods my self so I cant test. maybe I download them later.

    thanks

    ReplyDelete
  10. http://pastebin.com/tC1DCpaQ

    A game without the AI mod, very few errors, scripts way more responsive, way faster autobattle.

    Two Suggestions :

    The spawn defenders just wait next to the flag until they see you.
    A patrol script could be a good idea, especially for big town.

    Same with APCs or Tanks, who just stay next to the flag et don't hunt enemies. A patrol script instead of the search and destroyed could make them useful.

    ReplyDelete
  11. thanks for the suggestions, I'll think about it. The tanks are actually supposed to search and destroy as they have that waypoint but for unknown reason they just sit still. I'll try to figure whats wrong with them.

    thanks again for the help!

    ReplyDelete
  12. a good patrol script i use in town for defense or offence

    https://forums.bistudio.com/topic/139280-urban-patrol-script/

    ReplyDelete
  13. Thanks for the script but I dont think I can use it in my mission because I try to keep the lag minimal and that's why I cant spawn the soldiers just for patrolling. They are spawned only when player is near.

    ReplyDelete
  14. I have tested many AI mod with this map ans ASR et AISS3 cause the script to run way slower (1 min to cancel autobattle script when you jump in action or more than 220 min to take 1rst town for the ai.

    Vcom doesn't cause a slowdown but hey are script errors after some times (they may use the same var that you)

    Vcom use mortar and AISS3 use support (CAS)

    ReplyDelete
    Replies
    1. Thanks for taking the time to test those scripts, it's good to know they are not compatible. yeah they might use same vars, hard to say without going through all the vcom source.

      Delete