==================================================================================== # # this file has been created for the Lame patcher program available for both *nix # and Windows platforms. # You need this program for continuing the patching of your files: # # http://aluigi.org/mytoolz.htm#lpatch # # Quick step-by-step for Windows: # - launch lpatch.exe # - select this codstatsfix.lpatch file # - read the message windows and click yes # - select the file (usually executables or dlls) to patch # - read the message windows to know if everything has been patched correctly # - test your game TITLE Call of Duty 4 and 5 stats DoS fix 0.1 by Luigi Auriemma e-mail: aluigi@autistici.org web: aluigi.org INTRO work-around which disables the logging of the "stats" packet in the console for avoiding its "possible" abuse for generating slowness or blocking the server or filling its logs due to tons of the following entries: . . Received stats packet from unknown remote client x.x.x.x . example for testing the bug: . . udpsz -l 1 -C "ff ff ff ff 73 74 61 74 73" 127.0.0.1 28960 -1 . the patch has been tested with all the latest versions of Call of Duty Modern Warfare (1.7) and Call of Duty World at War (1.4). FILE iw3mp.exe;CoDWaWmp.exe BYTES_ORIGINAL 50 ; PUSH EAX 68 ?? ?? ?? 00 ; PUSH "Received stats packet from unknown remote client %u.%u.%u.%u" 6A 0F ; PUSH 0F E8 ?? ?? ?? FF ; CALL log_function 83 C4 18 ; ADD ESP,18 BYTES_PATCH ?? ?? ?? ?? ?? ?? ?? ?? 90 90 90 90 90 ; skip the function ====================================================================================