ScriptUO

Official ScriptUO EasyUO Scripts => Site Scripter Libraries => 12TimesOvers' Script Library => Topic started by: 12TimesOver on January 15, 2010, 09:46:57 AM

Title: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on January 15, 2010, 09:46:57 AM
Code: [Select]
;============================================
; Script Name: XIIxOveR's Poisoning Trainer
; Author: XIIxOveR
; Version: 3.0 Beta
; Date Modified: 10/04/2011
; Purpose: Trains Poisoning
;============================================

1.0 - Initial Public Release
1.01 - Fixed syntax issue causing infinite loop
2.0 - Beta - Added option to remain hidden while training; requires Human character or Hiding skill of at least 20. Miscellaneous cleanup.
3.0 - Beta - Almost a complete re-write. Integration of XIIx Standard subs, RoT timer support, re-written poison selection routine, new timer logic to slightly speed up poison attempts after cure/heal routines, removed option for unassisted setup, general cleanup

Instructions
    1) Secure container in a house or bankbox (bankbox must be open when starting script)
    2) A lot of bottles of correct levels of Poison, G-Heal, and G-Cure potions in the secure
    3) Dagger, apple, or fishsteak in Backpack
    4) Press start and follow prompts

 Notes
    1) For most effective use of time and resources make sure to at least NPC train the skill
    2) At this time the script only supports potions for healing and curing just to keep things simple
    3) Currently this script uses the following skill chart:
          00.0 - 44.9   Lesser Poison
          45.0 - 69.9   Normal Poison
          70.0 - 99.0   Greater Poison
          99.1 - GM     Deadly Poison

NOTE: Version 3.0 is beta. I have not yet tested it and am soliciting testers. I decided to work on this rather than spend time fixing issues with 2.0. Thanks for watching.

XII
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Hoby on February 23, 2010, 01:34:06 PM
does this use bottles or kegs, or does it matter?
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on February 23, 2010, 04:07:32 PM
does this use bottles or kegs, or does it matter?
Bottles.

I updated he instructions!

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: madatu on February 23, 2010, 04:23:21 PM
   hi,

             I am  at skil level  24.9 and have lesser poison, greater cure and greater heal  pitions also in the  secure targeted container. When i start it,  it tells me  i dont have the correct poison type according to the set up in the  top it should need  lesser. I also have the other two types of poison  potions.  I tried starting it with them in there and withoout. :D 
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on February 23, 2010, 04:58:33 PM
  hi,

             I am  at skil level  24.9 and have lesser poison, greater cure and greater heal  pitions also in the  secure targeted container. When i start it,  it tells me  i dont have the correct poison type according to the set up in the  top it should need  lesser. I also have the other two types of poison  potions.  I tried starting it with them in there and withoout. :D  
Hmmm, k I'll look at it right now. Wish I could have had more people testing it in Beta!! :) Consider this post-beta-pre-production!

X

<edit>
Ok I believe I found the issue, fixed and re-up'd.
Title: Re: XIIxOveR's Poisoning Trainer
Post by: madatu on February 23, 2010, 07:21:50 PM
so far working good 12x i think my problume is i didnt have a dagger in my pack i thought i did  but after putting one in my pack and restarting it sooms to be working started at 25 and gaining i am at 30 atm will  update as i get more skill. I am only going ot 70  skill but i will let ya know whati can.
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on February 24, 2010, 01:31:49 AM
LOL! Well that would do it!!

I was actually able to reproduce your issue immediately though so it definitely wasn't you!

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: madatu on February 24, 2010, 05:01:13 AM
Well it sucessfully got me to my limit. Worket effortlessly. Changed at the next skill jump at  45 in skill. I am sure it would take me as high as desired. Another great one for you 12x. Time to replace all my other pos poison scripts that dont work anymore.
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on February 24, 2010, 05:11:12 AM
Thanks for the feedback m8. Maybe I'll tackle Keg support in the next version ;)

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Hoby on April 02, 2010, 03:39:51 AM
does the crafting gump need to be fixed since the latest patch?  
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Pyargy on April 02, 2010, 05:57:40 AM
does the crafting gump need to be fixed since the latest patch? 

