TrainStation Client
Hello everyone!
I've made a Client for the facebook game TrainStation, written in AutoIT and compiled into exe. I am going to try to build a bot using this code and keep it updated. But I can not promise how long until it's finished.
Requirements:
Windows computer (x64 or x32 bit)
A Facebook Account! (uses facebook version of the game)
Features:
Allows you to play directly from your computer and not from a physical web browser. Keep in mind your status on facebook will be online since you're really viewing facebook within the exe file.
Changelog
Version 1.0
Created the client as a (basic botting script start)
Suggestions or comments are always welcome!
Source code:
#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Icon=..\..\Downloads\favicon.ico
#AutoIt3Wrapper_Compile_Both=y
#AutoIt3Wrapper_Res_Description=TrainStation - Bot
#AutoIt3Wrapper_Res_Fileversion=1.0
#AutoIt3Wrapper_Res_Language=1033
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
#include <GuiConstantsEx.au3>
#include <windowsconstants.au3>
#include <IE.au3>
#include <GuiConstants.au3>
Global $oIE = _IECreateEmbedded()
; Create a simple GUI for our output
Global $hGUI = GUICreate("TrainStation - Client", 747, 550, (@DesktopWidth - 747) / 1, (@DesktopHeight - 550) / 2, BitOR($WS_OVERLAPPEDWINDOW, $WS_CLIPSIBLINGS, $WS_CLIPCHILDREN))
Global $GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, 1024, 768)
_IENavigate($oIE, "https://apps.facebook.com/thetrainstation/")
Global $o_doc = _IEDocGetObj($oIE)
$o_doc.DocumentElement.ScrollTop = 90
$o_doc.DocumentElement.ScrollLeft = 100
GUISetState()
; Get rid of scrollbars
If IsObj($oIE.document.documentElement) Then
; HTML4 transitional or strict
$oIE.document.documentElement.style.overflow = "hidden"
Else
; IE in quirks mode
$oIE.documentElement.scroll = "no"
EndIf
While GUIGetMsg() <> -3
WEnd
One false negative and not really sure why.
SHA256: bcd77278e0dd1c3f8a8a7eb6d88ecc2a5c3480940da1b0c95b 914f679f69e169
File name: TrainStation.zip
Detection ratio: 1 / 57