project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 General Discussion
04 Apr 2020, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 General Discussion General discussion of the Project Reality: BF2 modification.

Reply
 
Thread Tools Display Modes
Old 2020-01-22, 00:13   #1
ProDigyIgi
Default Battlefield Heroes playercount increase

Hello good people, excuse me if this is inappropriate place to post such a thread.
I am bfh dev that seeks help.

There is ongoing revive project for game that shares refractor 2 called battlefield heroes if anyone still remembers

it is 8v8 16 players in total format. I would like to ask You, whether it is possible
to increase playercount via coding. If im not mistaken PR supports 100 players
which isnt standard 64 BF2 player count.

Any answer is appreciated and thanks in advance
ProDigyIgi is offline
Last edited by ProDigyIgi; 2020-01-22 at 04:14..
Reply With Quote
Old 2020-01-22, 08:38   #2
[R-DEV]​AlonTavor
PR:BF2 Developer
PR Server License Administrator
Default Re: Battlefield Heroes playercount increase

IIRC there were a couple of places that need changing, I'll have to look it up.


Are your servers Linux or Windows?
Do you have any debug information on your server binaries? (Linux probably has ELF info)


One of the checks is in a function called ServerSettings::setMaxPlayers. Look for the string
Code:
Cannot change sv.maxPlayers while running
, it should be referenced by just that function. Look for the hardcoded 64 there (0x40)

Try that and see if its enough (check if sv.maxplayers now allows more than 64)
AlonTavor is online now Reply With Quote
Reply


Tags
battlefield heroes, player count, support
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 21:30.