@prastle How to Host a Bot.
Anyone that can host can host bots.
Now you will need to place a bot folder or multiple ones, in the same TripleA program folder. The below is an example of one of my bots. Using windows. Other operating systems are slightly different.
java -server -Xmx320m -Djava.awt.headless=true -classpath bin/triplea.jar games.strategy.engine.framework.headlessGameServer.HeadlessGameServer -Ptriplea.game.host.console=false -Ptriplea.game= -Ptriplea.server=true -Ptriplea.port=%PORT% -Ptriplea.lobby.host=%LOBBY_HOST% -Ptriplea.lobby.port=%LOBBY_PORT% -Ptriplea.name=Bot%BOT_NUMBER%_Pras1 -Ptriplea.lobby.game.hostedBy=Bot%BOT_NUMBER%_Pras1 -Ptriplea.lobby.game.supportEmailemail@example.com -Ptriplea.lobby.game.comments="automated_host" -Ptriplea.lobby.game.reconnection=172800
Save the above to a notepad file and rename it with the name and number that you wish for your bot. Make sure it is using one of the correct port numbers you have opened on your router. Now resave the notepad file as a .bat file and place it in your Triple program folder. Test to see if your bot launches in the lobby. @RoiEX please have a look at this and see if you agree thanks Pras
Are this instructions out of date? I get:
Error: Could not find or load main class games.strategy.engine.framework.headlessGameServer.HeadlessGameServer
What it should be isn't obvious to me. Works fine on build 3635.
Also, why is the port 3363? I thought it should default to 3300?