Forum in READ ONLY mode! All questions and discussions on Discord official server, invite link: https://discord.gg/VxsGzJ7

GUMP

Ask for help
Post Reply
canabisman
Neophyte
Neophyte
Posts: 22
Joined: 04.09.2008 5:38

GUMP

Post by canabisman »

Hello all, im here to request you guys a little help here...

Need to make a procedure to use the runebook and then click on the gump, what i have to do?

Runebook * Info * : ID: $400949E1 Name: NoName Type: $0EFA Color: $0482


here is what i received from stealth when i opened the runebook and typed ,infogump

Code: Select all

Serial: 400949E1
GumpID: 047B
X: 0091
Y: 0091
Pages: 2
Gump Options:

GumpPics: X  Y  ID  Hue  Page  ElemNum
GumpPic: 0  0  2200  0  0  0
GumpPic: 25  30  57  0  0  1
GumpPic: 55  30  58  0  0  2
GumpPic: 70  30  58  0  0  3
GumpPic: 85  30  58  0  0  4
GumpPic: 100  30  58  0  0  5
GumpPic: 115  30  58  0  0  6
GumpPic: 130  30  59  0  0  7
GumpPic: 185  30  57  0  0  8
GumpPic: 215  30  58  0  0  9
GumpPic: 230  30  58  0  0  10
GumpPic: 245  30  58  0  0  11
GumpPic: 260  30  58  0  0  12
GumpPic: 275  30  58  0  0  13
GumpPic: 290  30  59  0  0  14

HTMLGump: X   Y   Width   Height   TextID   Background   scrollbar   Page   ElemNum
0   HTMLGump: 50  10  95  20  0  0  0  0  16

CroppedTexts: X   Y   Width   Height   Color   Text_ID   Page   ElemNum
0   CroppedText: 52  45  80  20  0  12  0  30
1   CroppedText: 52  60  80  20  0  13  0  35
2   CroppedText: 52  75  80  20  0  14  0  40
3   CroppedText: 52  90  80  20  0  15  0  45
4   CroppedText: 52  105  80  20  0  16  0  50
5   CroppedText: 52  120  80  20  0  17  0  55
6   CroppedText: 52  135  80  20  0  18  0  60
7   CroppedText: 52  150  80  20  0  19  0  65
8   CroppedText: 212  45  80  20  0  20  0  70
9   CroppedText: 212  60  80  20  0  21  0  75
10   CroppedText: 212  75  80  20  0  22  0  80
11   CroppedText: 212  90  80  20  0  23  0  85
12   CroppedText: 212  105  80  20  0  24  0  90
13   CroppedText: 212  120  80  20  0  25  0  95
14   CroppedText: 212  135  80  20  0  26  0  100
15   CroppedText: 212  150  80  20  0  27  0  105

GumpTexts: X   Y   Color   Text_ID   Page   ElemNum
0   GumpText: 208  174  1000  1  0  17
1   GumpText: 43  165  0  2  0  18
2   GumpText: 46  170  0  3  0  19
3   GumpText: 137  165  0  4  0  20
4   GumpText: 82  170  0  5  0  21
5   GumpText: 33  165  0  6  0  22
6   GumpText: 33  178  0  7  0  23
7   GumpText: 36  184  0  8  0  24
8   GumpText: 147  165  0  9  0  25
9   GumpText: 147  178  0  10  0  26
10   GumpText: 117  184  0  11  0  27
11   GumpText: 220  10  1000  28  1  110
12   GumpText: 231  10  1000  29  2  113

Text Lines:
<CENTER>
Dimension Shard
|
Gate
|
Renomear
|
|
Recall
|
|
Tirar
Casa
MinocPonte
BritCima



Inserir Runa
Descricao

