Forgotten Hope Public Forum

Forgotten Hope 2 => Bug Reporting => Topic started by: pvtgmerpyleusmc on 23-04-2021, 01:04:05

Title: Weird End of Game Message
Post by: pvtgmerpyleusmc on 23-04-2021, 01:04:05
Earlier today I logged into the PlayFH2 server.  It was one of the Finnish Maps.  The map changed right after I connected.  When it switched instead of saying "Best Russian Squad" it displayed "Best Chinese Squad".  It didn't display any information in the other areas of the page as it normally would.

This seems like very odd behavior.  I asked about it in game.  No one else noticed that.  I tried to get a screen cap, but before I could press <Fn><Print Screen> that screen was replaced by the next one in the end of map /  beginning of a new map sequence.

Any insight on this would be appreciated. 
Title: Re: Weird End of Game Message
Post by: pvtgmerpyleusmc on 23-04-2021, 16:04:48
I noticed this while trying to figure out where the message may have come from:

PS C:\Users\xxxx> Get-ChildItem -Recurse "C:\Program Files (x86)\EA GAMES\Battlefield 2"  -ErrorAction SilentlyContinue -ev errs | Select-String -Pattern "Best Chinese" -SimpleMatch

C:\Program Files (x86)\EA GAMES\Battlefield 2\mods\bf2\Localization\English\English.utxt:2624:EOR_bestchinesesquad          BEST CHINESE SQUAD
C:\Program Files (x86)\EA GAMES\Battlefield 2\mods\fh2\localization\vietnamese\vietnamese_vbf2.utxt:1865:EOR_bestchinesesquad          BEST CHINESE SQUAD



PS C:\Users\xxxx>

Is it possible that there's an invalid code reference that's ignoring localization for the English language in that particular Finnish map?  The splash screen at the end of the round shows what looks like a burn out ISU-152 sitting on a road with broken trees on either side of it.  Sorry - I wish I could remember what map that was, and I wish I had a screen capture.   :-(
Title: Re: Weird End of Game Message
Post by: jan_kurator on 23-04-2021, 19:04:39
It can't happen per map, if anything, it would always appear on all Finnish maps. Try to reproduce it, or simply repair your game. Maybe your loc files are missing.
Title: Re: Weird End of Game Message
Post by: pvtgmerpyleusmc on 24-04-2021, 03:04:32
Thanks Jan.  There are nine files under Vietnamese.  Eight under English.  The difference, other than the English and Vietnamese 68 byte files is this guy:

07/06/2020  02:24 PM           348,654 vietnamese_vbf2.utxt

I didn't see a english_vbf2.utxt in the english localization subdirectory.

Could this be a server side issue or does that screen come from the local location at the end of a round?

Here's what I see for the localization files here:

C:\Program Files (x86)\EA GAMES\Battlefield 2\mods\fh2\localization\english>dir
 Volume in drive C is OS
 Volume Serial Number is A69D-9223

 Directory of C:\Program Files (x86)\EA GAMES\Battlefield 2\mods\fh2\localization\english

05/15/2020  10:24 AM    <DIR>          .
05/15/2020  10:24 AM    <DIR>          ..
07/06/2020  02:24 PM            16,080 awards_fh.utxt
01/10/2021  11:17 AM            47,384 cmp_maps.utxt
07/06/2020  02:24 PM                68 english_fh.utxt
07/06/2020  02:24 PM             5,304 help_fh.utxt
07/06/2020  02:24 PM            36,946 hud_fh.utxt
07/06/2020  02:24 PM            53,802 kits_fh.utxt
07/06/2020  02:24 PM           201,056 maps_fh.utxt
07/06/2020  02:24 PM            23,256 weapons_fh.utxt
               8 File(s)        383,896 bytes
               2 Dir(s)  311,871,225,856 bytes free



 Directory of C:\Program Files (x86)\EA GAMES\Battlefield 2\mods\fh2\localization\vietnamese

09/19/2020  01:36 PM    <DIR>          .
09/19/2020  01:36 PM    <DIR>          ..
07/06/2020  02:25 PM            16,080 awards_fh.utxt
01/10/2021  11:17 AM            47,384 cmp_maps.utxt
07/06/2020  02:25 PM             5,258 help_fh.utxt
07/06/2020  02:25 PM            36,450 hud_fh.utxt
07/06/2020  02:25 PM            53,802 kits_fh.utxt
07/06/2020  02:24 PM           196,372 maps_fh.utxt
07/06/2020  02:24 PM                68 vietnamese_fh.utxt
07/06/2020  02:24 PM           348,654 vietnamese_vbf2.utxt
07/06/2020  02:24 PM            23,262 weapons_fh.utxt
               9 File(s)        727,330 bytes
               2 Dir(s)  311,872,372,736 bytes free

We played another Finnish map last night after I saw the problem.  That one displayed the Best Squad screen perfectly.

It just seemed strange.  ¯\_(ツ)_/¯