sub lock() CheckLag() uo.canceltarget() uo.addobject("takebag") while uo.targeting() wait(50) wend uo.canceltarget() uo.useobject("takebag") uo.addobject("putbag") while uo.targeting() wait(50) wend uo.useobject("putbag") uo.findtype('0x09AA','-1','takebag') while (uo.FindCount() > 0 or uo.count('0x09AA') > 0) and uo.count('0x14FB') > 0 uo.findtype('0x09AA','-1','my') if not (uo.FindCount() > 1) then uo.findtype('0x09AA','-1','takebag') uo.grab('0', 'finditem') end if wait(200) uo.deletejournal() repeat if not uo.injournal("must wait") or uo.injournal("Targeting cancelled") then uo.findtype('0x09AA', '-1', 'my') uo.waittargetobject('finditem') end if uo.deletejournal() uo.usetype('0x14FB') wait(1000) until uo.injournal("Box unlocked") or uo.injournal("already unlocked") or uo.injournal("No item found") or uo.injournal("You must have") uo.moveitem('finditem', '0', 'putbag') wait(500) uo.findtype('0x09AA','-1','takebag') wend if uo.count('0x14FB') == 0 then uo.print('You lack Lockpicks') end if uo.findtype('0x09AA','-1','putbag') while (uo.FindCount() > 0 or uo.count('0x09AA') > 0) and uo.count('0x14FB') > 0 if uo.count('0x09AA') < 1 then uo.findtype('0x09AA','-1','putbag') uo.grab('1', 'finditem') end if uo.usetype('0x09AA') wait(500) uo.findtype('0x09AA','-1','putbag') wend end sub
Toggle shoutbox Chat
|
Lockpicking & Remove Trap
Started by Stfunoob, Aug 23 2007 19:41
22 replies to this topic
#21
Posted 29 October 2007 - 23:29
JIOS - Member Since Apr 2007
Vedroid - later
#22
Posted 30 October 2007 - 00:56
BWS ïîÿíè ÷òî äîëæíî áûòü â ïàêå, ÷åãî íå äîëæíî áûòü è êàê îí ðàáîòàåò. Ñïàñèáî çàðàíåå
#23
Posted 09 December 2007 - 11:05
Ñêðèïò äëÿ èíæè íå ïîëíûé, íå õâàòàåò ÷åêëàãà è äåëåò æóðíàëà, âîò ïîëíîñòüþ ðàáî÷àÿ âåðñèÿ:
sub lock() CheckLag() uo.canceltarget() uo.addobject("takebag") while uo.targeting() wait(50) wend uo.canceltarget() uo.useobject("takebag") uo.addobject("putbag") while uo.targeting() wait(50) wend uo.useobject("putbag") uo.findtype('0x09AA','-1','takebag') while (uo.FindCount() > 0 or uo.count('0x09AA') > 0) and uo.count('0x14FB') > 0 uo.findtype('0x09AA','-1','my') if not (uo.FindCount() > 1) then uo.findtype('0x09AA','-1','takebag') uo.grab('0', 'finditem') end if wait(200) uo.deletejournal() repeat if not uo.injournal("must wait") or uo.injournal("Targeting cancelled") then uo.findtype('0x09AA', '-1', 'my') uo.waittargetobject('finditem') end if uo.deletejournal() uo.usetype('0x14FB') wait(1000) until uo.injournal("Box unlocked") or uo.injournal("already unlocked") or uo.injournal("No item found") or uo.injournal("You must have") uo.moveitem('finditem', '0', 'putbag') wait(500) uo.findtype('0x09AA','-1','takebag') wend if uo.count('0x14FB') == 0 then uo.print('You lack Lockpicks') end if uo.findtype('0x09AA','-1','putbag') while (uo.FindCount() > 0 or uo.count('0x09AA') > 0) and uo.count('0x14FB') > 0 if uo.count('0x09AA') < 1 then uo.findtype('0x09AA','-1','putbag') uo.grab('1', 'finditem') end if uo.usetype('0x09AA') wait(500) uo.findtype('0x09AA','-1','putbag') wend end sub sub checklag() deljournal("backpack|Backpack") UO.Click("backpack") repeat wait(100) until UO.InJournal("backpack|Backpack") end sub sub deljournal(msg) while UO.InJournal(msg) UO.SetJournalLine(UO.InJournal(msg)-1,"") wend end sub
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users