| Yoko http://forum.yoko.com.ua/ |
|
| RunUO craft gumps http://forum.yoko.com.ua/viewtopic.php?f=7&t=191 |
Page 1 of 1 |
| Author: | Lord Ruslan Nightmare [ 2004-04-26 02:42:47 ] |
| Post subject: | RunUO craft gumps |
RunUO craft gumps structure (www.albion.com.ru shard, AOS) Use exec("recall self <number>") to choose gump button BEFORE gump is opened. (CAUTON: you must ",set norbcheck 1" and ",set norbcalc 1"!!!) For example : Code: uo.useobject("_OLH") # use hammerwill make last item Button numbers and what they means: Code: 1 + x*7 - will choose caterogy number x (counting from 0), for example ,recall self 1 will choose "ringmails" category Special buttons: Code: 7 - select material (iron/leather/hides etc) .... What ",recall self" with 0 and 70 does? If somebody knows more about any AOS gumps - please, post it here... |
|
| Author: | joselito [ 2004-05-04 01:24:00 ] |
| Post subject: | |
didnt work here, i got a "you must wait to perform another action" message..... |
|
| Author: | Yoko [ 2004-05-04 14:24:17 ] |
| Post subject: | |
author forgot to tell of usage ,set norbcheck and ,set norbcalc use forum search on word "norbcalc" too seek topics with explanations |
|
| Author: | Lord Ruslan Nightmare [ 2004-05-06 11:14:47 ] |
| Post subject: | |
Sorry. Fixed |
|
| Author: | joselito [ 2004-06-01 22:27:45 ] |
| Post subject: | |
why my character dismounts??? |
|
| Author: | Lord Ruslan Nightmare [ 2004-06-02 00:20:26 ] |
| Post subject: | |
Maybe because script targetting to self? You can use any other object , what is not runebook... |
|
| Author: | clagio [ 2004-06-04 21:03:21 ] |
| Post subject: | |
i'm using it for tracking.. ,recall self 4 and i choose the 4st option of the first gump..but now it open another one, where i have to choose the player to track, there is a way to choose the first, or another option of the second gump? and better, there's a way to choose not by position in gump, but by the name of the player? i try ,recall self 4 2 but it doesn't work.. |
|
| Author: | Lord Ruslan Nightmare [ 2004-06-05 11:50:15 ] |
| Post subject: | |
Did'nt used tracking on RunUO, sorry... Maybe, alternative method of gump-handling will help (in fact - this is old good clicking method :) ) Code: sub WaitMenuEx(category,number) example: Code: sub MakeLastEx() This method will work, because click happening right after gump appears, and gump always appears in focus (on top of all other gumps) Maybe you should change gump's type in "of type 0xC7D4E47C ..." |
|
| Author: | ruff [ 2004-06-25 12:53:14 ] |
| Post subject: | |
it works for the first time, than craft menu remains open, and on second call of useobject lead to 'You must wait to perform another action' |
|
| Author: | ruff [ 2004-06-25 12:56:37 ] |
| Post subject: | |
i mean case with recall self |
|
| Author: | Lord Ruslan Nightmare [ 2004-06-25 17:36:21 ] |
| Post subject: | |
Dunno...Try to call "recall self" before useobject...In fact, you should call useobject only once, and then call "recall self" every time before craft menu appears...Maybe it's shard-specific? |
|
| Author: | ruff [ 2004-07-02 17:30:09 ] |
| Post subject: | |
maybe, but now i use second 'clicking' method, works fine %) except the case when menu is open and i make usetype again. So i wait for menu to appear again, and then make rclick to menu area. If it would be the case to detect open gump ... |
|
| Author: | Lord Ruslan Nightmare [ 2004-07-06 15:51:33 ] |
| Post subject: | |
Quote: If it would be the case to detect open gump ...
Code: while not uo.injournal("of type 0xC7D4E47C")
That is it. Try to open some crazft gump, choose something and then use ,showjournal command. You'll see gump events in Text-window. |
|
| Author: | ruff [ 2004-07-07 07:19:51 ] |
| Post subject: | |
yes, but when my script is working it makes deletejournal several times, so in journal i can't detect it, only if take pixel's color from screen (is it possible in inject?) |
|
| Author: | Lord Ruslan Nightmare [ 2004-07-09 12:51:34 ] |
| Post subject: | |
Not possible. Try to rewrite your script...In fact, this is best solution for all programming problems. |
|
| Author: | ruff [ 2004-07-12 12:56:03 ] |
| Post subject: | |
i've rewritten, i wait for gump to appear again, and then make rklick on menu area. so after procedure i can be sure that gump is closed. |
|
| Author: | Drakull [ 2004-07-31 07:11:45 ] |
| Post subject: | Re: RunUO craft gumps |
Lord Ruslan Nightmare wrote: RunUO craft gumps structure
Code: 7 - select material (iron/leather/hides etc) .... What ",recall self" with 0 and 70 does? If somebody knows more about any AOS gumps - please, post it here... ,recall self 0 = clicking on the exit button on the gump. Useful to close the screen with the options on your script when the crafting tool has not end it's uses. |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|