Help with Windows 10 Bot
-
Does anyone have a complete writeup on how to host a bot on windows 10 using the headless server zip download?
I read How to Host a Lobby Bot that is posted in the help section and it seem to be missing some critical information.
First, the headless.zip extracts into 1 BIN folder (with headles.jar) and 3 files (triplea-root), run_bot file and run_bot batch.
Where do all these files go? Do I edit the .batch directly or edit the run_bot.file and save that to the batch file. (for example setting pw, bot name, bot port...)?
-
@football13tb
run_bot
is the executable for linux/Mac, the batch script is the script for windows. You can extract into any folder onto your folder system. The 'batch' script is the script to edit. The lobby server URL is: https://prod2-lobby.triplea-game.org -
I see what you mean by the 'how to host a bot' instructions being very sparse..
The page is here: https://github.com/triplea-game/triplea-game.github.io/blob/master/user-guide/bot-hosting.md, if you want to take a crack at updating it, that would be really welcome (you can click the pencil icon on that page to start the process of suggesting edits & additions)
-
@lafayette What exactly does this mean?
To run this script, change to the directory in which you unpacked the headless game server archive, and type "run_bot.bat".
-
@football13tb First open a windows command prompt.
Start menu > run > cmd
Then, run a 'cd' command to change directory to where you unzipped:
cd C:\path\to\extracted\zip
Then type into the cmd window:
run_bot.bot
Presumably you'll need to keep the console window open for the bot to keep running. -
Sorry for bringing up an old thread, but I'm also looking for information on hosting a bot on Windows 10. It seems like you've made some progress, so any insights would be appreciated!
-
@shaiboo8 said in Help with Windows 10 Bot:
Sorry for bringing up an old thread, but I'm also looking for information on hosting a bot on Windows 10. It seems like you've made some progress, so any insights would be appreciated!
By the way, I recently made the switch from Mac to Windows, and I've found the Windows key Reddit sub to be a helpful resource for Windows-related tips and tricks. They might have some guidance on hosting bots or configuring the files you mentioned.If anyone else has experience with hosting bots on Windows 10, please chime in and share your knowledge. Let's help each other out!