Yoko

All sides of Injection
It is currently 2025-12-19 15:59:50

All times are UTC+02:00




Post new topic  Reply to topic  [ 15 posts ] 
Author Message
PostPosted: 2006-05-16 01:21:54 
Offline

Joined: 2004-07-20 00:14:10
Posts: 45
How can i create a macro, to click in a gump button?

___infogump_______
serial 0x4000f741
gumpid 0x0000041e
X 0
Y 0
1444 packet size
0 reply packet size
Buttons: ________
Checks&Radios: __
Entryes: ________
All commands: ____
1] esizepic 58 5 9350 550 40
2] umppic 66 14 552
3] ext 65 10 841
4] ext 470 15 1023
5] ext 491 31 1023
6] ext 479 48 1023
7] ext 180 157 2
8] ext 470 82 0
9] utton 452 87 2103 2104 1 0
10] ext 253 55 2
11] ext 470 102 0
12] utton 452 107 2103 2104 1 0
13] ext 282 87 2
14] ext 470 122 0
15] ext 107 102 2 1
16] ext 470 142 0 1
17] ext 117 209 2 1
18] ext 470 162 0 1
19] ext 161 348 2 1
20] ext 470 182 0 1
21] ext 212 267 2 1
22] ext 470 202 0 1
23] ext 272 209 37 1
24] ext 470 222 0 1
25] ext 333 254 2 2
26] ext 470 242 0 2
27] ext 230 122 37 2
28] ext 470 262 0 2
29] utton 452 267 2103 2104 1 0 1
30] ext 285 327 37 2
31] ext 470 282 0 2
32] utton 452 287 2103 2104 1 0 1
33] ext 338 122 2 2
34] ext 470 302 0 2
35] ext 338 209 2 2
36] ext 470 322 0 2
37] ext 400 118 2 3
38] ext 470 342 0 3
39] ext 368 53 846 3
40] ext 470 362 0 3
41] ext 470 382 50 3
42] utton 452 387 2103 2104 1 0 1
Text: ____________
0]
1]
2]
3]
4] 1
5] 1-Britain
6] 2
7] 2-Minoc
8] 3
9] 3-Vesper
10] 4
11] 4-Yew
12] 5
13] 5-Skara Brae
14] 6
15] 6-Jhelom
16] 7
17] 7-Trinsic
18] 8
19] 8-Buccaneer's Den
20] 9
21] 9-Occlo
22] 10
23] 10-Cove
24] 11
25] 11-Serpent's Hold
26] 12
27] 12-Nujel'm
28] 13
29] 13-Magincia
30] 14
31] 14-Moonglow
32] 15
33] 15-Ice Isle
34] 16-Commerce Room


How can i make a script, to click on the last button 42, the last one?
i tryed ,ongump 0x4000f741 0x0000041e (42
but i didnt work.


sincerely
Paul.


Top
   
 Post subject:
PostPosted: 2006-05-16 12:25:11 
Offline

Joined: 2004-07-20 00:14:10
Posts: 45
someone please


Top
   
 Post subject:
PostPosted: 2006-05-16 17:43:44 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
paulinho4life wrote:
someone please


In game click on you button in gump, then type in client: ,infogump, then post ALL text in forum. Im try help


Top
   
 Post subject:
PostPosted: 2006-05-18 21:07:47 
Offline

Joined: 2004-07-20 00:14:10
Posts: 45
_infogump_______
serial 0x4000f741
gumpid 0x0000044b
X 0
Y 0
1444 packet size
23 reply packet size
Buttons: ________
Checks&Radios: __
Entryes: ________
All commands: ____
1] esizepic 58 5 9350 550 40
2] umppic 66 14 552
3] ext 65 10 841
4] ext 470 15 1023
5] ext 491 31 1023
6] ext 479 48 1023
7] ext 180 157 2
8] ext 470 82 0
9] utton 452 87 2103 2104 1 0
10] ext 253 55 2
11] ext 470 102 0
12] utton 452 107 2103 2104 1 0
13] ext 282 87 2
14] ext 470 122 0
15] ext 107 102 2 1
16] ext 470 142 0 1
17] ext 117 209 2 1
18] ext 470 162 0 1
19] ext 161 348 2 1
20] ext 470 182 0 1
21] ext 212 267 2 1
22] ext 470 202 0 1
23] ext 272 209 37 1
24] ext 470 222 0 1
25] ext 333 254 2 2
26] ext 470 242 0 2
27] ext 230 122 37 2
28] ext 470 262 0 2
29] utton 452 267 2103 2104 1 0 1
30] ext 285 327 37 2
31] ext 470 282 0 2
32] utton 452 287 2103 2104 1 0 1
33] ext 338 122 2 2
34] ext 470 302 0 2
35] ext 338 209 2 2
36] ext 470 322 0 2
37] ext 400 118 2 3
38] ext 470 342 0 3
39] ext 368 53 846 3
40] ext 470 362 0 3
41] ext 470 382 50 3
42] utton 452 387 2103 2104 1 0 1
Text: ____________
0] By Apocalipse
1] Escolha a cidade
2] para onde
3] deseja viajar:
4] 1
5] 1-Britain
6] 2
7] 2-Minoc
8] 3
9] 3-Vesper
10] 4
11] 4-Yew
12] 5
13] 5-Skara Brae
14] 6
15] 6-Jhelom
16] 7
17] 7-Trinsic
18] 8
19] 8-Buccaneer's Den
20] 9
21] 9-Occlo
22] 10
23] 10-Cove
24] 11
25] 11-Serpent's Hold
26] 12
27] 12-Nujel'm
28] 13
29] 13-Magincia
30] 14
31] 14-Moonglow
32] 15
33] 15-Ice Isle
34] 16-Commerce Room
Reply: ___________
[0010] primary reply
Checks&Radios (0)
Entryes (0)


