Register for your free account! | Forgot your password?

You last visited: Today at 12:35

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Trainstation bot

Discussion on Trainstation bot within the Facebook forum part of the Browsergames category.

Reply
 
Old 12/19/2013, 10:09   #16
 
elite*gold: 0
Join Date: Apr 2012
Posts: 2
Received Thanks: 0
Dock procedure

Hi,

Thank YOU very much for the script but with final update of the game, dock procedure is not working anymore . I dont know how to modify RGB or something from there.
Can you do something about that ?
THANKS !



Quote:
Originally Posted by christiaantje View Post
I created a bot for the facebook game Trainstation. U might want to adjust it to personalize it for ur own needs. But it is a good start for botting on any facebook game, that requires the same actions over and over again. Or/And color depending clicks/keyinputs.

Feel free to use it I wrote the script in ACTool so u will need to download ACTool from

I got alot of questions about the script and people tell me it doesnt work. If u want help to set up the trainstation bot, just pm me or connect to my teamspeak flum.aionallstars.com:11807

Code:
(*
Train station script 1.0 by flum
Have problems or questions feel free to contact me on teamspeak 3 Address:   flum.aionallstars.com:11807

-Functions
Send your trains out every 10 minutes + goes to docking to click on the trains.
Delete flags for you.
Send international trains to your favs.

-Requirements
Screen resolution 1366 768
Chrome or Firefox.
The 1 click passenger and cargo upgrade for ur station.
 
-Run notes
Start the script first, then within 5 sec open trainstation fullscreen.

-Config notes
If u set constants delflag 0 to anything else it will start to delete the amount of flags from the giftbox.
Change internation 0 if u dont want to send int trains.

Changelog
0.2 send trains every 10 min
0.3 minor bug fixes
0.4 added del flag function
0.5 changed flag function for easy use
0.6 send int function added
0.7 click dockin station implemented
0.8 color check implemented for better check
0.9 changed mouse cord. for int trains
1.0 code clean up

*)
constants
  delflag = 0
  main = 1 // dont change this value
end

delay 5 sec
call main

//call test

//-----Send Trains and ints to fav and check dock
procedure main
  call flag
  while $main = 1
    MousePos 976, 659 //1st train
    call cc
    MousePos 989, 646
    call cc
    MousePos 990, 634
    call cc
    MousePos 992, 622
    call cc
    MousePos 992, 614
    call cc
    MousePos 59, 83
    call click
    delay 5 sec
    MousePos 422, 219
    call click
    call intcheck
    call dock
  end
end

//-----Delete flags and dont run the main script
procedure flag
  if $delflag > 0
    set main = 0
    MousePos 71, 717
    call click
    MousePos 807, 238
    call click
    loop $delflag
      MousePos 387, 420
      call click
      MousePos 734, 492
      call click
    end
  else
  end
end

//-----Send International Train To Fav
procedure intcheck
  delay 3 sec
  LoadRGB 462, 334
  if {RGBBlue} = 140
    MousePos 462, 334 //slot 1
    delay 1 sec
    DragTo 510, 314 //drag to send
    call click
    MousePos 604, 348 //favs
    call click
    MousePos 603, 373 //new select fav
    call click
    MousePos 798, 630 //send
    call click
    MousePos 799, 595 //confirm
    call click
    delay 2 sec
    call intcheck
  else
    MousePos 473, 631  //close
    call click
  end
end

//-----check if dock is avaiable, if yes send them out
procedure dock
  LoadRGB 156, 77
  if {RGBGreen} = 143
    MousePos 156, 77
    call click
    delay 3 sec
    MousePos 961, 665
    call click
    MousePos 961, 659
    call click
    MousePos 963, 653
    call click
    MousePos 963, 644
    call click
    MousePos 963, 637
    call click
    MousePos 27, 714 //home
    call click
    delay 2 sec
  else
  end
end

