Yoko

All sides of Injection
It is currently 2024-04-18 07:03:12

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: New Anti Macro Gump
PostPosted: 2012-03-07 19:23:36 
Offline
User avatar

Joined: 2006-02-03 18:19:56
Posts: 9
Hello i want to do a Antimacro script, when i get the gump on uo start a .mp3 then i can ear the song and come fast to do the right word, or if can do it automatic.

Here is the Image of Gump:
Image


Here is the ,infogump:
Quote:
_____infogump_______
serial 0x006adaea
gumpid 0x18534021
X 33
Y 52
2487 packet size
0 reply packet size
Buttons: ________
page 0
1 [ 0] image=0x086A at 50:20
2 [ 1] image=0x086A at 35:60
3 [ 2] image=0x086A at 31:100
4 [ 3] image=0x086A at 35:140
5 [ 4] image=0x086A at 22:180
6 [ 5] image=0x086A at 33:220
7 [ 6] image=0x086A at 54:260
8 [ 7] image=0x086A at 36:300
Checks&Radios: __
Entryes: ________
All commands: ____
1] nomove
2] noclose
3] noresize
4] gumppictiled 0 0 300 340 5222
5] text 100 0 33 0
6] button 50 20 2151 2154 1 0 0
7] text 110 23 70 1
8] text 118 24 10 2
9] text 132 27 20 3
10] text 142 24 60 4
11] text 152 26 60 5
12] text 164 25 60 6
13] text 175 29 1452 7
14] text 186 29 100 8
15] text 198 24 1452 9
16] text 208 22 60 9
17] text 217 25 20 3
18] text 230 28 60 4
19] button 35 60 2151 2154 1 0 1
20] text 74 67 100 2
21] text 83 66 1952 10
22] text 93 67 1452 5
23] text 104 67 100 11
24] text 116 69 1452 9
25] text 128 61 20 6
26] text 137 68 60 7
27] text 151 61 60 8
28] text 160 68 20 9
29] text 173 62 1952 9
30] text 184 62 60 3
31] text 192 64 1452 4
32] button 31 100 2151 2154 1 0 2
33] text 72 102 70 1
34] text 83 105 100 2
35] text 98 105 1452 3
36] text 107 105 70 4
37] text 119 106 1452 5
38] text 129 107 1452 6
39] text 141 104 10 7
40] text 152 105 60 8
41] text 163 102 70 9
42] text 173 104 10 9
43] text 184 101 70 3
44] text 196 102 10 4
45] button 35 140 2151 2154 1 0 3
46] text 77 144 60 1
47] text 90 149 1952 2
48] text 99 146 10 3
49] text 109 142 1952 4
50] text 122 145 20 5
51] text 134 143 60 6
52] text 144 142 70 7
53] text 153 141 70 8
54] text 163 148 1452 9
55] text 176 149 10 9
56] text 187 148 20 3
57] text 197 144 60 4
58] button 22 180 2151 2154 1 0 4
59] text 60 187 1952 1
60] text 71 181 60 2
61] text 80 186 60 3
62] text 89 188 100 4
63] text 101 188 70 5
64] text 112 188 20 6
65] text 123 188 1952 7
66] text 133 189 10 8
67] text 147 181 1952 9
68] text 156 186 60 9
69] text 166 189 1952 3
70] text 178 185 10 4
71] button 33 220 2151 2154 1 0 5
72] text 80 227 10 1
73] text 93 225 1952 2
74] text 104 224 100 3
75] text 115 224 1452 4
76] text 125 223 1452 5
77] text 135 223 1952 6
78] text 148 228 20 7
79] text 160 225 20 8
80] text 171 221 10 9
81] text 182 227 10 9
82] text 190 224 1452 3
83] text 201 228 100 4
84] button 54 260 2151 2154 1 0 6
85] text 95 262 60 1
86] text 104 264 20 2
87] text 118 266 1952 3
88] text 129 269 100 4
89] text 136 268 60 5
90] text 149 263 60 6
91] text 158 268 100 7
92] text 170 267 1952 8
93] text 183 265 60 9
94] text 191 261 20 9
95] text 203 264 60 3
96] text 213 261 70 4
97] button 36 300 2151 2154 1 0 7
98] text 96 304 60 1
99] text 106 303 20 2
100] text 120 301 10 3
101] text 129 302 60 4
102] text 138 305 60 5
103] text 149 306 20 6
104] text 161 306 100 7
105] text 175 308 1952 8
106] text 184 305 70 9
107] text 195 303 1452 9
108] text 207 307 10 3
109] text 216 307 1952 4
Text: ____________
0] Anti Macro Gump
1] W
2] R
3] O
4] N
5] G
6]
7] B
8] U
9] T
10] I
11] H


