Yoko

All sides of Injection
It is currently 2025-10-18 01:07:07

All times are UTC+02:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Script fo Anti Macro
PostPosted: 2008-02-17 20:13:58 
Offline

Joined: 2008-02-17 20:06:06
Posts: 7
Hi there.

i already have a script for AM, but i m playing in another server which has the same AM system, well, quite same. see bellow how it works.

------------------------------------------------
The Script.

Code:
sub GetWord(string, num) 
   var pstart = 0
   var n = 0
   string = string+' '
   for var i = 0 to Len(string)
      if Mid(string, i, 1) == ' ' then
         n = n+1
         if n == num then
            return Mid(string, pstart, i-pstart)
         endif
         pstart = i+1
      endif
   next
   return ''
endsub

Sub ArrayToString(Array)
   var num = ''
   var n = (Len(Array)-2)/3
   if n >= 1 then
      for var i = 1 to n
         num = num+Mid(Array, i*3-1, 1)
      next
   endif
   return num
endsub

sub Antimacro()
inicio:
uo.press(118)
if uo.LastGump('text') == 'Anti Macro' then
uo.LClick(3, val(GetWord(uo.LastGump('command', 1), 3)))
goto responder
endif
goto inicio
responder:
if uo.LastGump('text',1) == 'Digite os numeros abaixo:' then
uo.LClick(70, 130)
wait(2000)
uo.say(ArrayToString(uo.LastGump('text', 2)))
wait(2000)
uo.LClick(120, 190)
goto inicio
endif
goto responder
endsub

-----------------------------------------------------------
New Server gump information:

Code:
_____infogump_______
serial   0x027f3efd
gumpid   0x0010477d
X   0
Y   0
429   packet size
0   reply packet size
Buttons: ________
 page 0
    1 [    2] image=0x0851 at 115:160
Checks&Radios: __
Entryes: ________
All commands: ____
    1] noclose
    2] resizepic 40 50 3500 200 150
    3] HtmlGump 55 75 280 60 0 0 0
    4] resizepic 70 130 3000 150 20
    5] TextEntry 70 130 150 20 900 3 1
    6] button 115 160 2130 2129 1 0 2
Text: ____________
    0] Tentativas: 1<br>Digite os numeros abaixo:<br>      { 2, 7, 2 }<br><br><br><br><br>Precisa de Ajuda ? Clique aqui
    1] Tentativas: 1<br>Digite os numeros abaixo:<br>      { 2, 7, 2 }<br><br><br><br><br>Precisa de Ajuda ? Clique aqui


i dont know where i have to change to make this work again.

if u need more information tell me.

thx


Top
   
 Post subject:
PostPosted: 2008-02-17 20:25:27 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
viewtopic.php?p=71366#71366


Top
   
 Post subject:
PostPosted: 2008-02-17 20:36:17 
Offline

Joined: 2008-02-17 20:06:06
Posts: 7
thx grin for ur attention but your script is not working... try to fix this one if u could.

thx


Top
   
 Post subject:
PostPosted: 2008-02-18 22:59:16 
Offline

Joined: 2008-02-17 20:06:06
Posts: 7
anyone?


Top
   
 Post subject:
PostPosted: 2008-02-18 23:36:14 
Offline
Expert!
User avatar

Joined: 2005-05-04 14:05:19
Posts: 2580
Location: Москва
noone... all what u need to understand my post... all information is there...


Top
   
 Post subject: Eu tenho (i have)
PostPosted: 2009-03-23 04:16:41 
Offline

Joined: 2009-03-23 04:11:52
Posts: 2
eu tenho este anti anti macro para a Mystic The Chaos Age
(i have that anti anti macro for a mystic the chaos age)
www.mystic.com.br

Msn: Ch4polin@hotmail.com
yahoo: Robao_Noel

Valor 2kk
(Price 2kk)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 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:  
Powered by phpBB® Forum Software © phpBB Limited