Jump to content
Official BF Editor Forums


  • Content count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About Res1s7

  • Rank
  1. Hi. I wonder if anyone has encountered this problem before. I've already done searches using google and of BFSP and the bfeditor forum.In Forgotten Hope when running a Coop server, even though tests show good network performance and plenty of computing power, sometimes single shot weapons will fire off a multiple salvo. I've been told this is "lag" but I don't think it is as I have eliminated any other server performance problems. The problem *never* happens in a coop game started from inside the BF2 client. It's only a server problem.I went back to running the Windows server on the same machine to rule out any problems between my Windows and Linux machine.This is the reported ping from my Windows machine to the Linux machine ...Code: [Select]michaelzfreeman@DESKTOP-QOJ2SDI:~$ ping ( 56(84) bytes of data.64 bytes from icmp_seq=1 ttl=64 time=0.920 ms64 bytes from icmp_seq=2 ttl=64 time=8.41 ms64 bytes from icmp_seq=3 ttl=64 time=1.01 ms64 bytes from icmp_seq=4 ttl=64 time=0.990 ms64 bytes from icmp_seq=5 ttl=64 time=1.31 ms64 bytes from icmp_seq=6 ttl=64 time=5.35 ms64 bytes from icmp_seq=7 ttl=64 time=5.08 ms64 bytes from icmp_seq=8 ttl=64 time=0.993 ms^C--- ping statistics ---8 packets transmitted, 8 received, 0% packet loss, time 7006msrtt min/avg/max/mdev = 0.920/3.010/8.413/2.701 ms(It's using Ubuntu CLI for Windows 10 before anyone get's confused).Here's the reported ping within Windows 10, straight through it's own IP. Loop back basically.Code: [Select]michaelzfreeman@DESKTOP-QOJ2SDI:~$ ping ( 56(84) bytes of data.64 bytes from icmp_seq=1 ttl=128 time=0.115 ms64 bytes from icmp_seq=2 ttl=128 time=0.112 ms64 bytes from icmp_seq=3 ttl=128 time=0.113 ms64 bytes from icmp_seq=4 ttl=128 time=0.111 ms64 bytes from icmp_seq=5 ttl=128 time=0.114 ms64 bytes from icmp_seq=6 ttl=128 time=0.125 ms^C--- ping statistics ---6 packets transmitted, 6 received, 0% packet loss, time 5004msrtt min/avg/max/mdev = 0.111/0.115/0.125/0.004 msAs you can see there's not inherently anything wrong with network speeds.Then I thought the server might not have enough CPU and memory as I noticed the server FPS is 33 in Linux and 35 on Windows. My Linux machine has an older Intel Quad Core Q9650 3 Ghz and 4gigs of memory which maybe could curtail server performance in some circumstances. But my Windows machine is a much more powerful i5 4690k 3.5Ghz with 8 gigs of memory so there should be no problems there, yet the effect of single shot weapons firing multiple times still happens on the Windows machine.I removed the other lagging effects I was getting by setting the server IP to the correct IP - the IP of the machine it's on. So I'm not seeing any other lagging effects now. No skooting or skating. Yet all tank guns and AT guns that have to reload after every shot still, occasionally, fire multiple times.Rifles and hand held AT guns (that also have to reload after every shot) do not do this multiple firing thing.The effect is not anything to do with a problem with unofficial maps and this kind of thing. It does it on freshly installed latest FH maps and unofficial one's.I found an article about a similar problem with another game (Minecraft) that showed a fix that was disconnecting the local LAN from the internet so the only networking going on is between machines on the LAN. That does not make any difference.The effect is also intermittent. Even though tests show networking performance and computing power is OK the game will run OK for a while with tanks and AT guns (it's *ONLY* tanks and AT guns !) but suddenly it will start again and a tank (with a single shot weapon) will fire off a 3 round salvo.I seem to remember that other mods running on my server that also have tanks that need to reload after every shot *DO NOT* do this (such as AIX), although I need to confirm that again.So any ideas ? For me the problem breaks immersion a bit in a mod that is known for its historical accuracy.
  2. Res1s7

    How to fix broken EAX setup

    I've had problems using the Creative Sound Blaster X-Fi MB3 application with BF2. MB3 is a virtual sound card that contains a full X-Fi implementation. BF2 detects it as a full X-Fi card. On some maps everything works fine but I found on many maps the sound is just one massive mess of reverb. However after literally YEARS of trying to find a fix for this I discovered the solution which is not mentioned ANYWHERE on this forum (I searched)... 1. The level should have this file (for example) "D:\SteamLibrary_Win10\steamapps\common\Battlefield 2\mods\aix2ex_mm\Levels\Dalian_plant\server.zip\Sounds.con". If it does not add it to the level "server.zip". THIS FILE IS CONFIRMED *MISSING* IN MAPS THAT HAVE DISTORTED EAX. The file contains ... rem ------------------------------- Global Reverb ------------------------------ rem ----------------------------------------------------------------------------- sound.setReverb "common/sound/levelambients/Openlandscape.eax" rem ----------------------------------------------------------------------------- 2. Make sure the all important "Openlandscape.eax" is in "D:\SteamLibrary_Win10\steamapps\common\Battlefield 2\mods\bf2\Common_client.zip\Sound\LevelAmbients\" That directory also contains "City.eax" which is used in maps cp_abadan, First_Battle_of_Karkand, Gulf_of_Oman, Highway_Tampa, Jibbel_City, Karkand_Stormfront, Mashtuur_City, Portland_Island, Sharqi_Peninsula. Adding "Openlandscape.eax" (or City.eax) to the level makes sure that EAX is properly setup and everything sounds clear and dramatic, as long as you have the appropriate hardware or the "MB3" software. This is especially obvious in surround sound. I'm using Creative Super X-Fi headphones that are tuned to your ear shape and head shape and adding this file on maps where EAX was just one massive mess of reverb is immediately noticeable. I've seen a lot of reports over the years of this "massive reverb on my map" and this is what the problem has been. I wonder if the EAX setup (in Openlandscape.eax) can be tuned to more specific settings for whatever landscape the map has ? I guess there's some clues in City.eax.
  3. Res1s7

    Python To Force Ai Commander Support?

    Hi, was thinking of creating a new thread about this but chose this one as it shows how long this issue has been going on. worldlife at Moddb has cracked this problem ! - https://www.moddb.com/games/battlefield-2/addons/advanced-ai-commander-plugin I've tested it in AIX2 and it works very well and has very little CPU overhead that I noticed although I did not do extensive benchmarking. It's timeout on the commander artillery is too short but I've not found where to set that yet. It has some rather garish blue and red smoke grenades that get dropped with the strike but that can be removed by editing. But the point is, it works ! With supplies drop as well as vehicle drop. BTW there a step missing in the installation guide. It needs the "Scripts" directory adding to the top of mod dir or level archive (not sure which yet). This loads assets. When it's missing the mod still works but will not look right and/or will be missing effects. Will be great to see this working its way into various BF2 mods (he gives permission).