Page 1 of 1

Looking for scipt posoning item

Posted: 2014-03-07 19:44:12
by ShakeDatAss
Hi I am looking for a script to use a potion of poison like (0x4567) to automaticly poisoning my weapon (0x4001a3456) with a hotkey to use in in pvp so plz if its possible


Thx

Re: Looking for scipt posoning item

Posted: 2014-03-07 20:08:31
by Incorrect User
May be

Code: Select all

sub Poison()
uo.waittargetobject("0x4001a3456")
uo.usetype("your type poison bottle")
wait(your waittime for poisoning)
end sub

Re: Looking for scipt posoning item

Posted: 2014-03-07 21:37:02
by ShakeDatAss
sub Poison()
uo.waittargetobject("0x4001a7d5")
uo.usetype("0x0f0a")
wait(500)
end sub



its that i click on my hotkey and nothing happens

Re: Looking for scipt posoning item

Posted: 2014-03-08 00:43:54
by Incorrect User
Poisoning use bottles and target on weapon? If yes than script must work. Try put your weap in backpack from hands.

Re: Looking for scipt posoning item

Posted: 2014-03-08 21:29:58
by ShakeDatAss
yes i have try to put in my back pack when i press on hotkey its ask me select item want to use this and after nothing happen :s

Re: Looking for scipt posoning item

Posted: 2014-03-08 21:52:59
by Incorrect User

Code: Select all

uo.waittargetobject("0x4001a7d5")

Then 0x4001a7d5 not weap ID, take with _info his real number.

Re: Looking for scipt posoning item

Posted: 2014-03-09 12:38:48
by Nmy
there is a lot of poisoning scripts on the forum already. even in the drw 2009 thread

Code: Select all

sub poisoning()
   var sword
   if uo.objatlayer('Rhand')<>'' then
      sword=uo.objatlayer('Rhand')
      uo.findtype('0x0F0E','0x0998','my')
      if uo.findcount() then
         uo.waittargetobject(uo.getserial(sword),'finditem')
         uo.useskill('Poisoning')
      endif
   else
      if uo.objatlayer('Lhand')<>'' then
         sword=uo.objatlayer('Lhand')
         uo.findtype('0x0F0E','0x0998','my')
         if uo.findcount() then
            uo.waittargetobject(uo.getserial(sword),'finditem')
            uo.useskill('Poisoning')
         endif
      endif   
   endif
endsub

Re: Looking for scipt posoning item

Posted: 2015-09-22 15:57:31
by ardain
Poison Potion Info;
ID=0x4073D943 Type=0x0F0A JOIHAND Name=Deadly Poison
Quantity: 23 Colour: 0x0000 Layer: 0 Has: 0
X=125 Y=89 Z=0 C=0x4007D8DD F=0x00

Spear Info;
ID=0x408FD95A Type=0x0F62 OCTHEND Name=+15 magical spear
Quantity: 1 Colour: 0x0000 Layer: 2 Has: 0
X=53 Y=95 Z=0 C=0x0007D8E1 F=0x00

This is my Hotkey Setup >>>
target lasttargetkey 0x403DEC50
useskill Poisoning
waittargetobject 0x40305F2C

But its not workin allways .I try to use your script but some reason cant do it .. can you please write down Poison pot and Spear info on your scrpit and send me or post here?

Thanks