Hi all,
Since you managed to hex edit the COD2 binaries, is it possible for you to have a look at COD2 1.0 binaries? Maybe you can crack it so it will have the same download speed as 1.2 and 1.3.
Hi all,
Since you managed to hex edit the COD2 binaries, is it possible for you to have a look at COD2 1.0 binaries? Maybe you can crack it so it will have the same download speed as 1.2 and 1.3.
Adding www download to 1.0 is not possible, because it also requires changes in the client.
PHP Code:
// based on the rate, how many bytes can we fit in the snapMsec time of the client
// normal rate / snapshotMsec calculation
rate = cl->rate;
if ( sv_maxRate->integer ) {
if ( sv_maxRate->integer < 1000 ) {
Cvar_Set( "sv_MaxRate", "1000" );
}
if ( sv_maxRate->integer < rate ) {
rate = sv_maxRate->integer;
}
}
Ni3ls (24th February 2014)
But is it possible? For example my server have this fixed binary and I have it. It's not a big deal if not all players have it. It will just save some time for people who have this fixed binary
Could you give it a try please? And how to change to maxclients 128?
Ni3ls (24th February 2014)
That is correct. The engine basically assigns a hunk of memory to each player slot - note that: the player slot, not the player. Even though you may not have a full server (you may only have 1 on), the game still assigns this hunk of memory to the slot when it compiles the game, so that it can cater for all players if and when they actually join. This means that if your player numbers exceed what the game can handle in terms of memory and limits, it will crash the server even though there may be 1 or even no one online at the time. The engine will know it can't handle the full quota of players.But the more clients you have the faster you will reach limits. (like visible ents limit according to IzNoGod)
This is why if you have hit a limit, such as max script varibles, or server commands, reducing your player slots can sometimes help. Particularly with COD4, if you keep your player slots down to below 20, you can cram more into your mods. However, if you go over 22 players, a lot of mods around today for COD4 crash servers because of limits. The Openwarfare mod - one that I am actively involved with - is notorious for crashing out at anything above 26 players. Keeping the number down to below 22 or even 20 allows us to put more into the mod.
Can you make SS of your HEX editor? Because Im very new and Im not sure if I do it correctly :/
Perhaps Mitch can write an LPatch file to be used with the ever-so easy to use LPatcher program? Then all you would have to do is run the LPatcher program, load-up the file and it will automatically update your executable.
Increasing the blocks per snap won't work. It will give this error:Code:if (!rate) { blockspersnap = 1; } else { blockspersnap = ( (rate * cl->snapshotMsec) / 1000 + MAX_DOWNLOAD_BLKSIZE ) / MAX_DOWNLOAD_BLKSIZE; } if (blockspersnap < 0) blockspersnap = 1; while (blockspersnap--) {
I changed the first MAX_DOWNLOAD_BLKSIZE from 2048 to 36864. (gonna test now if it works on 4096)ERROR: Netchan_Transmit: length = 18531
Edit: a higher value doesn't improve your download speed.