Code: Select all
print(GetGumpID(GetGumpsCount() - 1))
Probably, but this is just a guess, GumpID is not expecting such a big number as 93A564C3?
Serial: C153
GumpID: 93A564C3
X: 0000
Y: 0000
Pages: 1
Gump Options:
ResizePics: X Y ID Width Height Page ElemNum
0 ResizePic: 10 10 2600 500 135 0 1
XmfHtmlGump: X Y Width Height ClilocID Background scrollbar Page ElemNum ClilocText
0 XmfHtmlGump: 52 35 420 55 1006046 1 1 0 2 You have reward items available. Click 'ok' below to get the selection menu or 'cancel' to be prompted upon your next login.
1 XmfHtmlGump: 95 96 150 35 1006044 0 0 0 4 OK
2 XmfHtmlGump: 320 96 150 35 1006045 0 0 0 6 Cancel
GumpButtons: X Y Released_ID Pressed_ID Quit Page_ID Return_value Page ElemNum
0 GumpButton: 60 95 4005 4007 1 0 1 0 3
1 GumpButton: 285 95 4017 4019 1 0 0 0 5