Yoko

All sides of Injection
It is currently 2018-07-22 23:58:10

All times are UTC+02:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
PostPosted: 2016-02-13 23:47:23 
Offline

Joined: 2013-09-20 02:40:33
Posts: 5
Personal i am looking for an assistant to help me with my macro mining, I need him to teleport over a mine .
thanks



_____infogump_______
injection id 0x22eedc28
serial 0x40025008
gumpid 0x00000454
X 50
Y 50
in client no
2155 packet size
23 reply packet size
Buttons: ________
16 [ 501] image=0x08B1 at 30:177
17 [ 503] image=0x08B2 at 65:177
18 [ 505] image=0x08B3 at 100:177
19 [ 507] image=0x08B4 at 135:177
20 [ 509] image=0x08B5 at 200:177
21 [ 511] image=0x08B6 at 235:177
22 [ 513] image=0x08B7 at 270:177
23 [ 515] image=0x08B8 at 305:177
24 [ 501] image=0x08BC at 296:5
27 [ 1001] image=0x09A8 at 27:5
29 [ 1] image=0x0837 at 30:60
31 [ 2] image=0x0837 at 30:74
33 [ 3] image=0x0837 at 30:88
35 [ 4] image=0x0837 at 30:102
37 [ 5] image=0x0837 at 30:116
39 [ 6] image=0x0837 at 30:130
41 [ 7] image=0x0837 at 30:144
43 [ 8] image=0x0837 at 30:158
45 [ 9] image=0x0837 at 190:60
47 [ 10] image=0x0837 at 190:74
49 [ 11] image=0x0837 at 190:88
51 [ 12] image=0x0837 at 190:102
53 [ 13] image=0x0837 at 190:116
55 [ 1000] image=0x0837 at 190:130
57 [ 1000] image=0x0837 at 190:144
59 [ 1000] image=0x0837 at 190:158
Checks&Radios: __
Entryes: ________
All commands: ____
1] gumppic 0 0 2200
2] gumppic 29 46 57
3] gumppic 49 46 58
4] gumppic 65 46 58
5] gumppic 81 46 58
6] gumppic 97 46 58
7] gumppic 113 46 58
8] gumppic 129 46 59
9] gumppic 189 46 57
10] gumppic 209 46 58
11] gumppic 225 46 58
12] gumppic 241 46 58
13] gumppic 257 46 58
14] gumppic 273 46 58
15] gumppic 289 46 59
16] button 30 177 2225 2225 1 0 501
17] button 65 177 2226 2226 1 0 503
18] button 100 177 2227 2227 1 0 505
19] button 135 177 2228 2228 1 0 507
20] button 200 177 2229 2229 1 0 509
21] button 235 177 2230 2230 1 0 511
22] button 270 177 2231 2231 1 0 513
23] button 305 177 2232 2232 1 0 515
24] button 296 5 2236 2236 1 0 501
25] text 40 36 0 0
26] text 195 36 0 1
27] button 27 5 2472 2473 1 0 1001
28] text 58 13 0 2
29] button 30 60 2103 2104 1 0 1
30] croppedtext 45 55 120 18 0 3
31] button 30 74 2103 2104 1 0 2
32] croppedtext 45 69 120 18 0 4
33] button 30 88 2103 2104 1 0 3
34] croppedtext 45 83 120 18 0 5
35] button 30 102 2103 2104 1 0 4
36] croppedtext 45 97 120 18 0 6
37] button 30 116 2103 2104 1 0 5
38] croppedtext 45 111 120 18 0 7
39] button 30 130 2103 2104 1 0 6
40] croppedtext 45 125 120 18 0 8
41] button 30 144 2103 2104 1 0 7
42] croppedtext 45 139 120 18 0 9
43] button 30 158 2103 2104 1 0 8
44] croppedtext 45 153 120 18 0 10
45] button 190 60 2103 2104 1 0 9
46] croppedtext 205 55 120 18 0 11
47] button 190 74 2103 2104 1 0 10
48] croppedtext 205 69 120 18 0 12
49] button 190 88 2103 2104 1 0 11
50] croppedtext 205 83 120 18 0 13
51] button 190 102 2103 2104 1 0 12
52] croppedtext 205 97 120 18 0 14
53] button 190 116 2103 2104 1 0 13
54] croppedtext 205 111 120 18 0 15
55] button 190 130 2103 2104 1 0 1000
56] croppedtext 205 125 120 18 0 16
57] button 190 144 2103 2104 1 0 1000
58] croppedtext 205 139 120 18 0 17
59] button 190 158 2103 2104 1 0 1000
60] croppedtext 205 153 120 18 0 18
Text: ____________
0] Charges: 10
1] Max Charges: 10
2] Rename book
3] Yew Crypts
4] Hidden Valley
5] Labirinto
6] Ice Dungeon
7] Desert of Compassion
8] Destard Swamps
9] Terathan Keep
10] Balron Fire Dungeon
11] Sak Teb
12] Fire Island
13] Lumber
14] Iron Steed
15] Lumber 2
16] Empty
17] Empty
18] Empty
Reply: ___________
[000B] primary reply
Checks&Radios (0)


