| Yoko http://forum.yoko.com.ua/ |
|
| Реконект http://forum.yoko.com.ua/viewtopic.php?f=20&t=3601 |
Page 1 of 1 |
| Author: | Yamakasi*** [ 2005-04-05 05:59:00 ] |
| Post subject: | Реконект |
народ помогите зделать реконект на скрипт: 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. С увожением Юзер... |
|
| Author: | Yamakasi*** [ 2005-04-05 06:35:12 ] |
| Post subject: | |
Сори реконект зделал и проверил всё работает... 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 |
|
| Author: | nikon_rds [ 2005-04-05 07:00:55 ] |
| Post subject: | |
Короче они нужны чтобы чувак хавал |
|
| Author: | Yamakasi*** [ 2005-04-05 12:58:00 ] |
| Post subject: | |
Значит сюда тип еды ставить |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|