Since this script does not craft anything I don't think the gump change will have any effect on this script.
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Hoby on April 02, 2010, 08:19:32 AM
doh, my bad, i was thinking about c2's potion factory. ;D
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Adenocard on April 16, 2010, 04:04:33 AM
Really nice script moves smoothly... thanks again for another great script  :P I enjoy your work greatly
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on April 16, 2010, 05:04:51 AM
Thanks for the feedback Adenocard, glad it worked out for you.

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Hoby on April 16, 2010, 06:57:42 AM
script works flawlessly, got me to 65 overnight!!
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on April 16, 2010, 07:53:04 AM
Coolness. If I can ever get the will to play again I'll be updating it to use kegs!

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: sozy336s on August 12, 2010, 05:40:08 AM
Dude awesome script! 3281 poison 5682 greater poison, and of course 1124 Deadly. STARTED AT 50
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on August 12, 2010, 06:38:08 AM
Sweet! Glad you liked it and thanks for the stats.

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Outlaw Josey Wales on April 13, 2011, 03:22:01 PM
just curios 12 wonder if the satyr trick would work with poisoning
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on April 14, 2011, 04:45:23 AM
just curios 12 wonder if the satyr trick would work with poisoning
No idea actually but would certainly be cool if it did. You should test that out for us! ;)

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Cerveza on April 14, 2011, 05:08:37 AM
I don't see why not. It lowers your skill which may put you into a "better gains" area. You may even be able to use lesser poisons by doing this.
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Outlaw Josey Wales on April 14, 2011, 06:06:15 AM
just curios 12 wonder if the satyr trick would work with poisoning
No idea actually but would certainly be cool if it did. You should test that out for us! ;)

X
ill test in the next day or so still working on necro at moment only 8 more points to go

Mod Note: I edited the post for you Outlaw just to fix your reply which got lost in the quote, I moved it to the end of the quoted section for readibility ~X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: tekhnolyze on July 03, 2011, 03:11:45 PM
First I wanna say great script.

A question I had though, would there be an easy way to modify it to just cast cure and greater heal instead of requiring gheal and gcure pots? The character I'm training my poison on has magery so it would be a lot cheaper for me to do this than to keep stocked up on non-poison potions.

and

thanks!
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on July 06, 2011, 06:44:46 AM
A question I had though, would there be an easy way to modify it to just cast cure and greater heal instead of requiring gheal and gcure pots? The character I'm training my poison on has magery so it would be a lot cheaper for me to do this than to keep stocked up on non-poison potions.
This is something I've thought about plenty of times; no, it wouldn't be difficult to add it. The thing is, just using pots makes for an incredibly simple and fast script. Also there is no fizzling or failing involved, you suck down a potion and move on. I would love to hear feedback from other's as to totals of GHeal and GCure pots used but my guess is that it isn't very many.

I was already going to update this to include an ROT timer for Siege and Mugen as well as a few other updates so I may go for it and at least make Magery an option. Stay tuned!

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Cerveza on July 06, 2011, 07:52:20 AM
Lots of attention for poisoning lately with the upcoming changes. There's a lot of players taking it from 80 to 100 right now and a whole lot starting out.

I'd like to see it work from bank :)
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on July 06, 2011, 09:06:39 AM
I'd like to see it work from bank :)
I haven't tried it yet but I'm not sure why it wouldn't work from a bank. Just make sure your bankbox is open and you selece a secure within the bank box.

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: SolidSnake on July 21, 2011, 05:00:49 AM
As usual brother..flawless. Very fast.

The one and only thing I would recommend would be to add in an auto hide sub routine to keep your characters training in a stealthy manner. Helps keep the PvP by GM kiddies away.
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on July 21, 2011, 05:39:11 AM
As usual brother..flawless. Very fast.

The one and only thing I would recommend would be to add in an auto hide sub routine to keep your characters training in a stealthy manner. Helps keep the PvP by GM kiddies away.
Thanks and consider it done! I thought it was actually already there. Adding it now...

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on July 21, 2011, 05:55:47 AM
Script Updated to Version 2.0

Added option to stay hidden while training as well as some miscellaneous cleanup.

I posted it as "Beta" until I hear back from someone telling me it seems to be working fine, I'm at work and can't test unfortunately.


