Hosting

Synchronized-turns strategy. Calling all teamers.
Post Reply
User avatar
RandomGuy
Lux Veteran
Posts: 1463
Joined: Mon Mar 05, 2007 12:02 am
Location: Central American Jungle
Contact:

Hosting

Post by RandomGuy » Wed Sep 15, 2010 8:37 am

Is there a list of supported host commands? Assigning players/bots to positions? Transfers?

I tried /play [name] but couldn't get it to work. It said "Could not transfer player ..."

Any plans for a headless host?

Is it possible to host more than one game from one machine? With longer turn times/games, this would be ideal.

How long does the game wait before kicking a player out for inactivity? 2 rounds?

User avatar
dustin
Lux Creator
Lux Creator
Posts: 10793
Joined: Thu May 15, 2003 2:01 am
Location: Cascadia
Contact:

Post by dustin » Wed Sep 15, 2010 2:05 pm

Yes, there's a headless host. That's how I'm running my test servers. You can use it to have multiple hosts. Here are some example headless host commands:

MacOS example command (run from the directory where Castle Vox.app is):

Code: Select all

java -Djava.awt.headless=true -cp "./Castle Vox.app/Contents/Resources/Java/VoxCore.jar:./Castle Vox.app/Contents/Resources/Java/MRJAdapter.jar" com.sillysoft.vox.Vox -headless -time=24h -map=HexLords -public=true -name=Daily_Hex
Windows/Linux example command (run from inside the installation directory):

Code: Select all

java -Djava.awt.headless=true -cp "./VoxCore.jar" com.sillysoft.vox.Vox -headless -time=60 -map=HexBarons -public=true -name=Fast
2 turns of inactivity will turn a player into a bot.

User avatar
blackj3sus
Lux Messiah
Posts: 3223
Joined: Fri May 05, 2006 12:27 pm
Location: sillysoft.net/roman-battles
Contact:

Post by blackj3sus » Sat Oct 02, 2010 1:45 pm

can i put one up on my comcast host server and execute a remote command to have it to start by itself?

User avatar
dustin
Lux Creator
Lux Creator
Posts: 10793
Joined: Thu May 15, 2003 2:01 am
Location: Cascadia
Contact:

Post by dustin » Sat Oct 02, 2010 3:11 pm

It's probably not polished enough for that to work.

Post Reply