sv_maxrate handles also the in-game downloads because the quake 3 engine considers them as part of the in-game connection, you can see that in the source code at line 857 of sv_client.c in quake3-1.32b.
indeed the same code exists also in cod4:
Code:
0052C2C6 |> 8B0D 68C48501 MOV ECX,DWORD PTR DS:[185C468] ; iw3mp.0CBB41C8
0052C2CC |. 8B41 0C MOV EAX,DWORD PTR DS:[ECX+C]
0052C2CF |. 85C0 TEST EAX,EAX
0052C2D1 |. 8BBD F0040800 MOV EDI,DWORD PTR SS:[EBP+804F0]
0052C2D7 |. 74 26 JE SHORT iw3mp.0052C2FF
0052C2D9 |. 3D E8030000 CMP EAX,3E8
0052C2DE |. 7D 16 JGE SHORT iw3mp.0052C2F6
0052C2E0 |. 6A 00 PUSH 0
0052C2E2 |. 51 PUSH ECX
0052C2E3 |. B9 E8030000 MOV ECX,3E8
0052C2E8 |. E8 13060400 CALL iw3mp.0056C900
0052C2ED |. 8B0D 68C48501 MOV ECX,DWORD PTR DS:[185C468] ; iw3mp.0CBB41C8
0052C2F3 |. 83C4 08 ADD ESP,8
0052C2F6 |> 8B49 0C MOV ECX,DWORD PTR DS:[ECX+C]
0052C2F9 |. 3BCF CMP ECX,EDI
0052C2FB |. 7D 02 JGE SHORT iw3mp.0052C2FF
0052C2FD |. 8BF9 MOV EDI,ECX
so sv_maxrate is the easy way to boost the downloads, anyway it costed me nothing to make something to force a higher rate so the following is the usual patch for lpatch:
Code:
====================================================================================
TITLE
Call of Duty 4 server in-game downloads booster
by Luigi Auriemma
FILE
*mp.exe
BYTES_ORIGINAL
8B 0D ?? ?? ?? 01 ; MOV ECX,DWORD PTR DS:[185C468]
8B 41 0C ; MOV EAX,DWORD PTR DS:[ECX+C]
85 C0 ; TEST EAX,EAX
8B BD ?? ?? ?? 00 ; MOV EDI,DWORD PTR SS:[EBP+804F0]
74 ?? ; JE SHORT iw3mp.0052C2FF
3D E8 03 00 00 ; CMP EAX,3E8
7D ?? ; JGE SHORT iw3mp.0052C2F6
BYTES_PATCH
?? ?? ?? ?? ?? ?? ; MOV ECX,DWORD PTR DS:[185C468]
33 C0 90 ; XOR EAX,EAX + NOP
?? ?? ; TEST EAX,EAX
BF DE C0 11 00 ; MOV EDI,iw3mp.00DEC0DE // maxrate = 1163486
90 ; NOP // search 11 c0 de in the exe
// for modifying this value
====================================================================================
if it works (it must work) let me know what's the value you have chosen instead of 0x11c0de