Yoko

All sides of Injection
It is currently 2026-01-18 17:38:35

All times are UTC+02:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Реконект
PostPosted: 2005-04-05 05:59:00 
Offline

Joined: 2004-11-02 19:42:43
Posts: 40
народ помогите зделать реконект на скрипт:

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.
С увожением Юзер...


Top
   
 Post subject:
PostPosted: 2005-04-05 06:35:12 
Offline

Joined: 2004-11-02 19:42:43
Posts: 40
Сори реконект зделал и проверил всё работает...

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


Top
   
 Post subject:
PostPosted: 2005-04-05 07:00:55 
Offline

Joined: 2004-12-24 19:09:17
Posts: 2
Короче они нужны чтобы чувак хавал :D


Top
   
 Post subject:
PostPosted: 2005-04-05 12:58:00 
Offline

Joined: 2004-11-02 19:42:43
Posts: 40
Значит сюда тип еды ставить :?:


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 5 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:  
Powered by phpBB® Forum Software © phpBB Limited