Imagine Nation Forums
[Injection] Poison macro - Printable Version

+- Imagine Nation Forums (https://in-uo.net/forums)
+-- Forum: Imagine Nation: Xtreme archive (https://in-uo.net/forums/forumdisplay.php?fid=5)
+--- Forum: Player Guides (https://in-uo.net/forums/forumdisplay.php?fid=20)
+--- Thread: [Injection] Poison macro (/showthread.php?tid=4176)



[Injection] Poison macro - imported_kcslic - 03-24-2010

I need a poison macro for injection to use lesser heal pots on a weapon such as a dagger. I have looked everywere and would apreciate the help!


[Injection] Poison macro - imported_Promoe - 03-24-2010

What exactly you want the macro to do? Only use lessor potions on a dagger?
Or like make a lesser poison potion with alchemy then apply it on dagger using poisoning skill?


[Injection] Poison macro - imported_kcslic - 03-24-2010

Promoe Wrote:What exactly you want the macro to do? Only use lessor potions on a dagger?
Or like make a lesser poison potion with alchemy then apply it on dagger using poisoning skill?

Only to make the lesser potion poison a wep that is it. No alch involved.


[Injection] Poison macro - imported_Promoe - 03-24-2010

Code:
sub poison()
var dagger='Your ID here'

while UO.SkillVal('Poisoning') < 1000
UO.FindType(0x0F0A,0x0000,'backpack')
if UO.FindCount() then
UO.WaitTargetObject('finditem',dagger)
UO.UseSkill('Poisoning')
wait(11000)
endif
wend
endsub

Insert ID of you dagger to the variable and thats it.. Also you can try adapting delay to your ping, I made 11 seconds here because thats how it worked for me.


[Injection] Poison macro - imported_kcslic - 03-24-2010

Promoe Wrote:
Code:
sub poison()
var dagger='Your ID here'

while UO.SkillVal('Poisoning') < 1000
UO.FindType(0x0F0A,0x0000,'backpack')
if UO.FindCount() then
UO.WaitTargetObject('finditem',dagger)
UO.UseSkill('Poisoning')
wait(11000)
endif
wend
endsub

Insert ID of you dagger to the variable and thats it.. Also you can try adapting delay to your ping, I made 11 seconds here because thats how it worked for me.

Thank you so much! But there is a problem. When i run it it is telling me these three lines...

Select the poison you wish to use.
To what do you wish to apply the poison?
That is too far away.

I dont know what is wrong


[Injection] Poison macro - imported_Promoe - 03-24-2010

You didn't paste your ID to the variable.
Basically, you need to edit this line
Promoe Wrote:var dagger='Your ID here'
Type ",info" in your client, target your dagger, "Text" window will appear. It will look like:
Text Wrote:ID=0x4016D619 Type=0x0F52 XMNYMMD Name=
Quantity: 1 Colour: 0x0000 Layer: 0 Has: 1
X=109 Y=111 Z=0 C=0x410B75D8 F=0x00

You need to copy the ID and paste it to the first line of the script.
It doesn't work at the moment because it can't find a dagger..


[Injection] Poison macro - imported_kcslic - 03-24-2010

Promoe Wrote:You didn't paste your ID to the variable.
Basically, you need to edit this line

Type ",info" in your client, target your dagger, "Text" window will appear. It will look like:


You need to copy the ID and paste it to the first line of the script.
It doesn't work at the moment because it can't find a dagger..

Yessir i did, var dagger='0x0f52' correct? I cant seem to find the issue.


[Injection] Poison macro - imported_Necro - 03-24-2010

That is the type. When you type ,info and get the window copy the ID (it should say something like ID="0x135522553", u need to copy what is in the " ")


[Injection] Poison macro - imported_kcslic - 03-24-2010

Necro Wrote:That is the type. When you type ,info and get the window copy the ID (it should say something like ID="0x135522553", u need to copy what is in the " ")

ahhhh thank you sir!