Page 1 of 1

Hosting

Posted: Wed Sep 15, 2010 8:37 am
by RandomGuy
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?

Posted: Wed Sep 15, 2010 2:05 pm
by dustin
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.

Posted: Sat Oct 02, 2010 1:45 pm
by blackj3sus
can i put one up on my comcast host server and execute a remote command to have it to start by itself?

Posted: Sat Oct 02, 2010 3:11 pm
by dustin
It's probably not polished enough for that to work.