GumpButtons: X   Y   Released_ID  Pressed_ID   Quit   Page_ID   Return_value   Page   ElemNum
0   GumpButton: 294  5  2206  2206  1  0  1002  0  15
1   GumpButton: 30  50  2103  2104  1  0  1  0  28
2   GumpButton: 40  50  2103  2104  1  0  33  0  29
3   GumpButton: 134  50  2103  2104  1  0  101  0  31
4   GumpButton: 144  50  2103  2104  1  0  201  0  32
5   GumpButton: 30  65  2103  2104  1  0  2  0  33
6   GumpButton: 40  65  2103  2104  1  0  34  0  34
7   GumpButton: 134  65  2103  2104  1  0  102  0  36
8   GumpButton: 144  65  2103  2104  1  0  202  0  37
9   GumpButton: 30  80  2103  2104  1  0  3  0  38
10   GumpButton: 40  80  2103  2104  1  0  35  0  39
11   GumpButton: 134  80  2103  2104  1  0  103  0  41
12   GumpButton: 144  80  2103  2104  1  0  203  0  42
13   GumpButton: 30  95  2103  2104  0  0  4  0  43
14   GumpButton: 40  95  2103  2104  0  0  36  0  44
15   GumpButton: 134  95  2103  2104  0  0  104  0  46
16   GumpButton: 144  95  2103  2104  0  0  204  0  47
17   GumpButton: 30  110  2103  2104  0  0  5  0  48
18   GumpButton: 40  110  2103  2104  0  0  37  0  49
19   GumpButton: 134  110  2103  2104  0  0  105  0  51
20   GumpButton: 144  110  2103  2104  0  0  205  0  52
21   GumpButton: 30  125  2103  2104  0  0  6  0  53
22   GumpButton: 40  125  2103  2104  0  0  38  0  54
23   GumpButton: 134  125  2103  2104  0  0  106  0  56
24   GumpButton: 144  125  2103  2104  0  0  206  0  57
25   GumpButton: 30  140  2103  2104  0  0  7  0  58
26   GumpButton: 40  140  2103  2104  0  0  39  0  59
27   GumpButton: 134  140  2103  2104  0  0  107  0  61
28   GumpButton: 144  140  2103  2104  0  0  207  0  62
29   GumpButton: 30  155  2103  2104  0  0  8  0  63
30   GumpButton: 40  155  2103  2104  0  0  40  0  64
31   GumpButton: 134  155  2103  2104  0  0  108  0  66
32   GumpButton: 144  155  2103  2104  0  0  208  0  67
33   GumpButton: 190  50  2103  2104  0  0  9  0  68
34   GumpButton: 200  50  2103  2104  0  0  41  0  69
35   GumpButton: 294  50  2103  2104  0  0  109  0  71
36   GumpButton: 304  50  2103  2104  0  0  209  0  72
37   GumpButton: 190  65  2103  2104  0  0  10  0  73
38   GumpButton: 200  65  2103  2104  0  0  42  0  74
39   GumpButton: 294  65  2103  2104  0  0  110  0  76
40   GumpButton: 304  65  2103  2104  0  0  210  0  77
41   GumpButton: 190  80  2103  2104  0  0  11  0  78
42   GumpButton: 200  80  2103  2104  0  0  43  0  79
43   GumpButton: 294  80  2103  2104  0  0  111  0  81
44   GumpButton: 304  80  2103  2104  0  0  211  0  82
45   GumpButton: 190  95  2103  2104  0  0  12  0  83
46   GumpButton: 200  95  2103  2104  0  0  44  0  84
47   GumpButton: 294  95  2103  2104  0  0  112  0  86
48   GumpButton: 304  95  2103  2104  0  0  212  0  87
49   GumpButton: 190  110  2103  2104  0  0  13  0  88
50   GumpButton: 200  110  2103  2104  0  0  45  0  89
51   GumpButton: 294  110  2103  2104  0  0  113  0  91
52   GumpButton: 304  110  2103  2104  0  0  213  0  92
53   GumpButton: 190  125  2103  2104  0  0  14  0  93
54   GumpButton: 200  125  2103  2104  0  0  46  0  94
55   GumpButton: 294  125  2103  2104  0  0  114  0  96
56   GumpButton: 304  125  2103  2104  0  0  214  0  97
57   GumpButton: 190  140  2103  2104  0  0  15  0  98
58   GumpButton: 200  140  2103  2104  0  0  47  0  99
59   GumpButton: 294  140  2103  2104  0  0  115  0  101
60   GumpButton: 304  140  2103  2104  0  0  215  0  102
61   GumpButton: 190  155  2103  2104  0  0  16  0  103
62   GumpButton: 200  155  2103  2104  0  0  48  0  104
63   GumpButton: 294  155  2103  2104  0  0  116  0  106
64   GumpButton: 304  155  2103  2104  0  0  216  0  107
65   GumpButton: 200  12  5411  5411  1  0  1000  1  109
66   GumpButton: 203  6  2472  2473  1  0  1003  2  112

