Jump to content
Dango

Sarge AI

Recommended Posts

Not sure why but when I add the updated version the players no longer get the option in the top menu to enter or drive any of their own vehicles. The ai are spawning ok though, I like the mix of friendly and enemy. :)

 

Not sure if these errors are related to the option to enter and to drive are not there

 

Thanks for your work on this

 

Spoiler

21:15:24 Error in expression <UPSMON_GUER_Total = UPSMON_GUER_Total + count (units _npc)>
21:15:24   Error position: <UPSMON_GUER_Total + count (units _npc)>
21:15:24   Error Undefined variable in expression: upsmon_guer_total
21:15:24 "Sarge AI System: Weapons array is [""arifle_MX_F"",""""]"
21:15:24 No speaker given for Adil Rahimi
21:15:25 "Sarge AI System: Weapons array is [""arifle_Mk20_F"",""""]"
21:15:25 No speaker given for Mahmood Kushan
21:15:25 Error in expression <UPSMON_GUER_Total = UPSMON_GUER_Total + count (units _npc)>
21:15:25   Error position: <UPSMON_GUER_Total + count (units _npc)>
21:15:25   Error Undefined variable in expression: upsmon_guer_total
21:15:25 "Sarge AI System: Weapons array is [""arifle_MX_F"",""""]"
21:15:25 No speaker given for Edward Miller
21:15:26 "Sarge AI System: Weapons array is [""arifle_MXC_F"",""""]"
21:15:27 Error in expression <UPSMON_GUER_Total = UPSMON_GUER_Total + count (units _npc)>
21:15:27   Error position: <UPSMON_GUER_Total + count (units _npc)>
21:15:27   Error Undefined variable in expression: upsmon_guer_total
21:15:29 No speaker given for Abdul-Basir Mohammadi
21:15:29 "DEBUG: loaded player B Alpha 1-6:1 with new schema Version 1"
21:15:33 Speaker Male01_F not found in CfgVoiceTypes
21:15:55 "<infiSTAR.de FNC_AH_KICKLOGSPAWN> [""i7yw511b2ti5wv"",[""[TG] Razor"",""76561198142834414"",""ALOG"",[84,101,108,101,112,111,114,116,32,116,111,32,91,49,54,55,53,51,46,53,44,49,51,54,51,52,46,53,44,48,93,40,71,80,83,58,32,49,54,55,49,51,54,41]],""2:3484""]"
21:15:55 "<infiSTAR.de FNC_AH_KICKLOGSPAWN> [TG] Razor(76561198142834414) Token i7yw511b2ti5wv - objByNetID B Alpha 2-6:1 ([TG] Razor) REMOTE"
21:15:55 "<infiSTAR.de>ADMINLOG| 0h 29min | [TG] Razor(76561198142834414) | Teleport to [16753.5,13634.5,0](GPS: 167136)   [16-12-2017 18-08-39 - v258]"
21:15:56 "[EPOCH VGS]: RequestKey _data = [B Alpha 1-6:1 (Jason BOURNE) REMOTE,""efhkgm""]"
21:15:56 "[EPOCH VGS] Client Jason BOURNE requested his/her vgsKey. Result: EPOCH_vgsKey_3220qV29bJwZkY51aUiMsS"

21:15:57 Server: Object 2:3404 not found (message Type_93)
21:15:57 Server: Object 2:3403 not found (message Type_93)
21:16:06 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:16:06   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:16:06   Error Undefined variable in expression: sar_heli_type
21:16:06 File addons\sarge\code\functions\fn_AI_hit.sqf [SAR_fnc_AI_hit], line 26
21:16:06 "Sarge AI System: _ai_xp = 0; _ai_xp_type = Rookie"
21:16:06 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:16:06   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:16:06   Error Undefined variable in expression: sar_heli_type
21:16:06 File addons\sarge\code\functions\fn_AI_killed.sqf [SAR_fnc_AI_killed], line 28
21:16:13 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:16:13   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:16:13   Error Undefined variable in expression: sar_heli_type
21:16:13 File addons\sarge\code\functions\fn_AI_hit.sqf [SAR_fnc_AI_hit], line 26
21:16:13 "Sarge AI System: _ai_xp = 0; _ai_xp_type = Rookie"
21:16:13 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:16:13   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:16:13   Error Undefined variable in expression: sar_heli_type
21:16:13 File addons\sarge\code\functions\fn_AI_killed.sqf [SAR_fnc_AI_killed], line 28
21:16:42 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:16:42   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:16:42   Error Undefined variable in expression: sar_heli_type
21:16:42 File addons\sarge\code\functions\fn_AI_hit.sqf [SAR_fnc_AI_hit], line 26
21:16:42 "Sarge AI System: _ai_xp = 0; _ai_xp_type = Rookie"
21:16:42 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:16:42   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:16:42   Error Undefined variable in expression: sar_heli_type
21:16:42 File addons\sarge\code\functions\fn_AI_killed.sqf [SAR_fnc_AI_killed], line 28

