Дайти пожалуста скрипт на Тайминг для Forgotten World
Зарание огромное спасибо
Дайти пожалуста скрипт на Тайминг для Forgotten World
Moderators: Murderator+, Murderator
-
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
-
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
Code: Select all
sub taming()
var Animal=0x000F72E1 ;ID животного.
UO.Exec('terminate Reconnector')
wait(1000)
UO.Exec('exec Reconnector')
wait(1000)
UO.DeleteJournal()
while not UO.InJournal("It seems") or not UO.InJournal("You can't see")
UO.Say("all release")
UO.Useskill('Spirit Speak')
wait(5000)
UO.DeleteJournal()
UO.WaitTargetObject(Animal)
UO.UseType('0x13F8') ;Тип тайминг стаффа.
repeat
wait(200)
until UO.InJournal("fail") or UO.InJournal("It seems") or UO.InJournal("You can't see")
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 taming')
wait(1000)
UO.Exec('exec taming')
wait(1000)
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
Вот со спирит спиком и реконнектором.
:O