Hi,
I have created an [Only registered and activated users can see links. Click Here To Register...] script generator for Grepolis.
It has limited actions, I mainly wrote it to attack, conquer and support conquered city (just after conquest) when I was sleeping ;)
It works pretty nice on french server(s) (I'm using it only in one world), and it should work on other servers too... at least if the display structure of the game is exactly the same for all languages.
And it cannot be detected as it simulates your keystrokes and mouse moves.
It was first written for french users who do not understand english, like my bro'. I did the english translation pretty fast hence some terms may not be right chosen.
On the first tab, you have to set, as close as possible, the coordinates of one pixel which will be used as reference for every mouse moves. So if you move your browser window or change its size, it won't work anymore until you set again the reference pixel.
If you have more than one city, then fill the Cities.txt file and don't delete the first line. Fill it with the same order your cities are listed in the pop-up menu. Anyway, you don't need to do this if you only want to take a look at GreScript.
Delays are here, because depending on your computer and/or you connexion (connection for US people), it can take seconds before the page is rendered.
No need to install, just unzip and run. To create a script, enter some values, click here and here and press "Create.au3" (if you don't add .au3 at the end of the filename, it will be added for you). Then open, test.au3 for instance with a text editor to see (and maybe understand) how it works.
Now, a script is to be executed/launched, not only to be viewed on a text editor :)
At this point, if you want to go further, you will need to install AutoIt3 (see link at the beginning of the topic) (or use the stand alone version). Then you will be able to run the script as is, or to compile it in a .exe file.
The editor SciTE, included with AutoIt package, will allow you to edit au3 scripts with color syntax. It's better if you want to understand, modify, create scripts.
Now the files :
French version : [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...]
English version : [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...]
Sources : [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...]
PS : I'm not sure I did the VT links well !
I have put the files back since someone is finally interested/curious about this.
I have added sources too, even if it's a small piece of code, please don't sell it (even if you modifiy it).
And if you modify it, I will really appreciate to see what you've done, just by curiosity. Thanks.
Thanks for reading.
I have created an [Only registered and activated users can see links. Click Here To Register...] script generator for Grepolis.
It has limited actions, I mainly wrote it to attack, conquer and support conquered city (just after conquest) when I was sleeping ;)
It works pretty nice on french server(s) (I'm using it only in one world), and it should work on other servers too... at least if the display structure of the game is exactly the same for all languages.
And it cannot be detected as it simulates your keystrokes and mouse moves.
It was first written for french users who do not understand english, like my bro'. I did the english translation pretty fast hence some terms may not be right chosen.
On the first tab, you have to set, as close as possible, the coordinates of one pixel which will be used as reference for every mouse moves. So if you move your browser window or change its size, it won't work anymore until you set again the reference pixel.
If you have more than one city, then fill the Cities.txt file and don't delete the first line. Fill it with the same order your cities are listed in the pop-up menu. Anyway, you don't need to do this if you only want to take a look at GreScript.
Delays are here, because depending on your computer and/or you connexion (connection for US people), it can take seconds before the page is rendered.
No need to install, just unzip and run. To create a script, enter some values, click here and here and press "Create.au3" (if you don't add .au3 at the end of the filename, it will be added for you). Then open, test.au3 for instance with a text editor to see (and maybe understand) how it works.
Now, a script is to be executed/launched, not only to be viewed on a text editor :)
At this point, if you want to go further, you will need to install AutoIt3 (see link at the beginning of the topic) (or use the stand alone version). Then you will be able to run the script as is, or to compile it in a .exe file.
The editor SciTE, included with AutoIt package, will allow you to edit au3 scripts with color syntax. It's better if you want to understand, modify, create scripts.
Now the files :
French version : [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...]
English version : [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...]
Sources : [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...] [Only registered and activated users can see links. Click Here To Register...]
PS : I'm not sure I did the VT links well !
I have put the files back since someone is finally interested/curious about this.
I have added sources too, even if it's a small piece of code, please don't sell it (even if you modifiy it).
And if you modify it, I will really appreciate to see what you've done, just by curiosity. Thanks.
Thanks for reading.