If you pick up the abolition and sell the item, the Currency is piling up a lot, and today, in order to solve that problem and pick up the abolition quickly, i'll send all the Currency to the warehouse, stash joe ~ with one Keyboard input from the character inventory.
arduino, NodeMCU, Beaglebon …
Hello life on the room.
I added an upgrade to my last post and this time I used OpenCV to create a Python code that automatically takes potions when your health or mana is half-baked!
First, let's learn about the files that were added or changed before entering.
drinkportion.py – Changed to press a specific key as a result of the change and image processing.
config.cfg – Added options for changes, video processing, and the keyboard value to press at critical point Trigger.
cvFunc.py – It is about additional and video processing.
Use only Software using Pywin32 to eat potion
Hello life on the room. !! Very nice
Today, I'll create a macro Keyboard, Mouse with serial data that came with Arduino Pro Micro.
The preparation is simple. The only Arduino Pro Micro
The Arduino Pro Micro is a ATMEGA32U4-compatible board that allows you to program on the chip. So all serial HID is possible! Just 5V version and 3.3 V are present. In the case of the 5V version, it works at 16MHz, and if you see the oscillator in the part of 5V, it will look like 16, and if it is 3.3 V, the number will be 8.
The other day I did a heated explanation about the IR Library Lirc… So I tried to register with the LG air conditioner remote to write Irrecord… The IR signal is solitary…. So it was impossible to create a conf file…. Frantically pressing "." The only… The moment I think of it as a ruined life, thanks to the example provided by the Pigpio library.
Let's find out how I use the silver pigpio of my summer life!! Very nice
Now, if you just apply this post, you'll be able to use the fishing macro. ! Let's review it before entering. In the first hour, we got the mouse coordinates and stored them in init.txt along with the name of the fishing site. In the second hour, we learned how to detect exclamation points. This time, let's take the code we developed in the previous post to the Keyboard and Mouse events so that it becomes automatic fishing.
In this post, we will use the PyAutoGui library to detect an exclamation point that informs the completion of the Chi fishing.
We've put OpenCV in the title, but we're not going to use OpenCV ourselves.
However, one of the functions that PyAutoGui provides is a function called locateOnScreen. There is an item called confidence during the optional argument that this function receives.
You must install OpenCV in order to specify this item.
(Note that PyAutoGui will process the main monitor only if you have a double monitor. )
The mechanism of fishing is repetitive.
Change the tree with life skills.
Move the mouse to the water.
Poke with the keyboard ('w').
Wait for the exclamation mark to appear.
When an exclamation point comes up, the keyboard (' W ') is collected.
Repeat 2 to 5 times.