XII
Title: Re: XIIxOveR's Poisoning Trainer
Post by: SolidSnake on July 21, 2011, 07:19:36 AM
I bounced my circuit, from work, to take all my computers offline...stopped all the accounts I had training with this. was pretty uncomfortable being afk training in a house. I will fire them back up when I get home and drop a line here.
Title: Re: XIIxOveR's Poisoning Trainer
Post by: SolidSnake on July 21, 2011, 07:49:32 PM
It is not recognizing Greater poison...only thing to report. Hide sub routine works perfect.
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on July 21, 2011, 08:36:57 PM
It is not recognizing Greater poison...only thing to report. Hide sub routine works perfect.
Damn, ok I'll start looking at it but I didn't change anything that should impact Greater Poison pots specifically. I guess I can try training up another poisoner, let me see what I've got for pots on Sonoma. Also, are you failing with version 2.0 but working fine with 1.04?

Thanks for the feedback Snake!

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: bendel on July 22, 2011, 04:22:46 AM
i will try it on sunday and put a feedback =p
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Canuker on July 22, 2011, 04:39:04 AM
It's odd in that I found it wasn't finding the G pots either after I changed the skill down to 64 cause I was out of normal but had 3.5K of the G.  It failed over and over so I ate some pinks to get to 70.7 and it worked with G pots....still gains seemed so few a far between but that is a issue with the skill and the timers not the script.
Title: Re: XIIxOveR's Poisoning Trainer
Post by: SolidSnake on July 22, 2011, 05:01:00 AM

[/quote]
Damn, ok I'll start looking at it but I didn't change anything that should impact Greater Poison pots specifically. I guess I can try training up another poisoner, let me see what I've got for pots on Sonoma. Also, are you failing with version 2.0 but working fine with 1.04?

Thanks for the feedback Snake!

X
[/quote]

The 1.04 works fine, it is only with the 2.0 that the GP issue arises
Title: Re: XIIxOveR's Poisoning Trainer
Post by: NObama on August 07, 2011, 01:10:30 PM
Used previous version to get it to recognize GP.  Now I'm done with GP and I can't seem to get it to recognize DP...either version.  Might just need a restart, but I'm in the middle of scripting something else, too.
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on August 07, 2011, 02:12:43 PM
Used previous version to get it to recognize GP.  Now I'm done with GP and I can't seem to get it to recognize DP...either version.  Might just need a restart, but I'm in the middle of scripting something else, too.
Very odd. I'm in the middle of over-hauling it. Not sure why something that was working flawlessly for so long would suddenly have so many issues. I'll try to get it tested tonight.

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: NObama on August 07, 2011, 03:11:23 PM
Restarted.  Working again.
Title: Re: XIIxOveR's Poisoning Trainer
Post by: jesterboo on August 07, 2011, 11:59:54 PM
great script, gm poison in 2 days. still haven't been able to really use my nox, SW, mage yet though. hopefully this coming weekend
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 8 Ball on September 30, 2011, 03:42:54 AM
It worked fine up to 57 on lesser/normal poison, but when I stopped the script to change clients it stopped recognising the normal poison potions (v2.0). Just restarted in previous version and it works fine now though. :)
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on September 30, 2011, 06:21:59 AM
It worked fine up to 57 on lesser/normal poison, but when I stopped the script to change clients it stopped recognising the normal poison potions (v2.0). Just restarted in previous version and it works fine now though. :)
Thanks 8-ball, I still haven't had a chance to try the new version so I'll start playing with it tonight. The only shards I need to train poisoning on are shards where I have no money or Alchemist LOL.

I'll get an update posted but I'm glad the older version still did the trick.

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: bodfather on September 30, 2011, 10:03:06 AM
 I'll need to work poisoning for an upcoming character. Is 80.1 (if i remember right) the way to go or is there any reason to go to gm?
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on October 02, 2011, 04:32:32 AM
Okie, script updated to 3.0 Beta. Release notes are in the first topic but this is basically a total rewrite and includes Hiding, RoT, and some other tweaks. If you decide to give it a whirl, please let me know if you have issues and I'll try to fix them quickly. I have not had a chance to test this yet but will as soon as I can.

Thanks.

