Looking for scipt posoning item

Ask for scripts here

Moderators: Murderator+, Murderator

Post Reply
ShakeDatAss
Posts: 11
Joined: 2014-03-01 21:06:25

Looking for scipt posoning item

Post 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
Incorrect User
Posts: 949
Joined: 2011-05-23 00:33:30

Re: Looking for scipt posoning item

Post 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
ShakeDatAss
Posts: 11
Joined: 2014-03-01 21:06:25

Re: Looking for scipt posoning item

Post by ShakeDatAss »

sub Poison()
uo.waittargetobject("0x4001a7d5")
uo.usetype("0x0f0a")
wait(500)
end sub



its that i click on my hotkey and nothing happens
Incorrect User
Posts: 949
Joined: 2011-05-23 00:33:30

Re: Looking for scipt posoning item

Post by Incorrect User »

Poisoning use bottles and target on weapon? If yes than script must work. Try put your weap in backpack from hands.
ShakeDatAss
Posts: 11
Joined: 2014-03-01 21:06:25

Re: Looking for scipt posoning item

Post 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
Incorrect User
Posts: 949
Joined: 2011-05-23 00:33:30

Re: Looking for scipt posoning item

Post by Incorrect User »

Code: Select all

uo.waittargetobject("0x4001a7d5")

Then 0x4001a7d5 not weap ID, take with _info his real number.
Nmy
Expert!
Posts: 2152
Joined: 2005-09-14 15:31:58
Location: Latvia

Re: Looking for scipt posoning item

Post 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
ardain
Posts: 13
Joined: 2015-02-07 19:44:17

Re: Looking for scipt posoning item

Post 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
Post Reply