Page 1 of 1
Gump`s
Posted: 2007-01-06 02:11:15
by -=WOLVERINE=-
Ребят тут вот какое дело играю на одном сервере где запрещенно афк, гмы дабы самим не смотреть придумали новую штучку :
в определенныи момент времени на экране ! хаотично появляеться кнопка(он же гамп) на которыи нужно кликнуть(ведеться отсчет : допутим от 30 и до 0 если не нажал= джаил:) )...
ну так вот задумка проста..включить зацикленныи скрипт которыи в любои точе екрана как только появиться данная кнопочка *нажмет на нее*...
К сожалению очень мало понимаю в гампах посему и прошу у вас помощи...
Вот что мне выдало при наборе ,infogump :
Code: Select all
_____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)
Posted: 2007-01-06 15:28:20
by Destruction
Поиск по словам "ongump".
Posted: 2007-01-06 19:00:41
by Nmy
Code: Select all
sub AFK()
while true AND NOT UO.Dead()
if uo.LastGump('replyed') == 0 then
uo.lclick(0,0)
endif
wait(1000)
wend
end sub
Posted: 2007-01-06 20:21:07
by teror
у нас на шарде была подобная система + надо было текст вводить.
Posted: 2007-01-07 15:20:49
by Ascoron
teror wrote:у нас на шарде была подобная система + надо было текст вводить.
Очень полезная штука... Особенно в ПвП

ANTI-AFK SCRIPT
Posted: 2007-01-08 04:47:50
by knicholes
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.
Re: ANTI-AFK SCRIPT
Posted: 2007-01-08 10:51:51
by Nmy
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: Select all
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
Posted: 2007-01-18 07:01:10
by knicholes
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?
Posted: 2007-01-18 15:09:17
by Nmy
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 ?
Posted: 2007-01-18 16:44:27
by nerac
teror wrote:у нас на шарде была подобная система + надо было текст вводить.
U nas bil antimacro, a u nix prosto afk...
Posted: 2007-01-19 03:49:23
by knicholes
Yes, it pops up in random locations every time.