//------ checks if train window for sending normal trains is open if yes send for 10 min.
procedure getcolor
  delay 2 sec
  LoadRGB 836, 150
  if {RGBGreen} = 232
    SayPaste load train screen found
    MousePos 528, 425
    call click
  else
    //   SayPaste Red {RGBRed} Blue {RGBblue} Green {RGBGreen}
  end
end

procedure cc
  call click
  call getcolor
end

procedure click
  leftclick
  delay 1 sec
end
V2013 is offline  
Old 12/21/2013, 22:16   #17
 
elite*gold: 0
Join Date: Oct 2009
Posts: 16
Received Thanks: 7
Quote:
Originally Posted by BeaverHunter View Post
I am curious if there is a downloadable tool you are using to get mouse coordinates while trainstation is in full screen mode ...or a hot key style program that gives mousecords while in another non modal window....what tool you use to deermine mouse calls????

otherwise i have to write a java program that stamps the mouse cords on my hot key to add aditional functions to this script
The shortkey in AC-Tool for that = HOLD DOWN CTRL and press M (So no, im not using a serperate tool for that)

Quote:
Originally Posted by V2013 View Post
Hi,

Thank YOU very much for the script but with final update of the game, dock procedure is not working anymore . I dont know how to modify RGB or something from there.
Can you do something about that ?
THANKS !
I made an update it should work now if not feel free to add me on skype or visit my teamspeak server on flum.aionallstars.com:11807

Quote:
Originally Posted by abyss0709 View Post
can any 1 help me with a cityville bot


thanxxxx
Sure i am able to help you out!
christiaantje is offline  
Old 12/23/2013, 22:48   #18
 
elite*gold: 0
Join Date: Apr 2012
Posts: 2
Received Thanks: 0
HAPPY NEW YEAR !

OMG !!!
yOU DID AWESOME JOB THANKS

Merry Christmass and HAPPY NEW YEAR
V2013 is offline  
Old 12/24/2013, 15:25   #19
 
elite*gold: 0
Join Date: Feb 2009
Posts: 22
Received Thanks: 0
Well, Hello Guys.. But, how can i use that Script? Where do i put it? Can u give me ur skype?
Does it still works?



Edit : I downloaded that AC Tool or so.. But i dont have the thing of One click passager or 1 click cargo.. is that really need? i can put the script working.. But only the mouse moves and he doesnt do anything..
Kalarius is offline  
Old 12/30/2013, 21:25   #20
 
elite*gold: 0
Join Date: Oct 2009
Posts: 16
Received Thanks: 7
Quote:
Originally Posted by Kalarius View Post
Well, Hello Guys.. But, how can i use that Script? Where do i put it? Can u give me ur skype?
Does it still works?

Edit : I downloaded that AC Tool or so.. But i dont have the thing of One click passager or 1 click cargo.. is that really need? i can put the script working.. But only the mouse moves and he doesnt do anything..
Like i said ur free to edit the script as u wish. U can make it work for any resolution or setup. U just need to change the mousepositions.

Im always ready to help u out. Just contact me over the forum with a PM and i will pm u back my skype so we can get into contact.
christiaantje is offline  
Old 01/16/2014, 01:12   #21
 
elite*gold: 0
Join Date: Dec 2013
Posts: 1
Received Thanks: 0
Here's a version for 1600x900 that can send trains for 6 minutes to 3 hours and visit docks. Also you can set different journey times for passanger and cargo trains, just delete first // in row with specified time for each train type (default: 6 minutes for cargo and 1 hour for passanger trains).

Echo_1 is offline  
Old 02/16/2014, 09:44   #22
 
elite*gold: 0
Join Date: Nov 2010
Posts: 7
Received Thanks: 0
video tutorial pls crome or mozila verzi pls
pixy8 is offline  
Old 02/19/2014, 22:45   #23
 
elite*gold: 0
Join Date: Feb 2014
Posts: 1
Received Thanks: 0
Where is the link to download?
bin2000 is offline  
Old 06/03/2014, 21:53   #24
 
