AI (Artificial Intelligence)

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
kiko2max
Posts: 6
Joined: 15 Jun 2021, 13:31

AI (Artificial Intelligence)

16 Jun 2021, 05:45

Is it possible to make AI in autohotkey? :thumbup:
User avatar
mikeyww
Posts: 26856
Joined: 09 Sep 2014, 18:38

Re: AI (Artificial Intelligence)

16 Jun 2021, 06:50

Yes, just as with other languages.
User avatar
boiler
Posts: 16902
Joined: 21 Dec 2014, 02:44

Re: AI (Artificial Intelligence)

16 Jun 2021, 07:13

Example usage below. Requires download of AI.ahk library*.

Code: Select all

#Include AI.ahk

hDF := AI("DeepFake.Application", "TomCruise.mp4", "Fight.mp4")
*Projected.
swagfag
Posts: 6222
Joined: 11 Jan 2017, 17:59

Re: AI (Artificial Intelligence)

16 Jun 2021, 07:46

we need a phpbb AI to tell (not necessarily)soon-to-be-bait posts apart
AHKStudent
Posts: 1472
Joined: 05 May 2018, 12:23

Re: AI (Artificial Intelligence)

16 Jun 2021, 08:24

What are you trying to do?
User avatar
Gio
Posts: 1247
Joined: 30 Sep 2013, 10:54
Location: Brazil

Re: AI (Artificial Intelligence)

16 Jun 2021, 08:35

Yes. The following topic contains a tutorial example about AI written in autohotkey:

https://www.autohotkey.com/boards/viewtopic.php?f=7&t=42420
kiko2max
Posts: 6
Joined: 15 Jun 2021, 13:31

Re: AI (Artificial Intelligence)

16 Jun 2021, 11:12

Actually i want to make bot for my game that's why im asking if its possible to make AI. :D
User avatar
boiler
Posts: 16902
Joined: 21 Dec 2014, 02:44

Re: AI (Artificial Intelligence)

16 Jun 2021, 11:32

In that case, you would use:

Code: Select all

#Include AI.ahk

hGB := AI("GameBot.Application", "LeagueOfLegends", "Expert") ; replace LoL with name of desired game
User avatar
FanaticGuru
Posts: 1906
Joined: 30 Sep 2013, 22:25

Re: AI (Artificial Intelligence)

16 Jun 2021, 15:51

kiko2max wrote:
16 Jun 2021, 11:12
Actually i want to make bot for my game that's why im asking if its possible to make AI. :D

There is a subforum that has lots of discussions about bots for various games.

https://www.autohotkey.com/boards/viewforum.php?f=18

Creating a bot for a game is a never ending quest as a bot can constantly be improved.

Then when you get it working pretty well the game developers make a change that causes the bot not to work properly.

You adjust and adjust the bot keeping it working well update after update, then they ban your account.

Making a bot for a game is like a game within the game with a balance between making a bot that works and making a bot that does not get banned. It is actually pretty fun if you like to code but often you could get further in the game by just using all that time to play the game.

Especially challenging is making a bot that actually plays better than a human can, not just one that can play longer than a human.

FG
Hotkey Help - Help Dialog for Currently Running AHK Scripts
AHK Startup - Consolidate Multiply AHK Scripts with one Tray Icon
Hotstring Manager - Create and Manage Hotstrings
[Class] WinHook - Create Window Shell Hooks and Window Event Hooks
kiko2max
Posts: 6
Joined: 15 Jun 2021, 13:31

Re: AI (Artificial Intelligence)

17 Jun 2021, 00:06

FanaticGuru wrote:
kiko2max wrote:
16 Jun 2021, 11:12
Actually i want to make bot for my game that's why im asking if its possible to make AI. :D

There is a subforum that has lots of discussions about bots for various games.

https://www.autohotkey.com/boards/viewforum.php?f=18

Creating a bot for a game is a never ending quest as a bot can constantly be improved.

Then when you get it working pretty well the game developers make a change that causes the bot not to work properly.

You adjust and adjust the bot keeping it working well update after update, then they ban your account.

Making a bot for a game is like a game within the game with a balance between making a bot that works and making a bot that does not get banned. It is actually pretty fun if you like to code but often you could get further in the game by just using all that time to play the game.

Especially challenging is making a bot that actually plays better than a human can, not just one that can play longer than a human.

FG
Yes that's correct! never ending update. Anyway I will post some question here :D .

I see a lot of people who are always online and always answering to the questions here. :D

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Descolada, Google [Bot], jchestnut, Sem552 and 146 guests