Page MenuHomeFeedback Tracker

B_UAV_AI cannot be deleted on the client (or how to make 5 FPS in 5 seconds)
Closed, ResolvedPublic

Description

B_UAV_AI cannot be deleted on the client. Because of this each dead UAV with AI pilot brings performance down, and quite significantly. 100 dead UAVs and my client crippled at 5 FPS.

Details

Legacy ID
1995518607
Severity
None
Resolution
Fixed
Reproducibility
Always
Category
UAV (Unmanned Aerial Vehicle)
Steps To Reproduce

Start dedicated server
join
execute on the server

  • spawn {

for "_i" from 0 to 100 do {

		_uav = createVehicle ["B_UAV_01_F", [0,0,10000], [], 0, "FLY"];
		createVehicleCrew _uav;
		sleep 0.1;
		_uav setDamage 1;
		sleep 0.1;
		deleteVehicle _uav;

};
};

enjoy your client dropping to its knees.

After 10 seconds execute on the server

diag_log alldeadmen => []

execute on the client

hint str alldeadmen => 100 dead AIs!!!

execute on the client

{deletevehicle _x} foreach alldeadmen;
hint str alldeadmen => 100 dead AIs!!!

execute on the client

logentities

as a bonus.

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to UAV (Unmanned Aerial Vehicle).
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Fixed.
Killzone_Kid set Legacy ID to 1995518607.May 7 2016, 6:49 PM
Killzone_Kid edited a custom field.
Iceman added a subscriber: Iceman.May 7 2016, 6:49 PM
Iceman added a comment.Jul 2 2014, 1:27 PM

Hello,
should be fixed on Steam Dev rev. 125595 and higher. Could you please confirm?
Thank you very much.

Thank you Druid and Iceman, all AIs are now deleted when vehicle is deleted, no more FPS dropping.

MadDogX added a subscriber: MadDogX.May 7 2016, 6:49 PM

Mass closing tickets marked as resolved more than 1 month ago.

If the issue is in fact not resolved, please create a new ticket referencing this one and ask for it to be re-opened.