elite*gold: 0
Join Date: Aug 2011
Posts: 4
Received Thanks: 0
Quote:
Originally Posted by apflesk View Post
I would really appreciate some help to make this for 1920*1080. is there anyone that can help me with this?
this bot is cool to work when you are sleeping.. why you dont change the monitor configuration when you are sleeping? is more easy...
Alex_Marcello is offline  
Old 06/05/2014, 20:37   #25
 
elite*gold: 0
Join Date: Aug 2011
Posts: 4
Received Thanks: 0
i do some modifications.. i put a procedure to colletc some envelopes to complete the Achievements Mailman, but we need to have some luck to collect.. i apreciate some help

Thanks
Code:
(*
Train station script 1.0 by flum
Have problems or questions feel free to contact me on teamspeak 3 Address:   flum.aionallstars.com:11807

-Functions
Send your trains out every 10 minutes + goes to docking to click on the trains.
Delete flags for you.
Send international trains to your favs.

-Requirements
Screen resolution 1366 768
Chrome or Firefox.
The 1 click passenger and cargo upgrade for ur station.
 
-Run notes
Start the script first, then within 5 sec open trainstation fullscreen.

-Config notes
If u set constants delflag 0 to anything else it will start to delete the amount of flags from the giftbox.
Change internation 0 if u dont want to send int trains.

Changelog
0.2 send trains every 10 min
0.3 minor bug fixes
0.4 added del flag function
0.5 changed flag function for easy use
0.6 send int function added
0.7 click dockin station implemented
0.8 color check implemented for better check
0.9 changed mouse cord. for int trains
1.0 code clean up

MousePos 204, 344
MousePos 1208, 573
*)


constants
x = 0
y = 0
Mousex  = 200
Mousey = 377

  delflag = 0
  main = 1 // dont change this value
end



delay 2 sec

call main

//call test

//-----Send Trains and ints to fav and check dock
procedure main

  
  while $main = 1
   
		
		MousePos 220, 652
		call click
		MousePos 206, 622
		call click
		MousePos 329, 650
		call click
		MousePos 320, 620
		call click
		MousePos 441, 652
		call click
		MousePos 438, 627
		call click
		MousePos 546, 652
		call click
		MousePos 555, 623
		call click
		MousePos 665, 654
		call click
		MousePos 671, 624
		call click
		MousePos 776, 651
		call click
		MousePos 784, 625
		call click
		 MousePos 990, 615 //1st train
    call click
		MousePos 540, 410
    call click
		MousePos 990, 615 //1st train
    call click
    MousePos 540, 410
    call click
    MousePos 897, 644
    call click
    MousePos 910, 608
    call click
    MousePos 1131, 596
    call click
    MousePos 540, 410
    call click
    MousePos 1121, 636
    call click
    MousePos 540, 410
    call click
   call dock
		Delay 5 sec
		call mail		
  end
end


//-----check if dock is avaiable, if yes send them out

procedure dock

  LoadRGB 169,70
  
  if {RGBGreen} = 202
    mousePos 169, 70
    call click
    delay 3 sec
    MousePos 351, 613
call click
MousePos 365, 591
call click
MousePos 459, 617
call click
MousePos 478, 594
call click
MousePos 571, 612
call click
MousePos 579, 593
call click
MousePos 697, 616
call click
MousePos 703, 595
call click
MousePos 821, 614
call click
MousePos 819, 596
call click
MousePos 930, 616
call click
MousePos 931, 595
call click
    MousePos 220, 652
		call click
		MousePos 206, 622
		call click
		MousePos 329, 650
		call click
		MousePos 320, 620
		call click
		MousePos 441, 652
		call click
		MousePos 438, 627
		call click
		MousePos 546, 652
		call click
		MousePos 555, 623
		call click
		MousePos 665, 654
		call click
		MousePos 671, 624
		call click
		MousePos 776, 651
		call click
		MousePos 784, 625
		call click
		MousePos 888, 648
		call click
		 MousePos 990, 615 //1st train
    call click
		MousePos 540, 410
    call click
		MousePos 990, 615 //1st train
    call click
    MousePos 540, 410
    call click
    delay 2 sec
    MousePos 27, 714 //home
    call click
    delay 2 sec
    call main
  else
  end
