|
|
|
Have a question |
|
|
Hyuki |
4.1.2020, 4:27
|
Registred
Сообщений: 6
Регистрация: 31.12.2019 Группа: Пользователи Наличность: 0
Пользователь №: 19.489
Возраст: 20
|
Цитата(DarkMaster @ 31.12.2019, 19:11) Yes. But dont forget about cheat engine use relative address from module address, and can use chain of pointers. You can use all it inside UOPilot.
I have the pointers, but I don't know how to implement it. Could you write some examples? My pointer Type 4bytes 012A6CF4 3B8 10C 4 24 C0 B0
|
|
|
|
DarkMaster |
4.1.2020, 19:41
|
Модератор UOPilot
Сообщений: 9.460
Регистрация: 2.12.2008 Группа: Супермодераторы Наличность: 27707
Пользователь №: 11.279
|
Its rly long chain for pointers =) What syntax are you use? Old or lua? Код --lua -- for lua (yes, im captain) local pointer_1 = readmem (0x012A6CF4, "D") local pointer_2 = readmem (pointer_1 + 0x3B8, "D") local pointer_3 = readmem (pointer_2 + 0x10C, "D") local pointer_4 = readmem (pointer_3 + 0x4, "D") local pointer_5 = readmem (pointer_4 + 0x24, "D") local pointer_6 = readmem (pointer_5 + 0xC0, "D") local result = readmem (pointer_6 +0xB0, "D")
You can use only one variable, i just try to show logic.
--------------------
Скрипты UOPilot под заказ. Консультации по UOpilot 15$/час. Услуги Lua разработчика (не пилот, проекты, постоянка) Disсоrd: Kov____
|
|
|
|
Hyuki |
14.1.2020, 21:48
|
Registred
Сообщений: 6
Регистрация: 31.12.2019 Группа: Пользователи Наличность: 0
Пользователь №: 19.489
Возраст: 20
|
Цитата(DarkMaster @ 4.1.2020, 19:41) Its rly long chain for pointers =) What syntax are you use? Old or lua? Код --lua -- for lua (yes, im captain) local pointer_1 = readmem (0x012A6CF4, "D") local pointer_2 = readmem (pointer_1 + 0x3B8, "D") local pointer_3 = readmem (pointer_2 + 0x10C, "D") local pointer_4 = readmem (pointer_3 + 0x4, "D") local pointer_5 = readmem (pointer_4 + 0x24, "D") local pointer_6 = readmem (pointer_5 + 0xC0, "D") local result = readmem (pointer_6 +0xB0, "D")
You can use only one variable, i just try to show logic. My goal is to send the F3 key whenever the address value is greater than 0. So would it look like this? --lua local pointer_1 = readmem (0x012A6CF4, "D") local pointer_2 = readmem (pointer_1 + 0x3B8, "D") local pointer_3 = readmem (pointer_2 + 0x10C, "D") local pointer_4 = readmem (pointer_3 + 0x4, "D") local pointer_5 = readmem (pointer_4 + 0x24, "D") local pointer_6 = readmem (pointer_5 + 0xC0, "D") local result = readmem (pointer_6 +0xB0, "D") If result > 0 goto attack end if : attack Send (F3) while result > 0 goto attack end_ while
|
|
|
|
DarkMaster |
14.1.2020, 22:45
|
Модератор UOPilot
Сообщений: 9.460
Регистрация: 2.12.2008 Группа: Супермодераторы Наличность: 27707
Пользователь №: 11.279
|
i wrote it on lua syntax. Код --lua -- for lua (yes, im captain) local pointer_1 = readmem (0x012A6CF4, "D") local pointer_2 = readmem (pointer_1 + 0x3B8, "D") local pointer_3 = readmem (pointer_2 + 0x10C, "D") local pointer_4 = readmem (pointer_3 + 0x4, "D") local pointer_5 = readmem (pointer_4 + 0x24, "D") local pointer_6 = readmem (pointer_5 + 0xC0, "D") -- directly you dont need next string here -- local result = readmem (pointer_6 +0xB0, "D")
while readmem (pointer_6 +0xB0, "D") > 0 do send("{F3}") wait(1000) end
Сообщение отредактировал DarkMaster - 14.1.2020, 22:53
--------------------
Скрипты UOPilot под заказ. Консультации по UOpilot 15$/час. Услуги Lua разработчика (не пилот, проекты, постоянка) Disсоrd: Kov____
|
|
|
|
Hyuki |
1.2.2020, 17:00
|
Registred
Сообщений: 6
Регистрация: 31.12.2019 Группа: Пользователи Наличность: 0
Пользователь №: 19.489
Возраст: 20
|
Цитата(DarkMaster @ 14.1.2020, 22:45) i wrote it on lua syntax. Код --lua -- for lua (yes, im captain) local pointer_1 = readmem (0x012A6CF4, "D") local pointer_2 = readmem (pointer_1 + 0x3B8, "D") local pointer_3 = readmem (pointer_2 + 0x10C, "D") local pointer_4 = readmem (pointer_3 + 0x4, "D") local pointer_5 = readmem (pointer_4 + 0x24, "D") local pointer_6 = readmem (pointer_5 + 0xC0, "D") -- directly you dont need next string here -- local result = readmem (pointer_6 +0xB0, "D")
while readmem (pointer_6 +0xB0, "D") > 0 do send("{F3}") wait(1000) end
It works perfectly, but I still have a question. I wrote a script with findimage in - - lua, it works normally if the window is in the foreground, but when creating a second desktop in w10 and running uopilot, the image is not found. How could I solve this? Code --lua Local startX, startY, endX, endY = 0,0,1920,1080 Local path = [["C:\uopilot\imagens\ok.bmp"]] Local arr, a = findimage (startX, startY, endX, endY, (path), 2) ---Script While True do - - - loop Hint (a) If arr then HIT ("Imagem encontrada nas coordenadas X=".. arr [1] [1].." Y=".. arr [1] [2]) Kleft (arr[1][1], arr[1][2]) End End
|
|
|
|
DarkMaster |
1.2.2020, 20:29
|
Модератор UOPilot
Сообщений: 9.460
Регистрация: 2.12.2008 Группа: Супермодераторы Наличность: 27707
Пользователь №: 11.279
|
Im not sure about it possible. When you change desktop windows can be just hidden and dont create graphic. I recommend to try to use findimage with method by handle findimage (startX, startY, endX, endY, (path), 2) you need to use not 2, but workwindow handle. I cant take guarantee about it will work. You can try to some more options: 1) Move window from visible part of desktop to big coordinates, as example 10000 10000. You can to do it by windowpos function. 2) VMware/virtualbox. 3) Aster - dual login and work on 1 pc with 2 monitors(you can use one monitor and 2 in)
Im not sure about it possible. When you change desktop windows can be just hidden and dont create graphic. I recommend to try to use findimage with method by handle findimage (startX, startY, endX, endY, (path), 2) you need to use not 2, but workwindow handle. I cant take guarantee about it will work. You can try to some more options: 1) Move window from visible part of desktop to big coordinates, as example 10000 10000. You can to do it by windowpos function. 2) VMware/virtualbox. 3) Aster - dual login and work on 1 pc with 2 monitors(you can use one monitor and 2 in)
--------------------
Скрипты UOPilot под заказ. Консультации по UOpilot 15$/час. Услуги Lua разработчика (не пилот, проекты, постоянка) Disсоrd: Kov____
|
|
|
|
Hyuki |
16.2.2020, 19:09
|
Registred
Сообщений: 6
Регистрация: 31.12.2019 Группа: Пользователи Наличность: 0
Пользователь №: 19.489
Возраст: 20
|
Цитата(DarkMaster @ 1.2.2020, 20:29) Im not sure about it possible. When you change desktop windows can be just hidden and dont create graphic. I recommend to try to use findimage with method by handle findimage (startX, startY, endX, endY, (path), 2) you need to use not 2, but workwindow handle. I cant take guarantee about it will work. You can try to some more options: 1) Move window from visible part of desktop to big coordinates, as example 10000 10000. You can to do it by windowpos function. 2) VMware/virtualbox. 3) Aster - dual login and work on 1 pc with 2 monitors(you can use one monitor and 2 in)
Im not sure about it possible. When you change desktop windows can be just hidden and dont create graphic. I recommend to try to use findimage with method by handle findimage (startX, startY, endX, endY, (path), 2) you need to use not 2, but workwindow handle. I cant take guarantee about it will work. You can try to some more options: 1) Move window from visible part of desktop to big coordinates, as example 10000 10000. You can to do it by windowpos function. 2) VMware/virtualbox. 3) Aster - dual login and work on 1 pc with 2 monitors(you can use one monitor and 2 in)
Resolved attaching the work window
|
|
|
|
|
|
2 чел. читают эту тему (гостей: 2, скрытых пользователей: 0)
Пользователей: 0
|
|