ship.escortSetup.wtf

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Chaky
Deadly
Deadly
Posts: 213
Joined: Sat Aug 15, 2009 6:15 am

ship.escortSetup.wtf

Post by Chaky »

Code: Select all

[ship.escortSetup.wtf]: Pending escort count for <StationEntity 0x8fab010>{"NavyCondor" "NavyCondor" ID: 383 position: (-757.151, 16301.4, 478002) scanClass: CLASS_NEUTRAL status: STATUS_ACTIVE} is 6, expected 0. This is an internal error, please report it.
This is a log entry that is driving me nuts. I'm trying to squish that bug with RS, but I just don't get what is wrong there.

Here are some relevant infos:

Entry in shipdata.plist

Code: Select all

<key>NavyCondor</key>
	<dict>
	<key>ai_type</key>
	<string>NavyCondorPatrolAI.plist</string>
	<key>escort-ship</key>
	<string>PoliceKestrel</string>
	<key>escorts</key>
	<integer>6</integer>
	<key>defense_ship_role</key>
	<string>KestrelInterceptor</string>
	<key>max_defense_ships</key>
	<integer>8</integer>
	<key>isCarrier</key>
	<true/>
	<key>view_position_forward</key>
	<string>0.0 90 680</string>
	<key>view_position_aft</key>
	<string>0.0 0.0 -600</string>
	<key>view_position_port</key>
	<string>-50 90 680</string>
	<key>view_position_starboard</key>
	<string>50 90 680</string>
	<key>weapon_position_forward</key>
	<string>0.0 0.0 700</string>
	<key>weapon_position_aft</key>
	<string>0.0 0.0 -600</string>
	<key>weapon_position_port</key>
	<string>-210 0.0 70</string>
	<key>weapon_position_starboard</key>
	<string>210 0.0 70</string>
	<key>exhaust</key>
		<array>
		<string>120 120 -280 60 60 300</string>
		<string>120 120 -240 90 90 200</string>
		<string>-120 120 -280 60 60 300</string>
		<string>-120 120 -240 90 90 200</string>
		<string>120 -120 -280 60 60 300</string>
		<string>120 -120 -240 90 90 200</string>
		<string>-120 -120 -280 60 60 300</string>
		<string>-120 -120 -240 90 90 200</string>
		</array>
	<key>subentities</key>
		<array>
		<string>ndock 0.0 -184.0 64.0 0 1 0 0</string>
		<string>nint 120 120 -120 1 0 0 0</string>
		<string>neng 120 120 -120 1 0 0 0</string>
		<string>nint -120 120 -120 1 0 0 0</string>
		<string>neng -120 120 -120 1 0 0 0</string>
		<string>nint 120 -120 -120 1 0 0 0</string>
		<string>neng 120 -120 -120 1 0 0 0</string>
		<string>nint -120 -120 -120 1 0 0 0</string>
		<string>neng -120 -120 -120 1 0 0 0</string>
		<string>sengrr 120 120 -120 1 0 0 0</string>
		<string>sengr 120 120 -120 1 0 0 0</string>
		<string>sringf 120 120 -120.4 1 0 0 0</string>
		<string>sringr 120 120 -120.4 1 0 0 0</string>
		<string>sengrr -120 120 -120 1 0 0 0</string>
		<string>sengr -120 120 -120 1 0 0 0</string>
		<string>sringf -120 120 -120.4 1 0 0 0</string>
		<string>sringr -120 120 -120.4 1 0 0 0</string>
		<string>sengrr 120 -120 -120 1 0 0 0</string>
		<string>sengr 120 -120 -120 1 0 0 0</string>
		<string>sringf 120 -120 -120.4 1 0 0 0</string>
		<string>sringr 120 -120 -120.4 1 0 0 0</string>
		<string>sengrr -120 -120 -120 1 0 0 0</string>
		<string>sengr -120 -120 -120 1 0 0 0</string>
		<string>sringf -120 -120 -120.4 1 0 0 0</string>
		<string>sringr -120 -120 -120.4 1 0 0 0</string>
		<string>nhab1 0.0 0.0 0.0 1 0 0 0</string>
		<string>nhab2 0.0 0.0 0.0 1 0 0 0</string>
		<string>nhab3 0.0 0.0 0.0 1 0 0 0</string>
		<string>nring1 0.0 0.0 0.0 1 0 0 0</string>
		<string>nring2 0.0 0.0 0.0 1 0 0 0</string>
		<string>nbridge 0.0 0.0 0.0 1 0 0 0</string>
		<string>ngunf 0.0 0.0 0.0 1.0 0 0 0</string>
		<string>ngunf 0.0 0.0 0.0 0.5 0 0 0.8660254</string>
		<string>ngunf 0.0 0.0 0.0 0.5 0 0 -0.8660254</string>
		<string>ngunr 0.0 0.0 0.0 1.0 0 0 0</string>
		<string>ngunr 0.0 0.0 0.0 0.5 0 0 0.8660254</string>
		<string>ngunr 0.0 0.0 0.0 0.5 0 0 -0.8660254</string>
		<string>ntorus 0.0 0.0 6 1 0 0 0</string>
		<string>c-turret 5 160 600 1 0 0 0</string>
		<string>c-turret -5 160 600 1 0 0 0</string>
		<string>c-turret 5 -160 600 1 0 0 0</string>
		<string>c-turret -5 -160 600 1 0 0 0</string>
		<string>c-turret 160 5 600 1 0 0 0</string>
		<string>c-turret 160 -5 600 1 0 0 0</string>
		<string>c-turret -160 5 600 1 0 0 0</string>
		<string>c-turret -160 -5 600 1 0 0 0</string>
		<string>c-turret 163 0.0 590 0.5 0.0 -0.5 0</string>
		<string>c-turret -163 0.0 590 0.5 0.0 0.5 0</string>
		<string>c-turret 0.0 163 590 0.25 0.5 0.0 0</string>
		<string>c-turret 0.0 -163 590 0.25 -0.5 0.0 0</string>
		<string>c-turret 220 15 60 0.5 0.0 -0.5 0</string>
		<string>c-turret 220 -15 60 0.5 0.0 -0.5 0</string>
		<string>c-turret -220 15 60 0.5 0.0 0.5 0</string>
		<string>c-turret -220 -15 60 0.5 0.0 0.5 0</string>
		<string>c-turret 220 15 80 0.5 0.0 -0.5 0</string>
		<string>c-turret 220 -15 80 0.5 0.0 -0.5 0</string>
		<string>c-turret -220 15 80 0.5 0.0 0.5 0</string>
		<string>c-turret -220 -15 80 0.5 0.0 0.5 0</string>
		<string>c-turret 10 169 70 0.25 0.5 0.0 0</string>
		<string>c-turret -10 169 70 0.25 0.5 0.0 0</string>
		<string>c-turret 10 -210 70 0.25 -0.5 0.0 0</string>
		<string>c-turret -10 -210 70 0.25 -0.5 0.0 0</string>
		<string>c-turret 10 165 85 0.5 0.5 0 0</string>
		<string>c-turret -10 165 85 0.5 0.5 0 0</string>
		<string>c-turret 10 -208 85 0.5 -0.5 0 0</string>
		<string>c-turret -10 -208 85 0.5 -0.5 0 0</string>
		<string>c-turret 42 10 -580 0.5 0.0 -0.5 0</string>
		<string>c-turret 42 -10 -580 0.5 0.0 -0.5 0</string>
		<string>c-turret -42 10 -580 0.5 0.0 0.5 0</string>
		<string>c-turret -42 -10 -580 0.5 0.0 0.5 0</string>
		<string>c-turret 0.0 43 -580 0.5 0.5 0 0</string>
		<string>c-turret 0.0 -43 -580 0.5 -0.5 0 0</string>
		<string>c-turret 10 42 -590 0.25 0.5 0.0 0</string>
		<string>c-turret -10 42 -590 0.25 0.5 0.0 0</string>
		<string>c-turret 10 -42 -590 0.25 -0.5 0.0 0</string>
		<string>c-turret -10 -42 -590 0.25 -0.5 0.0 0</string>
		<string>*FLASHER* 0.0 0.0 -150 255 0.0 0.0 300</string>
		<string>*FLASHER* 0.0 0.0 -300 255 0.0 0.0 300</string>
		<string>*FLASHER* 120 120 20 255 0.0 0.0 80</string>
		<string>*FLASHER* -120 120 20 255 0.0 0.0 80</string>
		<string>*FLASHER* 120 -120 20 255 0.0 0.0 80</string>
		<string>*FLASHER* -120 -120 20 255 0.0 0.0 80</string>
		<string>*FLASHER* 120 120 -260 255 0.0 0.0 240</string>
		<string>*FLASHER* 120 120 -340 0.0 0.0 0.0 150</string>
		<string>*FLASHER* -120 120 -260 255 0.0 0.0 240</string>
		<string>*FLASHER* -120 120 -340 0.0 0.0 0.0 150</string>
		<string>*FLASHER* 120 -120 -260 255 0.0 0.0 240</string>
		<string>*FLASHER* 120 -120 -340 0.0 0.0 0.0 150</string>
		<string>*FLASHER* -120 -120 -260 255 0.0 0.0 240</string>
		<string>*FLASHER* -120 -120 -340 0.0 0.0 0.0 150</string>
		<string>*FLASHER* 0.0 0.0 -570 0.0 0.0 0.0 120</string>
		<string>*FLASHER* 0.0 0.0 -570 15 1.0 0.5 120</string>
		<string>*FLASHER* 0.0 0.0 700 0.0 0.0 0.0 40</string>
		<string>*FLASHER* 0.0 0.0 700 15 1.0 0.5 40</string>
		<string>*FLASHER* 0.0 -75 670 255 0.0 0.0 120</string>
		<string>*FLASHER* 0.0 0.0 210 200 0.0 0.0 400</string>
		<string>*FLASHER* 0.0 0.0 310 200 0.0 0.0 420</string>
		<string>*FLASHER* 0.0 0.0 410 200 0.0 0.0 400</string>
		<string>*FLASHER* -210 0.0 70 0.0 0.0 0.0 40</string>
		<string>*FLASHER* 210 0.0 70 0.0 0.0 0.0 40</string>
		</array>
	<key>weapon_energy</key>
	<real>60</real>
	<key>aft_eject_position</key>
	<string>0.0 40 -600</string>
	<key>cargo_type</key>
	<string>CARGO_NOT_CARGO</string>
	<key>energy_recharge_rate</key>
	<real>5.0</real>
	<key>forward_weapon_type</key>
	<string>WEAPON_MILITARY_LASER</string>
	<key>aft_weapon_type</key>
	<string>WEAPON_MILITARY_LASER</string>
	<key>port_weapon_type</key>
	<string>WEAPON_MILITARY_LASER</string>
	<key>starboard_weapon_type</key>
	<string>WEAPON_MILITARY_LASER</string>
	<key>has_ecm</key>
	<real>1.0</real>
	<key>has_shield_booster</key>
	<real>1.0</real>
	<key>has_shield_enhancer</key>
	<real>1.0</real>
	<key>has_energy_unit</key>
	<real>1.0</real>
	<key>has_fuel_injection</key>
	<real>1.0</real>
	<key>has_heat_shield</key>
	<real>1.0</real>
	<key>has_scoop</key>
	<real>1.0</real>
	<key>has escape_pod</key>
	<real>1.0</real>
	<key>laser_color</key>
	<string>blueColor</string>
	<key>likely_cargo</key>
	<integer>250</integer>
	<key>max_cargo</key>
	<string>1200</string>
	<key>max_energy</key>
	<real>6460</real>
	<key>max_flight_pitch</key>
	<real>0.4</real>
	<key>max_flight_roll</key>
	<real>0.8</real>
	<key>max_flight_speed</key>
	<real>660</real>
	<key>missile_launch_position</key>
	<string>0.0 -120 680</string>
	<key>missile_role</key>
	<string>EQ_HARDENED_MISSILE</string>
	<key>missiles</key>
	<integer>50</integer>
	<key>model</key>
	<string>navyhanger.dat</string>
	<key>name</key>
	<string>NavyCondor</string>
	<key>roles</key>
	<string>navy_carrier carrier</string>
	<key>thrust</key>
	<real>20</real>
	<key>smooth</key>
	<true/>
	<key>death_actions</key>
		<array>
		<string>commsMessage: [policecondor-plea]</string>
		<string>spawn: explosive_shrapnel 6</string>
		<string>commsMessage: [policecondor-plea]</string>
		<string>spawn: explosive_shrapnel 6</string>
		</array>
	</dict>
