Yoko
http://forum.yoko.com.ua/

Gump`s
http://forum.yoko.com.ua/viewtopic.php?f=17&t=10978
Page 1 of 1

Author:  -=WOLVERINE=- [ 2007-01-06 02:11:15 ]
Post subject:  Gump`s

Ребят тут вот какое дело играю на одном сервере где запрещенно афк, гмы дабы самим не смотреть придумали новую штучку :
в определенныи момент времени на экране ! хаотично появляеться кнопка(он же гамп) на которыи нужно кликнуть(ведеться отсчет : допутим от 30 и до 0 если не нажал= джаил:) )...
ну так вот задумка проста..включить зацикленныи скрипт которыи в любои точе екрана как только появиться данная кнопочка *нажмет на нее*...
К сожалению очень мало понимаю в гампах посему и прошу у вас помощи...
Вот что мне выдало при наборе ,infogump :


Code:
_____infogump_______
serial   0x0001e92d
gumpid   0x00000531
X   382
Y   25
193   packet size
23   reply packet size
Buttons: ________
Checks&Radios: __
Entryes: ________
All commands: ____
    1] OCLOSE
    2] OMOVE
    3] ext 255 128 152
    4] utton 188 173 2472 2473 1 0
    5] ext 219 165 455
Text: ____________
    0] AFK Timer
    1] Click here if you'r not afk!
Reply: ___________
 [0001] primary reply
 Checks&Radios (0)
 Entryes (0)

Author:  Destruction [ 2007-01-06 15:28:20 ]
Post subject: 

Поиск по словам "ongump".

Author:  Nmy [ 2007-01-06 19:00:41 ]
Post subject: 

Code:
sub AFK()
   while true AND NOT UO.Dead()
      if uo.LastGump('replyed') == 0 then
         uo.lclick(0,0)
      endif
      wait(1000)
   wend
end sub

Author:  teror [ 2007-01-06 20:21:07 ]
Post subject: 

у нас на шарде была подобная система + надо было текст вводить.

Author:  Ascoron [ 2007-01-07 15:20:49 ]
Post subject: 

teror wrote:
у нас на шарде была подобная система + надо было текст вводить.


Очень полезная штука... Особенно в ПвП :mrgreen:

Author:  knicholes [ 2007-01-08 04:47:50 ]
Post subject:  ANTI-AFK SCRIPT

Hey, does this script work? How would I use the ,ongump to select the big icon? This looks like it just clicks on location 0,0, but the gump doesn't always appear there.

On some shards, I've even seen gumps require you to do simple math. I challenge anyone to find an answer to these anti-afk scripts.

Author:  Nmy [ 2007-01-08 10:51:51 ]
Post subject:  Re: ANTI-AFK SCRIPT

knicholes wrote:
Hey, does this script work? How would I use the ,ongump to select the big icon? This looks like it just clicks on location 0,0, but the gump doesn't always appear there.

On some shards, I've even seen gumps require you to do simple math. I challenge anyone to find an answer to these anti-afk scripts.


well we have few anti-anti afk scripts, the point is that ongump is very dangerous command...

Code:
Sub decode()
var temp='',i=0
var pos=0
var line=5
var sX=0, sY=0
var code=''
var finding = 1
var CurrX=0
var CurrY=0
var NumSum
dim tempXY[2]
dim Num[9]
Num[0]=6
Num[1]=35
Num[2]=45
Num[3]=-24
Num[4]=34
Num[5]=-5
Num[6]=26
Num[7]=4
Num[8]=-6
   Repeat
      temp=uo.LastGump('command',line)
      GetXY(temp, tempXY)
      if pos >= 17 then
         if pos == 17 then
            NumSum=(CurrX-sX)*10+(CurrY-sY)
            finding = 1
            i=0
            while finding
               if NumSum == num[i] then
                  code=code+str(i+1)
                  finding = 0
               end if
               i=i+1
            wend
         end if
         if tempXY[0]-CurrX > 5 then
            pos=0
         end if
      end if
      if not pos then
         sX=tempXY[0]
         sY=tempXY[1]
         pos=15
         line=line+15
      end if
      CurrX=tempXY[0]
      CurrY=tempXY[1]
      pos=pos+1
      line=line+1
   Until len(code) == 4
   return code
end sub


this script generates number

Author:  knicholes [ 2007-01-18 07:01:10 ]
Post subject: 

Sweet, thanks for that script, too. I'm still having the exact same problem as the guy who started this thread. I have the exact same gump pop up and if I don't respond in time it teleports me away. I run the first listed AFK script, but it doesn't work. Do you have any idea why?

Author:  Nmy [ 2007-01-18 15:09:17 ]
Post subject: 

knicholes wrote:
Sweet, thanks for that script, too. I'm still having the exact same problem as the guy who started this thread. I have the exact same gump pop up and if I don't respond in time it teleports me away. I run the first listed AFK script, but it doesn't work. Do you have any idea why?


does the gump pop up randomly on screen ?

Author:  nerac [ 2007-01-18 16:44:27 ]
Post subject: 

teror wrote:
у нас на шарде была подобная система + надо было текст вводить.



U nas bil antimacro, a u nix prosto afk...

Author:  knicholes [ 2007-01-19 03:49:23 ]
Post subject: 

Yes, it pops up in random locations every time.

Page 1 of 1 All times are UTC+02:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/