Jump to content


Toggle shoutbox Chat Open the Shoutbox in a popup

Прямая связь с администрацией по скайпу: gods.dragon
@  fr33 : (Yesterday, 11:16) gm pashol v mu igrac
@  Pablo : (15 March 2024 - 21:12) Sell regs from pandora box.
@  Pablo : (15 March 2024 - 21:11) Sell paralyze and poison necklaces 100k 1 piece.
@  fr33 : (11 March 2024 - 16:38) blee gm zb atdai bank
@  GM SOLAR : (10 March 2024 - 17:24) ОпЯТь лаГГи ! ! !
@  Pablo : (06 March 2024 - 17:48) Labākais hot ko esmu jebkad paņēmis :D
@  Senseless : (05 March 2024 - 09:42) Opatj ataki na server powli :(
@  Pablo : (03 March 2024 - 19:19) Riebiigais
@  Ganjakur : (03 March 2024 - 15:10) kāds niks mp?
@  Pablo : (02 March 2024 - 21:31) Var kāds iedot 40 kk priekš 11 lvl ?
@  Senseless : (02 March 2024 - 18:12) bratva estj u kogo script na ckerika na lamber ?
@  GM SOLAR : (02 March 2024 - 16:44) ALL GO NA CTF ! ! ! ! !
@  Ganjakur : (01 March 2024 - 17:32) labi
@  Pablo : (29 February 2024 - 12:08) Eu džeki, tie kuri vairāk nespēlē ultimu, varat droši man uzdāvināt savus itemus, vai pat savus acc. droši rakstam man privāti. Es vismaz uzturēšu šo serveri pie dzīvības :D
@  fr33 : (29 February 2024 - 09:45) yes
@  EmmaSb : (28 February 2024 - 21:00) Easyuo still working ?
@  Artemy Shan : (18 February 2024 - 20:42) Еще один фикс поставил. Смотрим, тестируем.
@  jurasiks : (18 February 2024 - 20:04) da pipec tu, zdelal on
@  Senseless : (17 February 2024 - 19:17) Lagi powli opatj
@  Artemy Shan : (17 February 2024 - 12:36) Мне удалось повторить действия, которые делал этот пиздюк, чтобы нагружать процессор сервера на 100% и вроде как я поправил это.

Photo

Lockpicking & Remove Trap


  • Please log in to reply
22 replies to this topic

#21 BWS

BWS

    Player

  • Members
  • 294 posts

Posted 29 October 2007 - 23:29

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

av2_oldp.png
av2_into.jpg
JIOS - Member Since Apr 2007 

Vedroid - later

 


#22 Dida

Dida

    Senior Player

  • Members
  • 578 posts

Posted 30 October 2007 - 00:56

BWS ïîÿíè ÷òî äîëæíî áûòü â ïàêå, ÷åãî íå äîëæíî áûòü è êàê îí ðàáîòàåò. Ñïàñèáî çàðàíåå

#23 Boondock Saint

Boondock Saint

    Novice

  • Members
  • 45 posts

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