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

Can't use WaitGump

тут можно задать вопрос по скриптингу
Post Reply
caiovlp
Posts: 5
Joined: 20.12.2006 23:55

Can't use WaitGump

Post by caiovlp »

i tried everything... i tried even translate a lot of stuff that was in russian but didnt help...

when i use a runebook, opens a gump... then with ,infogump (yoko's) i get that...

12] utton 105 160 2362 2361 1 0

this is the button that i wanna press...
i tried:
tmp1 := FindType($0EFA, backpack);
WaitGump( '12' ); // tried '0', '2362', '2361', '10', '1'
UseObject(tmp1);

how do i get that id?

tks a lot
Miralex
Developer
Developer
Posts: 656
Joined: 11.03.2005 19:12
Contact:

Post by Miralex »

Using Stealth (RC1) or (RC2)?
(Some problems with gumps fixed in RC2 version ...)

WaitGump('0') is rightly, because last value always is Button ID. :wink:
caiovlp
Posts: 5
Joined: 20.12.2006 23:55

Post by caiovlp »

Miralex wrote:Using Stealth (RC1) or (RC2)?
(Some problems with gumps fixed in RC2 version ...)

WaitGump('0') is rightly, because last value always is Button ID. :wink:
didn't work man...
mine it is RC1...

i'll try with RC2 :P
caiovlp
Posts: 5
Joined: 20.12.2006 23:55

Post by caiovlp »

didnt work with RC2 either...

you said it is the last number, right? but i have this:

Code: Select all

   12] utton 105 160 2362 2361 1 0 
   13] utton 125 160 2362 2361 1 0 1
   14] roppedtext 145 155 100 20 1152 
   15] utton 260 160 2362 2361 1 0 2
   16] utton 105 180 2362 2361 1 0 
   17] utton 125 180 2362 2361 1 0 1
how he would differ from 12 to 16 and 13 to 17 since they have the same ID?
Edred
Moderator
Moderator
Posts: 559
Joined: 28.03.2006 21:29

Post by Edred »

You must:

1 step: Use gump in normal client with injection and CLICK to button what you need!

2 step: Type ,infogump command in client

3 step: Check text box and find "reply" section:

4 step: Get code of button from [...].

For example:

Code: Select all

Reply: ___________
 [0005] primary reply
 Checks&Radios (0)
 Entryes (2)
  [0064] 1
  [00C8] 1

Code: Select all

WaitGump('0005');
caiovlp
Posts: 5
Joined: 20.12.2006 23:55

Post by caiovlp »

With RC2 it works for me, tks a lot for the help :)
Post Reply