Jump to content

[Release] Wicked AI 2.2.3 [1.0.6+]


JasonTM

Recommended Posts

  • 2 weeks later...

Does anyone know if this is working back to back with DZAI and DZMS?  I've added it, the extra files for the radio codes, and the battle eye .txt edits but I'm not seeing any missions when I turn my radio on.  The DZAI and DZMS still runs and populates but I don't see anything from Wicked.

Sorry if this has already been answered and I missed it.  Thanks!

Link to comment
Share on other sites

  On 2/1/2018 at 3:32 AM, xDUKEx said:

Does anyone know if this is working back to back with DZAI and DZMS?  I've added it, the extra files for the radio codes, and the battle eye .txt edits but I'm not seeing any missions when I turn my radio on.  The DZAI and DZMS still runs and populates but I don't see anything from Wicked.

Sorry if this has already been answered and I missed it.  Thanks!

Expand  

Yes, there are a lot of servers running all three. The radio has no influence on the mission markers. You can see them with or without a radio.

Link to comment
Share on other sites

 1:30:57 Error in expression <;
};
_x spawn {

uiSleep 15;
_this call sched_co_deleteVehicle;
};
};
};
} forEa>
 1:30:57   Error position: <sched_co_deleteVehicle;
};
};
};
} forEa>
 1:30:57   Error Undefined variable in expression: sched_co_deletevehicle
 1:30:57 File z\addons\dayz_server\WAI\compile\ai_monitor.sqf, line 25

 

the error appears. how to fix it. file itself.

 

if (isServer) then {

    private ["_killedat","_sound"];

    diag_log "WAI: AI Monitor Started";

    while {true} do {
    
        if (ai_clean_dead) then {
            {
                _killedat = _x getVariable "killedat";
                if (!isNil "_killedat") then {
                    if ((time - _killedat) >= ai_cleanup_time) then {
                        //Delete flies and body
                        PVCDZ_flies = [0,_x];
                        publicVariable "PVCDZ_flies";
                        _sound = _x getVariable ["sched_co_fliesSource", nil];
                        if !(isNil "_sound") then {
                            detach _sound;
                            deleteVehicle _sound;
                        };
                        _x spawn {
                            // Wait for PVEH to finish on all clients
                            uiSleep 15;
                            _this call sched_co_deleteVehicle;                                                                                ////////////////////                 25 line
                        };
                    };
                };
            } forEach allDead;
        };

        if(debug_mode) then {
            diag_log format ["WAI: %1 Active ground units", ai_ground_units];
            diag_log format ["WAI: %1 Active emplacement units", ai_emplacement_units];
            diag_log format ["WAI: %1 Active chopper patrol units (Crew)", ai_air_units];
            diag_log format ["WAI: %1 Active vehicle patrol units (Crew)", ai_vehicle_units];
        };

        sleep 60;

    };

};

Link to comment
Share on other sites

  On 2/3/2018 at 8:15 AM, deik said:

 1:30:57 Error in expression <;
};
_x spawn {

uiSleep 15;
_this call sched_co_deleteVehicle;
};
};
};
} forEa>
 1:30:57   Error position: <sched_co_deleteVehicle;
};
};
};
} forEa>
 1:30:57   Error Undefined variable in expression: sched_co_deletevehicle
 1:30:57 File z\addons\dayz_server\WAI\compile\ai_monitor.sqf, line 25

 

the error appears. how to fix it. file itself.

 

if (isServer) then {

    private ["_killedat","_sound"];

    diag_log "WAI: AI Monitor Started";

    while {true} do {
    
        if (ai_clean_dead) then {
            {
                _killedat = _x getVariable "killedat";
                if (!isNil "_killedat") then {
                    if ((time - _killedat) >= ai_cleanup_time) then {
                        //Delete flies and body
                        PVCDZ_flies = [0,_x];
                        publicVariable "PVCDZ_flies";
                        _sound = _x getVariable ["sched_co_fliesSource", nil];
                        if !(isNil "_sound") then {
                            detach _sound;
                            deleteVehicle _sound;
                        };
                        _x spawn {
                            // Wait for PVEH to finish on all clients
                            uiSleep 15;
                            _this call sched_co_deleteVehicle;                                                                                ////////////////////                 25 line
                        };
                    };
                };
            } forEach allDead;
        };

        if(debug_mode) then {
            diag_log format ["WAI: %1 Active ground units", ai_ground_units];
            diag_log format ["WAI: %1 Active emplacement units", ai_emplacement_units];
            diag_log format ["WAI: %1 Active chopper patrol units (Crew)", ai_air_units];
            diag_log format ["WAI: %1 Active vehicle patrol units (Crew)", ai_vehicle_units];
        };

        sleep 60;

    };

};

Expand  

Hi,

You should NEVER see that message. That means there is something seriously wrong with your Epoch install.

This is where that function is: https://github.com/EpochModTeam/DayZ-Epoch/blob/6e48434001a2a9ae4bb0c1e4257730814795ecfc/SQF/dayz_server/system/scheduler/sched_corpses.sqf#L3

