mwBot
Get test api key
Payment
English zone
sección española
MW Bot Usage Calculator
Download bot
last update files

 

answer to the question about standard scripts, why not everything is universal

Started by Nikolaj, 26 February 2025, 14:17

Previous topic - Next topic

Nikolaj

Introduction

Hello, my friend!
This article will not be structured, but I recommend reading it completely. You can find a lot of interesting things for yourself and find an answer to the main question.
I will try to answer the question about standard basic scripts.
Many times I heard the question of why we do not give users a set of standard scripts that they can launch and use immediately after they downloaded the bot.
I copy a fragment of a personal chat with one of my friends, I answered him this question.
------
there are ready -made scripts, there are a lot of them
Universal scripts to sell collections, break through holes, make stones, sharpen equipment.
There are farming scripts, they are easy to adapt to your needs.
mining materials for level 80 equipment

Here is an example of a script for the mining materials in the caves in front of the thunder boss.

This is a workpiece for the interaction of several bots, I did not add, because it was not necessary
server_bot_disconnect
Is this a leader's account, Yes, or the driven? No
/var=lider=yes
whether to track the public drop time
var=enable_drop_control=yes
Data exchange channel name
var=server_name=demonsingrshellcatzlaasbahsbahsbasqsasasadzxqta
File with character configuration
var=charconf=zlata
Mount name for running
var=mount=Nightmare Beast
The name of the battle Mount
var=battlemount=Sea Spirit Guardian
Also, the workpiece to add the switch between the locks of the farm, such as hit by the boss or in the caves, but I did not add, it ran in caves
.var=where=1
Scatter when searching for the final points of the route. I have 7 coordinates
var=range=7
how many seconds the bot expects after switching to a new map
var=sl=2
list of barriers that the bot will bypass
var=obst=activity envoys|Tree
We load our config
This is a standard, no need to change
execute=["server_bot_disconnect", "loadoptions=%charconf%","enable_obstacles","obstacles=%obst%","keypress=3|esc","keypress=v=enemies","sleep=0.5","if=[\"%enable_drop_control%\",\"yes\",\"==\",[\"enable_drop_control\"],[]]","keypress=3|esc","sleep=1","enable_pet","sleep=0.3"]

Triggers
These triggers are specifically for my priest. They are individual for each class.
The value of pet HP, so that priest heal his with skill.
action_critical_pet_hp=65000
The values of the critical Zlata's HP so that it goes into absolute protection and is healing with a powerful skill
action_critical_hp=30000
The trigger that I commented. For the healing of team members on a quick phrase, if necessary, the dot is removed first and the your character will heal your friends.
.add_action_speak=healthanother={"text":["^team.*?;heal$"], "execute":["disable_attack","disable_nav_attack","sleep=0.4","keypress='","sleep=0.4","keypress=y","sleep=1","keypress=y","enable_attack","enable_nav_attack"], "noclear": 1}
This is the same trigger but cleaning the debufs of the team members. Also commented
/add_action_speak=deldebuffteam={"text":["^team.*?;debuff$"], "execute":["disable_attack","disable_nav_attack","sleep=0.4","keypress='","sleep=0.5","keypress=lctrl+,","sleep=0.4","enable_attack","enable_nav_attack"], "onecopy": 1, "timeout": 6, "noclear": 1}
healing of pets skills, there is described in quotation marks logic, skills keys, quick phrases
add_action_speak=critPetHP={"text":["^event_critical_pet_hp"], "execute":["disable_attack","disable_nav_attack","sleep=0.4","keypress=lshift+2","sleep=0.4","keypress=y","enable_attack","enable_nav_attack"], "noclear": 1}
Zlata's critical level hp
add_action_speak=critHP={"text":["^event_critical_hp"], "execute":["sleep=1.1","keypress=i","sleep=1","keypress=y","sleep=1","keypress=y"], "noclear": 1, "timeout": 60}
Cleaning Zlata's Debuffs
add_action_speak=DelDebuff={"text":["^Debuff|^Buff \\d+ Debuff"], "execute":["sleep=1","keypress=lshift+,"], "timeout": 6, "noclear": 1}
Buff for Zlata every 2 minutes
setIntervalFunction=Pbuff=121=["sleep=1.1","keypress=u"]
Using a whip every 10 seconds
setIntervalFunction=Pbuffskill=10=["keypress=h"]
Ignor a team member so that the bot does not pay attention to him if it collides
ignore_mob=hunter;HellCat
Then there is the logic of the script, it can be run on the map anywhere with a violet city, anywhere in the demon valley, anywhere in the caves in front of the boss. Generally fuck where. The character will find the road
after nothing needs to be changed. I described from above and you understand that the hunter has their triggers. Someone has little weight and you need to throw something for example. This is all individual.
If you want a standard clicker, then the Chinese master of buttons to help you.

farming script for level 45 equipment

Connect the config
var=charconf=cherries.conf
speed fusion
var=mount=Bluish White Horse
number key on which the heartstone is assigned to be the character to return to the village to kill himself of guard
var=stone=8
how often to check experience in seconds, I have 10 minutes once every 10 minutes
var=checktime=600
below what amount of experience to go to the village and attack the guard
var=xp=50000
how many times to kill about the guard
var=count=20
Coordinate where the guard is
var=killpoint=320|158
The scatter of the final point
var=range=4
where to mining equipment. 1 - ice field. 2 - Ice Cave
var=where=2
pause after switching to another map.
var=sl=2
The list of barriers that the character will bypass if it collides, separate the vertical feature
var=obst=ice pine|militia captain Nusan
List for ignore players if the character encounters them
ignore_mob=sorcerer;Cherries|elf;Kiri|sorcerer;Coconut
Next is the logic of the script that, without unnecessary need, is not necessary to change,

