I joined Axie Infinity about 4 months ago and my investment is burning. So dont worry. Also can you give me a tip on how to make an actual bot? I feel that's like blackmagic, i can see how you can make a game/webpage but what are the steps of making a bot and then integrating it to the game?
Do you mean a bot like an AI in the game? Or a bot that plays the game for you? I will try to give a summary of the latter.
First you roughly can separate games in two categories: the web based games and the software based games. Depending on what you want there are different guides and starting points.
- Web based games are the easiest to target. The game works over the http protocol, so you can make bots with http GET and POST requests. You can implement this in python, java, php, etc. and this can run without having the game open. Splinterlands also uses a websocket, but this is in principle very similar. You send and receive unencrypted json responses. Some games are a bit more clever and the best way is to just mimic the interactions in the browser automatically. For this you can use selenium.
- Software based games are harder, depending on the way they are compiled. For example games that are built in Unity can be dissassembled in C#. You can then inject a DLL and hijack the game code and modules in the game. This method is called reflection. People used to do this with Hearthstone for example. Many people have also applied this to create bots for runescape (which runs on java). In the past, flash games were also really easy to decompile and hijack.
- Other games can be harder to decompile, so an option is to reverse engineering it. This is by far the hardest option, and only a few specialists are able to do this sucessfully. You can reverse engineer the game binaries with programs like ghidra, and you can reverse engineer the netwerk protocol (if it is an online game) with wireshark. Most of the traffic is encrypted, but if you can figure out the protocol, you can create a proxy in python to intercept game packets and modify them.
- The last category of bots are color bots. They are a personal favorite of mine because I spent a lot of time coding them. These can be applied to any game, and are non intrusive, so you also aren't legally liable for modifying software. They read colors on the screen and click with the mouse. The downside is that the game has to be open on the screen for the bot to work. Also you are limited in reading values from the game, because you have to find out everything by doing ocr and finding and colors on the screen. These bots are typically made with Autohotkey or classic programs like SCAR and Simba.
For Axie, a color bot is the most convenient method in my opinion. The game is 2D and the images are always fixed. For it to be succesfull you need a good playing strategy, implement it, and then run several different bots on virtual machines that all have a different IP.