Page 1 of 1

Unrecognised TextEntry

Posted: 28.04.2010 19:22
by Pedr0
Hi,
I'm trying to reply a gump but theres something wrong with the TextEntry.

Stealth GetGumpFullLines :

Code: Select all

Serial: 3338960
GumpID: 1C431A
X: 0000
Y: 0000
Pages: 0
Gump Options:

ResizePics: X   Y   ID   Width   Height   Page
0   ResizePic: 10  450  3500  200  150  0
1   ResizePic: 40  540  3000  150  20  0

GumpTexts: X   Y   Color   Text_ID   Page
0   GumpText: 25  485  0  0  0
1   GumpText: 25  500  0  1  0
2   GumpText: 60  520  0  5  0

Text Lines:
Tentativas: 1
Digite os numeros abaixo:

{ 6, 4, 2, 1 }
{ 5, 2, 2 }
{ 2, 2, 1 }

GumpButtons: X   Y   Released_ID  Pressed_ID   Quit   Page_ID   Return_value   Page
0   GumpButton: 85  570  2130  2129  1  0  2  0
Raw Packet :

Code: Select all

0000: B0 01 81 03 33 89 60 00 1C 43 1A 00 00 00 00 00 00 00 00 00     ....3.`..C..........
0002: CA 7B 20 6E 6F 63 6C 6F 73 65 20 7D 7B 20 72 65 73 69 7A 65     .{.noclose.}{.resize
0004: 70 69 63 20 31 30 20 34 35 30 20 33 35 30 30 20 32 30 30 20     pic.10.450.3500.200.
0006: 31 35 30 20 7D 7B 20 72 65 73 69 7A 65 70 69 63 20 34 30 20     150.}{.resizepic.40.
0008: 35 34 30 20 33 30 30 30 20 31 35 30 20 32 30 20 7D 7B 20 54     540.3000.150.20.}{.T
000A: 65 78 74 45 6E 74 72 79 20 34 30 20 35 34 30 20 31 35 30 20     extEntry.40.540.150.
000C: 32 30 20 39 30 30 20 33 20 32 20 7D 7B 20 62 75 74 74 6F 6E     20.900.3.2.}{.button
000E: 20 38 35 20 35 37 30 20 32 31 33 30 20 32 31 32 39 20 31 20     .85.570.2130.2129.1.
0010: 30 20 32 20 7D 7B 20 74 65 78 74 20 32 35 20 34 38 35 20 30     0.2.}{.text.25.485.0
0012: 20 30 20 7D 7B 20 74 65 78 74 20 32 35 20 35 30 30 20 30 20     .0.}{.text.25.500.0.
0014: 31 20 7D 7B 20 74 65 78 74 20 36 30 20 35 32 30 20 30 20 35     1.}{.text.60.520.0.5
0016: 20 7D 00 00 06 00 0D 00 54 00 65 00 6E 00 74 00 61 00 74 00     .}......T.e.n.t.a.t.
0018: 69 00 76 00 61 00 73 00 3A 00 20 00 31 00 19 00 44 00 69 00     i.v.a.s.:...1...D.i.
001A: 67 00 69 00 74 00 65 00 20 00 6F 00 73 00 20 00 6E 00 75 00     g.i.t.e...o.s...n.u.
001C: 6D 00 65 00 72 00 6F 00 73 00 20 00 61 00 62 00 61 00 69 00     m.e.r.o.s...a.b.a.i.
001E: 78 00 6F 00 3A 00 00 00 0E 00 7B 00 20 00 36 00 2C 00 20 00     x.o.:.....{...6.,...
0020: 34 00 2C 00 20 00 32 00 2C 00 20 00 31 00 20 00 7D 00 0B 00     4.,...2.,...1...}...
0022: 7B 00 20 00 35 00 2C 00 20 00 32 00 2C 00 20 00 32 00 20 00     {...5.,...2.,...2...
0024: 7D 00 0B 00 7B 00 20 00 32 00 2C 00 20 00 32 00 2C 00 20 00     }...{...2.,...2.,...
0026: 31 00 20 00 7D                                                  1...}
The gump (from client) :
Image

TextEntry :

Code: Select all

{ TextEntry 40 540 150 20 900 3 2 }
Any suggestions are greatly appreciated.

Btw this is the same gump from http://stealth.od.ua/forum/viewtopic.php?t=1236

Posted: 28.04.2010 19:43
by Vizit0r
talk to me in icq for test this gump in new stealth, maybe some small bag has been in gump processing in last stealth - i don't remember anythig what i fix

Posted: 30.04.2010 9:54
by Vizit0r
small bug + shard features = hidden textentry :)

fixed.

Posted: 30.04.2010 10:10
by Vizit0r
anti-macro say ok :)

Code: Select all

NumGumpTextEntry(GetGumpsCount-1,2, '644');
NumGumpButton(GetGumpsCount-1,2);
value for textentry i'm looking in infowindow, filled by GetGumpFullLines result. parser for automatization i'll write yourself

Posted: 30.04.2010 19:57
by Pedr0
Thank you very much Vizit0r.
Really quick answer :D