Here's NavyCondorPatrolAI.plist

Code: Select all

{
	"ATTACK_TARGET" = {
		"ENERGY_LOW" = ("setStateTo: FLEE","commsMessage: All Flank Retreat.");
		ENTER = (checkGroupOddsVersusTarget,performAttack,"commsMessage: [policecondor-plea]");
		EXIT = ();
		"INCOMING_MISSILE" = (fightOrFleeMissile);
		"TARGET_DESTROYED" = ("setStateTo: HEAD_FOR_WITCHPOINT","commsMessage: Target destroyed...");
		"TARGET_LOST" = ("setStateTo: HEAD_FOR_WITCHPOINT");
		"GROUP_ATTACK_TARGET" = (setTargetToFoundTarget,"setStateTo: ATTACK_TARGET","commsMessage: All Ships - You have your vectors.");
		"ODDS_BAD" = (launchDefenseShip);
		"ODDS_LEVEL" = (launchDefenseShip);
		UPDATE = ();
	};
	"ATTACK_THARGOID" = {
		"ENERGY_LOW" = (launchDefenseShip,deployEscorts,groupAttackTarget,"setSpeedTo: 1.4",setDestinationWithinTarget,"commsMessage: Ramming Speed!");
		"ATTACKED" = (setTargetToPrimaryAggressor,"setStateTo: ATTACK_TARGET");
		"INCOMING_MISSILE" = (fightOrFleeMissile);
		"TARGET_FOUND" = (setTargetToFoundTarget,"setStateTo: ATTACK_TARGET");
		"NOTHING_FOUND" = ("setStateTo: HEAD_FOR_WITCHPOINT");
		"ODDS_BAD" = (launchDefenseShip);
		"ODDS_LEVEL" = (launchDefenseShip);
		ENTER = (scanForThargoid,"pauseAI: 1.0");
		EXIT = ();
		UPDATE = (scanForThargoid,"pauseAI: 1.0");
	};
	"DOCKING_PLANET" = {
		ENTER = (performStop);
		"DOCKING_COMPLETE" = ("setStateTo: HEAD_FOR_PLANET");
		"GROUP_ATTACK_TARGET" = (setTargetToFoundTarget);
		ATTACKED = (setTargetToPrimaryAggressor,groupAttackTarget);
		"INCOMING_MISSILE" = (fightOrFleeMissile,setTargetToPrimaryAggressor,groupAttackTarget);
		"TARGET_FOUND" = (setTargetToFoundTarget,groupAttackTarget);
		EXIT = ();
		UPDATE = (scanForHostiles,"pauseAI: 10.0");
	};
	"HEAD_FOR_PLANET" = {
		ENTER = (setCourseToPlanet,"setDesiredRangeTo: 50000.0",checkCourseToDestination);
		"COURSE_OK" = ("setSpeedFactorTo: 0.8",performFlyToRangeFromDestination);
		"WAYPOINT_SET" = ("setStateTo: GO_TO_WAYPOINT1");
		"DESIRED_RANGE_ACHIEVED" = ("setStateTo: HEAD_FOR_WITCHPOINT");
		"GROUP_ATTACK_TARGET" = (setTargetToFoundTarget,"setStateTo: ATTACK_TARGET");
		ATTACKED = (setTargetToPrimaryAggressor,groupAttackTarget);
		"INCOMING_MISSILE" = (fightOrFleeMissile,setTargetToPrimaryAggressor,launchDefenseShip,groupAttackTarget,"setStateTo: ATTACK_TARGET");
		"TARGET_FOUND" = (setTargetToFoundTarget,launchDefenseShip,groupAttackTarget);
		"ACCEPT_DISTRESS_CALL" = (setTargetToFoundTarget,launchDefenseShip,groupAttackTarget);
		"DOCKING_REQUESTED" = ("setSpeedFactorTo: 0.0","setStateTo: DOCKING_PLANET");
		EXIT = ();
		UPDATE = (scanForHostiles,"pauseAI: 10.0");
	};
	"GO_TO_WAYPOINT1" = {
		ENTER = ("setDesiredRangeTo: 50.0",checkCourseToDestination);
		"COURSE_OK" = ("setSpeedFactorTo: 0.8",performFlyToRangeFromDestination);
		"WAYPOINT_SET" = ("setDesiredRangeTo: 50.0",checkCourseToDestination);
		"DESIRED_RANGE_ACHIEVED" = ("setStateTo: HEAD_FOR_PLANET");
		"ACCEPT_DISTRESS_CALL" = (setTargetToFoundTarget,launchDefenseShip,groupAttackTarget);
		"GROUP_ATTACK_TARGET" = (setTargetToFoundTarget,"setStateTo: ATTACK_TARGET");
		ATTACKED = (setTargetToPrimaryAggressor,groupAttackTarget);
		"INCOMING_MISSILE" = (fightOrFleeMissile,setTargetToPrimaryAggressor,launchDefenseShip,groupAttackTarget,"setStateTo: ATTACK_TARGET");
		"TARGET_FOUND" = (setTargetToFoundTarget,launchDefenseShip,groupAttackTarget);
		"DOCKING_REQUESTED" = ("setSpeedFactorTo: 0.0","setStateTo: DOCKING_PLANET");
		EXIT = ();
		UPDATE = (scanForHostiles,"pauseAI: 10.0");
	};
	"DOCKING_WITCHPOINT" = {
		ENTER = (performStop);
		"DOCKING_COMPLETE" = ("setStateTo: HEAD_FOR_WITCHPOINT");
		"GROUP_ATTACK_TARGET" = (setTargetToFoundTarget,"setStateTo: ATTACK_TARGET");
		ATTACKED = (setTargetToPrimaryAggressor,groupAttackTarget);
		"INCOMING_MISSILE" = (fightOrFleeMissile,setTargetToPrimaryAggressor,launchDefenseShip,groupAttackTarget,"setStateTo: ATTACK_TARGET");
		"TARGET_FOUND" = (setTargetToFoundTarget,launchDefenseShip,groupAttackTarget);
		EXIT = ();
		UPDATE = (scanForHostiles,"pauseAI: 10.0");
	};
	"HEAD_FOR_WITCHPOINT" = {
		ENTER = (setCourseToWitchpoint,checkCourseToDestination);
		"COURSE_OK" = ("setSpeedFactorTo: 0.8",performFlyToRangeFromDestination);
		"WAYPOINT_SET" = ("setStateTo: GO_TO_WAYPOINT2");
		"DESIRED_RANGE_ACHIEVED" = ("setStateTo: HEAD_FOR_PLANET");
		"GROUP_ATTACK_TARGET" = (setTargetToFoundTarget,"setStateTo: ATTACK_TARGET");
		ATTACKED = (setTargetToPrimaryAggressor,groupAttackTarget);
		"INCOMING_MISSILE" = (fightOrFleeMissile,setTargetToPrimaryAggressor,launchDefenseShip,groupAttackTarget,"setStateTo: ATTACK_TARGET");
		"TARGET_FOUND" = (setTargetToFoundTarget,launchDefenseShip,groupAttackTarget);
		"ACCEPT_DISTRESS_CALL" = (setTargetToFoundTarget,launchDefenseShip,groupAttackTarget);
		"DOCKING_REQUESTED" = ("setSpeedFactorTo: 0.0","setStateTo: DOCKING_WITCHPOINT");
		EXIT = ();
		UPDATE = (scanForHostiles,"pauseAI: 10.0");
	};
	"GO_TO_WAYPOINT2" = {
		ENTER = ("setDesiredRangeTo: 50.0",checkCourseToDestination);
		"COURSE_OK" = ("setSpeedFactorTo: 0.8",performFlyToRangeFromDestination);
		"WAYPOINT_SET" = ("setDesiredRangeTo: 50.0",checkCourseToDestination);
		"DESIRED_RANGE_ACHIEVED" = ("setStateTo: HEAD_FOR_WITCHPOINT");
		"ACCEPT_DISTRESS_CALL" = (setTargetToFoundTarget,launchDefenseShip,groupAttackTarget);
		"GROUP_ATTACK_TARGET" = (setTargetToFoundTarget,"setStateTo: ATTACK_TARGET");
		ATTACKED = (setTargetToPrimaryAggressor,groupAttackTarget);
		"INCOMING_MISSILE" = (fightOrFleeMissile,setTargetToPrimaryAggressor,launchDefenseShip,groupAttackTarget,"setStateTo: ATTACK_TARGET");
		"TARGET_FOUND" = (setTargetToFoundTarget,launchDefenseShip,groupAttackTarget);
		"DOCKING_REQUESTED" = ("setSpeedFactorTo: 0.0","setStateTo: DOCKING_WITCHPOINT");
		EXIT = ();
		UPDATE = (scanForHostiles,"pauseAI: 10.0");
	};
	GLOBAL = {
		ENTER = (setUpEscorts,"setStateTo: ATTACK_THARGOID");
		EXIT = ();
		UPDATE = ();
	};
}
I would appritiate if someone would explain to me what is causing this "expected 0", or point me to some sort of root of this problem.

