AoEZone - The international Age Of Empires community AoEZone - The international Age Of Empires community
  • Forums
    New posts Search forums Help
  • What's new
    New posts New profile posts Latest activity Help
  • Calendar
    Monthly Weekly Agenda Archive Help
  • Groups
    Public Events
  • AoEZone
    Menu Home A Guide for Beginners AoE On Twitch AoE On YouTube AoE2 Hall of Fame Feedback and Suggestions Support AoEZone Help
    Shortcuts General Discussion Community Café Questions and Answers Chat and Chit-chat Articles and Guides Resources and Downloads Live Streaming and Videos Foro Publico (Español) Fórum Público (Brasil) Age Of Empires Clans AoE II DE Leaderboards MS Zone Rating History
    Tournaments Nations Cup 2023 Rage Forest 4 King of the Desert V General Tournament Discussion Current Tournaments Recurring Series Past Tournaments
    Recorded Games Search for Games Daily Games Expert Games Deathmatch Custom Scenario Classic Games Map Database
Log in
Register

Search

Search recorded games
By:
Advanced search…
Search recorded games
By:
Advanced…
Toggle sidebar Toggle sidebar
  • New posts
  • Search forums
  • Help

Search

Search recorded games
By:
Advanced search…
Search recorded games
By:
Advanced…
AoEZone - The international Age Of Empires community AoEZone - The international Age Of Empires community
Menu
Install the app
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Menu

Home
A Guide for Beginners
AoE On Twitch
AoE On YouTube
AoE2 Hall of Fame
Feedback and Suggestions
Support AoEZone
Help

Shortcuts

General Discussion
Community Café
Questions and Answers
Chat and Chit-chat
Articles and Guides
Resources and Downloads
Live Streaming and Videos
Foro Publico (Español)
Fórum Público (Brasil)
Age Of Empires Clans
AoE II DE Leaderboards
MS Zone Rating History

Tournaments

Nations Cup 2023
Rage Forest 4
King of the Desert V
General Tournament Discussion
Current Tournaments
Recurring Series
Past Tournaments

Recorded Games

Search for Games
Daily Games
Expert Games
Deathmatch
Custom Scenario
Classic Games
Map Database

Members online

  • Hong Kongpriestgod
  • AustraliaYusufAriel
  • Unknownnanimaren
Total: 106 (members: 4, guests: 102)

Today's birthdays

  • E
  • Forums
  • Age Of Empires
  • General Discussion

AOE-II Use of hotkey scripts/macro's to improve micro management

  • Thread starter UnknownUpperKEES
  • Start date Nov 2, 2013
Toggle sidebar Toggle sidebar

Remove ads? Become a premium member......
Prev
  • 1
  • …

    Go to page

  • 6
  • 7
  • 8
First Prev 8 of 8

Go to page

C

Unknowncalyx925

New Member
Nov 23, 2013
8
0
1
  • Dec 1, 2013
  • #176
Re: Use of hotkey scripts/macro's to improve micro managemen

