DZAI dynamic patrol bodies disappearing

Discussion in 'Support & Release' started by Bossreaper, Aug 4, 2014.

  1. chi

    chi Well-Known Member

    Joined:
    Aug 17, 2013
    Messages:
    109
    Likes Received:
    6
    When the AI disappear on my server, the fly sounds are still there. I dont think the static ones disappear if I remember correctly. gonna check them on my server tonight and let you know. Thanks for getting back to us so fast, you are the man!! ;-P

    And I do remember the gold bar thing working when I used to use DZAI when i had a community last year. Could you send me the fix when you get some time? Thanks again.
     
  2. Buttface

    Buttface OpenDayZ Rockstar!

    Joined:
    Dec 6, 2012
    Messages:
    599
    Likes Received:
    141
    I'm very busy right now with real life stuff so that's the reason for the release delay. There are a lot of fixes to be included in the next update and which still need to be tested to avoid needing another update to fix anything I have missed. I will be able to start testing again on Saturday. I anticipate the actual release will be in less than a week if everything goes smoothly.
     
    chi likes this.
  3. Cikez

    Cikez Well-Known Member

    Joined:
    Feb 3, 2014
    Messages:
    116
    Likes Received:
    3
    Thanks @Buttface. We look forward to the update. Thanks again for everything. Love the addon :)
     
  4. chi

    chi Well-Known Member

    Joined:
    Aug 17, 2013
    Messages:
    109
    Likes Received:
    6
    I completely understand. Take your time and im sure i speak for a lot of the community when i say we appreciate all your hard work.

    Just to let you know, the disappearing AI is only with dynamic spawns on my server. Static are fine.
     
  5. Buttface

    Buttface OpenDayZ Rockstar!

    Joined:
    Dec 6, 2012
    Messages:
    599
    Likes Received:
    141
    I just checked the current code on Github - the current DZAI_deleteGroup function doesn't actually check if the unit is dead/alive before deleting, so it could possibly be responsible for deleting units when it shouldn't. The current development version has this check so it's possible that that the deletion bug will be solved with the update release.
     
  6. chi

    chi Well-Known Member

    Joined:
    Aug 17, 2013
    Messages:
    109
    Likes Received:
    6
    Awesomeness!!! Can't wait!!!
     
  7. chi

    chi Well-Known Member

    Joined:
    Aug 17, 2013
    Messages:
    109
    Likes Received:
    6
    Bump
     
  8. Buttface

    Buttface OpenDayZ Rockstar!

    Joined:
    Dec 6, 2012
    Messages:
    599
    Likes Received:
    141
    What's the purpose of the bump?
     
  9. chi

    chi Well-Known Member

    Joined:
    Aug 17, 2013
    Messages:
    109
    Likes Received:
    6
    Just checking on the status of the dynamic patrol dead body disappearing issue. You said you were gonna update something that might fix it.
     
  10. Buttface

    Buttface OpenDayZ Rockstar!

    Joined:
    Dec 6, 2012
    Messages:
    599
    Likes Received:
    141
    The fix was included in the 2.1.2 update.
     
  11. chi

    chi Well-Known Member

    Joined:
    Aug 17, 2013
    Messages:
    109
    Likes Received:
    6
    Oh ok. Sorry and thanks.
     
  12. manupsgi

    manupsgi New Member

    Joined:
    Jul 31, 2016
    Messages:
    3
    Likes Received:
    0
    Hey guys - Old post I know but ...

    I just installed the latest github version of DZAI and I seem to be having the same issue as above
    I added some custom spawn AI to a few bases I have and all the players are complaining that the AI despawn before they can get to the body.
    I would guess it's the command that checks if a player is near that is allowing this to happen
    I have large amounts of AI (100+) in each base so the players are not able to get with in 20m to stop the despawn.
    Can I change the 20m radius? Where would I find the line of code to do so if this is possible?
    ----------
    Thanks in advance ~
     
  13. clifdayz

    clifdayz Well-Known Member

    Joined:
    Jul 28, 2015
    Messages:
    155
    Likes Received:
    13
    The dayzmod cleanup routines are doing it.
    find \@hive\addons\dayz_server\system\scheduler\sched_corpses.sqf
    look for this:
    Code:
    if (_x isKindOf "CAManBase") then {
    change to this:
    Code:
                    if ((_x isKindOf "CAManBase") && (isNil {_x getVariable "DZMSAI"}) && (isNil {_x getVariable "DZAI_deathTime"}) ) then {
    
    it's been a while, but I'm pretty sure that DZMSAI check is for DZMSAI (duh) and the DZAI_deathTime check is for DZMS (missions)[I run both]. You can remove the DZAI_deathTime one and check if you want, but it won't hurt anything. It basically telling the regular cleanup code to skip these bodies.
     
  14. manupsgi

    manupsgi New Member

    Joined:
    Jul 31, 2016
    Messages:
    3
    Likes Received:
    0
    Thanks for the reply Clifdayz.
    Making the changes now - will post results ...
     

Share This Page