I

Ivorystate

Member

Last active 4 years ago

  1. 4 years ago
    Mon Jul 27 14:29:44 2020
    I Ivorystate started the conversation ALIVE not caching/removing compositions?.

    I have a bit of a problem and I've tried searching around but can't seem to find anything on it. Does Alive have a system to cache/cleanup objects/compositions, or do I need a third party addon for this? I am currently testing a mission and I noticed after restarting and coming back in after server saving, the server FPS was abnormally low(<20 FPS). I opened zeus and added all scenario objects to be editable, and I saw this:
    -image-

    It seems as though every single composition known to Alive, or insurgent installation such as IED factories, is being simulated on the map. I can't imagine this is intended behavior by Alive so I was wondering how this is normally dealt with. I am using a Headless Client and am on a dedicated server btw. Basically there are hundreds of objects from roadblocks, bases, etc clogging up the server and it doesn't go away with garbage collection.

    Just wondering if this is something I screwed up on making the mission, or a bug, or if I am supposed to using another form of object caching or dynamic simulation or something. I always imagined this stuff would be cached in the Virtual AI System but maybe it doesn't cover compositions? Or maybe having zeus enabled causes this? I may have added these objects to the zeus editor accidentally while testing and then maybe if flags them as not to be removed by Alive? Although if that was the case there are objects on the map that I have never been within 1000m(loading distance) of.

    Apologies if I missed something simple or if there is a topic covering this already, I really tried to solve this on my own and would just like to know where I should be looking for the problem. Only other mods on the server are Aegis, LAMBS ai mods, Zeus enhanced, ACE,ACEX, Spyder Addons, and I am using Virtual AI System for the Headless Client transfers.

  2. 6 years ago
    Sun Nov 25 23:26:23 2018

    Okay so I did a further test now that I have time, it most certainly is not caused by VCOM, and appears to endlessly add waypoints as they complete them. The infinite constant move placement seems to happen after a unit completes it's cycle after a certain number of times, I had one group on a short patrol and another on along one, and the short patrol spawned something like 300 waypoints while the long one was only on 30 or so. To me it seems like there is a limit on how many times the cycle waypoint will be added by alive before it decides to just endlessly place move waypoints on the previous waypoints locations. Not sure what could be causing it if no one else has this problem, maybe it's ACE?

    Steps I took for the test:
    1)place down ALiVE(required) and virtual ai system, turn on debug on Virtual ai system and turn movement speed to 125%
    2)place down 2 groups
    3)place 4 move waypoints and one cycle waypoint on first move waypoint for one group far apart and one group close together
    4)place down player unit far away
    5)place down game master unit, make owner #adminlogged
    6)start mission, allow units to go through their patrol for 5 or 10 minutes
    7)go into zeus, and fly over to ai groups
    8)see waypoints on the close waypoint group are in the 100's and endlessly adding them, far away group has not as many but about 6 cycle waypoints, this causes highly noticeable framerate tanking

  3. Sun Nov 25 22:59:29 2018

    dunno what Fen is, I was using vanilla FIA units though.

    So I decided to just not use Alive for this mission, but I never did further tests without VCOM and so just to clarify, VCOM may have been the issue. I disabled VCOM and tested the cycle waypoints on a group in a blank mission, allowed it to complete 1 or 2 patrol cycles and then went checking in zeus it's waypoints it did the usual move move move move cycle cycle thing so I just assumed the problem was still there without VCOM. It wasn't a very thorough test though so maybe I had accidentally still had VCOM enabled or maybe it wouldn't have infinitely created waypoints and VCOM was causing it, I just decided to not bother with the hassle and use a different caching script regardless.

    I don't have any other mods that could have caused it I think, just gear and unit mods and ACE. I may do a further test.

  4. Sat Nov 24 19:48:13 2018

    @HeroesandvillainsOS Can you replicate this with just ALiVE and CBA with no AI mods?

    I disabled VCOM and that's the only AI mod I have and it seemed to do the same thing, I've decided to just not use ALiVE for this mission anyways though.

  5. Fri Nov 23 21:36:12 2018
    I Ivorystate started the conversation ALiVE Spawning infinite waypoints for pre-placed units?.

    I've tried searching for this issue as it seems like if it is happening to me someone would have run into the same problem already but apparently not. Basically I am trying to make a mission using Alive virtual ai system for caching and such but have shied away from using other modules as they never really worked out for me on this particular mission.

    So basically on Malden 2035 I am placing down patrolling units(often with randomized waypoints using placement radius) and it seems to work fine at the start, using virtualize all except sync, the groups are functioning as intended it seems using Virtual ai system debug. They go through their waypoints and then go back to the first one and restart. The problem is that after a while with them still virtualized, framerate will begin to drop heavily, and zooming over to them in zeus mode will show that some(may be all) of these patrolling groups are getting duplicate cycle waypoints corresponding to the number of times they've gone through their patrol. So if the waypoint should look like this:
    MOVE
    MOVE
    MOVE
    MOVE
    CYCLE
    it will end up looking like
    MOVE
    MOVE
    MOVE
    MOVE
    MOVE
    MOVE
    MOVE
    MOVE
    MOVE
    MOVE
    MOVE
    MOVE
    CYCLE
    CYCLE
    CYCLE
    CYCLE
    What's worse is that some units, seems to be single unit patrols often, will have a large number of move waypoints, no cycle, and the move waypoints will be continuisly added infinitely it seems. So seeing as how I can't find anyone else having this issue, is it just not common to use ALiVE to virtualize pre place units like I am doing in this mission, is this a known bug, or am I maybe doing something wrong? At first I thought maybe it was VCOM AI doing it because I had recently installed it but after removing it and doing further testing it seems to do the same thing. Anyways if I can't find a fix I will just have to go with another scripting solution for caching units I suppose and just drop ALiVE for this mission.

  6. Thu Nov 22 16:40:51 2018
    I Ivorystate joined the forum.