Jump to content
Sign in to follow this  

[tribalwars] List of variable & grab information

Recommended Posts


I am trying to work something for the game tribalwars.

This is the page from where the program will perform its actions:

Posted Image

;script farm
Global $xcoord=388
Global $ycoord=759

With this code, I am able to send to one coordinate 5 spear man (I currently have 9 as you can see on the image).

Every coordinate = one village. This is the most repetitive task to send N amount of soldiers to X, Y destination.

What I would like is that the $xcoord & &ycoord change every "loop".

By example:

First time the program send to x=388 & y=759 5 spear man

2nd time x=345 & y=747




N times (which correspond to the amount of 5 men pack available).

Also, I am wondering how I could get the information for the program when the troop return (look at the bottom of the image, there is a timer telling me when the troop will come back).

This information would be used to wake-up the bot so he can send to the next coordinate the returning troops.

Edited by Cherenkov

Share this post

Link to post
Share on other sites


Tripredacus is quite right - please read the Forum rules (the link is also at bottom right of each page) - particularly the bit about not discussing game automation - before you post again. Thread locked. :naughty:

But welcome to the AutoIt forum - and see you soon with a legitimate question I hope. :)


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...