Is there escort limit per system? That's the only explanation that I can think of.

(XP 32bit, Oolite v1.73.2)
Last edited by Chaky on Tue Sep 08, 2009 7:48 pm, edited 1 time in total.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Is there a player version of this? If yes, can you post the shipdata entry, please?
Chaky
Deadly
Deadly
Posts: 213
Joined: Sat Aug 15, 2009 6:15 am

Post by Chaky »

Here is only player-verson Condor there is in shipdata.plist:

Code: Select all

<key>Condor-player</key>
	<dict>
	<key>view_position_forward</key>
	<string>0.0 29 300</string>
	<key>view_position_aft</key>
	<string>0.0 10 -250</string>
	<key>view_position_port</key>
	<string>-20 29 300</string>
	<key>view_position_starboard</key>
	<string>20 29 300</string>
	<key>weapon_position_forward</key>
	<string>0.0 0.0 300</string>
	<key>weapon_position_aft</key>
	<string>0.0 0.0 -250</string>
	<key>weapon_position_port</key>
	<string>0.0 0.0 260</string>
	<key>weapon_position_starboard</key>
	<string>0.0 0.0 260</string>
	<key>exhaust</key>
		<array>
		<string>-105 14.5 -130 8 8 40</string>
		<string>105 14.5 -130 8 8 40</string>
		</array>
	<key>subentities</key>
		<array>
		<string>condorhab1 0.0 0.0 0.0 1 0 0 0</string>
		<string>condorhab2 0.0 0.0 0.0 1 0 0 0</string>
		<string>*FLASHER* -105 14.5 -135 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -135 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -130 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -130 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -125 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -125 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -120 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -120 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -115 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -115 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -110 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -110 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -105 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -105 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -100 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -100 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -95 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -95 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -80 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -80 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -85 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -85 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -80 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -80 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -75 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -75 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -70 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -70 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -65 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -65 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -60 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -60 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -55 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -55 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -50 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -50 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -45 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -45 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -40 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -40 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -35 255 0.0 0.0 32</string>
		<string>*FLASHER* 105 14.5 -35 255 0.0 0.0 32</string>
		<string>*FLASHER* -105 14.5 -133 215 1.0 0.5 20</string>
		<string>*FLASHER* 105 14.5 -133 215 1.0 0.5 20</string>
		<string>*FLASHER* -105 14.5 -128 215 1.0 0.75 20</string>
		<string>*FLASHER* 105 14.5 -128 215 1.0 0.75 20</string>
		<string>*FLASHER* -105 14.5 -123 215 1.0 1.0 20</string>
		<string>*FLASHER* 105 14.5 -123 215 1.0 1.0 20</string>
		<string>*FLASHER* -105 14.5 -118 215 1.0 0.25 20</string>
		<string>*FLASHER* 105 14.5 -118 215 1.0 0.25 20</string>
		<string>*FLASHER* -105 14.5 -113 215 1.0 0.5 20</string>
		<string>*FLASHER* 105 14.5 -113 215 1.0 0.5 20</string>
		<string>*FLASHER* -105 14.5 -108 215 1.0 0.75 20</string>
		<string>*FLASHER* 105 14.5 -108 215 1.0 0.75 20</string>
		<string>*FLASHER* -105 14.5 -103 215 1.0 1.0 20</string>
		<string>*FLASHER* 105 14.5 -103 215 1.0 1.0 20</string>
		<string>*FLASHER* -105 14.5 -98 215 1.0 0.25 20</string>
		<string>*FLASHER* 105 14.5 -98 215 1.0 0.25 20</string>
		<string>*FLASHER* -105 14.5 -93 215 1.0 0.5 20</string>
		<string>*FLASHER* 105 14.5 -93 215 1.0 0.5 20</string>
		<string>*FLASHER* -105 14.5 -88 215 1.0 0.75 20</string>
		<string>*FLASHER* 105 14.5 -88 215 1.0 0.75 20</string>
		<string>*FLASHER* -105 14.5 -83 215 1.0 1.0 20</string>
		<string>*FLASHER* 105 14.5 -83 215 1.0 1.0 20</string>
		<string>*FLASHER* -105 14.5 -78 215 1.0 0.25 20</string>
		<string>*FLASHER* 105 14.5 -78 215 1.0 0.25 20</string>
		<string>*FLASHER* -105 14.5 -72 215 1.0 0.5 20</string>
		<string>*FLASHER* 105 14.5 -72 215 1.0 0.5 20</string>
		<string>*FLASHER* -105 14.5 -68 215 1.0 0.75 20</string>
		<string>*FLASHER* 105 14.5 -68 215 1.0 0.75 20</string>
		<string>*FLASHER* -105 14.5 -62 215 1.0 1.0 20</string>
		<string>*FLASHER* 105 14.5 -62 215 1.0 1.0 20</string>
		<string>*FLASHER* -105 14.5 -58 215 1.0 0.25 20</string>
		<string>*FLASHER* 105 14.5 -58 215 1.0 0.25 20</string>
		<string>*FLASHER* -105 14.5 -52 215 1.0 0.5 20</string>
		<string>*FLASHER* 105 14.5 -52 215 1.0 0.5 20</string>
		<string>*FLASHER* -105 14.5 -48 215 1.0 0.75 20</string>
		<string>*FLASHER* 105 14.5 -48 215 1.0 0.75 20</string>
		<string>*FLASHER* -105 14.5 -43 215 1.0 1.0 20</string>
		<string>*FLASHER* 105 14.5 -43 215 1.0 1.0 20</string>
		<string>*FLASHER* -105 14.5 -38 215 1.0 0.25 20</string>
		<string>*FLASHER* 105 14.5 -38 215 1.0 0.25 20</string>
		<string>*FLASHER* -105 14.5 -33 215 1.0 0.5 20</string>
		<string>*FLASHER* 105 14.5 -33 215 1.0 0.5 20</string>
		<string>*FLASHER* -0.0 0.0 215 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 210 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 205 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 200 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 195 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 190 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 185 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 180 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 175 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 170 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 165 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 160 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 155 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 150 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 145 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 140 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 135 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 130 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 125 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 120 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 115 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 110 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 105 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 100 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 95 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 90 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 85 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 80 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 75 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 70 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 65 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 60 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 55 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 50 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 45 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 40 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 35 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 30 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 25 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 20 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 15 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 10 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 5 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 0.0 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 -5 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 -10 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 -15 200 0.0 0.0 62</string>
		<string>*FLASHER* -0.0 0.0 -20 200 0.0 0.0 62</string>
		<string>*FLASHER* -45 -70 -90 0.0 0.0 0.0 28</string>
		<string>*FLASHER* -45 70 -90 0.0 0.0 0.0 28</string>
		<string>*FLASHER* 45 -70 -90 0.0 0.0 0.0 28</string>
		<string>*FLASHER* 45 70 -90 0.0 0.0 0.0 28</string>
		<string>*FLASHER* -80 0.0 -90 0.0 0.0 0.0 28</string>
		<string>*FLASHER* 80 0.0 -90 0.0 0.0 0.0 28</string>
		<string>*FLASHER* -45 -70 -190 0.0 0.0 0.0 28</string>
		<string>*FLASHER* -45 70 -190 0.0 0.0 0.0 28</string>
		<string>*FLASHER* 45 -70 -190 0.0 0.0 0.0 28</string>
		<string>*FLASHER* 45 70 -190 0.0 0.0 0.0 28</string>
		<string>*FLASHER* -80 0.0 -190 0.0 0.0 0.0 28</string>
		<string>*FLASHER* 80 0.0 -190 0.0 0.0 0.0 28</string>
		</array>
	<key>weapon_energy</key>
	<real>60</real>
	<key>aft_eject_position</key>
	<string>0.0 29 300</string>
	<key>cargo_type</key>
	<string>CARGO_NOT_CARGO</string>
	<key>energy_recharge_rate</key>
	<real>4</real>
	<key>laser_color</key>
	<string>redColor</string>
	<key>max_cargo</key>
	<string>1200</string>
	<key>max_energy</key>
	<real>500</real>
	<key>max_flight_pitch</key>
	<real>0.4</real>
	<key>max_flight_roll</key>
	<real>0.8</real>
	<key>max_flight_speed</key>
	<real>520</real>
	<key>max_missiles</key>
	<integer>10</integer>
	<key>missile_launch_position</key>
	<string>0.0 -120 0.0</string>
	<key>model</key>
	<string>condor.dat</string>
	<key>name</key>
	<string>Condor Flagship</string>
	<key>roles</key>
	<string>player</string>
	<key>thrust</key>
	<real>10</real>
	<key>smooth</key>
	<true/>
	<key>hud</key>
	<string>condorhud.plist</string>
	<key>custom_views</key>
		<array>
			<dict>
			<key>view_description</key>
			<string>External View 1</string>
			<key>view_position</key>
			<string>0.0 -100.0 -1000.0</string>
			<key>view_orientation</key>
			<string>1.0 0.0 0.0 0.0</string>
			<key>weapon_facing</key>
			<string>FORWARD</string>
			</dict>
			<dict>
			<key>view_description</key>
			<string>External View 2</string>
			<key>view_position</key>
			<string>703.55 -100.0 -703.55</string>
			<key>view_orientation</key>
			<string>0.9239 0.0 0.3829 0.0</string>
			<key>weapon_facing</key>
			<string>FORWARD</string>
			</dict>
			<dict>
			<key>view_description</key>
			<string>External View 3</string>
			<key>view_position</key>
			<string>1000.0 -100.0 0.0</string>
			<key>view_orientation</key>
			<string>0.7071 0.0 0.7071 0.0</string>
			<key>weapon_facing</key>
			<string>FORWARD</string>
			</dict>
			<dict>
			<key>view_description</key>
			<string>External View 4</string>
			<key>view_position</key>
			<string>703.55 -100.0 703.55</string>
			<key>view_orientation</key>
			<string>0.3829 0.0 0.9239 0.0</string>
			<key>weapon_facing</key>
			<string>FORWARD</string>
			</dict>
			<dict>
			<key>view_description</key>
			<string>External View 5</string>
			<key>view_position</key>
			<string>0.0 -100.0 1000.0</string>
			<key>view_orientation</key>
			<string>0.0 0.0 1.0 0.0</string>
			<key>weapon_facing</key>
			<string>FORWARD</string>
			</dict>
			<dict>
			<key>view_description</key>
			<string>External View 6</string>
			<key>view_position</key>
			<string>-703.55 -100.0 703.55</string>
			<key>view_orientation</key>
			<string>0.3829 0.0 -0.9239 0.0</string>
			<key>weapon_facing</key>
			<string>FORWARD</string>
			</dict>
			<dict>
			<key>view_description</key>
			<string>External View 7</string>
			<key>view_position</key>
			<string>-1000.0 -100.0 0.0</string>
			<key>view_orientation</key>
			<string>0.7071 0.0 -0.7071 0.0</string>
			<key>weapon_facing</key>
			<string>FORWARD</string>
			</dict>
			<dict>
			<key>view_description</key>
			<string>External View 8</string>
			<key>view_position</key>
			<string>-703.55 -100.0 -703.55</string>
			<key>view_orientation</key>
			<string>0.9239 0.0 -0.3829 0.0</string>
			<key>weapon_facing</key>
			<string>FORWARD</string>
			</dict>
		</array>
	</dict>

