Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How to make Battlefield 2 100-player server with squadsize 8?
- 1) You will need hex editor (e.g. WinHex)
- 2) Open bf2 server executable in hex editor
- linux 64bit: bf2installfolder/bin/amd-64/bf2
- linux 32bit: bf2installfolder/bin/ia-32/bf2
- win 32bit: bf2installfolder\bf2_w32ded.exe
- 3) Goto file offsets and change values as described:
- [OS] [OFFSET] [OLD VALUE] -> [NEW VALUE]
- --------------------------------------------------------------------------
- MAP-LAYER128SUPPORT: appendEntry if >64 -> 128 layer
- linux 64bit 18DBB B840000000 -> B880000000
- linux 32bit 1A6DA B840000000 -> B880000000
- win 32bit 415DA BF40000000 -> BF80000000
- --------------------------------------------------------------------------
- SQUADSIZE: addToSquad 6 -> 8 sq max size
- linux 64bit C3A56 83F805 -> 83F807
- linux 32bit D4CE9 83F805 -> 83F807
- win 32bit 5FF37 83F806 -> 83F808
- --------------------------------------------------------------------------
- SETMAXPLAYERS: setMaxPlayers if > 64 == 100
- (You can also remove this limit to allow any playernumber)
- linux 64bit 696B0 C744240C40000000 -> C744240C64000000
- linux 32bit 695BA B840000000 -> B864000000
- win 32bit 2514B B840000000 -> B864000000
- --------------------------------------------------------------------------
- ALLOCCONNECTION: netsrv allocConn 64 -> 100
- linux 64bit 3D09AF BA40000000 -> BA64000000
- linux 32bit 42C4E8 83F83F -> 83F863
- win 32bit 2628DC 83F840 -> 83F864
- --------------------------------------------------------------------------
- NETSERVER: netserver 64 -> 100
- linux 64bit 3D1501 C7859C04000040000000 -> C7859C04000064000000
- linux 32bit 42B7FA B840000000 -> B864000000
- win 32bit 26537E C7863004000040000000 -> C7863004000064000000
- --------------------------------------------------------------------------
- FREECONNECTION: freeConnection 64 -> 100
- linux 64bit 3D1C24 4881FA00020000 -> 4881FA20030000
- linux 32bit 42C55C 83FA3F -> 83FA63
- win 32bit 26293F 83F840 -> 83F864
- --------------------------------------------------------------------------
- NETSERVERINIT: netsrv init 64 -> 100
- linux 64bit 3D2525 BF00020000 -> BF20030000
- linux 64bit 3D255B 4881FD00020000 -> 4881FD20030000
- linux 64bit 3D2542 BF68010000 -> BFD0020000
- linux 32bit 42C24A C7042400010000 -> C7042490010000
- linux 32bit 42C27C C7042408010000 -> C7042410020000
- linux 32bit 42C296 83FF3F -> 83FF63
- win 32bit 264C8C 6800010000 -> 6890010000
- win 32bit 264CB0 6800010000 -> 6890010000
- win 32bit 264CD8 81FF00010000 -> 81FF90010000
- --------------------------------------------------------------------------
- NETSERVERSHUTDOWN: shutDown 64 -> 100
- linux 64bit 3D3CE9 4881FD00020000 -> 4881FD20030000
- linux 32bit 42C758 83FE3F -> 83FE63
- win 32bit 263EC1 81FE00010000 -> 81FE90010000
- --------------------------------------------------------------------------
- MAXNUMOFCONNECTIONS: setMaxNoCon 64 -> 100
- linux 64bit 3D0720 81FE00010000 -> 81FE90010000
- linux 32bit 42D996 81FA00010000 -> 81FA90010000
- win 32bit 262B66 3D00010000 -> 3D90010000
- Feel free to use this in any of your projects.
- Players will only see 64 nametags in game, this is normal.
- There is an workaround for this, all your players will need patched RendDX9.dll.
- Use contact form for any issues or to request info for 256 players.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement