SRCDS Steam group


TF2 maxplayers 32?????
#1
Hello,
I see a lot of servers out there with 32 players in TF2 now. Digging through the forums it seems I need to hexedit a dll to get this to work?

Anyone know where in the dll I set maxplayers to 32? Can anyone suggest a hex editor? Can anyone email me the corrected dll or point me in the right direction for this?

Thanks,
Toben
Reply
#2
toben Wrote:Hello,
I see a lot of servers out there with 32 players in TF2 now. Digging through the forums it seems I need to hexedit a dll to get this to work?

Anyone know where in the dll I set maxplayers to 32? Can anyone suggest a hex editor? Can anyone email me the corrected dll or point me in the right direction for this?

Thanks,
Toben

http://youngteam.eu/files/tf2/v1.0.0.1/server.dll

Modded server.dll to allow for >16 players - untested.

Back-up your existing server.dll from \tf2\bin\ before replacing.

After you've replaced the file, go to \tf2\cfg\valve.rc and open this file in notepad or something similar. Add:

Code:
maxplayers 32

and add the usual:

Code:
+maxplayers 32

in your startup parameters.
Reply
#3
Thanks! Thats awesome!
Reply
#4
Did this work for you toben?
Reply
#5
Yes!
Server is live at http://www.game-monitor.com/GameServer/71.184.105.89:27018/_DTV_Crazy_RockTheVote_Server.html
manofphat Wrote:Did this work for you toben?
Reply
#6
Thanks!
Have you noticed any problems with this? IE, not enough spawns?
Reply
#7
CS Source files used to be 32 or 40 spawn points - since 2005, they've all been 40-41 slots. So can only assume they've followed suit with TF2 and made the default 40-41 slots.

If anyone can be arsed, you should be able to open the .bsp in the SDK and count the number of info_player_teamspawn (i think).
Reply
#8
I had no problems but I only played well, granary, and 2fort. Don't know on the others. Steam released an update and my server emptied out.
Reply
#9
Can you tell me the tool you used to edit the dll so I can do this on my own in the future? The steam update overwrote it.
Reply
#10
I will keep updating the following thread with the latest server.dll for 32 player TF2 servers:

http://forums.srcds.com/viewtopic/5220

The program i use is called PSPad. Extremely useful text/hex editor, especially for web developing.

http://www.pspad.com/

Right click file > PSPad HEX
Reply
#11
You don't have to edit the server.dll. There's a plugin that's available here that will also remove the limit. Make sure you get the one that says "Player Limit Remover Windows 1.1 (TF2)" and not the other since the other one isn't for TF2.

The rar file contains a dll only, so you will have to setup the vdf manually.
Reply
#12
Can you provide the sourcecode for that plugin Drunken F00l or do you wish to keep it private Smile
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#13
I suppose I can provide it. It's real simple. However, it requires some SDK changes too, so I'm not sure how I'd package that up. Maybe as a patch file?
Reply
#14
That'd be kickass if you could release the source Wink

Reply
#15
If you could provide like a text document with the changes you made on what lines in what files it should work out.

Ace you can provide them!
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)