Yoko

All sides of Injection
It is currently 2026-01-16 21:58:07

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Gump Button
PostPosted: 2010-01-19 22:40:07 
Offline

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


Top
   
 Post subject: Re: Gump Button
PostPosted: 2010-01-21 04:13:24 
Offline
User avatar

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


Top
   
 Post subject: Re: Gump Button
PostPosted: 2010-01-21 08:29:15 
Offline

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


Top
   
 Post subject: Re: Gump Button
PostPosted: 2010-01-23 17:40:31 
Offline

Joined: 2009-02-09 17:12:23
Posts: 38
UP!

ONGUMP DESCRIPTION NEEDED, U may write in Russian.


Top
   
 Post subject: Re: Gump Button
PostPosted: 2010-05-23 21:14:41 
Offline

Joined: 2010-03-20 14:11:01
Posts: 9
up!


Top
   
 Post subject: Re: Gump Button
PostPosted: 2010-05-24 09:09:34 
Offline
Expert!
User avatar

Joined: 2005-04-23 10:19:43
Posts: 388
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.


Top
   
 Post subject: Re: Gump Button
PostPosted: 2010-05-24 20:26:06 
Offline

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



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


Top
   
 Post subject: Re: Gump Button
PostPosted: 2010-05-25 08:42:18 
Offline
Expert!
User avatar

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


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 8 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited