Author Topic: [Done] No start of headless server games with only one connected player  (Read 850 times)

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
A game launch on a headless server should only be possible with at öeast two connected players. By this people don't block our rare headless servers so easy.
« Last Edit: 8 July 2012, 10:32:05 by tomreyn »
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

treba

  • Guest
agree, but should be deactivatable, because sometimes it's necessary to test the server alone.

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Optionable, but for the headless client.
WiP Game developer.
I do danish translations.
"i break stuff"

softcoder

  • MegaGlest Team
  • Battle Machine
  • ********
  • Posts: 2,239
    • View Profile
This is now implemented in svn. To override add this to your ini:

Code: [Select]
MinHeadlessPlayersRequired=1
The default value is 2

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Exelent!
WiP Game developer.
I do danish translations.
"i break stuff"