This is where it's called from: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_server/system/scheduler/sched_init.sqf#L4

You need to make sure that sched_init file is intact and correct. I suspect there will be other server RPT errors.

Link to comment
Share on other sites

  Reveal hidden contents

there are errors in the weapons config no such weapons.
 

Link to comment
Share on other sites

  On 2/3/2018 at 9:19 AM, deik said:
  Reveal hidden contents

there are errors in the weapons config no such weapons.
 

Expand  

Update the files on your server. It doesn't recognize the new SVD models among other things.

Link to comment
Share on other sites

Update

I have combined the Epoch and Overpoch versions of this mod to make it easier to update. Download link in the first post adjusted.

New feature - You can use a single position for a mission that is spawned dynamically. I have put the code you need to use in the mission example.

The single position feature uses a new function called wai_validSpotCheck added to position_functions.sqf that includes the mission marker check as well as Salival's player near check.

I also added an enableFlies check in aimonitor.sqf so that the server does not broadcast to all clients when flies are disabled. Flies are disabled in Epoch by default.

I made a new array of 205 static spawn points for Chernarus if you want to use that feature.

Link to comment
Share on other sites

Very nice Jason, That static dynamic point position will come in handy.

Can you also add maybe make a toggle the 'feature-bug' thingy about m2 gunners not giving humanity when u kill them?

I mean static mission usually have lots of m2 gunners, half the humanity is gained from there

Link to comment
Share on other sites

  On 2/7/2018 at 10:21 PM, totis said:

Very nice Jason, That static dynamic point position will come in handy.

Can you also add maybe make a toggle the 'feature-bug' thingy about m2 gunners not giving humanity when u kill them?

I mean static mission usually have lots of m2 gunners, half the humanity is gained from there

Expand  

I'll take a look at it.

Link to comment
Share on other sites

These:

  Quote
10:52:02   Error Undefined variable in expression: _magazine
10:52:02 File z\addons\dayz_server\WAI\compile\spawn_static.sqf, line 118
10:52:02 Error in expression <{ _unarmed = true; };
};
};

 
_weapon 	= _aiweapon call BIS_fnc_selectRandom;
_ma>
10:52:02   Error position: <_aiweapon call BIS_fnc_selectRandom;
_ma>
10:52:02   Error Undefined variable in expression: _aiweapon
10:52:02 File z\addons\dayz_server\WAI\compile\spawn_static.sqf, line 95
Expand  
  Quote
10:52:01   Error Undefined variable in expression: _aiweapon
10:52:01 File z\addons\dayz_server\WAI\compile\spawn_static.sqf, line 95
10:52:02 Error in expression <un == "random") 	exitWith { _aiweapon = ai_wep_random call BIS_fnc_selectRandom;>
10:52:02   Error position: <ai_wep_random call BIS_fnc_selectRandom;>
10:52:02   Error Undefined variable in expression: ai_wep_random
10:52:02 File z\addons\dayz_server\WAI\compile\spawn_static.sqf, line 90
10:52:02 Error in expression < from 1 to _mags do {
_unit addMagazine _magazine;
};
Expand  

My weapons array looks like this. I dont think i have an error there, can you spot anything?

https://pastebin.com/08GDRgnc

Link to comment
Share on other sites

  On 2/8/2018 at 10:56 AM, totis said:

These:

My weapons array looks like this. I dont think i have an error there, can you spot anything?

https://pastebin.com/08GDRgnc

Expand  

I don't understand what you did there. You moved the Overwatch weapons outside the   if (WAI_Overpoch)  section. Those weapons are supposed to be grouped together. Are you running an Overpoch server?

Link to comment
Share on other sites

  On 2/8/2018 at 11:43 AM, totis said:

I dont want specific guns and my old array all were mixed.

If i use only the If overpoch array mixed with epoch would it work u think?

 

Expand  

The ai and crates get weapons from the random list below unless a specific array is called in the mission itself. This list includes array names from above.

 ai_wep_random               = [ai_wep_assault,ai_wep_sniper,ai_wep_machine,ai_wep_owacr,ai_wep_owak,ai_wep_owspare,ai_wep_owacrsd,ai_wep_owscar,ai_wep_owsmg,ai_wep_owsniper,ai_wep_owtar,ai_wep_owmas,ai_wep_owlmg,ai_wep_owhk417,ai_wep_owhk416,ai_wep_owg36,ai_wep_owdmr];

If you don't want an entire array of weapons like ai_wep_owacr, then remove it from this list and they won't be used. If you don't want specific guns, like "vil_RPK75_Romania", then remove the individual classnames from the other arrays.

Link to comment
Share on other sites

    _crate             = createVehicle [_crate_type,[(_position select 0) - 20,(_position select 1) - 20,0], [], 0, "CAN_COLLIDE"];

Example of code of mv22 mission.

the -20 u see in the code is the distance of the crate in meters to spawn away from center. Adjust that so crate is further away from the vehicle

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Advertisement
×
×
  • Create New...