Yoko

All sides of Injection
It is currently 2025-10-22 00:55:31

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2006-04-19 11:09:30 
Offline

Joined: 2006-03-29 09:35:57
Posts: 39
Плиз выложите скрипт на Хердинг дрв.


Top
   
PostPosted: 2006-04-19 11:28:40 
Offline
User avatar

Joined: 2005-05-06 16:07:12
Posts: 23
Location: none
Dreygon wrote:
Плиз выложите скрипт на Хердинг дрв.

Code:
Var Animal='0x002C0FDF' 
Var Crook='0x4045A6A6'
Var Sunduk='0x401572A6'

sub Herding()
var i=0,LastTimer=0
UO.Exec('terminate Reconnector')
wait(100)
UO.Exec('exec Reconnector')
uo.useobject('backpack')
wait(1000)
while 1==1
i=i+1
if i==50 then
i=1
uo.usetype('0x097B')
wait(1000)
endif
uo.DeleteJournal()
LastTimer=UO.Timer()
uo.waittargetobject(Animal,Sunduk)
wait(10)
uo.useobject(Crook)
wait(10)
repeat
wait(10)
until UO.InJournal('The animal goes') or UO.InJournal('You don') or (UO.Timer()>LastTimer+200)
wend
end sub

sub Reconnector()
var ReconnectTime, RFlag
ReconnectTime = '0'
RFlag = 1
Repeat
While (UO.ObjAtLayer('Bpack') == '')
if RFlag Then
ReconnectTime = MakeTime()
RFlag = 0
endif
Wait(20000) # WorldSave Protection
UO.Say('')
Wait(3000)
UO.Say('')
Wait(3000)
UO.Say('')
Wait(3000)
UO.LDblClick(357,164)
UO.LClick(616,459)
Wait(3000)
WEnd
Wait(3000)
if (RFlag == 0) and (ReconnectTime <> '0') Then
UO.Exec('terminate Herding')
wait(1000)
UO.Exec('exec Herding')
UO.TextOpen()
UO.TextPrint('Disconnected & Reconnected @ '+ReconnectTime)
RFlag = 1
ReconnectTime = '0'
endif
Until false
end sub

sub MakeTime()
VAR D, T, Ret, i
Ret = STR(UO.Time())
T = ""
For i = 0 To Len(Ret)
T = Ret[Len(Ret)-i] + T
If (I == 2) OR (I == 4) Then
T = ":" + T
EndIf
Next
Ret = STR(UO.Date())
D = ""
For i = 0 To Len(Ret)
D = Ret[Len(Ret)-i] + D
If (I == 2) OR (I == 4) Then
D = "." + D
EndIf
Next
Ret = T + " @ " + D
RETURN Ret
end sub


Top
   
 Post subject:
PostPosted: 2006-04-19 13:30:59 
Offline

Joined: 2006-03-29 09:35:57
Posts: 39
спасибо скрипт супер)


Top
   
 Post subject:
PostPosted: 2009-04-16 10:20:24 
Offline
User avatar

Joined: 2005-02-27 19:47:55
Posts: 56
спасибо

_________________
Nostalgia...


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 8 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