21:16:53 Client: Remote object 6:0 not found
21:17:00 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:17:00   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:17:00   Error Undefined variable in expression: sar_heli_type
21:17:00 File addons\sarge\code\functions\fn_AI_hit.sqf [SAR_fnc_AI_hit], line 26
21:17:00 "Sarge AI System: _ai_xp = 0; _ai_xp_type = Rookie"
21:17:00 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:17:00   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:17:00   Error Undefined variable in expression: sar_heli_type
21:17:00 File addons\sarge\code\functions\fn_AI_killed.sqf [SAR_fnc_AI_killed], line 28
21:17:05 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:17:05   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:17:05   Error Undefined variable in expression: sar_heli_type
21:17:05 File addons\sarge\code\functions\fn_AI_hit.sqf [SAR_fnc_AI_hit], line 26
21:17:05 "Sarge AI System: _ai_xp = 0; _ai_xp_type = Rookie"
21:17:05 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:17:05   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:17:05   Error Undefined variable in expression: sar_heli_type
21:17:05 File addons\sarge\code\functions\fn_AI_killed.sqf [SAR_fnc_AI_killed], line 28
21:23:24 Error in expression <UPSMON_GUER_Total = UPSMON_GUER_Total + count (units _npc)>
21:23:24   Error position: <UPSMON_GUER_Total + count (units _npc)>
21:23:24   Error Undefined variable in expression: upsmon_guer_total