[url=http://www.aoczone.net/viewtopic.php?p=316252#p316252:tedutubo]01 Dec 2013 said:
[url=http://www.aoczone.net/viewtopic.php?p=316174#p316174:tedutubo]01 Dec 2013 said:
Anyway, I never got around to reading the whole thread
Click to expand...
calyx925 said:
I suggest you read my posts before commenting *****.
Click to expand...
I suggest that you do what you advise others to do. If you want people to read your opinion (and reply to statements that already have been answered 3 times before), just take that little time or don't bother posting yourself.

Also please refrain from flaming. This will only devaluate your (potentially valid) arguments.

You don't have to be a top player to have an opinion about this matter. You also don't have to be a top player to be able to write a potentially useful script. Neither do you have to be a good scripter to come up with an innovative idea, so be open to anything you read and try to contribute in a constructive way please. Until now I've only seen words from you, while others have posted working examples.

It takes some knowledge to write a usable script that can be applied under various conditions. If you look at Wattle's structured script for example, you can clearly see he's an experienced programmer. Take that knowledge and apply it to your own multiple farm script that you weren't able to implement. The deselection process shouldn't be too hard with the examples already given.
Click to expand...

Yes I've watched the video and it's an extremely easy script to make. Not the work of an 'experienced' programmer 11 just a novice with some basic knowledge, like me. You can get all high and mighty about flaming, but you are the ***** who made implied accusations about various nationalities of players cheating because they didn't post in your crappy thread.
 
C

Unknowncalyx925

New Member
Nov 23, 2013
8
0
1
  • Dec 1, 2013
  • #177
Re: Use of hotkey scripts/macro's to improve micro managemen

Still I'm waiting for examples beyond the monk script (useful) and general deselection, that would actually be useful in a RM game. All the farm stuff is bollocks. If you watched top players (not fake 18+ like that indian guy above), you'd see this.

But instead, I'm getting people crying about banning a legitimate tool for simple hotkey remappings not possible in the game itself.
 
wattle

Germanywattle

Halberdier
Bronze Supporter
Jun 14, 2012
245
1
251
88
36
  • Dec 2, 2013
  • #178
Re: Use of hotkey scripts/macro's to improve micro managemen

Here a simple demonstration video for my recently posted script: https://www.youtube.com/watch?v=FCoMrIye1I4
 
C

UnknownCarlos Ferdinand

Active Member
Jun 15, 2008
7,672
8
38
30
  • Dec 2, 2013
  • #179
Re: Use of hotkey scripts/macro's to improve micro managemen

[url=http://aoczone.net/viewtopic.php?p=316299#p316299:5zyxh8zv]01 Dec 2013 said:
Still I'm waiting for examples beyond the monk script (useful) and general deselection, that would actually be useful in a RM game. All the farm stuff is bollocks. If you watched top players (not fake 18+ like that indian guy above), you'd see this.

But instead, I'm getting people crying about banning a legitimate tool for simple hotkey remappings not possible in the game itself.
Click to expand...
You are just not worth it. I will never post examples here in public because I simply hate the possibility of anyone taking advantage out of tools like this. You are simply hurting your argument with the emphasis of "if you watched top players you'd know this".

And calling me fake 18+ seems to make you feel better off in your argument. Tells a lot about your "pragmatic approach to the issue".
 
X

United StatesxThomas

Active Member
Nov 30, 2013
247
33
33
hawaii
  • Dec 2, 2013
  • #180
Re: Use of hotkey scripts/macro's to improve micro managemen

[url=http://www.aoczone.net/viewtopic.php?p=316198#p316198:3ddt59mg]01 Dec 2013 said:
Hi xThomas, thanks for your idea. I made a script which is spamming leftclicks when holding down Ctrl+Shift+LeftButton, so you don't need to spam the leftclicks manually (while holding shift).
I think it could also be useful if you like to build many houses (or even walls for the bf-guys :D )
However if you drag your mouse fast over the screen there still will be some gaps (at least when running on my laptop).
Here my simple demonstration video:
https://www.youtube.com/watch?v=FCoMrIye1I4
I hope nobody will kill me if I post the script here (feel free to make suggestions):
Code:
; This skript is dedicated to simplify building many farms, houses or other buildings in Age of Empires II - The Conquerors Expansion
; The author IS NOT LIABLE FOR ANY DAMAGE CAUSED BY THIS SCRIPT. Also there is no guarantee that this script won't mess up your game.
; Don't use this script, if you do not agree!
; The author suggests to consider, if your opponent agrees in using scripts.

upperUIborder := 21
lowerUIborder := A_ScreenHeight-175

; doublepress Esc to exit this script
~Esc::
	if (A_PRIORHOTKEY= "~Esc" AND A_TIMESINCEPRIORHOTKEY < 300)
		ExitApp
return

; Hotkey should be aktive only when AoE2 is aktive (if your Game-Window has a different name, you need to adjust this)
#IfWinActive, Age of Empires II Expansion

; press Ctrl + Shift + LeftButton to spam leftclicks while holding down LeftButton
^+LButton::
	while GetKeyState("LButton", "P")
	{
		MouseGetPos, X, Y
		if (Y > upperUIborder and Y < lowerUIborder)
			Click X, Y
	}
return

maybe something like that could be implemented in the userpatch?
Click to expand...

yep, that's my idea. I'm expecting that it works also in the scenario editor, which could be useful :sick:
The gaps with fast mouse is a pity, but expected. Speed in the video was not ideal, but looked good enough for a demonstration. 0:20 - 0:30 was the best demonstration and pretty much what I was looking for. I will try it myself soon (Mac user, so it takes a bit of finicking around to play AOE2).
p.s. that is a very short code, rather surprising but I'm not a coder. Does it have an auto end after so many seconds (just to prevent any kind of accident)?
 
UpperKEES

UnknownUpperKEES

Active Member
Oct 26, 2013
478
0
26
The Netherlands
steamcommunity.com
  • Dec 2, 2013
  • #181
Re: Use of hotkey scripts/macro's to improve micro managemen

[url=http://www.aoczone.net/viewtopic.php?p=316270#p316270:1c9wuznp]01 Dec 2013 said:
Thanks for your compliment UpperKEES, but had only one year of java, years ago. It's more learning by doing and reading the AHK-documentary, so I won't be surprised if someone can do it better, but at least trying my best.
Click to expand...
Oh, I didn't expect you to be a professional developer, but that one year experience was shown by the way you added comment lines, declared your variables and used indentation. :wink:

I think it's nice that you leave some room for improvement by others, which makes it a fun challenge.

[url=http://www.aoczone.net/viewtopic.php?p=316270#p316270:1c9wuznp]01 Dec 2013 said:
I completely agree with you, regarding the "flaming-aspect". For me it's always a pleasure to read some well-thought and constructive posts from BugA.
Click to expand...
Yeah, his posts are a treat for the sensible mind. He obviously is the right person at the right place here.

calyx925 said:
Still I'm waiting for examples beyond the monk script (useful) and general deselection, that would actually be useful in a RM game.
Click to expand...
Again, read the thread and you'll find about 10 examples. You can't expect others to make a video of each script for kids with a 30 second attention span. It's actually very enjoyable to get something working yourself. Or even better: come up with a creative idea instead of copying.

calyx925 said:
Yes I've watched the video and it's an extremely easy script to make. Not the work of an 'experienced' programmer 11 just a novice with some basic knowledge, like me.
Click to expand...
Hmmm, but yet you failed doing so. Tells me something about your scripting skills.

[url=http://www.aoczone.net/viewtopic.php?p=314807#p314807:1c9wuznp]25 Nov 2013 said:
Now the deselection script can be beneficial. It would actually be a very easy script to make, I have made much more complex ones based on the same idea.
Click to expand...
[url=http://www.aoczone.net/viewtopic.php?p=314310#p314310:1c9wuznp]23 Nov 2013 said:
I have unit build scripts for CBA that fill stables with paladins/camels/arbs etc... all mapped to the F keys. I could give you many example of scripts I have built from simple key remappings to very complex scripts.
Click to expand...
I see you have deleted your original posts, but that doesn't help you. Time to put your money where your mouth is and show us something.

wattle said:
Here a simple demonstration video for my recently posted script: https://www.youtube.com/watch?v=FCoMrIye1I4
Click to expand...
Nice! I like the way the farms and houses are placed adjacently (terrain permitting). Updated first post.

xThomas said:
that is a very short code, rather surprising but I'm not a coder. Does it have an auto end after so many seconds (just to prevent any kind of accident)?
Click to expand...
Press ESC twice to exit the script. I'm sure a timer could be used, but the desired duration would be very situational. As Wattle already said I recommend reading the AHK-documentation to customize the script. This includes a command reference, describes how to use variables and also features a tutorial.

Feel free to post your own version afterwards!
 
wattle

Germanywattle

Halberdier
Bronze Supporter
Jun 14, 2012
245
1
251
88
36
  • Dec 2, 2013
  • #182
Re: Use of hotkey scripts/macro's to improve micro managemen

xThomas said:
Does it have an auto end after so many seconds (just to prevent any kind of accident)?
Click to expand...
If you mean the leftclick-spamming-hotkey: every time before sending a click it checks if the left mousebutton is pressed (is down), so when you release, there should no mousclicks being spammed. But to be more save you could add a counter like
Code:
; press Ctrl + Shift + LeftButton to spam leftclicks while holding down LeftButton
^+LButton::
	count = 0
	while GetKeyState("LButton", "P") and count < 250
	{
		count := count+1
		MouseGetPos, X, Y
		if (Y > upperUIborder and Y < lowerUIborder)
			Click X, Y
	}
return
If you mean the script itself, at least on Windows usually each skript has it's own tray-icon where you can exit it, don't know how it is on Mac or like UpperKEES said Press ESC twice.
In my personal AHK-script for AoC (when playing against the horde or barbarian :D ) I use this at the beginning of the script to exit the script when closing AoC:
Code:
WinWaitClose, Age of Empires II Expansion
	ExitApp
 
A

Unknownage2010

Member
Dec 8, 2010
174
0
16
  • Dec 5, 2013
  • #183
Re: Use of hotkey scripts/macro's to improve micro managemen

UpeerKEES genius :D
 
T

UnknownTHE_Lenn0

Member
Mar 6, 2014
200
0
16
36
Vienna
  • Dec 11, 2014
  • #184
Re: Use of hotkey scripts/macro's to improve micro managemen

Quick question to this (very old) topic :smile:
So, is it considered as cheating when binding f.e. "Ctrl+a, a" to one single key, without any additional scripting?

Greets Lenny
 
John the Late

GermanyJohn the Late

Active Member
Nov 6, 2013
588
13
33
Germany
  • Dec 11, 2014
  • #185
Re: Use of hotkey scripts/macro's to improve micro managemen

Don't think so. Nobody can check it anyway so it would be impossible to enforce.
 
Spaden

SwedenSpaden

Champion
Nov 30, 2011
2,369
547
128
  • Dec 11, 2014
  • #186
Re: Use of hotkey scripts/macro's to improve micro managemen

God, not this topic again. May it rotten in hell.
 
Genette

UnknownGenette

Known Member
Jul 28, 2012
1,227
2
48
aoc.voobly.com
  • Dec 11, 2014
  • #187
Re: Use of hotkey scripts/macro's to improve micro managemen

UpperKEES <3 This one was my favourite one though lol
 
SaladEsc

DenmarkSaladEsc

Champion
Sep 30, 2013
2,126
1,167
128
Copenhagen
www.twitch.tv
  • Dec 11, 2014
  • #188
Re: Use of hotkey scripts/macro's to improve micro managemen

I need some help with autohotkey
Code:
#IfWinExist, Age of Empires II Expansion
<::
MouseGetPos, X, Y
Send ^{Click 363, 912}
MouseMove, X, Y, 0

Why does this not work inside the game?
I tried some of this, but does anyone know why that is?
http://www.autohotkey.com/board/topic/1 ... he-basics/
 
D

UnknownDravius

Member
Dec 15, 2013
55
0
6
25
Sweden
  • Dec 11, 2014
  • #189
Re: Use of hotkey scripts/macro's to improve micro managemen

Please just delete this thread
 
T

UnknownTHE_Lenn0

Member
Mar 6, 2014
200
0
16
36
Vienna
  • Dec 11, 2014
  • #190
Re: Use of hotkey scripts/macro's to improve micro managemen

I'M SO SORRY!!!!!
 
_ChIvO__

Mexico_ChIvO__

Active Member
Oct 16, 2011
323
6
33
32
León, Guanajuato, México
www.twitch.tv
  • Dec 11, 2014
  • #191
Re: Use of hotkey scripts/macro's to improve micro managemen

im pretty sure top player use this no way to be 2k without this
 
R

Lithuaniarmcoo

Two handed swordman
Apr 13, 2012
2,428
1,537
118
Lithuania
  • Dec 11, 2014
  • #192
Re: Use of hotkey scripts/macro's to improve micro managemen

[url=http://aoczone.net/viewtopic.php?p=387932#p387932:8994o0zx]11 Dec 2014 said:
im pretty sure top player use this no way to be 2k without this
Click to expand...
11

P.S. Why the ****ing hell somebody would revive this cancer x_x
 
jinxed11

Unknownjinxed11

Active Member
Mar 5, 2013
339
0
26
  • Dec 11, 2014
  • #193
Re: Use of hotkey scripts/macro's to improve micro managemen

Is there a way to be absolutely sure that people are not using it in tournaments ?
 
R

Lithuaniarmcoo

Two handed swordman
Apr 13, 2012
2,428
1,537
118
Lithuania
  • Dec 11, 2014
  • #194
Re: Use of hotkey scripts/macro's to improve micro managemen

[url=http://aoczone.net/viewtopic.php?p=387958#p387958:px6obeua]11 Dec 2014 said:
Is there a way to be absolutely sure that people are not using it in tournaments ?
Click to expand...
Teamviewer
 
Brainless

United NationsBrainless

Well-Known Member
Dec 22, 2011
1,540
70
63
Sagittarius A
  • Dec 12, 2014
  • #195
Re: Use of hotkey scripts/macro's to improve micro managemen

[url=http://www.aoczone.net/viewtopic.php?p=387883#p387883:1vk0dzjt]11 Dec 2014 said:
Quick question to this (very old) topic :smile:
So, is it considered as cheating when binding f.e. "Ctrl+a, a" to one single key, without any additional scripting?

Greets Lenny
Click to expand...

[url=http://www.aoczone.net/viewtopic.php?p=387932#p387932:1vk0dzjt]11 Dec 2014 said:
im pretty sure top player use this no way to be 2k without this
Click to expand...

I am sorry, how hard can it be?
press ctrl-A ?

If you have watched Vipers streams where he used they keyboard view, you can see it is just about knowing to find the buttons. Instinctively. All buttons. Without thinking about it. I can do this with a few, like BE BF HCHCHC. But i cant really type blind, which you have to be able to be top player. You have to practice this, all keys, all uses, and you will be good.

About the more complex macro scripts earlier discussed (multiple monk conversions?), i do not believe in their practicality. The moment where you can benefit from it are too few, and you will see that the program will not be able to adept to specific situations. It will slow you down more then it will benefit you. Like all cheating is, it will make you lazy and soft.
 
A

Guest
  • Jan 10, 2016
  • #196
Re: Use of hotkey scripts/macro's to improve micro managemen

push
MBL has read this thread very well
 
SaladEsc

DenmarkSaladEsc

Champion
Sep 30, 2013
2,126
1,167
128
Copenhagen
www.twitch.tv
  • Mar 10, 2023
  • #197
:smile:
 
  • Love
  • Haha
  • Wow
Reactions: huggieg, King_Boo and darvoi
L

United StatesLowEloNobody

Two handed swordman
Feb 2, 2021
1,118
2,579
118
  • Mar 11, 2023
  • #198
SaladEsc said:
:smile:
Click to expand...
Why are you posting to drag up all these dead threads about macros?
 
  • Haha
Reactions: King_Boo
D

Hungarydave_hun

Halberdier
May 27, 2020
161
745
98
  • Mar 13, 2023
  • #199
LowEloNobody said:
Why are you posting to drag up all these dead threads about macros?
Click to expand...
He is on copium after denmark gave organ guns, paladins & mangudai to aztec monks
 
  • Love
Reactions: King_Boo
L

United StatesLowEloNobody

Two handed swordman
Feb 2, 2021
1,118
2,579
118
  • Mar 13, 2023
  • #200
dave_hun said:
He is on copium after denmark gave organ guns, paladins & mangudai to aztec monks
Click to expand...
Maybe I should tag him in all of the old threads on how top use hotkeys...
 
  • Haha
Reactions: King_Boo
Prev
  • 1
  • …

    Go to page

  • 6
  • 7
  • 8
First Prev 8 of 8

Go to page

You must log in or register to reply here.

Remove ads? Become a premium member
Share:
Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email Share Link

Time

Your time
G M T
Your zone

Calendar

Featured Events
2023 Nations Cup GRAND FINALS
Saturday 18:00 (GMT +02:00)
Canada A vs China A
@TWest

AoE Live-Streams

There are in total 37 streamers online
Click here for details
小六
Age of Empires II 670 viewers
烏庫魯尼魯
Age of Empires II 602 viewers
LucifroN7
Age of Empires IV 319 viewers
嗚夫沃夫
Age of Empires II 198 viewers
MembTV
Age of Empires II 155 viewers
MatutinoNT
Age of Empires II 99 viewers
Grathwrang
Age of Empires II 70 viewers
SavvyEmpire
Age of Empires II 64 viewers
Hearttt_
Age of Empires II 62 viewers
TheMole67
Age of Empires II 49 viewers
慕凡
Age of Empires II 35 viewers
LilieKawaii
Age of Empires IV 31 viewers
JaMMiN_AoE
Age of Empires II 30 viewers
JorDan_AoE
Age of Empires II 26 viewers
Shiderplays
Age of Empires II 21 viewers
vakortv
Age of Empires II 17 viewers
kerpoaoe
Age of Empires II 15 viewers
gks_aoe
Age of Empires IV 13 viewers
arkcast_aoe2
Age of Empires II 12 viewers
Okjokull
Age of Empires 9 viewers
Doppelsolna
Age of Empires III 9 viewers
The_Dunamai
Age of Empires III 8 viewers
Likurg__
Age of Empires II 4 viewers
ediille1
Age of Empires II 4 viewers
Gerald_livee
Age of Empires II 3 viewers
NinjaBabyKiller
Age of Empires II 2 viewers
mr_guardian8
Age of Empires II 2 viewers
CadaHB
2 viewers
CarlosAlf1
Age of Empires II 1 viewers
Eurasianjesus
Age of Empires II 1 viewers
Embers1000
Age of Empires II 1 viewers
g913godragon
Age of Empires II 1 viewers
kingmeech319
Age of Empires II 1 viewers
ovaexp
Age of Empires II 1 viewers
on7lee
Age of Empires IV 1 viewers
PNB93
Age of Empires IV 1 viewers
Haelfie
Age of Empires III 1 viewers

Voobly Top 5 RM 1v1

MUHAMMEDD 2386
FaNTaZi___ 2272
KillSwitch__ 2197
GeliyoruM__ 2180
Sida_Bugatti 2177

DE Top 5 RM 1v1

Click here for full list
Hera 2644
_Barles_ 2639
Villese 2617
GL.TheViper 2602
ACCM |AOEbuilds.com 2594

Voobly Top 5 RM Team Game

Sida_Bugatti 2119
Gavrilka 2095
BMW 2031
[CHI]PanZeRs___ 2004
sCaryM0vi3 2003

DE Top 5 RM Teamgame

Click here for full list
2583
痛大师 2245
HGB_AOE 2181
chaos_2_win 2009
正义的威震天 2008

Voobly Top 5 DM 1v1

[Learning]_QQV 2033
Wen123 2024
Bruce_Campbell 2018
Noobhunter_1 1999
Thesheep_RadiX 1984

Voobly Top 5 DM Teamgame

Riker_ 2105
[IYIx_]HER0E 2007
KOTL_rampage 1985
_JCVD_ 1975
MrBiLLy95_ 1959

DE Top 5 Empire Wars 1v1

Click here for full list
[aM]_MbL40C_ 2053
ACCM |AOEbuilds.com 2031
Hera 1999
Yo 1964
CDUB.dogao 1935

DE Top 5 Empire Wars TG

Click here for full list
mYi.Sitaux 1752
__BadBoy__ 1726
ELEOS | ElNoniro 1690
Lauth3 1687
BlackRock 1668

Latest posts

  • Y
    Share your music here. Music thread
    • Latest: YusufAriel
    • 10 minutes ago
    Movies, Music & Books
  • T
    Moderation Abuse on AOE2 Reddit, streamer Grathwrang Banned
    • Latest: tissuepapercatmat
    • 29 minutes ago
    General Discussion
  • L
    KotD5 - Discussion
    • Latest: LeoMontero
    • Today at 10:24 AM
    King of the Desert V
  • Y
    Site not working: Is AoEZone death?
    • Latest: YodaIamm
    • Today at 5:30 AM
    Community Café
  • Potkeny
    Masters of Arena 7 Announcement!
    • Latest: Potkeny
    • Yesterday at 11:25 PM
    General Tournament Discussion

Share

Share this page
Share
Facebook Twitter Reddit Pinterest Tumblr WhatsApp Email Share Link
  • AoEZone Dark theme
  • English (US)
  • Contact us
  • Terms and rules
  • Privacy policy
  • Help
  • RSS
Community platform by XenForo® © 2010-2022 XenForo Ltd. | Style by ThemeHouse
XenPorta 2 PRO © Jason Axelrod of 8WAYRUN
XenAtendo 2 PRO © Jason Axelrod of 8WAYRUN
Top
  • This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Accept Learn more…