Coop map crashes when bots fire specific gun to a vehicle

Making or wanting help making your own asset? Check in here
Post Reply
User avatar
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

Post by ALADE3N »

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?
Image
Veterans-Gaming
Posts: 382
Joined: 2010-04-06 20:25

Re: Coop map crashes when bots fire specific gun to a vehicle

Post by Veterans-Gaming »

HeneraLuna wrote:Anyone ever experienced this one? or is it just that the prww2 guns back in the Beta stage is not AI friendly?
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.
Image
User avatar
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

Post by ALADE3N »

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.
It really crashes the game when the bot fires the killing blow to the vehicle.
Image
MaxP
Posts: 117
Joined: 2008-09-08 19:18

Re: Coop map crashes when bots fire specific gun to a vehicle

Post by MaxP »

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).
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

Post by Arab »

HeneraLuna 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?
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.
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).
Which AT weapon? Is it the stationary/fixed AT?
Image
MaxP
Posts: 117
Joined: 2008-09-08 19:18

Re: Coop map crashes when bots fire specific gun to a vehicle

Post by MaxP »

Arab wrote:Which AT weapon? Is it the stationary/fixed AT?
Can't say about the stationary ones, but handheld AT weapons of any type causes CTD.

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.
User avatar
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

Post by ALADE3N »

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?
so aiTemplate is what is messing the killing blows to the vehicles by the panzerfaust and schreks?
Image
User avatar
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

Post by ALADE3N »

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.
Image
Arab
PR:BF2 Developer
Posts: 2898
Joined: 2012-05-18 03:37

Re: Coop map crashes when bots fire specific gun to a vehicle

Post by Arab »

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.
When you kill it, does it crash?
Image
User avatar
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

Post by ALADE3N »

Arab wrote:When you kill it, does it crash?
when I kill the tank with the specific weapon, it doesn't. But , when the bots do.
Image
Post Reply

Return to “PR:BF2 Community Modding”