WINDOWS v1.6 f2For BF1942 Windows v1.6 server executable the beginning address to apply the same instructions is at 0x0045aaaf.Download 1.6 WindowsThe BF1942 Windows v1.6 server binary also has a fix for an old public exploit (@ 0x00442370 changed from 7f to 77), which it wasn't immune.

WINDOWS v1.0 DEMO f1//The file offsets in the .exe are different for demo v1.1 from demo v1.0, however the relative jumps still work, only //the func call, and push inst needed to be modified.

If somebody can provide me the compiled version of the executables (or even a single one of them), I will add them directly as download links here (hosted on stable and good bfmods server) so everyone can easily retrieve them without possibility for making mistakes, as not everyone is sure-footed in hex editing.

Updated on 24.11.11 - Added the f2 fixed verrsions for 1.61 and 1.6 as well as DL links for them

dierighty did not discover the exploit, the individual who created the exploit gave him the patch. dierighty held on to the patch for months in hopes that his server would benifit from being the only server still up. So yes im glad he finally made the patch public but im disappointed in him holding onto it for so long with selfish intentions.

Nodbrother- "getting whiped every single game by some over-active 9 year old kid with too much spare time and a reaction time that is a third of yours."

Well, why didn't the "individual who really created the patch" publish his fix himself then? There are plenty of BF42 platforms that would be glad to help spread such a fix. dierighty has posted it here and offered several alternatives for the various .exe versions that are still in use online (1.6, 1.61, Demo 1.0, Demo 1.1 etc., Windows, Linux...), so unless you come forward with some hard evidence I'm not inclined to mistrust dierighty, as you might understand.

the patch was not given to me by the exploiters(whoever they are). Each server executable requires a different alteration to be crafted, because the sequence and location of the machine instructions that make up the executable and subsequently the handleGameEventManagerEvent() function are unique. There is not a universal "patch", as the function radically changes between the linux server and windows server as well as the demo.I am not part of the exploiters. I was on the wake clan server when it was crashed by someone using this exploit. Others had also witnessed the server crashing and our collective knowledge of the attack was pooled in their forums as well as the forums here, this lead to the discovery of a youtube video that showed exactly how to carry out the attack. I was able to re-produce the exploit on my own machine and with the aid of the gdb debugger determined that the offending function was createPlayer() when called by handleGameEventManagerEvent() in the server executable.I did not harbor patches for selfish intentions. The first patches were posted here to this forum and with the help of Jeronimo to fix my screw ups, as well as all those who helped by testing the patches, we were able to produce patches for the community.

I have tried to do this to the Battlefield 1942 Secret Weapons Demo but have no clue where to start.I have compared the code between the Wake island demo and its patched version but again, the Secret Weapons demo isdifferent, obviously.

Programs I used were Hexworkshop,W32Dasm and Ollydbg for code comparison.

The crashing stopped on the Wake Island demo as of this fix but has now followed us to our Secret Weapons server.Anyone willing to patch the Secret Weapons demo for the community or point me in the right direction.

For questions, discussions, help or anything similar please head over to our discussion thread.

This thread is merely meant as a compilation of all the fixes achieved so far, allowing an easier overview and sort of a "directory" for all newcomers. The other thread is meant for development and other stuff.

If someone has a compiled exec and wants to share it, please contact me via PM so I can integrate it into this list. All credits due will be given, obviously.