XII
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 8 Ball on October 02, 2011, 12:40:40 PM
I'll give it a try :) Up to 94 now using a combination of the previous scripts, they've worked really well apart from the one issue with pots not being found. Thanks :D

...

Well, seems v3 still suffers from the same issue :( When I start it up I get this message - You have poison potions in your secure but not the right type. Check the skill chart, restock the correct potion type, and resume. Script Pausing! - despite having all 4 poison potion types in my secure. Also no menu pops up, so theres no way to resume the script. Tried restarting client, restarting EasyUO and still the same result :(
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on October 03, 2011, 02:41:48 AM
I'll give it a try :) Up to 94 now using a combination of the previous scripts, they've worked really well apart from the one issue with pots not being found. Thanks :D

...

Well, seems v3 still suffers from the same issue :( When I start it up I get this message - You have poison potions in your secure but not the right type. Check the skill chart, restock the correct potion type, and resume. Script Pausing! - despite having all 4 poison potion types in my secure. Also no menu pops up, so theres no way to resume the script. Tried restarting client, restarting EasyUO and still the same result :(
LOL well that doesn't make for a very good script! ;) Ok, thanks for testing, I have just not been able to get in game for days. I'll take a look.

Ok, menu issue fixed; looking at the finding poison potions issue now. Can you tell me what your poisoning skill is?

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 8 Ball on October 03, 2011, 09:09:47 AM
Right now my poisoning is at 94, but I've been having trouble with it ever since 57ish skill. When it first started I thought it was caused by my switching between clients (as in more than one client window open) but that doesn't seem to be it.
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on October 03, 2011, 12:32:08 PM
Right now my poisoning is at 94, but I've been having trouble with it ever since 57ish skill. When it first started I thought it was caused by my switching between clients (as in more than one client window open) but that doesn't seem to be it.
Well I just showed my idiotness in all it's glory by asking a question you very clearly had already given me the answer to before I asked rofl, sorry about that. You did already mention that it's 94.

Since this doesn't rely on anything like OCR you should have no issues multi-clienting, etc.

This new rewrite I did with 3.0 changed all of the logic I used in 2.0 which is where the problem seemed to first raise it's head even though I didn't change anything in 2.0 from 1.01. Very strange indeed. I guess I need to get off my arse at my next chance and get this thing running. I'm swamped at home over the next few nights but I'll do my best to pull something together on TC and see what I see.

You say 1.0 still works fine, right?

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 8 Ball on October 04, 2011, 03:49:32 AM
Yep 1.0 is fine :) I haven't poisoned myself for like the last 30points of skill so I just hide manually before starting the script and haven't popped out yet. The hide sub works well in 2.0 though, shame about the rest ;) I'm going to be training up another char to GM poisoning after this run so I can keep pestering you about it :D
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on October 04, 2011, 04:22:58 AM
I'm going to be training up another char to GM poisoning after this run so I can keep pestering you about it :D
Dammit, you just figured out my wife's trick! lol.

Sounds good man.

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on October 04, 2011, 11:31:36 AM
Ok, version 3.0 updated. I found an issue with the setup sub that caused it to not find the correct poison types in the secure. Also fixed a typo in the RoT sub call which would have stopped it from working.

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 8 Ball on October 06, 2011, 03:49:56 AM
Think I figured out the problem with finding pots...

You had a section of code where it would select the potion type based on your skill level, but there wasn't a space between the upper skill limit and the closing bracket.

Code: [Select]
event property #findid
            if (%CurrentSkill >= 0 && %CurrentSkill < 450 ) && Lesser in #property
               set %Poison #findid
            if (%CurrentSkill > 449 && %CurrentSkill < 700 ) && ( Lesser notin #property && Greater notin #property && Deadly notin #property )
               set %Poison #findid
            if (%CurrentSkill > 699 && %CurrentSkill < 990 ) && Greater in #property
               set %Poison #findid
            if (%CurrentSkill > 899 && %CurrentSkill < 999 ) && Deadly in #property
               set %Poison #findid
            if %CurrentSkill >= 1000

This is with the space inserted..I'm a complete script noob but I noticed in EUO that the lower skill number was green whilst the higher wasn't (due to the bracket on the end) so I can claim no scripting genius :P Hopefully this is a proper fix and I haven't broken the skill changes in my complete ignorance :D
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on October 06, 2011, 04:36:13 AM
Think I figured out the problem with finding pots...
With my last fix I relized I was actually trying to us the %CurrentSkill coming out of the Setup sub but I hadn't yet set the variable (total oversight on my part). I think that may be a good catch on the paranthesis though man, that's the kind of stuff I tend to miss when I'm putting scripts together at work rather than at home while I can test for syntactical issues lol. So it looks like there were two issues with that sub; better than 3 I guess ;)

New version uploaded and +rep for you!!

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 8 Ball on October 06, 2011, 09:25:21 AM
Just another quick fix, I changed it to this

Code: [Select]
if ( %CurrentSkill > 990 && %CurrentSkill < 1000 ) && Deadly in #property

because otherwise it would stop at 99.9 :)
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on October 06, 2011, 04:20:16 PM
Updated.

Hopefully the typos and syntactical issues are handled now.

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Canuker on October 07, 2011, 06:24:15 AM
I'll give it a run later tonight and see what gives.
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Twisted1851 on November 06, 2011, 12:20:55 AM
Is there any chance we can see a function implemented to use magery as a means of curing, rather than cure pots, so as to save resources?
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Twisted1851 on November 06, 2011, 11:48:51 AM
Nevermind. It really doesn't use enough cure or heals to matter...lol
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Twisted1851 on November 06, 2011, 03:13:42 PM
Something I could use some help with, I'm trying to poison a dagger thats in my HAND, in my paperdoll, rather than in my backpack, and I tried changing the C_, to P_, but now It's saying That is too far away or something. Help please!
Title: Re: XIIxOveR's Poisoning Trainer
Post by: rana70 on November 06, 2011, 08:48:04 PM
Something I could use some help with, I'm trying to poison a dagger thats in my HAND, in my paperdoll, rather than in my backpack, and I tried changing the C_, to P_, but now It's saying That is too far away or something. Help please!

Hi,

the FindItem Command don't have something like "P_"  as an option !

Here are the Options you can use with FindItem:
Code: [Select]
It is possible to specify multiply object types in the {type} parameter (i.e. NSF_FSF).
C Only objects in containers are returned. (Container must be open)
C_{container id} Only objects in the container given by {container id} are returned. (Container must be open)
G Only objects on the ground are returned.
G_{Dist} Only objects on the ground, and no farther than {dist} are returned.
A Hidden Objects.
CA_{container id} Only hidden objects in the container given by {container id} are returned.

To "Find" something that you wear on your Paperdoll
you have to use the #CHARID as Container_ID,
for EUO is your Paperdoll just like a regular Container.

$$$ has to be the ItemType of what you are looking for e.g. Dagger

Code: [Select]
finditem $$$ C_ , #CHARID

cu
Title: Re: XIIxOveR's Poisoning Trainer
Post by: 12TimesOver on November 07, 2011, 01:57:34 AM
Dang, activity in my thread and I miss it all!! ;)

Glad you got yourself straightened out and also that you figured out why I don't bother going with Magery heals and cures, just uses so few resources that keeping the script simple is worth it.

Just curious, why are you trying to poison what's in your hand instead of just putting it in your pack?

X
Title: Re: XIIxOveR's Poisoning Trainer
Post by: bodfather on November 07, 2011, 02:58:38 AM
  If i were a guessing man i'd say he's got an infect pet macro set up as well to try to double the gains.



Title: Re: XIIxOveR's Poisoning Trainer
Post by: shaft on December 20, 2014, 12:08:13 PM
how do i download the script?
Title: Re: XIIxOveR's Poisoning Trainer
Post by: The Ghost on December 20, 2014, 01:56:41 PM
how do i download the script?

May be you should have a look at those page. it will explain why.
http://www.scriptuo.com/index.php?board=55.0
Title: Re: XIIxOveR's Poisoning Trainer
Post by: Azuroth on October 03, 2016, 03:17:50 PM
Is their a reason i cant see the script on the first page? or am i just crazy?
Title: Re: XIIxOveR's Poisoning Trainer
Post by: cybercasper on October 03, 2016, 04:25:28 PM
bc you are still restricted. id go here and read this page im sure it will help you out http://www.scriptuo.com/index.php?topic=12571.0