Top
   
PostPosted: 2016-02-14 23:13:01 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
Show screenshot Gump, and the name and location(x and y) you want to press the button.

_________________
CodeSweeper


Top
   
PostPosted: 2016-02-20 18:07:25 
Offline

Joined: 2013-09-20 02:40:33
Posts: 5
Incorrect User wrote:
Show screenshot Gump, and the name and location(x and y) you want to press the button.



Image


_____infogump_______
injection id 0x232bc8e8
serial 0x40014785
gumpid 0x00000458
X 50
Y 50
in client yes
2175 packet size
0 reply packet size
Buttons: ________
16 [ 501] image=0x08B1 at 30:177
17 [ 503] image=0x08B2 at 65:177
18 [ 505] image=0x08B3 at 100:177
19 [ 507] image=0x08B4 at 135:177
20 [ 509] image=0x08B5 at 200:177
21 [ 511] image=0x08B6 at 235:177
22 [ 513] image=0x08B7 at 270:177
23 [ 515] image=0x08B8 at 305:177
24 [ 501] image=0x08BC at 296:5
27 [ 1001] image=0x09A8 at 27:5
29 [ 1] image=0x0837 at 30:60
31 [ 2] image=0x0837 at 30:74
33 [ 3] image=0x0837 at 30:88
35 [ 4] image=0x0837 at 30:102
37 [ 5] image=0x0837 at 30:116
39 [ 6] image=0x0837 at 30:130
41 [ 7] image=0x0837 at 30:144
43 [ 8] image=0x0837 at 30:158
45 [ 9] image=0x0837 at 190:60
47 [ 10] image=0x0837 at 190:74
49 [ 11] image=0x0837 at 190:88
51 [ 12] image=0x0837 at 190:102
53 [ 13] image=0x0837 at 190:116
55 [ 14] image=0x0837 at 190:130
57 [ 1000] image=0x0837 at 190:144
59 [ 1000] image=0x0837 at 190:158
Checks&Radios: __
Entryes: ________
All commands: ____
1] gumppic 0 0 2200
2] gumppic 29 46 57
3] gumppic 49 46 58
4] gumppic 65 46 58
5] gumppic 81 46 58
6] gumppic 97 46 58
7] gumppic 113 46 58
8] gumppic 129 46 59
9] gumppic 189 46 57
10] gumppic 209 46 58
11] gumppic 225 46 58
12] gumppic 241 46 58
13] gumppic 257 46 58
14] gumppic 273 46 58
15] gumppic 289 46 59
16] button 30 177 2225 2225 1 0 501
17] button 65 177 2226 2226 1 0 503
18] button 100 177 2227 2227 1 0 505
19] button 135 177 2228 2228 1 0 507
20] button 200 177 2229 2229 1 0 509
21] button 235 177 2230 2230 1 0 511
22] button 270 177 2231 2231 1 0 513
23] button 305 177 2232 2232 1 0 515
24] button 296 5 2236 2236 1 0 501
25] text 40 36 0 0
26] text 195 36 0 1
27] button 27 5 2472 2473 1 0 1001
28] text 58 13 0 2
29] button 30 60 2103 2104 1 0 1
30] croppedtext 45 55 120 18 0 3
31] button 30 74 2103 2104 1 0 2
32] croppedtext 45 69 120 18 0 4
33] button 30 88 2103 2104 1 0 3
34] croppedtext 45 83 120 18 0 5
35] button 30 102 2103 2104 1 0 4
36] croppedtext 45 97 120 18 0 6
37] button 30 116 2103 2104 1 0 5
38] croppedtext 45 111 120 18 0 7
39] button 30 130 2103 2104 1 0 6
40] croppedtext 45 125 120 18 0 8
41] button 30 144 2103 2104 1 0 7
42] croppedtext 45 139 120 18 0 9
43] button 30 158 2103 2104 1 0 8
44] croppedtext 45 153 120 18 0 10
45] button 190 60 2103 2104 1 0 9
46] croppedtext 205 55 120 18 0 11
47] button 190 74 2103 2104 1 0 10
48] croppedtext 205 69 120 18 0 12
49] button 190 88 2103 2104 1 0 11
50] croppedtext 205 83 120 18 0 13
51] button 190 102 2103 2104 1 0 12
52] croppedtext 205 97 120 18 0 14
53] button 190 116 2103 2104 1 0 13
54] croppedtext 205 111 120 18 0 15
55] button 190 130 2103 2104 1 0 14
56] croppedtext 205 125 120 18 0 16
57] button 190 144 2103 2104 1 0 1000
58] croppedtext 205 139 120 18 0 17
59] button 190 158 2103 2104 1 0 1000
60] croppedtext 205 153 120 18 0 18
Text: ____________
0] Charges: 6
1] Max Charges: 10
2] Rename book
3] Minoc Cave 3 82,114
4] Felucca Mina 84,128
5] Covetous Mine 2 84,142
6] Cave 1 86,157
7] Covetous Mine 84,184
8] Britain Territory 84,185
9] Deserto Harpias Minas 84,198
10] MG Lado Deserto 83,213
11] Minas Chapo 245,114
12] MG Yew 243,128
13] MG Yew II 244,144
14] MG Deserto 246,156
15] Mt Kendall 242,168
16] Mt Kendall2 244,183
17] Empty 246,200
18] Empty 243,212



