N
N
Nick Kudryashov2020-05-10 17:08:48
Python
Nick Kudryashov, 2020-05-10 17:08:48

How to write a bot for WoW Classic & WoW Shadowlands?

Good day!
I decided to start writing a bot for this game because there is less and less time for it, but I want to play. I also looked at similar topics on habré and only came across very old articles: Farming a horse in Stratoholm, About hiding a process ( We write a bot for an MMORPG with assembler and draenei ). But it seems to me that this infa is no longer relevant, the developer simply patched up these holes in the game itself, and therefore, most likely, the methods described in the article, to put it mildly, do not work, and if it’s “strongly” you can get a ban at all. Well, if they still work so far (which I strongly doubt), then the articles are devoted to some particular issue. Even on the example of these 2 articles ( Creating a simple bot for WoW, programming ... ;We write a bot for MMORPG with assembler and draenei. ) I'm a non-shooting noob, I don't understand how to write a bot so that he:
a) farms a horse in a stratocholm
b) doesn't get noticed by Blizzard admins
i.e. how to combine these two beginnings (because the programming languages ​​are different (Assembler and AutoIt)). In this regard, I want to ask:
1) What program for writing to take for this game? AutoIt, Assembler, Python, OpenCV (or together with Python)?
2) Is it possible to find the coordinates of the variables (x, y) of the locations where you need to move around without the Casc Explorer program (it is necessary to extract files)? How to adjust the height of movement (after all, in almost all locations you can fly)?
3) How to make it so that, depending on the situation, the bot switches between tasks (I will give an example, here he is walking along the road and a hostile NPC attacks him and in this case he should, for example, stop and kill him)?
And finally, how important is it not to catch the eye of the admins?

PS Thanks for your help!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kicherov_maxim, 2020-05-11
@kicherov_maxim

Here is another interesting option on openCV, and on-screen image analysis: https://habr.com/ru/post/459110/ The article talks about writing a bot for fishing, searching for a float on the screen, this approach can be applied in many game areas. And there is no need to inject into the game process, which reduces the likelihood of a ban.

C
chyose, 2021-05-12
@chyose

Sorry for the necro reply, but I couldn't resist.
I have a "friend" who has experience using a self-written bot in python, using machine vision technologies. The bot was used for fishing in shadowlands, fishing not from the holes, the maximum uptime of the bot was 72 hours + - , the average - 12 hours a day. The duration of use is approximately 3 months, the ban did not come.
Further, as part of self-development, the next module was written, which, using the same technologies, already knew how to run. Coordinates are taken by screen recognition, character control using conventional pointing principles. The most interesting thing that I never managed to implement in its normal form is loot, I tried several different approaches, but in the end it just clicks on the area around the character, in the hope that there is a corpse there. Slowly, but in 80% of cases it works.
I haven't worked with flyovers yet, but I've been thinking about it. Getting the height value, as I understand it, is not legally possible, but if, for example, you need to fly in a circle to track the lost in time, and when found, inform the user in a telegram, then a simple bot that already knows how to run around the points will do, just raise it before launching it to the desired height and point the camera at the horizon.
Literally today I recorded a new route and now in a circle farms a reputation for "Crazy", without looting targets - there are no problems at all for such a task, everything works.
As for bans - in general, I don't think Blizzard is able to legally track down such a bot. The bot does not climb into the game files, it only takes everything from the picture, although a moving bot is certainly still capable of doing actions that are completely different from humans, nevertheless, the desire to write a bot and enjoy the results of its work outweighs the possible risks.
I wish success in development to all beginners!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question