K
K
Konstantin2012-01-13 21:16:10
Bots
Konstantin, 2012-01-13 21:16:10

Algorithm for writing a bot for a browser game?

Hello!
Tell me the principle of operation of a simple bot for a browser.
I can’t understand the principle - what data is usually taken and how is it managed? That is, they force the character to imitate the activity.
If there are articles on this topic, I will be glad to link.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
Roman Pavlov, 2012-01-13
@Simplevolk

For example on AutoIt. Here are good examples on Habré:
habrahabr.ru/blogs/gdev/126957/
habrahabr.ru/blogs/gdev/113258/

K
Konstantin, 2012-01-13
@Simplevolk

Is it possible to analyze it from the Chrome console?

A
Anton, 2012-01-13
@sHinE

There are different approaches - you can emulate the user's behavior in terms of working with the game - mouse clicks, keyboard input. To do this, you can use AutoIt - the links were given to you.
You can analyze the data that the game communicates with the server and send it directly to the server from your script/program.

F
Flam, 2014-03-01
@Flam

And for mobile games, how to analyze traffic?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question