Also, here's shipyard entry:

Code: Select all

<key>Condor-player</key>
	<dict>
		<key>chance</key>
		<real>1.0</real>
		<key>conditions</key>
		<array>
			<string>legalStatus_number equal 0</string>
			<string>score_number greaterthan 2559</string>
		</array>
		<key>optional_equipment</key>
		<array>
			<string>EQ_CARGO_BAY</string>
			<string>EQ_ESCAPE_POD</string>
			<string>EQ_ENERGY_BOMB</string>
			<string>EQ_ENERGY_UNIT</string>
			<string>EQ_NAVAL_ENERGY_UNIT</string>
			<string>EQ_WEAPON_PULSE_LASER</string>
			<string>EQ_WEAPON_BEAM_LASER</string>
			<string>EQ_WEAPON_MINING_LASER</string>
			<string>EQ_WEAPON_MILITARY_LASER</string>
			<string>EQ_WEAPON_TWIN_PLASMA_CANNON</string>
			<string>EQ_FUEL_INJECTION</string>
			<string>EQ_GAL_DRIVE</string>
			<string>EQ_NAVAL_SHIELD_BOOSTER</string>
		</array>
		<key>price</key>
		<integer>15417000</integer>
		<key>standard_equipment</key>
		<dict>
			<key>extras</key>
			<array>
			<string>EQ_FUEL_SCOOPS</string>
			<string>EQ_DOCK_COMP</string>
			<string>EQ_ECM</string>
			<string>EQ_SCANNER_SHOW_MISSILE_TARGET</string>
			<string>EQ_MULTI_TARGET</string>
			<string>EQ_TARGET_MEMORY</string>
			<string>EQ_ADVANCED_COMPASS</string>
			<string>EQ_SHIELD_BOOSTER</string>
			<string>EQ_HEAT_SHIELD</string>
			</array>
			<key>forward_weapon_type</key>
			<string>EQ_WEAPON_BEAM_LASER</string>
		</dict>
		<key>techlevel</key>
		<integer>13</integer>
		<key>weapon_facings</key>
		<integer>15</integer>
	</dict>
