Yoko

All sides of Injection
It is currently 2026-01-24 17:42:22

All times are UTC+02:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: UO.Ongump
PostPosted: 2006-11-05 05:22:28 
Offline

Joined: 2006-09-01 00:12:13
Posts: 11
I've noticed that using this command like this (for example):

UO.Ongump('anygump','(2')

it keep memory of the command and reply to an other successive uo.ongump command (the second in the same script) with the same reply of the FIRST uo.ongump typed line. There's a way to unset the command after use it?
Thanx!


Top
   
 Post subject:
PostPosted: 2006-11-05 12:00:56 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Code:
OnGump command - autochoice buttons/checks/text in gumps 

Variant1a (repeat exact choice in exact gump):
   ,ongump repeat

Variant1b (repeat exact choice in any gump):
   ,ongump superrepeat

Variant2 (general form):
   ,ongump GUMP [CHOICE]
GUMP: identifyes gump, variants:
   <serial>|anyserial <gumpid>|anygump      example: anyserial 0x00112233
   anygump
   lastgump
   lastpos
   pos <x> <y>
   withtext 'text_part_to_seek'    example: withtext 'Blacksmith'
   withcommand 'command_part_to_seek'   example: withcommand 'tilepic 60 295 5181'
CHOICE: identifyes choice you make pressing buttons.
Consist of 3 parts:
1) (serial of) button you press to close gump e.g. 'Ok' (default is first button happend)
   <button_serial>           example: 315
   (button_number            example: (2
   [image_serial             example: [0x01
   lastbutton
2) (serials of) checks and radios enabled on moment of pressing 1)
   checks <ID1> <ID2> ...    example: checks 315 316 0x0102
   checks (num1 (num2 ...    example: checks (1 (3 (8
   lastchecks
   nochecks
3) (texts) what entered in textentry(es) (the same amount as in gump)
   entryes 'txt1' 'txt2' ... example: entryes 'macrocheck'
   lastentryes
   noentryes
So CHOICE have syntax:
   [1) [2)] [3)]]
Examples:
,ongump repeat
,ongump any 0x00001234 (1
,ongump withtext 'Blacksmith' 315 nochecks entryes '10'
,ongump anygump [0x0123 checks (1 316 entryes '10'

_________________
Ни один скрипт не работает? Пора обновить Инжект...
Все работает, но хочется большего? Пора переходить на стелс...


Top
   
 Post subject:
PostPosted: 2006-11-05 14:11:01 
Offline

Joined: 2006-09-01 00:12:13
Posts: 11
Ok, i've already saw that, but i can't see an "unset" parameter for this..


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited