I've made a bot for the facebook game TrainStation, written in AutoIT.
Seeing as it works pretty good (better than expected), I'll share it will everyone!
Requirements:
- AutoIT Installed (Can be found

- A Facebook Account! (Dah!)
- Hints enabled in the game
- Running the game on High-Quality
Features:
- Unload Trains from Station
- Unload Trains from Docks
- Unload Trains from Town
- Send Trains on a 10 minute trip
- Catch "easter eggs/mail packages"
- Automatically close any dialog that pops up
- Resolution independant
How does it work?
This bot uses the hint arrows in the game to determine what to do. When a train arrives at the station, the arrow will be pointing at each of the waggons and lastly the engine itself.
Once the bot is started, press CTRL + Shift + T on your keyboard to actually start/stop the bot, you will see in the log window (and a tooltip window) if the bot was started or if an error occurred.
Files & Folders in the zip archive:
- TS.au3 - The main file to run with AutoIT's Editor
- ImageSearchDLL.dll - A dll file which contains functions to search the screen for a subimage
- ImageSearch_hacked.au3 - An AutoIT script file that interfaces the .dll file
- images - A folder that contains all the subimages used in the script
Note:
The reason that I do not recommend fullscreen is because it will take longer for the script to search the whole screen than the default size of the window.
Changelog
Version 1.1
Changes:
- Removed support for catching floating mails (Didn't work as expected)
- Faster train unloading
- Cleared up the code a bit
- Changed the start/stop hotkey to Ctrl + Shift + T

Suggestions or comments are always welcome!