User avatar
Svengali
Commander
Commander
Posts: 2370
Joined: Sat Oct 20, 2007 2:52 pm

Re: ship.escortSetup.wtf

Post by Svengali »

It's the roles. 'carrier' is used to identify a station - and a station doesn't have escorts. So for all oxpers. Try to avoid 'carrier' in it's name and roles and everything should be fine.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Chaky,

There is nothing wrong with that ship or AI. So I looked in RS myself. The bug is in an other ship:

Code: Select all

<key>lestradae-navycondor</key>
<dict>
<key>like_ship</key>
<string>NavyCondor</string>
<key>roles</key>
<string>military police hunter</string>
<key>scanClass</key>
<string>CLASS_POLICE</string>
</dict>
Here the ship is added as police. Police are not allowed to have escorts in their definition.

But better stay away from RS. It is full of bugs that never were there in the original ships. e.g. miners not equipped with mining lasers. Even the big Ixian battle cruiser can become a miner. Imagine a rock hermit launching a battle cruiser! Or the idea that a cruiser would lower itself to mining while it even has no mining laser.
With RS installed a lot of the ships just behave wrong!
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Re: ship.escortSetup.wtf

Post by Eric Walch »

Svengali wrote:
It's the roles. 'carrier' is used to identify a station - and a station doesn't have escorts. So for all oxpers. Try to avoid 'carrier' in it's name and roles and everything should be fine.
There is no problem in giving a carrier escorts. Only when the scanclass is police you get problems with escorts. In that case better use military to avoid this.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