Monkey script

server_bot_disconnect
Is this a leader's account, Yes, or the driven? No
var=lider=no
Tracking public drop. yes no
var=enable_drop_control=yes
Data exchange channel name
var=server_name=monkey12ebh2beh12beh1beh21bhe1 productin
File with character configuration
var=charconf=zlata
Mount name for running
var=mount=Nightmare Beast
The name of the battle Mount
var=battlemount=Sea Spirit Guardian
where to get stones. 1 on a tree. 2 on the boss map
var=where=1
The scatter of the final point on the route
var=range=3
waiting time in seconds after switching to a new map
var=sl=2
list of barriers
var=obst=activity envoys
Next is the logic of the script
And on the tree block, triggers are connected to the healing of team members, pet
Bot, not a wizard

And people need to download the bot, and it has guessed what keys are tuned there, at what level of HP to drink bottles and so on.
And imagine what will happen if 20 people take my script and will, everyone in their team, walk on the same coordinates as train 1 after another and steal monsters at each other.
Lich also did it by the way
Our user uploaded into file exchanger a cool script with a bunch of settings and many users downloaded and without changing the coordinates of the route went to get gems.
the eternal problem to create a character config


some kind of old config for my Zlata, but the meaning is clear
I turn on the Bot Reconect if the game crashes
enable_restart
Commands so that the bot automatically switches in the game window
open_game_window
below 45000 will be treated
min_hp=45000
below 40000 will drink manna
min_mp=40000
I indicate that the HP to check as often as possible. 0 are seconds. but it will not be able to physically press the key 100 times per second
regen_timeout=0
I indicate that the character will stop if he sees the enemy. one to constantly be in motion
attack_type=0
The speed of pressing skills in seconds, fractions
speed_attack=0.08
List of attack keys. Separate the vertical feature. No need to write at the end
keys_attack=j|n|m
The list of names of pets, causes from left to right. You write strong and further whatever you like
pet_name=Shorthair Cat|Cattle|Frog|Wild Hound
If the red bottles remain less than indicated, then the bot will close the game. I have a priest, therefore -1, the game will not be closed
min_banks_hp=-1
Less than the number of blue bottles to close the game
min_banks_mp=1
Min pet HP to treat
pet_min_hp=80000
Min pet MP to treat
pet_min_mp=60000
CD red bottles. The priest has a skill, so 0 seconds
reload_bank_hp=0
cd for blue bottles in seconds
reload_bank_mp=11
cd for pet red bottles in seconds
pet_reload_bank_hp=22
cd for pet blue bottles in seconds
pet_reload_bank_mp=11
The level of satiety. below which the ball will eat
pet_min_food=45
The key for heal. A bottle or skill. I am a priest, I am healing with a shift so that it was not a focus on a pet or another member of the team.
key_regen_hp=lshift+y
Blue bottle key for character
key_regen_mp=3
Red bottle key for pet
key_pet_regen_hp=4
Blue bottle key for pet
key_pet_regen_mp=5
The key for rice ball
key_pet_regen_food=9
How often to check the health of a pet in seconds
pet_regen_timeout=2
Repair key where the box or pliers
key_repair=0
Repair method. 1 Immediately at the getting of the text about the breakdown. 0 after the end of the battle. If the character is weak, equipment may break with parameter 0
hotrepair=1
Turn on the function of checking hp
enable_regen
Turn on the function of searching for enemies, radar. I additionally indicate 0.1 sec
enable_nav_attack=0.1
turn on the attack function, pressing skills
enable_attack
we turn on the repair and indicate that the repair will be using a box
enable_repair=1
Turn on the pet
enable_pet
Checking pet hp and mp
enable_pet_regen
Checking the pet's satiety
enable_pet_food
trigger so that the game is restarted if the Internet is trouble and error
add_action_speak=conError={"text": ["^Connection error; exiting game$"], "execute": ["gameexit"], "noclear":1}
///The end of the config

I will say something else

Basically come and begin to ask, but how to do it so that the bot gets stones
I wrote a list with commands, there are descriptions and examples of use. There are a bunch of examples of scripts, if there is interest and it is clear that a person is not just begging but tries to do something, then users help, and we are, of course.
And if you do not want to bother, You want to get a turnkey script, then you need to pay extra so that the personal script is made. I do not write for money, there really is no time for it.
Basic scripts such as a decrease in experience, disassembling unnecessary gems, put items on a warehouse, market search, get the necessary colors in the equipment, sell collections. sharpening equipment with the whole set or One by one.
I don't remember all the functions, there are more than 200
And so there is a lot of things in the file exchanger.

What I get for $ 7.5 a month

$ 7.5 includes a engine for launching scripts, an exchanger with a bunch of  examples, ready -made solutions,
documentation, instructions how to configure, list of commands with a description and examples of use,
Chat for searching for friends, searching for solutions, recommendations, tips.


Which is not included in the amount of $ 7.5

This amount is not included
Write for me a script so that my hunter mining gems, runs away if the boss comes, wrote to the chat so that the players come to kill the boss, if the character has a full bag, to go to the city, sold gems, reborn the pet, played roulette, if something important, To play a loud sound and returned back to mining gems.