Yoko
http://forum.yoko.com.ua/

Gump Button
http://forum.yoko.com.ua/viewtopic.php?f=20&t=15462
Page 1 of 1

Author:  Ever1x [ 2010-01-19 22:40:07 ]
Post subject:  Gump Button

I need to know, how push a gump button. This Gump is always open, but I don't need with left click, but some other way.

Author:  CuHTpoH [ 2010-01-21 04:13:24 ]
Post subject:  Re: Gump Button

it depends on your shard and client version, on some of them using gump commands is impossible.
There is a hook command on next upcoming gump - uo.ongump, also you can use uo.recall in some ways, and last - you can get coords of buttons and uo.click them..

Author:  Ever1x [ 2010-01-21 08:29:15 ]
Post subject:  Re: Gump Button

Don't know a thing about ongump, but recall and lclick don't give the results I wan't, I can work around, but it's not good for PvP! So I want some one to tell me how to use ongump!

Author:  Ever1x [ 2010-01-23 17:40:31 ]
Post subject:  Re: Gump Button

UP!

ONGUMP DESCRIPTION NEEDED, U may write in Russian.

Author:  Runer [ 2010-05-23 21:14:41 ]
Post subject:  Re: Gump Button

up!

Author:  Beyonder [ 2010-05-24 09:09:34 ]
Post subject:  Re: Gump Button

If you have the latest injection version, you can just type ",ongump" in game window to see the full help explaining how to use it.

Author:  Runer [ 2010-05-24 20:26:06 ]
Post subject:  Re: Gump Button

Quote:
OnGump command - autochoice buttons/checks/text in gumps

Variant1a (repeat exact choice in exact gump):
,ongump repeat

Variant1b (repeat exact choice in any gump):
,ongump superrepeat

Variant2 (general form):
,ongump GUMP [CHOICE]
GUMP: identifyes gump, variants:
<serial>|anyserial <gumpid>|anygump example: anyserial 0x00112233
anygump
lastgump
lastpos
pos <x> <y>
withtext 'text_part_to_seek' example: withtext 'Blacksmith'
withcommand 'command_part_to_seek' example: withcommand 'tilepic 60 295 5181'
CHOICE: identifyes choice you make pressing buttons.
Consist of 3 parts:
1) (serial of) button you press to close gump e.g. 'Ok' (default is first button happend)
<button_serial> example: 315
(button_number example: (2
[image_serial example: [0x01
lastbutton
2) (serials of) checks and radios enabled on moment of pressing 1)
checks <ID1> <ID2> ... example: checks 315 316 0x0102
checks (num1 (num2 ... example: checks (1 (3 (8
lastchecks
nochecks
3) (texts) what entered in textentry(es) (the same amount as in gump)
entryes 'txt1' 'txt2' ... example: entryes 'macrocheck'
lastentryes
noentryes
So CHOICE have syntax:
[1) [2)] [3)]]
Examples:
,ongump repeat
,ongump any 0x00001234 (1
,ongump withtext 'Blacksmith' 315 nochecks entryes '10'
,ongump anygump [0x0123 checks (1 316 entryes '10'



Как это использовать? Например, в диалоге надо ввести число и нажать кнопку - какую команду для этого надо набирать? Как эти параметры узнавать?

Author:  Beyonder [ 2010-05-25 08:42:18 ]
Post subject:  Re: Gump Button

Всё узнаётся таким способом:
1) Открываешь нужный тебе гамп.
2) Вводишь команду ,infogump - видишь полную раскладку последнего гампа.
3) Пытаешся понять где в той раскладке какая кнопка, т.к. кнопки и текст разделены отдельно. Прийдётся мучить методом тыка. Самый лучший вариант - смотреть на примерные координаты кнопки и определять что это за кнопка.
3а) Если кнопок не много, можно сделать иначе. Нажать на нужную кнопку и после этого ввести ,infogump. Где-то снизу будет информация о последней нажатой кнопке.

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/