Search found 14 matches

by Tibro
27 Oct 2022, 20:59
Forum: Gaming Help (v1)
Topic: Script clicker when an image is found
Replies: 12
Views: 876

Re: Script clicker when an image is found

I decided to try using windowed mode - it did not help
by Tibro
27 Oct 2022, 20:58
Forum: Скрипты для Игр
Topic: Скрипт кликер при обнаружении картинки Topic is solved
Replies: 4
Views: 3361

Re: Скрипт кликер при обнаружении картинки Topic is solved

mcl wrote:
24 Oct 2022, 17:05
Tibro wrote: …это отлично работает, но к сожалению за пределами игры. В самой же игре увы никакой реакции на скрипт.
Если игра запущена в полноэкранном режиме, ImageSearch может не работать. Проверьте, работает ли скрипт с игрой, запущенной в оконном режиме.
К сожалению не помогло
by Tibro
23 Oct 2022, 14:10
Forum: Скрипты и библиотеки
Topic: Помогите со скриптом для Dayz
Replies: 2
Views: 3211

Re: Помогите со скриптом для Dayz

Я не до конца понял что ты хочешь. Вот тебе карявый пример для твоих целей. Может поможет F2:: ; Активация Loop ; Постоянно повторение. { Send, {vk46 down} ; Зажатие клавиши F Sleep, 7000 ; Задержка в 7 секунду Send, {vk46 up} ; Отжатие клавишы F Sleep 100 ; Задержка в 0.100 секунд. Необходима ибо с...
by Tibro
23 Oct 2022, 13:57
Forum: Скрипты и библиотеки
Topic: Помогите со скриптом для Dayz
Replies: 2
Views: 3211

Re: Помогите со скриптом для Dayz

Пропиши полностью по пунктам точную задержку
Пример:

1. - 3сек [F]
2. - 1сек [F]
3. - 2 сек
4. - 7 сек[F]
и т.д
by Tibro
23 Oct 2022, 13:37
Forum: Скрипты для Игр
Topic: Скрипт кликер при обнаружении картинки Topic is solved
Replies: 4
Views: 3361

Re: Скрипт кликер при обнаружении картинки Topic is solved

Чтобы ImageSearch нашёл изображение, оно должно точно (до пикселя) совпадать с искомым. Можно попробовать сделать поиск менее строгим с помощью опций *n и *TransN : ; Искать картинку с отличиями в цвете (опция *20 после имени файла): ; 20 - вариативность цвета, от 0 (требуется точное совпадение) до...
by Tibro
23 Oct 2022, 13:31
Forum: Gaming Help (v1)
Topic: Script clicker when an image is found
Replies: 12
Views: 876

Re: Script clicker when an image is found

boiler wrote:
22 Oct 2022, 07:06
Outside of the game it works great. I can make a video for you to better understand.
by Tibro
23 Oct 2022, 13:30
Forum: Gaming Help (v1)
Topic: Script clicker when an image is found
Replies: 12
Views: 876

Re: Script clicker when an image is found

That's the problem. There are a couple issues with your reference image. It's way too big. You need to crop it down to only the part that you're searching for. And you can't use a transparent background. If you want it to treat the parts around it as transparent (so it will find it no matter what b...
by Tibro
22 Oct 2022, 05:10
Forum: Gaming Help (v1)
Topic: Script clicker when an image is found
Replies: 12
Views: 876

Re: Script clicker when an image is found

boiler wrote:
21 Oct 2022, 16:01
Can you post the test.png image?
by Tibro
21 Oct 2022, 13:03
Forum: Gaming Help (v1)
Topic: Script clicker when an image is found
Replies: 12
Views: 876

Re: Script clicker when an image is found

F2:: imgFound := false while(imgFound = false) { ImageSearch, X, Y, 0, 0, A_ScreenWidth, A_ScreenHeight, test.png ;if (x != "") if !ErrorLevel { click, %x%, %y% Sleep 100 click, %x%, %y% Sleep 100 click, %x%, %y% MsgBox Screen Coords x=%x%, y=%y%. imgFound := true } } return
by Tibro
21 Oct 2022, 13:01
Forum: Gaming Help (v1)
Topic: Script clicker when an image is found
Replies: 12
Views: 876

Re: Script clicker when an image is found

You didn't help. I wrote earlier that the script does not work only in the game. OK. You include a line like if (x тут скобки угловые "") and expect me not to point it out? If it works, it's despite that line, not because it does anything useful. Good luck. I took into account your remark and I am ...
by Tibro
21 Oct 2022, 10:07
Forum: Gaming Help (v1)
Topic: Script clicker when an image is found
Replies: 12
Views: 876

Re: Script clicker when an image is found

I’m not sure why you have this line like this: if (x тут скобки угловые "") It apparently should be: if (x != "") That should work, but I would go with this instead: if !ErrorLevel You didn't help. I wrote earlier that the script does not work only in the game. It works in the browser, outside the ...
by Tibro
21 Oct 2022, 08:36
Forum: Gaming Help (v1)
Topic: Script clicker when an image is found
Replies: 12
Views: 876

Re: Script clicker when an image is found

I’m not sure why you have this line like this: if (x тут скобки угловые "") It apparently should be: if (x != "") That should work, but I would go with this instead: if !ErrorLevel It works, completely, but not on this img and not in the game. If a Run the script in the browser, for example, with a...
by Tibro
20 Oct 2022, 18:14
Forum: Gaming Help (v1)
Topic: Script clicker when an image is found
Replies: 12
Views: 876

Script clicker when an image is found

Good afternoon. I want to write a script that will work in a mini-game like "Flappy Bird" Let's say fish "X" swims and there is a hook "Y". The hook moves only when the LMB is held down and goes out to the standard position if the LMB is released. Need a script. So that when a picture "X" is found o...
by Tibro
20 Oct 2022, 17:55
Forum: Скрипты для Игр
Topic: Скрипт кликер при обнаружении картинки Topic is solved
Replies: 4
Views: 3361

Скрипт кликер при обнаружении картинки Topic is solved

Добрый день. Хочу написать некий скрипт, который будет работать в мини игре по типу "Flappy Bird" Допустим проплывает рыбка "X" и есть крючок "Y". Крючок двигается только при зажатой ЛКМ и уходит из на стандартную позицию, если отпустить ЛКМ Нужен скрипт. Чтобы при обнаружении на экране картинки "X"...

Go to advanced search