Yoko

All sides of Injection
It is currently 2026-01-16 16:45:19

All times are UTC+02:00




Post new topic  Reply to topic  [ 11 posts ] 
Author Message
 Post subject: Gump`s
PostPosted: 2007-01-06 02:11:15 
Offline

Joined: 2004-05-27 18:19:17
Posts: 66
Ребят тут вот какое дело играю на одном сервере где запрещенно афк, гмы дабы самим не смотреть придумали новую штучку :
в определенныи момент времени на экране ! хаотично появляеться кнопка(он же гамп) на которыи нужно кликнуть(ведеться отсчет : допутим от 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)


Top
   
 Post subject:
PostPosted: 2007-01-06 15:28:20 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
Поиск по словам "ongump".


Top
   
 Post subject:
PostPosted: 2007-01-06 19:00:41 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
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

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2007-01-06 20:21:07 
Offline

Joined: 2005-09-11 00:53:44
Posts: 79
у нас на шарде была подобная система + надо было текст вводить.


Top
   
 Post subject:
PostPosted: 2007-01-07 15:20:49 
Offline

Joined: 2006-05-09 20:07:03
Posts: 27
teror wrote:
у нас на шарде была подобная система + надо было текст вводить.


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


Top
   
 Post subject: ANTI-AFK SCRIPT
PostPosted: 2007-01-08 04:47:50 
Offline

Joined: 2004-05-16 00:08:59
Posts: 9
Location: Utah
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.


Top
   
 Post subject: Re: ANTI-AFK SCRIPT
PostPosted: 2007-01-08 10:51:51 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
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

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2007-01-18 07:01:10 
Offline

Joined: 2004-05-16 00:08:59
Posts: 9
Location: Utah
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?


Top
   
 Post subject:
PostPosted: 2007-01-18 15:09:17 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
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 ?

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
 Post subject:
PostPosted: 2007-01-18 16:44:27 
Offline

Joined: 2006-06-16 14:43:25
Posts: 34
teror wrote:
у нас на шарде была подобная система + надо было текст вводить.



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


Top
   
 Post subject:
PostPosted: 2007-01-19 03:49:23 
Offline

Joined: 2004-05-16 00:08:59
Posts: 9
Location: Utah
Yes, it pops up in random locations every time.


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