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:
Here is the ,infogump:
_____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
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
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?
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