Help With OnGump...

Ask for help

Moderators: Murderator+, Murderator

Post Reply
Injectioner
Posts: 25
Joined: 2005-07-28 20:31:08

Help With OnGump...

Post by Injectioner »

I have a extreme difficulty with this OnGump system... I don't understand very well how do use that command. If anybody can help me do one simple think I will be very grateful.
I wanna select the 'Blue Button' at the left side of Moonglow text e after that press 'Okay' to go there.

The screen of gump and the gump info is right below:

Image

Code: Select all

_____infogump_______
serial   0x00a3f6a0
gumpid   0x001d4eba
X   0
Y   0
1033   packet size
0   reply packet size
Buttons: ________
 page 0
    1 [   12] image=0x00F8 at 130:345
Checks&Radios: __
 page 0
    1 (*) (_) [    1] image=0x04X at 90:112
    2 (_) (_) [    2] image=0x04X at 90:132
    3 (_) (_) [    3] image=0x04X at 90:152
    4 (_) (_) [    4] image=0x04X at 90:172
    5 (_) (_) [    5] image=0x04X at 90:192
    6 (_) (_) [    6] image=0x04X at 90:212
    7 (_) (_) [    7] image=0x04X at 90:232
    8 (_) (_) [    8] image=0x04X at 90:252
    9 (_) (_) [    9] image=0x04X at 90:272
   10 (_) (_) [   10] image=0x04X at 90:292
   11 (_) (_) [   11] image=0x04X at 90:312
Entryes: ________
All commands: ____
    1] page 0
    2] nodispose
    3] nomove
    4] resizepic 70 50 5054 180 340
    5] resizepic 80 60 3000 160 320
    6] text 90 80 0 0
    7] text 90 90 0 12
    8] text 110 110 0 1
    9] text 110 130 0 2
   10] text 110 150 0 3
   11] text 110 170 0 4
   12] text 110 190 0 5
   13] text 110 210 0 6
   14] text 110 230 0 7
   15] text 110 250 0 8
   16] text 110 270 0 9
   17] text 110 290 0 10
   18] text 110 310 0 11
   19] radio 90 112 1209 1210 1 1
   20] radio 90 132 1209 1210 0 2
   21] radio 90 152 1209 1210 0 3
   22] radio 90 172 1209 1210 0 4
   23] radio 90 192 1209 1210 0 5
   24] radio 90 212 1209 1210 0 6
   25] radio 90 232 1209 1210 0 7
   26] radio 90 252 1209 1210 0 8
   27] radio 90 272 1209 1210 0 9
   28] radio 90 292 1209 1210 0 10
   29] radio 90 312 1209 1210 0 11
   30] button 130 345 247 248 1 0 12
Text: ____________
    0] Escolha seu destino :
    1] Britain
    2] Moonglow
    3] Jehlow
    4] Yew
    5] Minoc
    6] Trinsic
    7] Skara Brae
    8] Magincia
    9] Cove
   10] Serpents Hold (ida)
   11] Bucs Travel (ida)
   12] ----------------


Sorry for anything... IF anybody don't understand my problem is because of my bad english.

[]'s & Thank's!
Image
Image
Image
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

Open your gump, click on blue button and print here ,infogump.
As i know you'll able to see in last string reply[000.] or anything else,- last clicked button. So,do it and show it for us.
Injectioner
Posts: 25
Joined: 2005-07-28 20:31:08

Post by Injectioner »

This is the infogump when I select the blue button.

Code: Select all

_____infogump_______
serial   0x00a3f6a0
gumpid   0x001d4eba
X   0
Y   0
1033   packet size
0   reply packet size
Buttons: ________
 page 0
    1 [   12] image=0x00F8 at 130:345
Checks&Radios: __
 page 0
    1 (*) (_) [    1] image=0x04X at 90:112
    2 (_) (_) [    2] image=0x04X at 90:132
    3 (_) (_) [    3] image=0x04X at 90:152
    4 (_) (_) [    4] image=0x04X at 90:172
    5 (_) (_) [    5] image=0x04X at 90:192
    6 (_) (_) [    6] image=0x04X at 90:212
    7 (_) (_) [    7] image=0x04X at 90:232
    8 (_) (_) [    8] image=0x04X at 90:252
    9 (_) (_) [    9] image=0x04X at 90:272
   10 (_) (_) [   10] image=0x04X at 90:292
   11 (_) (_) [   11] image=0x04X at 90:312
Entryes: ________
All commands: ____
    1] page 0
    2] nodispose
    3] nomove
    4] resizepic 70 50 5054 180 340
    5] resizepic 80 60 3000 160 320
    6] text 90 80 0 0
    7] text 90 90 0 12
    8] text 110 110 0 1
    9] text 110 130 0 2
   10] text 110 150 0 3
   11] text 110 170 0 4
   12] text 110 190 0 5
   13] text 110 210 0 6
   14] text 110 230 0 7
   15] text 110 250 0 8
   16] text 110 270 0 9
   17] text 110 290 0 10
   18] text 110 310 0 11
   19] radio 90 112 1209 1210 1 1
   20] radio 90 132 1209 1210 0 2
   21] radio 90 152 1209 1210 0 3
   22] radio 90 172 1209 1210 0 4
   23] radio 90 192 1209 1210 0 5
   24] radio 90 212 1209 1210 0 6
   25] radio 90 232 1209 1210 0 7
   26] radio 90 252 1209 1210 0 8
   27] radio 90 272 1209 1210 0 9
   28] radio 90 292 1209 1210 0 10
   29] radio 90 312 1209 1210 0 11
   30] button 130 345 247 248 1 0 12
Text: ____________
    0] Escolha seu destino :
    1] Britain
    2] Moonglow
    3] Jehlow
    4] Yew
    5] Minoc
    6] Trinsic
    7] Skara Brae
    8] Magincia
    9] Cove
   10] Serpents Hold (ida)
   11] Bucs Travel (ida)
   12] ----------------


The infogump don't change...

[]'s
Last edited by Injectioner on 2007-09-29 18:30:18, edited 2 times in total.
Image
Image
Image
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

Code: Select all

sub Go_Go()
  uo.UseObject('input ID of your tp stone')
  uo.Recall('0x028bd576','1')
end sub


I don't know how to make 2 Recall on gump but on of them you can do like i wrote upper, and the second recall you can make by uo.LClick
Injectioner
Posts: 25
Joined: 2005-07-28 20:31:08

Post by Injectioner »

This isn't a recall macro, it is a kind of moongate...
On the last post of mine I've put a wrong infogump... ;/
Image
Image
Image
Edred
Expert!
Posts: 2544
Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg

Post by Edred »

Command Recall is used not only for recall :). It also can be used for the pushing of button on gump.
Ни один скрипт не работает? Пора обновить Инжект...
Все работает, но хочется большего? Пора переходить на стелс...
Injectioner
Posts: 25
Joined: 2005-07-28 20:31:08

Post by Injectioner »

I've tryed the Uo.Recall(). but it don't work... ;///
I don't have no ideia how to use this...
At another Uo assistence it works normaly, but at Injection I don't find an answer for this problem. ;///

[]'s
volhram
Posts: 95
Joined: 2004-10-19 16:25:45

Post by volhram »

там нужно выбрать синюю кнопочку, она подсвечивается, после этого жмёшь ОК, тоесть кнопка на гампе только одна....
похоже без ongump() не обойтись...
только я им пользоваться не умею))..виснет клиент постоянно..
-=JoKeR=-
Posts: 173
Joined: 2007-05-26 00:00:56
Location: Украина, Ode$$a:[X-TEAM Group]
Contact:

Post by -=JoKeR=- »

Ыы..а ничё шо он по-русски походу не разговаривает? =)
volhram
Posts: 95
Joined: 2004-10-19 16:25:45

Post by volhram »

-=JoKeR=- wrote:Ыы..а ничё шо он по-русски походу не разговаривает? =)

так я не ему писал))
я спецам которые хорошо с ongump умеют работать..
подумал, может они не поняли как тот гамп работает...я такие раньше видел
Scripts Writer
Posts: 2259
Joined: 2005-04-19 18:00:29
Location: Московская область
Contact:

Post by Scripts Writer »

Не флудите,-отвечайте по теме

*Only russian flood*
Injectioner
Posts: 25
Joined: 2005-07-28 20:31:08

Post by Injectioner »

I don't understand russian language... =x
Edred
Expert!
Posts: 2544
Joined: 2004-04-03 17:36:29
Location: Saint-Petersburg

Post by Edred »

Code: Select all

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'
Ни один скрипт не работает? Пора обновить Инжект...
Все работает, но хочется большего? Пора переходить на стелс...
Post Reply