BF42 server with 128 players?

Postby freddy » Fri Jun 22, 2012 8:59 pm

Grabbi wrote:the BFserver Manager 2.01 (final) writes EACH time ServerSettings.con NEW before it starts the dedicated server with the max 64 value (32).


try set the affected files to write protected if you use BFserver Manager
User avatar
freddy
 
Posts: 1230
Joined: Sun Oct 18, 2009 4:58 pm

Re: BF42 server with 128 players?

Postby Grabbi » Fri Jun 22, 2012 11:00 pm

first thing I did

doesn t work, cause then the BFSM Server Manager shows a error popup and shuts down


Onliest way is to write an own server manager / admin tool or Tuia is able to modify the bfsm exe and unlock it
Image
User avatar
Grabbi
 
Posts: 32
Joined: Wed Aug 03, 2011 3:37 pm
Location: Netherlands & Germany

Re: BF42 server with 128 players?

Postby tuia » Fri Jun 22, 2012 11:17 pm

Yes, that's an annoying problem in BFServerManager. It has also another limitation, any player ID with a number greater than 64 can't be targeted with admin commands, like !kick .73. I found what to change in the code to solve that. However, I couldn't came up with a solution for the maximum players limit to 64 in BFSM.
tuia
 
Posts: 129
Joined: Tue Sep 06, 2011 12:36 pm
Location: Lisbon, Portugal

Re: BF42 server with 128 players?

Postby freddy » Sat Jun 23, 2012 1:29 am

try and put the "game.serverMaxPlayers" somewhere it reads "late" in the server files, it should overrun the bfmanager settings.


Grabbi wrote:first thing I did

doesn t work, cause then the BFSM Server Manager shows a error popup and shuts down

Onliest way is to write an own server manager / admin tool or Tuia is able to modify the bfsm exe and unlock it


edit: dropping it in the init.con file in the game.rfa seems to work, not the quickest way to change a value on but perhaps ok until there is a better solution.
User avatar
freddy
 
Posts: 1230
Joined: Sun Oct 18, 2009 4:58 pm

Re: BF42 server with 128 players?

Postby tuia » Sat Jun 23, 2012 12:05 pm

Thank you, freddy!
tuia
 
Posts: 129
Joined: Tue Sep 06, 2011 12:36 pm
Location: Lisbon, Portugal

Re: BF42 server with 128 players?

Postby freddy » Sat Jun 23, 2012 10:52 pm

this is a easier way to change values, by using this line in the game.rfa init.con
Code: Select all
run ../../mods/bf1942/maxplayers.con

then make the file "maxplayers.con" containing the game.serverMaxPlayers code and put it in servers directory /mods/bf1942

now values can be changed easily with notepad or edited on the fly over ftp.
User avatar
freddy
 
Posts: 1230
Joined: Sun Oct 18, 2009 4:58 pm

Re: BF42 server with 128 players?

Postby exe » Sun Jun 24, 2012 10:06 pm

Amazing! :o

Can someone please give me the steps on how to play coop with 127 bots on my local machine? I'm a noob at those server things. I downloaded the patched exe along with BFSM but couldn't raise the player count higher than 64. :?
exe
 
Posts: 60
Joined: Wed Feb 08, 2012 10:04 pm

Re: BF42 server with 128 players?

Postby freddy » Sun Jun 24, 2012 10:53 pm

exe wrote:Amazing! :o

Can someone please give me the steps on how to play coop with 127 bots on my local machine? I'm a noob at those server things. I downloaded the patched exe along with BFSM but couldn't raise the player count higher than 64. :?


sure :)
freddy wrote:try and put the "game.serverMaxPlayers" somewhere it reads "late" in the server files, it should overrun the bfmanager settings.

edit: dropping it in the init.con file in the game.rfa seems to work, not the quickest way to change a value on but perhaps ok until there is a better solution.


freddy wrote:this is a easier way to change values, by using this line in the game.rfa init.con
Code: Select all
run ../../mods/bf1942/maxplayers.con

then make the file "maxplayers.con" containing the game.serverMaxPlayers code and put it in servers directory /mods/bf1942

now values can be changed easily with notepad or edited on the fly over ftp.


and finally

freddy wrote:1: to get more bots in coop-mode open the file AIdefault.con in game.rfa and raise the value on "aiSettings.setMaxNBots"
User avatar
freddy
 
Posts: 1230
Joined: Sun Oct 18, 2009 4:58 pm

Re: BF42 server with 128 players?

Postby exe » Mon Jun 25, 2012 10:12 am

Hmm I think I did all that and it still doesn't work. :(

Changing init.con:
Image

Creating maxplayers.con:
Image

Changing AIdefault.con:
Image

Now it shows 128 players in the server list, but when I'm in the game it's still only 64 bots.
exe
 
Posts: 60
Joined: Wed Feb 08, 2012 10:04 pm

Re: BF42 server with 128 players?

Postby konikpolny » Mon Jun 25, 2012 11:56 am

Very good job Tuis, and Freddy. Both of you are genius. I would like to know if it is possible to hack maximum size of map?
konikpolny
 
Posts: 1
Joined: Mon Jun 25, 2012 11:53 am

PreviousNext

Return to Battlefield server and client

Who is online

Users browsing this forum: No registered users and 2 guests

cron