21:23:57 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:23:57   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:23:57   Error Undefined variable in expression: sar_heli_type
21:23:57 File addons\sarge\code\functions\fn_AI_hit.sqf [SAR_fnc_AI_hit], line 26
21:23:57 "Sarge AI System: _ai_xp = 0; _ai_xp_type = Rookie"
21:23:57 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:23:57   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:23:57   Error Undefined variable in expression: sar_heli_type
21:23:57 File addons\sarge\code\functions\fn_AI_killed.sqf [SAR_fnc_AI_killed], line 28
21:24:02 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:24:02   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:24:02   Error Undefined variable in expression: sar_heli_type
21:24:02 File addons\sarge\code\functions\fn_AI_hit.sqf [SAR_fnc_AI_hit], line 26
21:24:13 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:24:13   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:24:13   Error Undefined variable in expression: sar_heli_type
21:24:13 File addons\sarge\code\functions\fn_AI_hit.sqf [SAR_fnc_AI_hit], line 26
21:24:13 "Sarge AI System: _ai_xp = 0; _ai_xp_type = Rookie"
21:24:13 Error in expression <alive _aiKiller) && !(_aikiller_type in SAR_heli_type) && !("LandVehicle" countT>
21:24:13   Error position: <SAR_heli_type) && !("LandVehicle" countT>
21:24:13   Error Undefined variable in expression: sar_heli_type
21:24:13 File addons\sarge\code\functions\fn_AI_killed.sqf [SAR_fnc_AI_killed], line 28

 

Share this post


Link to post
Share on other sites

The sar_heli_type variable is now fixed. I also removed some files I did not mean to upload. If I had to guess I would say this script was causing something else to fail. Lets see if this fixes it. As for the UPSMON_GUER_Total error, that is one of the known issues. That one shouldn't have any effect.

Share this post


Link to post
Share on other sites

Hi Dango,

I updated and still couldnt get into the vehicles so I changed the sides back to the old version and now I can access the vehicles

Would I have messed anything else up doing this, I still get friendly and enemy AI?

 

Thanks for your time

 

Spoiler

    case "epoch": {
    
    
         SAR_AI_friendly_side = WEST;
         SAR_AI_unfriendly_side = RESISTANCE;


        //SAR_AI_friendly_side = INDEPENDENT;
        //SAR_AI_unfriendly_side = WEST;
        
        //WEST setFriend [CIVILIAN, 0];
        //INDEPENDENT setFriend [CIVILIAN, 1];
    };
    default {
        diag_log "Sarge AI System: ERROR! The mod you are loading Sarge AI for is not supported!";
        breakOut "Main";

 

Share this post


Link to post
Share on other sites
On 11/29/2017 at 4:03 AM, Sneer said:

running it, so far so good. Getting this error though

23:02:58 Error in expression <tposATL (_units select 0);
_attackpos = _currpos;

If ("deletethis" in _bldpos) >
23:02:58   Error position: <_currpos;

If ("deletethis" in _bldpos) >
23:02:58   Error Undefined variable in expression: _currpos
23:02:58 File mpmissions\__cur_mp.Altis\Scripts\UPSMON\MODULES\FORTIFY\fnc\UPSMON_patrolBuilding.sqf, line 29

 

Hi,

Did this error go once you removed A3EAI?  As I am seeing similar logs in the rpt. 

Thanks

Share this post


Link to post
Share on other sites
4 hours ago, Razor1977 said:

Hi Dango,

I updated and still couldnt get into the vehicles so I changed the sides back to the old version and now I can access the vehicles

Would I have messed anything else up doing this, I still get friendly and enemy AI?

 

Thanks for your time

 

  Hide contents

    case "epoch": {
    
    
         SAR_AI_friendly_side = WEST;
         SAR_AI_unfriendly_side = RESISTANCE;


        //SAR_AI_friendly_side = INDEPENDENT;
        //SAR_AI_unfriendly_side = WEST;
        
        //WEST setFriend [CIVILIAN, 0];
        //INDEPENDENT setFriend [CIVILIAN, 1];
    };
    default {
        diag_log "Sarge AI System: ERROR! The mod you are loading Sarge AI for is not supported!";
        breakOut "Main";

 

Doh! I knew something was wrong about those sides lol. That will work fine I believe. If the bandits do not attack on sight then just add back in the setFriends but use the proper faction. I will update the repos with this as well.

Share this post


Link to post
Share on other sites

Hello.  Just starting up an epoch server and I am trying to get Sarge to work.  It doesnt seem to be working, and in the server log it has the followin:

23:17:44 Warning Message: Script addons\sarge\init\fn_preInit.sqf not found
23:17:44 Warning Message: Script addons\sarge\init\fn_postInit.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_anim_heli.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_despawn.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_guards.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_heli.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_hit.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_hit_vehicle.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_infantry.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_interact.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_killed.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_refresh.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_spawn.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_trace.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_trace_base.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_trace_vehicle.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_traders.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_vehicle.sqf not found
23:17:45 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.

I did everything in the installation instructions exactly.  Is there any other modifications I need to make to the server files??

Share this post


Link to post
Share on other sites
10 hours ago, webbie said:

and have you moved the scripts folder into the mission file and added it in the init?

Scripts folder? It needs to go in the mission file.

As your error is referencing that it can not find the scripts folder, double check the path it is in if you have indeed inserted it.

Share this post


Link to post
Share on other sites
On 2/22/2018 at 6:30 AM, Kenobi said:

Hi, players reported, that AI are sometimes spawned 20 meters behind his back. Is possible to change spawning system to prevent AI spawn if player is near?

I am unsure of a minimum distance from players but if you enter a square they shouldn't spawn behind you unless you teleported there or you are moving very fast like in a vehicle. 

Share this post


Link to post
Share on other sites
On 3/24/2018 at 12:50 AM, webbie said:

I know this is getting abit old but its fantastic to use. So once the grid is right how do I make the grid non visible in game?

If you turn off the extreme debug variable it should remove the grid overlay.

Share this post


Link to post
Share on other sites
21 hours ago, datathoid said:

Hello.  Just starting up an epoch server and I am trying to get Sarge to work.  It doesnt seem to be working, and in the server log it has the followin:

23:17:44 Warning Message: Script addons\sarge\init\fn_preInit.sqf not found
23:17:44 Warning Message: Script addons\sarge\init\fn_postInit.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_anim_heli.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_despawn.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_guards.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_heli.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_hit.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_hit_vehicle.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_infantry.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_interact.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_killed.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_refresh.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_spawn.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_trace.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_trace_base.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_trace_vehicle.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_traders.sqf not found
23:17:44 Warning Message: Script addons\sarge\code\functions\fn_AI_vehicle.sqf not found
23:17:45 Warning Message: You cannot play/edit this mission; it is dependent on downloadable content that has been deleted.

I did everything in the installation instructions exactly.  Is there any other modifications I need to make to the server files??

I cant think of what would cause it to not find the files other than them not existing where the server expects them to be. Have you verified the files are not actually missing?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By Pickle Rick
      ip - 192.154.248.253
      Discord.gg/9m99XxM
      NEW SERVER UP AND RUNNING.. FULL OF AI, PVP HELL...  Stop in and ask Pickle Rick or OTROD for a free tank

    • By FG_Trap
      Made a quick static ai mission that spawns on restart. 
      12 ai patrol the compound 
      4 Static m2's
      1 Heli Patrolling the compound 
      Crate for who ever clears all the ai.
      Some screenshots of the compound 


       
      https://github.com/Trapxxgods/Wai-Static-Mission 
    • By victorks
      my first work in editin :) https://uploaddeimagens.com.br/imagens/20180307202515_1-jpg https://uploaddeimagens.com.br/imagens/20180307202245_1-jpg DOWNLOAD: https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0 AI M2 NEED WAI: https://pastebin.com/GJMnPvZP ON THE MAP: https://pastebin.com/cyqH9rNV  
       
      https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0
       
       
       
       
       
       
       
       
       
    • By Thug
      UPDATED 2/20/2018
      Click here for files from Github
      Hello all
      I have been asked to post this so here goes. The island is surrounded by 20m high walls. Only 4 ways in, well you could try and land a heli,  There is two weapon creates and a lottery box behind the palace.
      M2s waiting to greet you.
      If you would like the files, please PM me and I will send them to you.  Don't forget to leave email in PM. I am looking to find a new way to post links since DropBox changed the way they share.
      You have to update the items in the crates to the new class names in Epoch 1.0.6.2  DONE
    • By Cyrus
      Does anyone have info or tutorials on how to add static AI to a custom base? Something like patrolling AI and respawn on server restart?
      Im currently on Arma 2 Dayz Epoch 1.0.6.2 Chernarus map.
       
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...