Yoko

All sides of Injection
It is currently 2025-11-30 08:53:15

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
PostPosted: 2004-10-04 00:23:02 
Offline

Joined: 2004-07-06 07:03:29
Posts: 22
Hail,

Is possible to select the last apeared gump bofore doing an action ?

Like select the gumpo and say "BLA BLA BLA " ?

Coz i need to say how many loops to craft. and only uo.say or print... its make my char say something.
in normal gump it works. but in this one i need to select the box that i will print something.

plz! help ...


Top
   
 Post subject:
PostPosted: 2004-10-04 02:43:47 
Offline

Joined: 2004-07-06 07:03:29
Posts: 22
If its help... i got more technical info:

All commands: ____
1] noclose
2] nomove
3] nodispose
4] page 0
5] resizepic 249 223 5120 280 200
6] text 259 233 45 0
7] text 259 253 45 1
8] text 259 273 45 2
9] text 259 293 45 3
10] text 259 313 45 4
11] text 259 333 45 5
12] text 259 353 45 6
13] gumppic 349 393 2444
14] textentry 359 396 50 25 88 2 7
15] gumppic 251 383 1417
16] text 281 413 88 8
17] button 449 393 2313 2312 1 1109 1

Reply: ___________
[0001] primary reply
Checks&Radios (0)
Entryes (1)
[0002] 7


I need to enter a certai Text in this Text Entry...
In this case 7... but i did it manualy.
i need to automatic enter a number from 1 to 9 in this Text Entry.


Top
   
 Post subject:
PostPosted: 2004-10-06 20:41:50 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
no way in last official version


Top
   
 Post subject:
PostPosted: 2004-10-15 20:51:28 
Offline

Joined: 2004-07-06 07:03:29
Posts: 22
Hail, i got a way to solve the problem in this case. But i dont know the commands for that.

14] textentry [n]359 396[/n] 50 25 88 2 7

thoose 356 and 396 is the entry position in the screen right ?

I need to know how to make the mouse click in thoose coords ( in case uo.lclick( 359,396 ) )


Top
   
 Post subject:
PostPosted: 2004-10-15 23:29:20 
Offline

Joined: 2004-07-06 07:03:29
Posts: 22
ok ive developed a way ... but i dont know if will work ^-^
i need to go to home to test...
here is

--------------------

entry_text = uo.lastgump("text",14)
entry_x = left(entry_text,13)
entry_x = right(entry_x,3)
entry_y = left(entry_text,17)
entry_y = right(entry_y,3)
entry_x = strtomoney(entry_x) + 10
entry_y = strtomoney(entry_y) + 10

uo.lclick(entry_x,entry_y)
uo.say("10")

---------------------

ive detected the position of the text entry, clicked on it ( now its actived and waiting for a text input ), but i dont know if the uo.say("10") will send the text for textentry or to normal text place.


Top
   
 Post subject:
PostPosted: 2004-10-19 00:33:34 
Offline

Joined: 2004-07-06 07:03:29
Posts: 22
Its dont works =(

Yoko, only uo.lastgump(" ",x) argument possible is 'text' ?
injection have other arguments for lastgump ?


Top
   
 Post subject:
PostPosted: 2004-10-19 02:22:32 
Offline

Joined: 2004-07-06 07:03:29
Posts: 22
well... searching in the forums. its all clear now...
really noway in last published version do to what i want..

Yoko, u have plans for gumps action in future ?
and the uo.lastgump function is in last source code version ?


Top
   
 Post subject:
PostPosted: 2004-10-19 12:52:00 
Offline
Site Admin
User avatar

Joined: 2004-04-03 16:49:38
Posts: 1964
"Mr. Fookes, have you a PLAN?
Do i have a PLAN?
Do i have a PLAN?!
Fookes always have a PLAN!!!" (c) russian cartoon


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 8 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