Skip to content

Instantly share code, notes, and snippets.

@ArranHS
Last active August 29, 2015 14:15
Show Gist options
  • Save ArranHS/8d39d6f7f33ba6c58096 to your computer and use it in GitHub Desktop.
Save ArranHS/8d39d6f7f33ba6c58096 to your computer and use it in GitHub Desktop.
In-depth set up guide for BoTTT
--------------------------------------
Guide to running the TTT bot (By Sciz)
--------------------------------------
1. Download the PokemonShowdown bot base made by TTT here: https://github.com/TalkTakesTime/Pokemon-Showdown-Bot. To do so click the "Download Zip" button: http://i.imgur.com/OQt1nwD.png
2. Unzip the Pokemon-Showdown-bot-master.zip onto your desktop and name it something easy to type like "PSbot"
3. Open up the Bot file and rename example-config.js to config.js
4. Open up Command Prompt (Type 'cmd' into the Windows menu and it's the first search) / Terminal (Type 'terminal' into Apple Mac's finder and it's the first search)
5. Type "cd locationofbotfilehere" for the location it will be something like C:\Users\YOURUSERNAME\Desktop\PSbot (Windows) or /users/YOURUSERNAME/desktop/PSbot (Mac)
6. Now go to http://nodejs.org/ and download the latest version of Node
7. Go back to cmd / terminal again and type "npm install"
8. After npm has installed, open up the bot file and fill out the config.js variables to suit the server you're connecting to.
- To get the host (exports.server ="";) name type into cmd "node getserver.js http://servernamehere.psim.us"
Cmd will then return information, you will need to take the info after "server:" for the next step
- The command will return the host server's IP, this is what you put into the exports.server =""; variable of config.js
- For the exports.serverid variable enter the name of the server IN LOWERCASE. For example, exports.serverid ="pokemondatabase";
- The other variables are simple to follow and you should be able to power through them with ease
9. Now it's time to bring your bot to life, type into cmd "node main.js" and the script should run.
10. Congratz, your bot is online and ready to mod your server!
If you have any issues with the above don't hesitate to contact Sciz by PM and I'll do my best to help you out.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment