recall by gump button

Ask for scripts here

Moderators: Murderator+, Murderator

Post Reply
Mazer
Posts: 125
Joined: 2007-11-13 00:39:14

recall by gump button

Post by Mazer »

hey,
could some one show example of script how to use gumps and press buttons. Would be cool if someone made script for this runebook gump.
Verbose menu say: Gump 0x4002c0aa of type 0x00000431 choiced 0x00000015

Code: Select all

_____infogump_______
serial   0x4002c0aa
gumpid   0x00000431
X   0
Y   0
7229   packet size
0   reply packet size
Buttons: ________
 page 0
    1 [    0] image=0x08B1 at 255:377
    2 [    0] image=0x08B2 at 290:377
    3 [    0] image=0x08B3 at 325:377
    4 [    0] image=0x08B4 at 360:377
    5 [    0] image=0x08B5 at 425:377
    6 [    0] image=0x08B6 at 460:377
    7 [    0] image=0x08B7 at 495:377
    8 [    0] image=0x08B8 at 530:377
 page 1
    9 [    1] image=0x09A9 at 250:205
   10 [    2] image=0x0837 at 255:255
   11 [    3] image=0x0837 at 255:270
   12 [    4] image=0x0837 at 255:285
   13 [    5] image=0x0837 at 255:300
   14 [    6] image=0x0837 at 255:315
   15 [    7] image=0x0837 at 255:330
   16 [    8] image=0x0837 at 255:345
   17 [    9] image=0x0837 at 255:360
   18 [   10] image=0x0837 at 415:255
   19 [   11] image=0x0837 at 415:270
   20 [   12] image=0x0837 at 415:285
   21 [   13] image=0x0837 at 415:300
   22 [   14] image=0x0837 at 415:315
   23 [   15] image=0x0837 at 415:330
   24 [   16] image=0x0837 at 415:345
   25 [   17] image=0x0837 at 415:360
   26 [    0] image=0x089E at 518:204
 page 2
   27 [    0] image=0x089D at 250:204
   28 [    2] image=0x0837 at 255:255
   29 [   52] image=0x0FA6 at 260:305
   30 [   20] image=0x08DF at 260:330
   31 [   36] image=0x08F3 at 330:330
   32 [    3] image=0x0837 at 415:255
   33 [   53] image=0x0FA6 at 430:305
   34 [   21] image=0x08DF at 430:330
   35 [   37] image=0x08F3 at 500:330
   36 [    0] image=0x089E at 518:204
 page 3
   37 [    0] image=0x089D at 250:204
   38 [    4] image=0x0837 at 255:255
   39 [   54] image=0x0FA6 at 260:305
   40 [   22] image=0x08DF at 260:330
   41 [   38] image=0x08F3 at 330:330
   42 [    5] image=0x0837 at 415:255
   43 [   55] image=0x0FA6 at 430:305
   44 [   23] image=0x08DF at 430:330
   45 [   39] image=0x08F3 at 500:330
   46 [    0] image=0x089E at 518:204
 page 4
   47 [    0] image=0x089D at 250:204
   48 [    6] image=0x0837 at 255:255
   49 [   56] image=0x0FA6 at 260:305
   50 [   24] image=0x08DF at 260:330
   51 [   40] image=0x08F3 at 330:330
   52 [    7] image=0x0837 at 415:255
   53 [   57] image=0x0FA6 at 430:305
   54 [   25] image=0x08DF at 430:330
   55 [   41] image=0x08F3 at 500:330
   56 [    0] image=0x089E at 518:204
 page 5
   57 [    0] image=0x089D at 250:204
   58 [    8] image=0x0837 at 255:255
   59 [   58] image=0x0FA6 at 260:305
   60 [   26] image=0x08DF at 260:330
   61 [   42] image=0x08F3 at 330:330
   62 [    9] image=0x0837 at 415:255
   63 [   59] image=0x0FA6 at 430:305
   64 [   27] image=0x08DF at 430:330
   65 [   43] image=0x08F3 at 500:330
   66 [    0] image=0x089E at 518:204
 page 6
   67 [    0] image=0x089D at 250:204
   68 [   10] image=0x0837 at 255:255
   69 [   60] image=0x0FA6 at 260:305
   70 [   28] image=0x08DF at 260:330
   71 [   44] image=0x08F3 at 330:330
   72 [    0] image=0x0837 at 415:255
   73 [   61] image=0x0FA6 at 430:305
   74 [   29] image=0x08DF at 430:330
   75 [   45] image=0x08F3 at 500:330
   76 [    0] image=0x089E at 518:204
 page 7
   77 [    0] image=0x089D at 250:204
   78 [   12] image=0x0837 at 255:255
   79 [   62] image=0x0FA6 at 260:305
   80 [   30] image=0x08DF at 260:330
   81 [   46] image=0x08F3 at 330:330
   82 [   13] image=0x0837 at 415:255
   83 [   63] image=0x0FA6 at 430:305
   84 [   31] image=0x08DF at 430:330
   85 [   47] image=0x08F3 at 500:330
   86 [    0] image=0x089E at 518:204
 page 8
   87 [    0] image=0x089D at 250:204
   88 [   14] image=0x0837 at 255:255
   89 [   64] image=0x0FA6 at 260:305
   90 [   32] image=0x08DF at 260:330
   91 [   48] image=0x08F3 at 330:330
   92 [   15] image=0x0837 at 415:255
   93 [   65] image=0x0FA6 at 430:305
   94 [   33] image=0x08DF at 430:330
   95 [   49] image=0x08F3 at 500:330
   96 [    0] image=0x089E at 518:204
 page 9
   97 [    0] image=0x089D at 250:204
   98 [   16] image=0x0837 at 255:255
   99 [   66] image=0x0FA6 at 260:305
  100 [   34] image=0x08DF at 260:330
  101 [   50] image=0x08F3 at 330:330
  102 [   17] image=0x0837 at 415:255
  103 [   67] image=0x0FA6 at 430:305
  104 [   35] image=0x08DF at 430:330
  105 [   51] image=0x08F3 at 500:330
Checks&Radios: __
Entryes: ________
All commands: ____
    1] gumppic 225 200 2200
    2] gumppic 250 240 57
    3] gumppic 280 240 58
    4] gumppic 290 240 58
    5] gumppic 300 240 58
    6] gumppic 310 240 58
    7] gumppic 320 240 58
    8] gumppic 330 240 58
    9] gumppic 340 240 58
   10] gumppic 355 240 59
   11] gumppic 415 240 57
   12] gumppic 445 240 58
   13] gumppic 455 240 58
   14] gumppic 465 240 58
   15] gumppic 475 240 58
   16] gumppic 485 240 58
   17] gumppic 495 240 58
   18] gumppic 505 240 58
   19] gumppic 520 240 59
   20] text 263 228 0 0
   21] text 355 228 0 1
   22] text 425 228 0 2
   23] text 529 228 0 3
   24] button 255 377 2225 2225 0 2 0
   25] button 290 377 2226 2226 0 3 0
   26] button 325 377 2227 2227 0 4 0
   27] button 360 377 2228 2228 0 5 0
   28] button 425 377 2229 2229 0 6 0
   29] button 460 377 2230 2230 0 7 0
   30] button 495 377 2231 2231 0 8 0
   31] button 530 377 2232 2232 0 9 0
   32] page 1
   33] text 280 210 0 4
   34] button 250 205 2472 2473 1 0 1
   35] croppedtext 270 250 115 20 0 5
   36] button 255 255 2104 2103 1 0 2
   37] croppedtext 270 265 115 20 0 6
   38] button 255 270 2104 2103 1 0 3
   39] croppedtext 270 280 115 20 0 7
   40] button 255 285 2104 2103 1 0 4
   41] croppedtext 270 295 115 20 0 8
   42] button 255 300 2104 2103 1 0 5
   43] croppedtext 270 310 115 20 0 9
   44] button 255 315 2104 2103 1 0 6
   45] croppedtext 270 325 115 20 0 10
   46] button 255 330 2104 2103 1 0 7
   47] croppedtext 270 340 115 20 0 11
   48] button 255 345 2104 2103 1 0 8
   49] croppedtext 270 355 115 20 0 12
   50] button 255 360 2104 2103 1 0 9
   51] croppedtext 430 250 115 20 0 13
   52] button 415 255 2104 2103 1 0 10
   53] croppedtext 430 265 115 20 0 14
   54] button 415 270 2104 2103 1 0 11
   55] croppedtext 430 280 115 20 0 15
   56] button 415 285 2104 2103 1 0 12
   57] croppedtext 430 295 115 20 0 16
   58] button 415 300 2104 2103 1 0 13
   59] croppedtext 430 310 115 20 0 17
   60] button 415 315 2104 2103 1 0 14
   61] croppedtext 430 325 115 20 0 18
   62] button 415 330 2104 2103 1 0 15
   63] croppedtext 430 340 115 20 0 19
   64] button 415 345 2104 2103 1 0 16
   65] croppedtext 430 355 115 20 0 20
   66] button 415 360 2104 2103 1 0 17
   67] button 518 204 2206 2206 0 2 0
   68] page 2
   69] button 250 204 2205 2205 0 1 0
   70] croppedtext 290 205 115 20 0 21
   71] croppedtext 270 250 115 20 0 22
   72] button 255 255 2104 2103 2 0 2
   73] croppedtext 260 275 115 20 0 23
   74] croppedtext 290 304 115 20 0 24
   75] button 260 305 4005 4006 2 0 52
   76] button 260 330 2271 2271 2 0 20
   77] button 330 330 2291 2291 2 0 36
   78] croppedtext 430 205 115 20 0 25
   79] croppedtext 430 250 115 20 0 26
   80] button 415 255 2104 2103 2 0 3
   81] croppedtext 430 275 115 20 0 27
   82] croppedtext 460 304 115 20 0 28
   83] button 430 305 4005 4006 2 0 53
   84] button 430 330 2271 2271 2 0 21
   85] button 500 330 2291 2291 2 0 37
   86] button 518 204 2206 2206 0 3 0
   87] page 3
   88] button 250 204 2205 2205 0 2 0
   89] croppedtext 290 205 115 20 0 29
   90] croppedtext 270 250 115 20 0 30
   91] button 255 255 2104 2103 3 0 4
   92] croppedtext 260 275 115 20 0 31
   93] croppedtext 290 304 115 20 0 32
   94] button 260 305 4005 4006 3 0 54
   95] button 260 330 2271 2271 3 0 22
   96] button 330 330 2291 2291 3 0 38
   97] croppedtext 430 205 115 20 0 33
   98] croppedtext 430 250 115 20 0 34
   99] button 415 255 2104 2103 3 0 5
  100] croppedtext 430 275 115 20 0 35
  101] croppedtext 460 304 115 20 0 36
  102] button 430 305 4005 4006 3 0 55
  103] button 430 330 2271 2271 3 0 23
  104] button 500 330 2291 2291 3 0 39
  105] button 518 204 2206 2206 0 4 0
  106] page 4
  107] button 250 204 2205 2205 0 3 0
  108] croppedtext 290 205 115 20 0 37
  109] croppedtext 270 250 115 20 0 38
  110] button 255 255 2104 2103 4 0 6
  111] croppedtext 260 275 115 20 0 39
  112] croppedtext 290 304 115 20 0 40
  113] button 260 305 4005 4006 4 0 56
  114] button 260 330 2271 2271 4 0 24
  115] button 330 330 2291 2291 4 0 40
  116] croppedtext 430 205 115 20 0 41
  117] croppedtext 430 250 115 20 0 42
  118] button 415 255 2104 2103 4 0 7
  119] croppedtext 430 275 115 20 0 43
  120] croppedtext 460 304 115 20 0 44
  121] button 430 305 4005 4006 4 0 57
  122] button 430 330 2271 2271 4 0 25
  123] button 500 330 2291 2291 4 0 41
  124] button 518 204 2206 2206 0 5 0
  125] page 5
  126] button 250 204 2205 2205 0 4 0
  127] croppedtext 290 205 115 20 0 45
  128] croppedtext 270 250 115 20 0 46
  129] button 255 255 2104 2103 5 0 8
  130] croppedtext 260 275 115 20 0 47
  131] croppedtext 290 304 115 20 0 48
  132] button 260 305 4005 4006 5 0 58
  133] button 260 330 2271 2271 5 0 26
  134] button 330 330 2291 2291 5 0 42
  135] croppedtext 430 205 115 20 0 49
  136] croppedtext 430 250 115 20 0 50
  137] button 415 255 2104 2103 5 0 9
  138] croppedtext 430 275 115 20 0 51
  139] croppedtext 460 304 115 20 0 52
  140] button 430 305 4005 4006 5 0 59
  141] button 430 330 2271 2271 5 0 27
  142] button 500 330 2291 2291 5 0 43
  143] button 518 204 2206 2206 0 6 0
  144] page 6
  145] button 250 204 2205 2205 0 5 0
  146] croppedtext 290 205 115 20 0 53
  147] croppedtext 270 250 115 20 0 54
  148] button 255 255 2104 2103 6 0 10
  149] croppedtext 260 275 115 20 0 55
  150] croppedtext 290 304 115 20 0 56
  151] button 260 305 4005 4006 6 0 60
  152] button 260 330 2271 2271 6 0 28
  153] button 330 330 2291 2291 6 0 44
  154] croppedtext 430 205 115 20 0 57
  155] croppedtext 430 250 115 20 0
  156] button 415 255 2104 2103 6 11 0
  157] croppedtext 430 275 115 20 0 58
  158] croppedtext 460 304 115 20 0 59
  159] button 430 305 4005 4006 6 0 61
  160] button 430 330 2271 2271 6 0 29
  161] button 500 330 2291 2291 6 0 45
  162] button 518 204 2206 2206 0 7 0
  163] page 7
  164] button 250 204 2205 2205 0 6 0
  165] croppedtext 290 205 115 20 0 60
  166] croppedtext 270 250 115 20 0 61
  167] button 255 255 2104 2103 7 0 12
  168] croppedtext 260 275 115 20 0 62
  169] croppedtext 290 304 115 20 0 63
  170] button 260 305 4005 4006 7 0 62
  171] button 260 330 2271 2271 7 0 30
  172] button 330 330 2291 2291 7 0 46
  173] croppedtext 430 205 115 20 0 64
  174] croppedtext 430 250 115 20 0 65
  175] button 415 255 2104 2103 7 0 13
  176] croppedtext 430 275 115 20 0 66
  177] croppedtext 460 304 115 20 0 67
  178] button 430 305 4005 4006 7 0 63
  179] button 430 330 2271 2271 7 0 31
  180] button 500 330 2291 2291 7 0 47
  181] button 518 204 2206 2206 0 8 0
  182] page 8
  183] button 250 204 2205 2205 0 7 0
  184] croppedtext 290 205 115 20 0 68
  185] croppedtext 270 250 115 20 0 69
  186] button 255 255 2104 2103 8 0 14
  187] croppedtext 260 275 115 20 0 70
  188] croppedtext 290 304 115 20 0 71
  189] button 260 305 4005 4006 8 0 64
  190] button 260 330 2271 2271 8 0 32
  191] button 330 330 2291 2291 8 0 48
  192] croppedtext 430 205 115 20 0 72
  193] croppedtext 430 250 115 20 0 73
  194] button 415 255 2104 2103 8 0 15
  195] croppedtext 430 275 115 20 0 74
  196] croppedtext 460 304 115 20 0 75
  197] button 430 305 4005 4006 8 0 65
  198] button 430 330 2271 2271 8 0 33
  199] button 500 330 2291 2291 8 0 49
  200] button 518 204 2206 2206 0 9 0
  201] page 9
  202] button 250 204 2205 2205 0 8 0
  203] croppedtext 290 205 115 20 0 76
  204] croppedtext 270 250 115 20 0 77
  205] button 255 255 2104 2103 9 0 16
  206] croppedtext 260 275 115 20 0 78
  207] croppedtext 290 304 115 20 0 79
  208] button 260 305 4005 4006 9 0 66
  209] button 260 330 2271 2271 9 0 34
  210] button 330 330 2291 2291 9 0 50
  211] croppedtext 430 205 115 20 0 80
  212] croppedtext 430 250 115 20 0 81
  213] button 415 255 2104 2103 9 0 17
  214] croppedtext 430 275 115 20 0 82
  215] croppedtext 460 304 115 20 0 83
  216] button 430 305 4005 4006 9 0 67
  217] button 430 330 2271 2271 9 0 35
  218] button 500 330 2291 2291 9 0 51