Previous gump reply:
  Button id: 1
* Info * : ID: $400949E1 Name: NoName Type: $0EFA Color: $0482 
* Info * : Quantity: 1 X: 65 Y: 65 Z: 0
* Info * : Tooltip: 
* Info * : ID: $400949E1 Name: NoName Type: $0EFA Color: $0482 
* Info * : Quantity: 1 X: 65 Y: 65 Z: 0
* Info * : Tooltip: 




Here is the image and where i want to click on, thank you. ("casa") gump


Image


Thank you!
CFA
Developer
Developer
Posts: 492
Joined: 20.04.2006 6:03
Contact:

Re: GUMP

Post by CFA »

Previous gump reply:
Button id: 1
to open runebook use UseObject(rune_book_id);
to click on button in runebook use WaitGump with desired code.
"Button id" in ,infogmp output is the desired number button.
mixers
Neophyte
Neophyte
Posts: 49
Joined: 03.10.2013 14:11

Re: GUMP

Post by mixers »

So where is the GumpIndex and Value。
shinma
Expert
Expert
Posts: 505
Joined: 28.04.2011 12:05

Re: GUMP

Post by shinma »

in game - click on your teleport button, and after enter commant ,infogump. in this info last end button number. or use razor+save makros, him save id your button.

Use finde on WaitGump link in my signature.
--->>>ПОИСК ПО ФОРУМУ, НАЧНИ С НЕГО!!!<<<---
--->>>Search the forum, start with him!!!<<<---
95% Ваших вопросов уже кем-то написаны и решены.
User avatar
Vizit0r
Developer
Developer
Posts: 3958
Joined: 24.03.2005 17:05
Contact:

Re: GUMP

Post by Vizit0r »

very simple, really. gump absolutely without random values and random positions.

Code: Select all

GumpButtons: X   Y   Released_ID  Pressed_ID   Quit   Page_ID   Return_value   Page   ElemNum
0   GumpButton: 294  5  2206  2206  1  0  1002  0  15
1   GumpButton: 30  50  2103  2104  1  0  1  0  28
2   GumpButton: 40  50  2103  2104  1  0  33  0  29
3   GumpButton: 134  50  2103  2104  1  0  101  0  31
4   GumpButton: 144  50  2103  2104  1  0  201  0  32
Y 5 - it's top line button, X 294 - right side (Insert rune button)
4 buttons on second line, Y 50. You need first button from left side, so select button with minimal X. In curr case it's button #1 with X 30.
So, take it's return value = 1 and put it in WaitGump or NumGumpButton.
"Пишите код так, как будто сопровождать его будет склонный к насилию психопат, который знает, где вы живете". (с) Макконнелл, "Совершенный код".
mixers
Neophyte
Neophyte
Posts: 49
Joined: 03.10.2013 14:11

Re: GUMP

Post by mixers »

i still dont know where is gumpindex, now i am used (GetGumpsCount-1),I don't know what that means.
nah nah
Developer
Developer
Posts: 414
Joined: 13.07.2011 11:23
Contact:

Re: GUMP

Post by nah nah »

its a number of received gump, starts at 0
if you have 3 received gumps, their indexes are 0, 1, 2
Post Reply