this client does not have any bot.
only script engine on which you can write anything
Moderator: Phades
void send_action(string name, string name2)
послать действие из меню внизу справа, если нужно указывать 2 параметра
void set_inventory(string name)
поставить текущий инвентарь, после автоматически сбрасывается итератор
слоты: hh_slots.png
int is_buff_name(string name)
Thurrok wrote:You are fucking kidding me right? I mean, it's okay if some recruitment threads post in their native languages but this is definitely too much. I don't wanna be an ass but some mod plz run this through babelfish just for the fun of it, kthx.
@arksu: Why the fuck don't you stick to your own forum if you can't even be arsed to copypaste your text into Google Translate before putting it here? FFS, speak English or gtfo. Srsly. It's not like advertising bot clients on English HnH forums in Russian only will make it less likely for non-Russians to use them. It's just annoying as fuck.
Шагать-шагает, но и только. Команды say, print не отрабатывают. Ни print ("hello"), ни say("hello"). Писать в кавычках? sleep после команды say нужен?
";", как я понимаю, после команды не нужны. Коментарии можно ставить как-то?
upd----------------------
ага, print в консоль пишет
но say все равно что-то не пашет =/
-------------------------
void set_inventory(string name)
поставить текущий инвентарь, после автоматически сбрасывается итератор
Что можно посылать в параметр? Как мне выставить текущим инвентарь чара, как выставить текущим инвентарь ящика?
Не вижу, как можно выставить скорость перемещения чара.
Не вижу, как получить доступ к карте тайлов, чтобы сделать пачфайндинг. Как ты представляешь авто-рубку леса без пачфайндинга? Или типа, жди 1000, если координаты не изменились, сделай два шага влево, четыре вниз, попробуй опять порубить?
Все круто, но за такую документацию в нормальной конторе убивают =D
void main (){
if (have_inventory("Inventory") == 0) open_inventory();
set_inventory("Inventory");
while (Hungry>30){
plow ();
drinkWater ();
fillFlask ();
}
print ("finish");
map_click (0,0,3,0);
}
void plow (){
print ("plow");
while (!HourGlass){
send_action ("plow");
map_click (0,0,1,0);
sleep (600);
}
waitAction ();
}
void drinkWater (){
if (have_inventory("Inventory") == 0) open_inventory();
set_inventory("Inventory");
print ("drink from flask");
int flag = 1;
do {
if (is_item_name ("waterflask")) {
print ("---flask founded");
while (!HourGlass) {
while (!ContextMenuReady) {
item_click ("iact");
sleep (300);
}
select_context_menu ("Drink");
sleep (300);
}
flag=0;
}
if (flag) flag = next_item ();
} while (flag);
waitAction ();
}
void fillFlask (){
if (have_inventory("Inventory") == 0) open_inventory();
set_inventory("Inventory");
print ("fill flask");
if (have_inventory("Inventory") == 0) open_inventory();
set_inventory("Inventory");
int flag = 1;
int x;
int y;
do {
if (is_item_name ("bucket") && is_item_tooltip("Empty")==0) {
print ("---bucket with water founded, take in hands");
x = item_coord_x ();
y = item_coord_y ();
while (!DraggingItem){
item_click ("take");
sleep (200);
}
flag = 0;
}
if (flag) flag = next_item ();
} while (flag);
print ("---drag on flask");
if (DraggingItem) {
flag=1;
set_inventory("Inventory");
do {
if (is_item_name ("waterflask")) {
item_click ("itemact");
sleep (300);
flag = 0;
}
if (flag) flag = next_item ();
} while (flag);
print ("---put busket back to inventory");
while (DraggingItem){
item_drop (x,y);
sleep (200);
}
} else {
print ("Err: no busket in hand");
}
}
void waitAction (){
while (HourGlass) sleep (100);
}
There are rangers who help people who has been raided. Do they care about justice? Hell, no. They just hide their blood thirst behind white clothes.
loftar wrote:You do appear to need a good trolling.
There are rangers who help people who has been raided. Do they care about justice? Hell, no. They just hide their blood thirst behind white clothes.
Users browsing this forum: Claude [Bot] and 1 guest