Page 1 of 1

Poisoning

Posted: 2005-09-11 01:21:06
by Knight1106
What is wrong ? i'm wanting poison a weapone but this script doesn't funtions... Sometimes, when i put other commands, appears "Unknow Command ..... ". How do i get it funtion ?

Code: Select all

sub poison()
     uo.waittargettype('0x1404') ; Weapon
     uo.useskill('Poisoning')
     uo.waittargettype('0x0f0a') ;Poison Bottles
end sub



How do I i do "AttackLast" Command in INjection ?

thanks for help...

Posted: 2005-09-11 01:26:35
by PCGamer
Try uo.poison('weapon') or bind a key with command "poison weapon_item" and be shure that "poison bottle then object" is not checked in main menu.

Posted: 2005-09-11 17:56:24
by Knight1106

Code: Select all

sub main()
     uo.poison('0x0f43') ;Weapon
endsub


I Did it, but appears "Can't see the target"...

what do I do now ?

Posted: 2005-09-11 18:07:11
by Leo

Code: Select all

sub Poison()
   UO.FindType('0x0F0A','0x0998','backpack')
   If UO.FindCount() > 0 Then
      UO.WaitTargetType('0x1404', 'finditem' ) 
      UO.UseSkill( 'Poisoning' )
   Else
      UO.Print( 'Bottles not found!' )
   Endif
endsub

Posted: 2005-09-15 03:12:12
by Knight1106
Leo wrote:

Code: Select all

sub Poison()
   UO.FindType('0x0F0A','0x0998','backpack')
   If UO.FindCount() > 0 Then
      UO.WaitTargetType('0x1404', 'finditem' ) 
      UO.UseSkill( 'Poisoning' )
   Else
      UO.Print( 'Bottles not found!' )
   Endif
endsub


Hey Leo, I tried your script but it doesn't function so well. I Made this and it function:

Code: Select all

sub Poison()
 uo.findtype('0x143e','backpack')
 uo.poison('finditem')
end sub


but is so boring to stay every time changing the Type of the weapon... Is there something that i could do to put the Type of the weapon that i seted in ",setarm 1" ???

plz someone help me !