This is an Oolite bug – I didn’t anticipate that possibility when I wrote the sanity check.
Chaky
Deadly
Deadly
Posts: 213
Joined: Sat Aug 15, 2009 6:15 am

Post by Chaky »

Eric, according to EliteWiki, you're wrong
...while wingman is used instead of escort for police ships with an escorts property.
.. and those RS inconsistencies I intend to rectify.

Oolite bug? Hope it gets squashed.
User avatar
Eric Walch
Slightly Grand Rear Admiral
Slightly Grand Rear Admiral
Posts: 5536
Joined: Sat Jun 16, 2007 3:48 pm
Location: Netherlands

Post by Eric Walch »

Chaky wrote:
Eric, according to EliteWiki, you're wrong
...while wingman is used instead of escort for police ships with an escorts property.
Exactly so when a police is trying to add escorts there is a problem.

The same problem is assigning escorts to a ship with CLASS_POLICE as happens when this ship is added as hunter. Oolite will add the escorts to this hunter, but they never will escort the mother but instead one of the escorts will become the new leader and they abandon their original mother. This is because police escorts get a wingman role. When you need escorts, better change scanclass to CLASS_MILITARY to avoid escort problems.
Chaky
Deadly
Deadly
Posts: 213
Joined: Sat Aug 15, 2009 6:15 am