Text: ____________
    0] Charges:
    1] 5
    2] Max Charges:
    3] 50
    4] Rename
    5] Britain
    6] Vesper Territory
    7] Vesper Territory
    8] Vesper Territory
    9] Vesper Territory
   10] Vesper Territory
   11] Vesper Territory
   12] Vesper Territory
   13] Vesper Territory
   14] Vesper Territory
   15] Vesper Territory
   16] Vesper Territory
   17] Vesper Territory
   18] Vesper Territory
   19] Vesper Territory
   20] Vesper Territory
   21] Britain
   22] Britain
   23] 1417,1696
   24] drop Britain
   25] Vesper Territory
   26] Vesper Territory
   27] 3048,672
   28] drop Vesper Territory
   29] drop Vesper Territory
   30] drop Vesper Territory
   31] drop Vesper Territory
   32] drop
   33] drop
   34] drop
   35] drop
   36] drop
   37] drop
   38] drop
   39] drop
   40] drop
   41] drop
   42] drop
   43] drop
   44] drop
   45] drop
   46] drop
   47] drop
   48] drop
   49] drop
   50] drop
   51] drop
   52] drop
   53] drop
   54] drop
   55] drop
   56] drop
   57] drop
   58] drop
   59] drop
   60] drop
   61] drop
   62] drop
   63] drop
   64] drop
   65] drop
   66] drop
   67] drop
   68] drop
   69] drop
   70] drop
   71] drop
   72] drop
   73] drop
   74] drop
   75] drop
   76] drop
   77] drop
   78] drop
   79] drop
   80] drop
   81] drop
   82] drop
   83] drop
Juicy Fruit
Posts: 820
Joined: 2011-06-11 19:54:23

Re: recall by gump button

Post by Juicy Fruit »

If you use injection 1401.25:
See block "Buttons: ________"
There are collected all gump buttons: № [Index] ImageData X:Y
We are need "Index"

page 2
29 [ 52] image=0x0FA6 at 260:305


Script call waitgump trap, and click gump button when gump with exist button was received

Code: Select all

sub RenubookRecall()
   uo.waitgump('52') #trap for click gump button on 2 page with index=52 at X=260, Y=305
end sub
Mazer
Posts: 125
Joined: 2007-11-13 00:39:14

Re: recall by gump button

Post by Mazer »

i was using 1401.17 but its ok. Now updated to 1401.25. everything is ok tnx.
Mazer
Posts: 125
Joined: 2007-11-13 00:39:14

Re: recall by gump button

Post by Mazer »

how do i use gump witch takes to another gump ?

Code: Select all

UO.WaitGump('07')
UO.UseType('0x13E3')
UO.WaitGump('22')


ok, sorry just found by my self

Code: Select all

UO.WaitGump('07','22') #bronze
UO.UseType('0x13E3')
Post Reply