Top
   
 Post subject:
PostPosted: 2006-05-18 22:14:11 
Offline

Joined: 2004-07-20 00:14:10
Posts: 45
Thats it


Top
   
 Post subject:
PostPosted: 2006-05-18 23:05:55 
Offline
User avatar

Joined: 2005-07-10 21:53:05
Posts: 457
[0010] (HEX) = 16 (DEC)

Code:
sub click_button()
   UO.Recall(MyObject, 16)
endsub


or

Code:
,recall MyObject 16


Top
   
 Post subject:
PostPosted: 2006-05-18 23:33:15 
Offline

Joined: 2004-07-20 00:14:10
Posts: 45
it didnt work.. thats no a recall book, its a travel STONE. a Gump.
invalid objetic.


Top
   
 Post subject:
PostPosted: 2006-05-19 00:25:42 
Offline
User avatar

Joined: 2005-07-10 21:53:05
Posts: 457
[0010] (HEX) = 16 (DEC)

Code:
sub click_button()
   UO.Recall(serial_Travel_STONE, 16)
endsub


or

Code:
,recall serial_Travel_STONE 16


Top
   
 Post subject:
PostPosted: 2006-05-19 01:54:43 
Offline

Joined: 2004-07-20 00:14:10
Posts: 45
omi4 i tryed ,recall 0x4000f741 16 and it works only when i click at the stone.

But what im trying to do is to click at the stone, and leave the gump ate my screen and then hit the macro to any button of the gump only when i need it.

could you help me in that ?


Top
   
 Post subject:
PostPosted: 2006-05-19 09:50:22 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
paulinho4life wrote:
omi4 i tryed ,recall 0x4000f741 16 and it works only when i click at the stone.

But what im trying to do is to click at the stone, and leave the gump ate my screen and then hit the macro to any button of the gump only when i need it.

could you help me in that ?


Try this:
Code:
sub run()
VAR stone=' ' #TYPE of the stone, NOT ID

UO.Set('finddistance','3')

UO.FindType(stone, '-1', 'ground')
If UO.FindCount() > 0 then
UO.Exec('recall finditem 16')
wait(1000)
else
UO.Print('No Stone Found')
endif
end sub


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

Joined: 2004-07-20 00:14:10
Posts: 45
Cooper... my english is bad but i will try to explain to you.



I can click at the stone, and leave the gump opened at my screen... and then i can go to another place far from the stone and leave the gump at the top of my screen...

i want to create a macro, to press the gump button whenever i need it. Like when im at the dungeon killing monsters os pvping...

sincerely Paul,
.


Top
   
 Post subject:
PostPosted: 2006-05-20 07:21:14 
Offline
Expert!
User avatar

Joined: 2006-02-07 08:51:40
Posts: 1348
Location: г. Старый Оскол
paulinho4life wrote:
Cooper... my english is bad but i will try to explain to you.



I can click at the stone, and leave the gump opened at my screen... and then i can go to another place far from the stone and leave the gump at the top of my screen...

i want to create a macro, to press the gump button whenever i need it. Like when im at the dungeon killing monsters os pvping...

sincerely Paul,
.


Then only coords click, like:
Code:
UO.LClick(' ',' ') #Coords on screen to click


Top
   
 Post subject:
PostPosted: 2006-05-20 14:43:25 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
paulinho4life wrote:
I can click at the stone, and leave the gump opened at my screen... and then i can go to another place far from the stone and leave the gump at the top of my screen...

i want to create a macro, to press the gump button whenever i need it. Like when im at the dungeon killing monsters os pvping...


Do you want open gump in another place (not near travelstone)? This is impossible. Injection cannot open gump, injection send packet about gump to server, server control your distance to tralvelstone and send to client packet about gump.

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


Top
   
 Post subject:
PostPosted: 2006-05-20 23:43:48 
Offline

Joined: 2004-07-20 00:14:10
Posts: 45
how can i see the cords?

thanks everybody..


Top
   
 Post subject:
PostPosted: 2006-05-21 01:07:17 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Injection --> Scripts --> Edit current script --> Pick coord

_________________
Ни один скрипт не работает? Пора обновить Инжект...

Все работает, но хочется большего? Пора переходить на стелс...


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

All times are UTC+02:00


Who is online

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