I have try that one but when the gump appears i do the gump and accept the messagebox and 60seconds later do it again and again and again.. and there is no new gump i dont know how to lose the old gump
Code:
sub DAMG()
start:
repeat
wait (2000)
until uo.LastGump ('text') == 'Anti Macro Gump'
UO.Launch("C:\Windows\media\ding.wav")
MessageBox("Anti Macro Gump!")
wait (60000)
goto start
end sub

_________________
Dragon World uo -- This Is SPARTA!!! --


Top
   
 Post subject: Re: New Anti Macro Gump
PostPosted: 2012-03-07 19:40:35 
Offline
User avatar

Joined: 2006-02-03 18:19:56
Posts: 9
okey i have advanced in scripting lol :) this one works very well!! :) now i need help to make it automatic this is my new code for warning:

Code:
sub damg()
start:
repeat
wait(2000)
if uo.lastgump('replyed') == 0 && uo.lastgump('text') == 'Anti Macro Gump' then
uo.launch("C:\WINDOWS\Media\ding.wav")
messagebox("Anti Macro Gump!")
wait(60000)
end if
goto start
end sub

_________________
Dragon World uo -- This Is SPARTA!!! --


Top
   
 Post subject: Re: New Anti Macro Gump
PostPosted: 2012-03-07 20:47:46 
Offline
User avatar

Joined: 2006-02-03 18:19:56
Posts: 9
okey i have descifrated this every button have a number at the finish on the text line that represent the letter, then here is what i got:

button 35 60 2151 2154 1 0 1
20] text 74 67 100 2 -> R
21] text 83 66 1952 10 -> I
22] text 93 67 1452 5 -> G
23] text 104 67 100 11 -> H
24] text 116 69 1452 9 -> T
25] text 128 61 20 6 -> space
26] text 137 68 60 7 -> B
27] text 151 61 60 8 -> U
28] text 160 68 20 9 -> T
29] text 173 62 1952 9 -> T
30] text 184 62 60 3 -> O
31] text 192 64 1452 4 -> N

those numbers represent the letters the code 2/10/5/11/9/6/7/8/9/9/3/4 is R/I/G/H/T/ /B/U/T/T/O/N

is there any way to check those numbers of a button cords and click it?

_________________
Dragon World uo -- This Is SPARTA!!! --


Top
   
 Post subject: Re: New Anti Macro Gump
PostPosted: 2012-03-08 09:46:35 
Offline
User avatar

Joined: 2006-12-08 10:51:50
Posts: 718
Location: Москва
Code:
line = uo.lastgump('command', 21)
num = mid(line, len(line) - 1, len(line))


Top
   
 Post subject: Re: New Anti Macro Gump
PostPosted: 2012-03-08 13:25:15 
Offline
User avatar

Joined: 2006-02-03 18:19:56
Posts: 9
but the right button on gump changes every time, 3 buttons 1 right 2 wrong, 6 buttons 1right 5 wrong etc.. i need to check what is the button to click then get XY and click on right button

_________________
Dragon World uo -- This Is SPARTA!!! --


Top
   
 Post subject: Re: New Anti Macro Gump
PostPosted: 2012-03-08 15:05:24 
Offline
User avatar

Joined: 2006-12-08 10:51:50
Posts: 718
Location: Москва
Code:
sub test()
    if not uo.lastgump('replyed') and uo.lastgump('gumpid') == '0x18534021' then
        Antimacro()
    endif
endsub

Sub Antimacro()
    var buttonnum = 0, textnum = 0, linenum = 0, line
    while uo.lastgump('text', linenum) <> 'I'
        linenum = linenum + 1
    textnum = linenum
    linenum = 0
    while val(right(uo.lastgump('command', linenum), 1)) <> textnum
       linenum = linenum + 1
    buttonnum = linenum - 2
    while not uo.lastgump('replyed') and uo.lastgump('gumpid') == '0x18534021'
        uo.lclick(getword(uo.lastgump('command', buttonnum), 1), getword(uo.lastgump('command', buttonnum), 2))
        wait(500)
    wend
endsub


getword function

this is ONLY for example. i think there are some mistakes with right() function in script


Top
   
 Post subject: Re: New Anti Macro Gump
PostPosted: 2012-03-08 15:55:49 
Offline
User avatar

Joined: 2006-02-03 18:19:56
Posts: 9
thxx :) im studying the script!! :)

_________________
Dragon World uo -- This Is SPARTA!!! --


Top
   
 Post subject: Re: New Anti Macro Gump
PostPosted: 2012-03-09 21:29:37 
Offline
User avatar

Joined: 2006-12-08 10:51:50
Posts: 718
Location: Москва
Там сменили антимакрос :lol:

Сделали гамп с кнопочкой, открывающей браузер, в котором капча... Эту капчу нужно вписать в гамп. Извращенцы :roll:


Top
   
 Post subject: Re: New Anti Macro Gump
PostPosted: 2012-03-10 01:28:03 
Offline
User avatar

Joined: 2006-02-03 18:19:56
Posts: 9
ok... they break me... this is the new system of Anti Macro Gump

Anti Macro Gump on Game:
Image

The Captcha at Internet Explorer:
Image

The Gump info before hit "(?)" button to see the captcha:
Code:

_____infogump_______
serial   0x0011eb5c
gumpid   0x9c61cab0
X   0
Y   0
757   packet size
0   reply packet size
Buttons: ________
 page 0
    1 [  101] image=0x568A at 505:59
    2 [  100] image=0x0FB8 at 305:93
Checks&Radios: __
Entryes: ________
    1 [    0] 191:94*106:20 [http://90.231.130.131/am/index.php?id=18630&s=3812]
All commands: ____
    1] noclose
    2] nodispose
    3] noresize
    4] page 0
    5] resizepic 179 43 9200 353 116
    6] text 183 48 0 0
    7] text 183 68 0 1
    8] button 505 59 22153 22154 1 0 101
    9] text 340 95 0 2
   10] text 183 117 0 3
   11] text 183 138 0 4
   12] gumppic 185 93 2445
   13] textentry 191 94 106 20 0 0 5
   14] button 305 93 4023 4024 1 0 100
Text: ____________
    0] Please click on the question mark (?) to the right.
    1] Then enter the code from the website and press ok.
    2] 5 tries left!
    3] If we cannot open your browser, please go to:
    4] http://90.231.130.131/am/index.php?id=18630&s=3812
    5] http://90.231.130.131/am/index.php?id=18630&s=3812



After enter the Captcha code at Gump:
Code:

_____infogump_______
serial   0x0011ef84
gumpid   0x9c61cab0
X   0
Y   0
757   packet size
37   reply packet size
Buttons: ________
 page 0
    1 [  101] image=0x568A at 505:59
    2 [  100] image=0x0FB8 at 305:93
Checks&Radios: __
Entryes: ________
    1 [    0] 191:94*106:20 [http://90.231.130.131/am/index.php?id=18630&s=3812]
All commands: ____
    1] noclose
    2] nodispose
    3] noresize
    4] page 0
    5] resizepic 179 43 9200 353 116
    6] text 183 48 0 0
    7] text 183 68 0 1
    8] button 505 59 22153 22154 1 0 101
    9] text 340 95 0 2
   10] text 183 117 0 3
   11] text 183 138 0 4
   12] gumppic 185 93 2445
   13] textentry 191 94 106 20 0 0 5
   14] button 305 93 4023 4024 1 0 100
Text: ____________
    0] Please click on the question mark (?) to the right.
    1] Then enter the code from the website and press ok.
    2] 5 tries left!
    3] If we cannot open your browser, please go to:
    4] http://90.231.130.131/am/index.php?id=18630&s=3812
    5] http://90.231.130.131/am/index.php?id=18630&s=3812
Reply: ___________
 [0064] primary reply
 Checks&Radios (0)
 Entryes (1)
  [0000] sappy
0000: 73 61 70 70 79 -- -- -- -- -- -- -- -- -- -- -- : sappy


_________________
Dragon World uo -- This Is SPARTA!!! --


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

All times are UTC+02:00


Who is online

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