Thanks man for help .


Top
   
PostPosted: 2016-02-20 18:41:12 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
You did not do what I need. Therefore try to press turns all that is. Possible numbers: 1, 2, 3, 4, 5, 6, 7, 8, 501, 503, 505, 507, 509, 511, 513, 515,
Code:
uo.waitgump("Number")
uo.useobject("RunebookID")

_________________
CodeSweeper


Top
   
PostPosted: 2016-02-20 23:27:46 
Offline

Joined: 2013-09-20 02:40:33
Posts: 5
Incorrect User wrote:
You did not do what I need. Therefore try to press turns all that is. Possible numbers: 1, 2, 3, 4, 5, 6, 7, 8, 501, 503, 505, 507, 509, 511, 513, 515,
Code:
uo.waitgump("Number")
uo.useobject("RunebookID")


See if it would. I used this small script that you left and replacing 1-16 he teleported in the order of the runes below


sub teste()
uo.waitgump("16")
uo.useobject("0x40014785")
end sub

1 he teleports to the first mine using the number 1 and the other using the following numbers to the 16 he teleports the last mine


1] Minoc Cave 3 82,114
2] Felucca Mina 84,128
3] Covetous Mine 2 84,142
4] Cave 1 86,157
5] Covetous Mine 84,184
6] Britain Territory 84,185
7] Deserto Harpias Minas 84,198
8] MG Lado Deserto 83,213
9] Minas Chapo 245,114
10] MG Yew 243,128
11] MG Yew II 244,144
12] MG Deserto 246,156
13] Mt Kendall 242,168
14] Mt Kendall2 244,183
15] Empty 246,200
16] Empty 243,212

