Hi, I just want to give something back to this great community. My script is originally based on Two Moon script from aliasku. Thanks to him for easier starting point.
https://www.mpgh.net/forum/267-vindic...b-console.html
Preparation
1. Google and install AutoIt.
2. Open the script and modify the value of each coordination to match your game screen resolution. I suggest to use mousecoord script from aliasku to detect your current mouse coordination. https://www.mpgh.net/forum/267-vindic...pt-autoit.html All coordination values in the script are only for 1280 x 800
3. If you want the binding to work out of the box, you must use cfg file from Sinbot2.4 from Zaiakunokami. I suggest to use lowest for faster load time. https://www.mpgh.net/forum/267-vindic...c-version.html If you want to use your own binding then you have to modify the button in each function to match your binding.
*Note that you have to use mouse+keyboard control and set auto aim for spearing.
How to use
1. Inject Nico's dll for god and ohk
2. Start the game and launch the boat
3. Run the script for that boat. Pressing insert (you can change it in the script) to activate the script. Pressing end to stop the script.
4. Enjoy!
Tip
- Please read the description in each function first before asking.
- The delay time for each command may not appropriate for your machine so you have to test it and change it yourself.
- When you first start the map, the loading time will take longer than usual and can easily cause the script to malfunction. So, I suggest to start changing the delay time in the second run.
- If it happens to you that the map doesn't end and the boss doesn't drop the item, it's because you start the boat without pressing the start button (you can notice that the time on upper right is written as "waiting"). You have to set longer delay time before starting next round to make sure that it will press the start button before sending command to skip the boat.
- If you can't press binding key (such as add fine spear, set height etc.), you should check your cfg file. In most cases, recopying or rebinding it should solve the problem as long as the command is still usable.
- In some maps which you have to kill some monsters before proceeding to the boss, you have to consider the fact that you may encounter immortal monster. It can spawn two same monsters which can't be ohk. They can easily block your way and make the script to malfunction. So, you need to make sure that you are spamming the spear long enough to kill them all before proceeding.
- Sometimes, the script may clear the battler longer than expected (due to some processes take longer than usual like encountering immortal monster). This can cause the battle clear screen to appear after the script try to click the replay button. Don't worry because the script will restart. It will eventually comeback to click the replay button and can repeat the process once again. The key here is that you have to make sure that the script can definitely kill the boss and clear the battle.
The script in this zip file
Buried Sorrow.au3
Contact.au3
Decisive Battle.au3
Depths of Ainle.au3
Irukul.au3
Regrets...Too Late.au3
Rescue.au3
Shady Forest.au3
Spider Overload.au3
Template.au3 (including many useful functions for scripting new boat)
The Contract.au3
Trampled Plains.au3
Two Moons.au3
Weeping Queen.au3
White Tyrant.au3
These scripts may not as convenient as MHwalker from l2noob2 but I hope that they can help you while we are waiting for him to comeback. I also want to thank Nico for his awesome work. Without his dll, we will not be able to bot at all. But I will not stop at this. Thanks to DanK's hint, now I get the idea how to detect when the battle is finished and when the boat is launched. In the future (not sure when), I will update my script so that it can detect the event in game and can retry immediately if it takes too long to finish the battle.
Edit:
Great tutorial from al897 https://www.mpgh.net/forum/437-vindic...t-scripts.html
I also want to note that I mess up with the description and calculation about turn left and turn right. It's actually not moving by degree. It just moves by pixel and how far it moves is effect by mouse sensitivity. You must set it to 2.1 in order to make the script fully work! Big thanks to al897 for finding this problem.
Virus Scan 1
Virus Scan 2