Coop map crashes when bots fire specific gun to a vehicle
- ALADE3N
- PR:BF2 Developer
- Posts: 577
- Joined: 2016-02-13 17:34
- Location: Philippines
Coop map crashes when bots fire specific gun to a vehicle
So , i had this problem weeks ago.. Been discussed this with Alon and he said that the crash specified in the dmp file points out to "weapon objects" , "weapon rules for AI" , and "weaponInfo" . So this particular problem/crash just triggers when Bots fire a AT(panzerfaust and panzerschreck from prww2) to a vehicle that is on critical condition, when the AT projectile is about to reach the vehicle the game crashes. Anyone ever experienced this one? or is it just that the prww2 guns back in the Beta stage is not AI friendly?

-
Veterans-Gaming
- Posts: 382
- Joined: 2010-04-06 20:25
Re: Coop map crashes when bots fire specific gun to a vehicle
Yes. All the time.HeneraLuna wrote:Anyone ever experienced this one? or is it just that the prww2 guns back in the Beta stage is not AI friendly?
It is one of the key reasons for server crashes. There are others, AFAIK many of them involve the bots grabbing kits or using weapons that have been changed from the vanilla BF2 to the PR Mod.
- ALADE3N
- PR:BF2 Developer
- Posts: 577
- Joined: 2016-02-13 17:34
- Location: Philippines
Re: Coop map crashes when bots fire specific gun to a vehicle
It really crashes the game when the bot fires the killing blow to the vehicle.Veterans-Gaming wrote:Yes. All the time.
It is one of the key reasons for server crashes. There are others, AFAIK many of them involve the bots grabbing kits or using weapons that have been changed from the vanilla BF2 to the PR Mod.

-
MaxP
- Posts: 117
- Joined: 2008-09-08 19:18
Re: Coop map crashes when bots fire specific gun to a vehicle
Also, there is a problem with the Al Khidir bridge on khamisiyah.
When the bots tries to fire from the AT weapon to the vehicle that is on the bridge, the game crashes.
On 64-layer it appears rarely, but every round on 16 (if you place the vehicles on the map).
When the bots tries to fire from the AT weapon to the vehicle that is on the bridge, the game crashes.
On 64-layer it appears rarely, but every round on 16 (if you place the vehicles on the map).
Last edited by MaxP on 2018-07-16 12:47, edited 1 time in total.
-
Arab
- PR:BF2 Developer
- Posts: 2898
- Joined: 2012-05-18 03:37
Re: Coop map crashes when bots fire specific gun to a vehicle
Yes, PR:WW2 guns were not AI friendly due to lack of AI code. All of these are already fixed for the WW2 release that's planned for v1.6HeneraLuna wrote:So , i had this problem weeks ago.. Been discussed this with Alon and he said that the crash specified in the dmp file points out to "weapon objects" , "weapon rules for AI" , and "weaponInfo" . So this particular problem/crash just triggers when Bots fire a AT(panzerfaust and panzerschreck from prww2) to a vehicle that is on critical condition, when the AT projectile is about to reach the vehicle the game crashes. Anyone ever experienced this one? or is it just that the prww2 guns back in the Beta stage is not AI friendly?
Simple fix is changing the ObjectTemplate.aiTemplate of the weapons (.tweak) into a valid one from objects_weapons_server.zip Panzerfaust and Panzershreck can use the RPG AI as an example. Of course the beta is not supported so just in case, back up the .zip file.
Which AT weapon? Is it the stationary/fixed AT?MaxP wrote:Also, there is a problem with the Al Khidir bridge on khamisiyah.
When the bots tries to fire from the AT weapon to the vehicle that is on the bridge, the game crashes.
On 64-layer it appears rarely, but every round on 16 (if you place the vehicles on the map).
-
MaxP
- Posts: 117
- Joined: 2008-09-08 19:18
Re: Coop map crashes when bots fire specific gun to a vehicle
Can't say about the stationary ones, but handheld AT weapons of any type causes CTD.Arab wrote:Which AT weapon? Is it the stationary/fixed AT?
On the other hand, the bombs dropped on vehicles that is on the bridge doesn't cause any problem.
I think the problems is near the bridge objects, 'cause I had some CTDs ("Ghost manager") on Al Basrah (after googling out this problems I found that some people had a similar CTD on server too). When I deleted some csb objects and bridges, I didn't see any.
- ALADE3N
- PR:BF2 Developer
- Posts: 577
- Joined: 2016-02-13 17:34
- Location: Philippines
Re: Coop map crashes when bots fire specific gun to a vehicle
so aiTemplate is what is messing the killing blows to the vehicles by the panzerfaust and schreks?Arab wrote:Yes, PR:WW2 guns were not AI friendly due to lack of AI code. All of these are already fixed for the WW2 release that's planned for v1.6
Simple fix is changing the ObjectTemplate.aiTemplate of the weapons (.tweak) into a valid one from objects_weapons_server.zip Panzerfaust and Panzershreck can use the RPG AI as an example. Of course the beta is not supported so just in case, back up the .zip file.
Which AT weapon? Is it the stationary/fixed AT?

- ALADE3N
- PR:BF2 Developer
- Posts: 577
- Joined: 2016-02-13 17:34
- Location: Philippines
Re: Coop map crashes when bots fire specific gun to a vehicle
So i tried to replace the itemplate but it still crashes the game when the pazerfaust/panzerschreck projectile is about to impact and kill the low health vehicle.

-
Arab
- PR:BF2 Developer
- Posts: 2898
- Joined: 2012-05-18 03:37
Re: Coop map crashes when bots fire specific gun to a vehicle
When you kill it, does it crash?HeneraLuna wrote:So i tried to replace the itemplate but it still crashes the game when the pazerfaust/panzerschreck projectile is about to impact and kill the low health vehicle.
- ALADE3N
- PR:BF2 Developer
- Posts: 577
- Joined: 2016-02-13 17:34
- Location: Philippines
Re: Coop map crashes when bots fire specific gun to a vehicle
when I kill the tank with the specific weapon, it doesn't. But , when the bots do.Arab wrote:When you kill it, does it crash?



