NevadaUO
Would you like to react to this message? Create an account in a few clicks or log in to continue.

UOPilot - Poisoning II

Go down

UOPilot - Poisoning II Empty UOPilot - Poisoning II

Post  ImRedYourDead Sat Feb 26, 2011 9:06 am

// Poisoning (you do not have to use UOAssist)
set $ fizl CCCCCCCCCC // message, you may fizle
set $ alrpois CCCCCCCC // message occurs when you try to poison the already poisoned piece of meat
set # amount N // Number of cans and meat (not the amount) that you intend to use for one load (pick w / w)
set $ msf XXX, YYY // coordinates of the pile of fresh meat (№ 1) on the floor
set $ mp XXX, YYY // coordinates of the meat in Pak
set $ pf XXX, YYY // coordinates of the poison cans on the floor
set $ pp XXX, YYY // coordinates of the poison cans per pack
set $ mpc XXX, YYY // coordinates of the chest to the poisoned meat
set # wdr KKK // delay after facing Drago. koorektirovat via Ping
set # wwp KKK // delay for poisoning meat
set # pt BBB // itemtayp poison cans
set $ actbtn S // button with a bindi on the client LastObject

set # amountm # amount // to correct the count of meat at fizlah
set # amountp # amount // to correct the count cans of error to the lack of meat
set # ft 0 // for information on the process flow
set # iii 0 // counter Faile target with meat

: Start

set # f 0 // for information on the process flow
set # a 0 // to determine lasttargeta / obzhekta
set # fizl 0 // indicator and counter fizlov
set # ft # ft + 1

repeat # amountm
drag $ msf $ mp 1 // takes a piece of meat from neotravlennogo pile number 1 on the ground and puts it in bags
wait # wdr
end_repeat
drag $ pf $ pp # amountp // takes the N cans Leather poison from the pile number 2 from the floor and puts it in bags
wait # wdr
set # a LastLiftedID
set LastObjecttID # a
set LastObjectType # pt // itemtayp poison cans
set # amountp # amount

REPEAT # amount // as many times as much as poisoning scored ests
set # f # f + 1
set # ii 0 // counter Faile target with meat
: Repoison
set # i 0 // counter Faile target with meat
send $ actbtn // LastObject the client
WaitForTarget
: Retarget
left $ mp // coordinates of the heap neotravlennogo meat in Pak
wait # wwp // delay for poisoning meat
if (target = 1) // check for the presence of meat in Pak
set # i # i + 1
if (# i> 3)
send Escape
set # ii # ii + 1
if (# ii> 2)
set # iii # iii + 1
if (# iii> 10)
gosub zopa
end_if
set # amountp # amount - # f
goto start
end_if
goto repoison
end_if
wait 500
goto retarget
end_if
if (lastmsg = $ fizl)
set # fizl # fizl + 1
goto fizl
end_if
if (lastmsg = $ alrpois)
drag $ mp $ mpc 1 // drags from the pack in the trunk poisoned piece of meat
goto repoison
end_if
drag $ mp $ mpc 1 // drags from the pack in the trunk poisoned piece of meat
wait # wdr
: Fizl
say Hughes # f of the # amount (approach № # ft)
end_repeat

set # amountm # amount - # fizl

goto start

: Zopa
say Zopa
repeat 5
flash
flash Sindo
alarm
wait 2s
end_repeat
pause_script
return

// In a pile of number 1 Dolno be no more than 1k item is, otherwise he would not smoget from there take the 1 (!) Piece of meat. for this reason should be separated meat neskolkolko heaps (put out ondnu to another nestakuya)
// In the lines [set $ * XXX, YYY] and replace the XXX, YYY on the relative coordinates in accordance with comments
// In the lines [set # w * KKK] replace the KKK to the delay in milliseconds in accordance with comments and your ping
// Bar [set # pt BBB] to replace BBB itemtayp cans Leather Poison
// In the string [set $ actbtn S] S replace the button with the specified in comments bindi
// In the lines [set {$ fizl / $ alrpois} CCCCCCCCCC] SSSSSS replaced in accordance with kommentarizvb
// If you do not want to pronounce the step cycle, remove / zakommentarit string [say of Hughes # f # amount (approach № # ft)]
// Bar [set # amount N] we replace N in accordance with the comment


ImRedYourDead
ImRedYourDead

Posts : 56
Join date : 2011-01-15
Age : 49
Location : Moscow Russia

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum