Yoko

All sides of Injection
It is currently 2025-12-08 17:44:34

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Help using GUMP
PostPosted: 2007-11-12 20:58:03 
Offline

Joined: 2007-03-19 18:25:51
Posts: 17
hi there.

i need some help to make a script. this script has to answer a kind of macro check. and they use gump for it. by the way, injection can answer it. i guess.


GUMPINFO 1:

First we have to click on it:
_____infogump_______
serial 0x01361d63
gumpid 0x0008b297
X 0
Y 0
107 packet size
0 reply packet size
Buttons: ________
page 0
1 [ 1] image=0x1582 at 3:67
Checks&Radios: __
Entryes: ________
All commands: ____
1] NoClose
2] button 3 67 5505 5506 1 0 1
3] text 0 126 38 0
Text: ____________
0] Anti Macro


IMG GUMP1:
Image

GUMP INFO 2:
and then comes the numbers that we have to write.

_____infogump_______
serial 0x01361d63
gumpid 0x0008b297
X 0
Y 0
336 packet size
0 reply packet size
Buttons: ________
page 0
1 [ 31] image=0x0851 at 120:190
Checks&Radios: __
Entryes: ________
All commands: ____
1] noclose
2] resizepic 50 50 2620 200 200
3] text 60 75 900 1
4] text 60 60 900 0
5] text 100 95 900 2
6] resizepic 70 130 3000 150 20
7] TextEntry 70 130 150 20 900 1 3
8] button 120 190 2130 2129 1 0 31
Text: ____________
0] Tentativas: 1
1] Digite os numeros abaixo:
2] { 0, 0, 3 }
3] { 0, 0, 3 }


IMG GUMP 2:
Image
I will try to explain ( my english is not so good).

First you hacve to click to open the MACRO CHECK.

now you have write the numbers and click OK to answer.

Help me plz :D


Top
   
 Post subject:
PostPosted: 2007-11-12 21:43:36 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
What does need to do in second gump? Choose one of digit in "{}" or something else?
And this antimacro have already soleved. Try to search.


Top
   
 Post subject:
PostPosted: 2007-11-12 21:52:14 
Offline

Joined: 2007-03-19 18:25:51
Posts: 17
first of all you have to click on this ball...

now you have to write all numbers between " { } " but sometimes its not only
three (3) numbers, sometimes is four(4) or five(5).


thx for your help


Top
   
 Post subject:
PostPosted: 2007-11-12 22:33:00 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
Code:
sub Solve()

   var code = ""
   var line = ""
   var i = 0
   
   if not uo.LastGump('replyed') then
      if uo.LastGump('text', 0) == 'Anti Macro' then
         uo.LClick(3, val(Left(uo.LastGump('button', 0), 3)))
         repeat
            wait(1000)
         until uo.LastGump('replyed', 0)
         return 1
      else
         if uo.LastGump('text', 1) == 'Digite os numeros abaixo:' then
            line = uo.LastGump('text', 2)
            for i = 0 to int(len(line)/3)-1
               code = code+line[2+i*3]
            next
            uo.Say(code)
            wait(1000)
            line = Right(uo.LastGump('button', 0), 7)
            uo.LClick(val(Left(line, 3)), val(Right(line, 3)))
            repeat
               wait(1000)
            until uo.LastGump('replyed', 0)
            return 2
         end if
      end if
   endif
   
end sub

If first gump apear it's do click and return 1
second enter numbers (is TextEntry clear?) then click and return 2
if nothing return 0


Top
   
 Post subject:
PostPosted: 2007-11-12 22:40:47 
Offline

Joined: 2007-03-19 18:25:51
Posts: 17
its not working. macro cant click on the right place...

the first click is wrong. hits the top left of the window.


O.O


Top
   
 Post subject:
PostPosted: 2007-11-12 23:07:31 
Offline

Joined: 2007-03-19 18:25:51
Posts: 17
i click by my self, and didnt happen anything. macro still running until i answer by my self.


Top
   
 Post subject:
PostPosted: 2007-11-12 23:15:52 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
What is your shard?
Give me address


Top
   
 Post subject:
PostPosted: 2007-11-12 23:18:55 
Offline

Joined: 2007-03-19 18:25:51
Posts: 17
my shard is this one:

www.uochaos.com.br

it is in portuguese :/


Top
   
 Post subject:
PostPosted: 2007-11-12 23:21:25 
Offline

Joined: 2007-03-19 18:25:51
Posts: 17
and remember.... as i said. sometimes is not only three numbers..

cometimes is four or five. the minimum is three.


:/ its not working

:cry:


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 5 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