end

procedure mail

MousePos 13, 377
//MousePos 1338, 372
 loop 5   
    			loop 65
    			compute MouseX = {MouseX} +20
     			//MousePos  $MouseX, $MouseY
      		LoadRGB $MouseX, 377
      		if {RGBGreen} < 255
      		MousePos $MouseX, 377
        	call click     
       		else
       		
      		end
    	end
    	
    end
call main
end


procedure click
  leftclick
  delay 0.0001 sec
end
Alex_Marcello is offline  
Old 06/05/2014, 22:08   #26
 
elite*gold: 0
Join Date: Jun 2008
Posts: 166
Received Thanks: 31
dont work

if i have time i update the script
magierhauck is offline  
Old 06/05/2014, 23:38   #27
 
elite*gold: 0
Join Date: Aug 2011
Posts: 4
Received Thanks: 0
for me works.. maybe you need to fix the coordinates for your computer..

Tks
Alex_Marcello is offline  
Old 06/21/2014, 22:54   #28
 
elite*gold: 0
Join Date: Jun 2014
Posts: 1
Received Thanks: 0
Ok this seems to be an old post but if some has this working i could really do with some help i have the code in ACTool and it sort of works then crashes
JTXblade is offline  
Old 06/30/2014, 08:35   #29
 
elite*gold: 0
Join Date: Dec 2011
Posts: 6
Received Thanks: 1
Credit goes to for the original script. I just modified it so it worked for me.
Also, although I think the automated screenshots is a great idea, it caused problems with creating the files which had to be created manually and was proving to be more hassle than useful.

This is my version of the macro, I have been working on this a couple of weeks and happy to say it's working for me and 2 other friends.

Requirements:

Full screen 1920x1080 resolution
One-click Cargo
One-click Passenger
ACTool (free program to run the script)

Instructions:

Download ACTool and set your start/stop hotkeys
Copy and paste the entire code in the spoiler section into ACTool and save it
in the "constants" section of the code, where it says "send" you may change the number to 6, 10 or 30 (only these 3 available at this time) depending on which journey time you would like the script to send your trains on
run the game and put it into full screen
press your hotkey to start the script
Watch!

What this script actually does:

This will send your trains out on the journey time you have specified in the "constants" section
!!!!DO NOT EDIT reason OR main. only edit send with either 6, 10 or 30.!!!!
It will click on your trains at docks and town (however it does not click halfway on contract journeys)
it will automatically close the level-up and achievement boxes so they will not stop the script


More features are due to be included in this script later on after i've fully got them working and tested, these are but not limited to:

automatic international deployment
automatic switching between 2nd and 3rd stations for express and international trains
and more...

Please go ahead and try this script out or yourself, if you're having problems you may contact me on and I will do my best to run through it with you and get it working.
shyden is offline  
Thanks
1 User
Old 07/09/2014, 09:18   #30
 
elite*gold: 0
Join Date: Oct 2010
Posts: 2
Received Thanks: 0
Thx shyden!
Grinding my way up to OCC and OCP.
Hope to test it as soon as possible!
CalinZ2 is offline  
Reply

Tags
bot, facebook, script, trainstation


Similar Threads Similar Threads
[Request] Trainstation on facebook hack
09/06/2012 - Facebook - 0 Replies
please give me trainstation on facebook hack :awesome:
[REQUEST] TrainStation Hack!
02/12/2012 - Facebook - 1 Replies
Hello! I have searched on the internet for a trainstation hack :( but no luck... Can anyone make a hack for it? example: Materials or Money, Or Something to make the trains finish the ride faster... Thanks! :) Bump! Bump!



All times are GMT +1. The time now is 12:35.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.