Реконект

Anything and all.

Moderators: Murderator+, Murderator

Post Reply
Yamakasi***
Posts: 40
Joined: 2004-11-02 19:42:43

Реконект

Post by Yamakasi*** »

народ помогите зделать реконект на скрипт:

sub magery()
VAR sunduk='0x40766F1D'
repeat

uo.findtype(0x103B)
if uo.GetQuantity('finditem')>0 then
repeat
uo.deletejournal()
UO.UseObject('finditem')
wait(500)
until uo.count(0x103B)==0 OR uo.injournal('You feel quite full') OR uo.injournal('You are stuffed!') OR uo.injournal('You are simply too full')
endif

uo.findtype('0x0F88','-1',sunduk)
uo.grab('50','finditem')
wait(1000)
endif

while uo.count(0x0F88)>17
while uo.mana>=10
UO.Cast('Poison', 'lasttarget')
wait(3000)
wend
repeat
uo.deletejournal()
UO.UseSkill('Meditation')
repeat
wait(100)
until UO.InJournal("You are") OR UO.InJournal("You lose")
until UO.Mana==Uo.Int
wend

wait(2000)

until uo.dead()
end sub


и есле не сложно обьясните пожалуйста строчки - 5, 6, 11.
С увожением Юзер...
Yamakasi***
Posts: 40
Joined: 2004-11-02 19:42:43

Post by Yamakasi*** »

Сори реконект зделал и проверил всё работает...

sub magery()
VAR sunduk='0x40766F1D'
repeat

uo.findtype(0x103B)
if uo.GetQuantity('finditem')>0 then
repeat
uo.deletejournal()
UO.UseObject('finditem')
wait(500)
until uo.count(0x103B)==0 OR uo.injournal('You feel quite full') OR uo.injournal('You are stuffed!') OR uo.injournal('You are simply too full')
endif

uo.findtype('0x0F88','-1',sunduk)
uo.grab('50','finditem')
wait(1000)
endif

while uo.count(0x0F88)>17
while uo.mana>=10
UO.Cast('Poison', 'lasttarget')
wait(3000)
wend
repeat
uo.deletejournal()
UO.UseSkill('Meditation')
repeat
wait(100)
until UO.InJournal("You are") OR UO.InJournal("You lose")
until UO.Mana==Uo.Int
wend

wait(2000)

until uo.dead()
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 all')
;UO.Exec('exec autoload')
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

___________________________________________
Обьясните пожалуйста что это за строки скриптеры хелпп:

uo.findtype(0x103B) \\ ????????????????????????????
if uo.GetQuantity('finditem')>0 then
repeat
uo.deletejournal()
UO.UseObject('finditem')
wait(500)
until uo.count(0x103B)==0 OR uo.injournal('You feel quite full') OR uo.injournal('You are stuffed!') OR uo.injournal('You are simply too full') \\ ??????????????????????????
endif
nikon_rds
Posts: 2
Joined: 2004-12-24 19:09:17

Post by nikon_rds »

Короче они нужны чтобы чувак хавал :D
Yamakasi***
Posts: 40
Joined: 2004-11-02 19:42:43

Post by Yamakasi*** »

Значит сюда тип еды ставить :?:
Post Reply