Post by Chaky »

Hmmm... I'll try it without "hunter" role, to avoid that scenario.
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post by Lestradae »

The whole problem including the "carrier" and escorts role has already, as so many others, been resolved in the OSE test version or will soon be resolved there. In the meantime, so many things have been fixed for that beta that I have started to think about taking RS out completely and suggesting to use the OSE WiP instead for players.

OSE beta is basically stable, it doesn't have a hundred bugs RS has, it will no longer need trunk but run fine with 1.73.2 and (sorry Chaky) I'm no longer sure it makes sense to fix RS if OSE will be finished in two months time or so anyways.

:(

L
Chaky
Deadly
Deadly
Posts: 213
Joined: Sat Aug 15, 2009 6:15 am

Post by Chaky »

Also, it makes no sense to abandon current version, while new isn't finished yet.

Anyway, I'm continuing this wild goose chase so I would better understand the mechanics of the game. Not just to fix bugs, but to learn what were the mistakes that produce them and how.

You're just lucky I took your RS as bug-supply.
:wink:
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

...

Post by Lestradae »

Chaky wrote:
You're just lucky I took your RS as bug-supply.
:wink:
:lol:

I'm not backtracking on the whole RS 3.1 idea ... but hearing about all these long-squished bugs again, enhanced by the fact that without your patch there is no RS update to 1.73.2 ... I am not that happy.

But if you publish/send me the newest RS patch you created yet, I will merge this with the RS 3.02b, and update the link in my sig at least, perhaps even the wiki and the RS page.

Don't misunderstand me, I'm rather happy that you do this. :wink: It's just that my focus is now on actually finishing OSE.

Cheers

L
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: ship.escortSetup.wtf

Post by JensAyton »

Chaky wrote:
This is a log entry that is driving me nuts.
On a side note, nutty log entries can be easily suppressed. Create a logcontrol.plist in your addons folder (not in an OXP), with the following:

Code: Select all

{
    ship.escortSetup.wtf = no;
}
Chaky
Deadly
Deadly
Posts: 213
Joined: Sat Aug 15, 2009 6:15 am

Post by Chaky »

That's not my way of solving bugs.. What drives me nuts is my lack of understanding why is that happening.
Post Reply