Gump Button

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
Ever1x
Posts: 38
Joined: 2009-02-09 17:12:23

Gump Button

Post by Ever1x »

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.
CuHTpoH
Posts: 287
Joined: 2007-11-01 19:09:30
Location: Moscow
Contact:

Re: Gump Button

Post by CuHTpoH »

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..
**Выставляем отступы в скриптах*** ©Destruction
Feel the Power of Dark Side
Ever1x
Posts: 38
Joined: 2009-02-09 17:12:23

Re: Gump Button

Post by Ever1x »

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!
Ever1x
Posts: 38
Joined: 2009-02-09 17:12:23

Re: Gump Button

Post by Ever1x »

UP!

ONGUMP DESCRIPTION NEEDED, U may write in Russian.
Runer
Posts: 9
Joined: 2010-03-20 14:11:01

Re: Gump Button

Post by Runer »

up!
Beyonder
Expert!
Posts: 388
Joined: 2005-04-23 10:19:43
Contact:

Re: Gump Button

Post by Beyonder »

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.
Runer
Posts: 9
Joined: 2010-03-20 14:11:01

Re: Gump Button

Post by Runer »

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'



Как это использовать? Например, в диалоге надо ввести число и нажать кнопку - какую команду для этого надо набирать? Как эти параметры узнавать?
Beyonder
Expert!
Posts: 388
Joined: 2005-04-23 10:19:43
Contact:

Re: Gump Button

Post by Beyonder »

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