![]() |
Добро пожаловать, гость ( Вход | Регистрация )
![]() ![]() |
![]() |
Dron22 |
![]()
Сообщение
#1
|
Member ![]() Регистрация: Июнь 26 10 Сообщений: 33 Предупреждения: 0 ![]() |
Проблема возникла со скриптами EasyUO так как крафт меню у нас переделано.
Проблема с Make last. На форуме нашел пояснения этой проблемы... По возможности переведите и поясните мне как ее решить самому. Заранее спасибо. --------------------------------------- How to modify TurboScript click spots for Freeshard Issues First: You only need to do this if the buttons are spaced differently! If it's just a matter of the script selecting a wrong item, it'll almost 100% be the third solution below. There's only one spot where it calcs button positions. In the "makefirstitem" sub. The first click, which is always the left hand column is defined like this: set %clickx %gumpx + 27 set %clicky %gumpy + 50 + ( %1 * 20 ) The left side-horziontal click is at position (%gumpx + 27). %gumpx is always set at 50, which is where the default gump ALWAYS opens on OSI. So the clickx spot is 77. The clicky is the veritical. The 20 part of the calc assumes the buttons are 20 pixels apart from each other. If your buttons are smaller or bigger, that is one you need to change. However, if your buttons are not equi-distance from each other you are screwed and will have to setup click x/y for every item you'll be making, not impossible, but much more difficult. The second set of clicks in that sub: set %clickx %gumpx + 235 set %clicky %gumpy + 50 + ( %2 * 20 ) This is for the click of the item itself in the 2nd column. The first clickx is again the horizontal and displaced by 50, giving a total of 285. The second number again assumes a veritical equi-distance button 20 pixels apart. If the gump doesn't come up at 50/50 modify these two variables, just below the user setup section: set %gumpx 50 set %gumpy 50 Makefirstitem is used to tinker and tailor. If your two menus are different in button sizes, you are again screwed. Second: Once the firstitem is made, the script then does make last. In the user setup section you can modify where the make last gets click by changing the 2 variables: ; If you're on a freeshard with different menu configurations the below variables are for the ; click points for Make Last RELATIVE to the Tinker gump's position of 50/50. ; You may need to adjust to your shard's menu configuration. ; NOTE: This script was written for OSI and latest client. The Make Item feature and these ; variables may allow you to use it, but no promises! set %makelast_clickx 285 set %makelast_clicky 410 This position takes into account that the OSI gump displays always at 50/50. So the number you use here will be 50 less then the number you found by mousing over the makelast button. |
AlexOS |
![]()
Сообщение
#2
|
Member ![]() Регистрация: Апрель 21 09 Сообщений: 760 Предупреждения: 0 ![]() |
говорят как установить координаты кнопки маке ласт.
|
Assa |
![]()
Сообщение
#3
|
![]() UOKR: Administrator ![]() Регистрация: Август 10 07 Сообщений: 3 384 Предупреждения: 0 ![]() |
Почему только в разделе Вопросов к Администрации? ) Абисс не занимается разработкой Изи УО
![]() Перенесено. -------------------- |
Dron22 |
![]()
Сообщение
#4
|
Member ![]() Регистрация: Июнь 26 10 Сообщений: 33 Предупреждения: 0 ![]() |
Я понял, но только это. Подробный перевод может кто сделать?
|
Tougnhess |
![]()
Сообщение
#5
|
Member ![]() Регистрация: Ноябрь 28 08 Сообщений: 1 047 Предупреждения: 0 ![]() |
ЭГЕ ГЕЙ
![]() |
Dron22 |
![]()
Сообщение
#6
|
Member ![]() Регистрация: Июнь 26 10 Сообщений: 33 Предупреждения: 0 ![]() |
сам Гей
|
crlam0 |
![]()
Сообщение
#7
|
Member ![]() Регистрация: Май 26 08 Сообщений: 118 Предупреждения: 0 ![]() |
Держи пример кода, 99 раз жмет на кнопку make last когда F9 нажмешь. Работает для тэйлора и алхимика.
set %makelast_clickx 285 set %makelast_clicky 410 ; Sewing kit, Mortal and Pestle set %tooltypes HAG_RQF set %gumpwait 7 set %key F9 set %keymod set %max_count 99 set %count 0 initevents waitloop: onHotKey %key %keymod goto starting wait 5 goto waitloop return starting: set %retrycount 11 mainloop: finditem %tooltypes C_ , #backpackID if #findkind = -1 { DISPLAY OK Out of tools. $ halt } if %retrycount > 10 { set #lobjectid #findid event macro 17 0 wait %gumpwait set %retrycount 0 } if #contname <> generic_gump { set %retrycount %retrycount + 1 wait %gumpwait event Sysmessage Waiting for crafting menu , ( , %retrycount , ). goto MainLoop } set %retrycount 0 set %gumpx #contposx set %gumpy #contposy set %clickx %gumpx + %makelast_clickx set %clicky %gumpy + %makelast_clicky click %clickx %clicky f wait %gumpwait set %count %count + 1 if %count >= %max_count { DISPLAY OK Complete. $ set %count 0 goto waitloop } goto mainloop |
![]() ![]() |
Текстовая версия | Сейчас: Июль 26 2024 - 19:39 |