501 only opens the page 1 ( Minoc Cave 3 and Felucca Mina)
503 only opens the page 2 ( Covetous Mine 2 and Cave 1 )
505 only opens the page 3 ( Covetous Mine and Britain Territory )
507 only opens the page 4 ( Deserto Harpias Minas and MG Lado Deserto )
509 only opens the page 5 (Minas Chapo and MG Yew )
511 only opens the page 6 (MG Yew II and MG Deserto)
513 only opens the page 7 ( Mt Kendall and Mt Kendall2
515 only opens the page 8 ( Empty and Empty )


left side to teleport 109,201
right side to teleport 272,199

would like this where the number it be random? 1 to 16
as I did not know what wanted to put all this information, it is not coincidence that so tell me
I do not know if it would be that you need, sorry for English
thanks


Top
   
PostPosted: 2016-02-20 23:48:02 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
I do not understand what you want to do?

_________________
CodeSweeper


Top
   
PostPosted: 2016-02-20 23:57:31 
Offline

Joined: 2013-09-20 02:40:33
Posts: 5
Incorrect User wrote:
I do not understand what you want to do?



let me see if I can explain, I have a working mining script perfectly however it uses the recall spell to teleport the rune marked as default. however the time to return the ore is 2 hours or 3 hours. so I needed a script he teleport to one of 16 mines put in random order. The script that you left when I replace the numbers 1, 2, 3 .... 16 worked so he only teleport into the mine to put the number, but would like where this: '' uo.waitgump ("here would be random 1 to 16 ") ''.
Example var i = 1 to 16 do not know if it would be so, so would
'Uo.waitgump ("i")' '


Top
   
PostPosted: 2016-02-21 00:16:44 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
Rand can choose the same place. uo.Random also believes from 0, so you need to use a function RandomRange
Code:
sub RandomRange(min, max)
   return min + uo.random(max - min + 1)
end sub

and use it like
Code:
uo.waitgump(RandomRange(1, 16))

_________________
CodeSweeper


Top
   
PostPosted: 2016-02-21 00:56:29 
Offline

Joined: 2013-09-20 02:40:33
Posts: 5
Incorrect User wrote:
Rand can choose the same place. uo.Random also believes from 0, so you need to use a function RandomRange
Code:
sub RandomRange(min, max)
   return min + uo.random(max - min + 1)
end sub

and use it like
Code:
uo.waitgump(RandomRange(1, 16))



i test using this

sub teste()

uo.waitgump(RandomRange(1, 16))
uo.useobject("0x40014785")


end sub


sub RandomRange(min,max)
return min + uo.random(max - min + 1)
end sub

using it he is teleporting to a mine am I enabled verbose logging and verbose menu and it appeared on the screen now when I click on any rune to teleport


Image


I have this script but I do not know how to use

sub RuneBookRecall(n)
var OldX=uo.GetX()
var OldY=uo.GetY()
var Time
repeat
uo.Exec('warmode 0')
uo.UseObject('Runebook')
#CheckLag()
uo.Lclick(135, n*15+55)
#CheckLag()
Time=uo.Timer()
repeat
wait(500)
until OldX<>uo.GetX() or OldY<>uo.GetY() or uo.Dead() or uo.InJournal('needs') or uo.InJournal('fizzles') or Time+200<uo.Timer()
uo.DeleteJournal()
until OldX<>uo.GetX() or OldY<>uo.GetY() or uo.Dead() or uo.InJournal('needs')
end sub


Top
   
PostPosted: 2016-02-21 08:30:53 
Offline

Joined: 2011-05-23 00:33:30
Posts: 949
Code:
sub RuneBookRecall() 
   var OldX=uo.GetX()
   var OldY=uo.GetY()
   var Time
   repeat
      uo.DeleteJournal()
      uo.warmode(0)
      uo.waitgump(RandomRange(1, 16))
      uo.UseObject('Runebook')
      #CheckLag()
      Time=uo.Timer()
      repeat
         wait(100)
      until OldX<>uo.GetX() or OldY<>uo.GetY() or uo.Dead() or uo.InJournal('needs') or uo.InJournal('fizzles') or Time+200<uo.Timer()
   until OldX<>uo.GetX() or OldY<>uo.GetY() or uo.Dead() or uo.InJournal('needs')
end sub

_________________
CodeSweeper


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


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