Teh-Dango / Sarge-AI

Dynamic AI System for Arma 3
GNU General Public License v2.0
12 stars 6 forks source link

Exile Sarge #9

Open snake96969 opened 6 years ago

snake96969 commented 6 years ago

Hi. I am trying to instail Sarge ai to my exile server. But i have an error in rpt.

rpt.zip

Teh-Dango commented 6 years ago

If you have not solved this yet you can try to go to the fn_postInit.sqf file and change

SAR_AI_friendly_side = ""; SAR_AI_unfriendly_side = "";

To this

SAR_AI_friendly_side = WEST; SAR_AI_unfriendly_side = WEST;

They are set as empty strings at first then modified to side. It may not be working as I expected. Also, have you seen any AI spawn anywhere on the map?

snake96969 commented 6 years ago

Hello. Yes, there was one helicopter on the map

mfry224 commented 6 years ago

I found a typo in the exile section for setup. This may have been the cause of your issue.

snake96969 commented 6 years ago

10:00:54 "Sarge AI System: Weapons array is [""arifle_TRG20_F"",""""]" 10:00:54 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Leader!" 10:00:54 Cannot create non-ai vehicle U_C_Mechanic_01_F, 10:00:54 "ExileServer - Starting session for 'AlexS' with ID 'kjubxejy'..." 10:00:55 "Sarge AI System: Weapons array is [""arifle_TRG21_F"",""""]" 10:00:55 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Rifleman!" 10:00:55 Cannot create non-ai vehicle U_C_Mechanic_01_F, 10:00:55 "Sarge AI System: Weapons array is [""arifle_TRG21_F"",""""]" 10:00:55 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Rifleman!" 10:00:55 "Sarge AI System: Infantry group (B Alpha 1-1) spawned in: SAR_area_5_4 with action: PATROL on side: WEST" 10:00:56 Cannot create non-ai vehicle U_C_Mechanic_01_F, 10:00:56 "Sarge AI System: Weapons array is [""arifle_TRG21_F"",""""]" 10:00:56 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Leader!" 10:00:56 Cannot create non-ai vehicle U_C_Mechanic_01_F, 10:00:57 "ExileServer - Dispatching hasPlayerRequest for session 'kjubxejy'..." 10:00:57 "Sarge AI System: Weapons array is [""arifle_Katiba_F"",""""]" 10:00:57 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Rifleman!" 10:00:57 Cannot create non-ai vehicle U_C_Mechanic_01_F, 10:00:57 "Sarge AI System: Weapons array is [""srifle_DMR_04_F"",""""]" 10:00:57 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Sniper!" 10:00:57 "Sarge AI System: Infantry group (B Alpha 1-2) spawned in: SAR_area_5_4 with action: PATROL on side: WEST" 10:00:57 Cannot create non-ai vehicle U_C_Mechanic_01_F, 10:00:58 "SAR DEBUG: trigger off in SAR_trig_5_4" 10:00:58 "Sarge AI System: Weapons array is [""arifle_TRG20_F"",""""]" 10:00:58 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Leader!" 10:00:58 Cannot create non-ai vehicle U_C_Mechanic_01_F, 10:00:59 "Sarge AI System: Weapons array is [""arifle_MXC_F"",""""]" 10:00:59 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Rifleman!" 10:00:59 Cannot create non-ai vehicle U_C_Mechanic_01_F, 10:00:59 "Sarge AI System: Weapons array is [""arifle_MXM_F"",""""]" 10:00:59 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Sniper!" 10:00:59 "Sarge AI System: Infantry group (B Alpha 1-3) spawned in: SAR_area_5_4 with action: PATROL on side: WEST" 10:00:59 Cannot create non-ai vehicle U_C_Mechanic_01_F, 10:01:00 "Sarge AI System: Weapons array is [""arifle_MX_F"",""""]" 10:01:00 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Leader!" 10:01:00 Cannot create non-ai vehicle U_C_Mechanic_01_F, 10:01:01 "Sarge AI System: Weapons array is [""arifle_TRG21_F"",""""]" 10:01:01 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Rifleman!" 10:01:01 Cannot create non-ai vehicle U_C_Mechanic_01_F, 10:01:01 "Sarge AI System: Weapons array is [""arifle_TRG21_F"",""""]" 10:01:01 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Rifleman!" 10:01:01 "Sarge AI System: Infantry group (B Alpha 1-4) spawned in: SAR_area_5_4 with action: PATROL on side: WEST" 10:01:01 Cannot create non-ai vehicle U_C_Mechanic_01_F, 10:01:02 "Sarge AI System: Weapons array is [""arifle_TRG21_F"",""""]" 10:01:02 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Leader!" 10:01:02 Cannot create non-ai vehicle U_C_Mechanic_01_F, 10:01:02 "Sarge AI System: Weapons array is [""arifle_TRG21_F"",""""]" 10:01:02 "SARGE ERROR: Something went wrong when attempting to determine AI side to change headgear for Rifleman!" 10:01:02 "Sarge AI System: Infantry group (R Alpha 1-3) spawned in: SAR_area_5_4 with action: PATROL on side: GUER" 10:01:02 "SAR EXTREME DEBUG: Content of the Monitor after adding spawned groups."

Teh-Dango commented 6 years ago

That model is used only for the leaders of the groups so it would appear that the other group members are spawning. If they were not there would be other models reporting they couldn't be created. I may be wrong though, you may have more errors in your RPT log. Either way the issue rests on the character model. Try to change the leader model to a known working exile one and let's see if that works. As for the error in determining side I will have to look and see if I have made another typo or just coded something incorrectly.

snake96969 commented 6 years ago

I done it and its work! Thank you. How i can disable visual grid on the map?

Teh-Dango commented 6 years ago

You can disable the grid by setting the extreme debug option to false. Would you share the model name you used to make the AI spawn? I will add it to the code and mark this complete.

snake96969 commented 6 years ago

O_Soldier_unarmed_F

snake96969 commented 6 years ago

What about ai on vehicle? I add SAR_land_type = ["Exile_Car_HMMWV_M2_Green","CUP_B_HMMWV_AGS_GPK_ACR","CUP_B_HMMWV_DSHKM_GPK_ACR","CUP_B_Jackal2_GMG_GB_D","CUP_B_Jackal2_L2A1_GB_D"]; but there is no ai on vehicles

Teh-Dango commented 6 years ago

Do you have any errors in the RPT log?

snake96969 commented 6 years ago

No errors in rpt

Teh-Dango commented 6 years ago

Can you find a car and see if it is locked when it spawns in? Are there AI standing around the car?

snake96969 commented 6 years ago

I dont see any vehicles with ai or ai near the vehicles. Only foot patrols