Game crash reason

Making or wanting help making your own asset? Check in here
Post Reply
rambo
Posts: 6
Joined: 2024-05-03 18:43

Game crash reason

Post by rambo »

HI
I want to do a simple modification to battlefield 2 v 1.5 and in Zatar_Wetlands Map.
I opened the map using map editor and just added an extra aircraft like this:
https://ibb.co/Qk98rcY
Image
When I saved the mapeditor.

when I copied GamePlayObjects.con from Editor folder to server.zip and GameModes/gpm_cq/64 in the server PC. I started the server and after I join the server the client game crashes.
Image
https://ibb.co/jbmdRRX
what is the reason for this crash? If I copy GamePlayObjects.con to server.zip in Client PC and create a Local game it works fine. but when I try to join a server with this modification my game crashs. do I need to modify something else at server or copy something?
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2174
Joined: 2016-10-12 13:25
Location: Poland

Re: Game crash reason

Post by Suchar »

This error means client <-> server file mismatch. You need to update server files with the same changes you did to your game client.
Image
rambo
Posts: 6
Joined: 2024-05-03 18:43

Re: Game crash reason

Post by rambo »

So in the senario I explained which files are also changed in addition to GamePlayObjects.con and need to be transfered to server? The tutorials only say to transfer GamePlayObjects.con and Init.con. (from Editor Folder to server.zip in server PC)

I am trying to edit the map only in a way that clients do not need to download the entire map. So I dont want to use the edited files in client. I'm using edited files in server.

When I just modify the position of aircraft there is no error
When I change the position of aircraft carrier => Error
When I change to vehicle type from f35b to jep_mec_paratrooper => Error
Last edited by rambo on 2024-05-09 11:33, edited 5 times in total.
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2174
Joined: 2016-10-12 13:25
Location: Poland

Re: Game crash reason

Post by Suchar »

For server-side modding information, have a look here https://www.realitymod.com/forum/showth ... p?t=134409
Image
Post Reply

Return to “PR:BF2 Community Modding”