Category: Rogue
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Author:
Version:
30100.01
Date:
04-14-2009 07:50 AM
Size:
5.58 Kb
Downloads:
7,505
Favorites:
141
MD5:
Pictures
Click to enlarge
Buying Poisons
Click to enlarge
Options Frame
EasyPoisons   Popular! (More than 5000 hits)
EasyPoisons is an automagical poison buyer. In other words, it buys your poisons for you. It is designed for lazy rogues (such as myself) and is incredibly small while also incredibly easy to configure.

Features:
  • Load On Demand (LoD) options for configuration
  • Restock any poison for any amount up to 100
  • Detects your character's level and buys the highest rank of the poison for your character
  • Does nothing (and uses no memory) if the player's class is not rogue or if the player is below level 20
  • Compatible with all localizations

Type /easypoisons to open the options frame:
  • Sliders and Edit Boxes for configuring each type of poison
  • Movable (Drag the title bar)

Known Issue(s):
  • You will have to visit a poison selling merchant vendor at least once before it can update it's information accurately. This only applies after server resets and/or patches.
  Change Log - EasyPoisons
--------------------
04-14-09 | 30100.01

- Updated toc for patch 3.1
- Changed format of ChangeLog
--------------------
Unknown | 30000.03

- Fixed many bugs left over from previous attempts at querying the server for poisons
- No longer supports checking for players below level 20 (Really, you shouldn't have this enabled in the first place if you can't use it)
- AddOn will simply silently fail if the player is below level 20 now
- Fixed some bugs and improved some areas of code for the options frame
- EasyPoisons no longer queries the server for poison information
--------------------
Unknown | 30000.02

- Temporary bug fix for blank options frame.
--------------------
Unknown | 30000.01

- Starting fresh, saved variable updates no longer compatible with the old system (before localization through itemID's); some of you may have to update your poison purchasing numbers
- Changing versioning method once again
- All bugs from lower level poisons and leveling up should be fixed
- Improved the poison itemID querying from the server (Thanks to IBLJerry on WoWInterface!)
- Added checks to your level so EasyPoisons will not waste time/resources performing actions if you can't use any poisons anyway
- Changed the options to a Load On Demand addon so it doesn't waste resources
- Added edit boxes to the sliders in the options to change numbers even easier
--------------------
Unknown | 3.0.9-1.0

- now query server for poisons
- now uses itemID's for saved variables/merchant item lookups
--------------------
Unknown | 3.0.8-1.01

- small code tweaks
- updated screenshots on WoWInterface
--------------------
Unknown | 3.0.8-1.0

- complete code rewrite. It is now faster and more cpu efficient (and easier to decipher!)
- the poison ranks of your current level are now displayed as the name of the poison in the options frame
- changed versioning method to: (current wow patch)-major.minor
- ToDo: Make EasyPoisons compatible with all WoW locale
--------------------
Unknown | 2.2

- major code cleanup on options frame
- saved variables code streamlined which also improved various areas of the code as a side effect
- other random code changes
--------------------
Unknown | 2.1

- Options frame redesigned
- now has supporting textures
- added tooltip on title
- code streamlined, cleaned up, and is now much more legible and consistent
--------------------
Unknown | 2.0

- 2.0 introduces the options frame
- each poison has a slider with a value from 0 to 100, set the value to 0 to not buy any poisons of that type
- slider value can be changed via click/slide/mousewheel
- frame can be moved by dragging the title area where it says "EasyPoisons"
- type /easypoisons to open the options frame
- type /easypoisons again to close the options frame, or click the close button in the upper topright corner of the frame
- screenshots, code cleanup/improvements, and more love still to come
--------------------
Unknown | 1.4

- forgot to remove /ep slash shortcut, whoops!
- increased maximum number of purchasable poisons to 100! Thanks to Senjuro/Tony for the help
--------------------
Unknown | 1.3

- lowered max number of poisons to buy from 40 to 20. Buying more than a stack is usually unnecessary with how easy it is to buy them now
- changed ChatFrame1:AddMessage to print for the slash command output
- reduced the number of if checks for poison ranks by roughly half, making it faster and use less resources
- used tostring to get around the nil merchant name index, but it will still do nothing because you need to have the item saved in your local cache for it to not be nil
- cleaned up the OnEvent code, slightly improving speed and resource usage as a side-effect
- removed /ep slash shortcut to /easypoisons to prevent addon slash command conflictions
- bumped toc to 30000, ready for 3.0 to hit live!
--------------------
Unknown | 1.2

- cleaned up the slash function some more
- improved the accuracy of the vendor scanning function
- added a nil check for the occasional unpopulated merchant index
- reorganized if statements alphabetically by poison; nothing important, just looks nicer and more consistent
--------------------
Unknown | 1.1

- cleaned up the slash function slightly
- through a slight hack, increased total number of purchasable poisons to 40
- I noticed I accidently uploaded it on wowinterface under the name "EasyPoisoner" and even used that in the description. This is now fixed. I'm sorry if there was any confusion
--------------------
Unknown | 1.0

- initial beta release
  Comments - EasyPoisons
Post A Reply Comment Options
Old 03-06-2009, 03:06 PM  
Sauronnow
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
I am getting this error with the new version, every time I click on a npc vendor:

[2009/03/06 16:57:25-1158-x1]: EasyPoisons-3.0.9-1.0\EasyPoisons.lua:306: bad argument #1 to 'match' (string expected, got nil)
EasyPoisons-3.0.9-1.0\EasyPoisons.lua:306: in function <Interface\AddOns\EasyPoisons\EasyPoisons.lua:303>
(tail call): ?:

---
Sauronnow is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-19-2009, 02:58 PM  
Beoko
A Defias Bandit
 
Beoko's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 47
Uploads: 12
Speaking of localization... I just uploaded a new version which should make EasyPoisons compatible with all localizations! =) However, it's untested. I also added in a feature which will query the server if the poison's itemID returns nil, which is also untested. Hopefully these both work out of the box, but obviously I won't know until something happens.
Beoko is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-17-2009, 09:52 AM  
Beoko
A Defias Bandit
 
Beoko's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 47
Uploads: 12
Quote:
Originally posted by Ingram2005
Hello~!
I have translated the name of the poison into Chinese, so will the UI work under the chinese edition?
Thank you for the support, Ingram. However, I am planning on switching from english strings to spellID's which should automatically translate the name into any language. =) The only problem I'm having is finding a reasonable way to store and look-up this information for poison information when you go to buy them (and obviously, time itself for doing all of this!).
Beoko is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 02-17-2009, 02:58 AM  
Ingram2005
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Hello~!
I have translated the name of the poison into Chinese, so will the UI work under the chinese edition?
Ingram2005 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-27-2009, 05:48 AM  
Beoko
A Defias Bandit
 
Beoko's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 47
Uploads: 12
Ok I finally got around to updating EasyPoisons today. Overall it was quite a big update, but it should be fairly small to a normal end-user . Hopefully I can find time in the future to figure out a way past the nil merchant index and work on completing localization.
Beoko is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 01-22-2009, 08:21 AM  
Beoko
A Defias Bandit
 
Beoko's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 47
Uploads: 12
I'm currently in the process of rewriting the core of EasyPoisons. As far as actual changes go... the only noticable change would be the exact poison name being displayed in the options frame instead of the no rank poison name - which is minor at best.

So at this time I'm hoping to find some feedback on any feature requests which may be found useful . I was thinking of adding an option to always buy the specified poison amount rather than only the missing amount. However, I do not know how useful this option would be for I doubt I would ever use it myself. I cannot think of a practical or useful situation for it (but that does not mean it could not be practical or useful for someone else ).

Hopefully, I'll have it released by the end of this week or beginning of the next.
Beoko is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-28-2008, 08:10 PM  
Beoko
A Defias Bandit
 
Beoko's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 47
Uploads: 12
Quote:
Originally posted by bmon
Can you include a threshold for each item, so if i set a threshold of 20 for an itme and i have 5 on me already of that item i only buy 15? Would sure be an awesome feature, just like the old poison master addon.
That's exactly how it works still. =) EasyPoisons will always calculate how many you have in your bags then buy poisons based off of the (number you set - number you already have).
Beoko is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-28-2008, 07:48 PM  
bmon
A Defias Bandit

Forum posts: 2
File comments: 20
Uploads: 0
Can you include a threshold for each item, so if i set a threshold of 20 for an itme and i have 5 on me already of that item i only buy 15? Would sure be an awesome feature, just like the old poison master addon.

Last edited by bmon : 11-28-2008 at 07:50 PM.
bmon is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-19-2008, 11:35 PM  
Beoko
A Defias Bandit
 
Beoko's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 47
Uploads: 12
Ok I just updated EasyPoisons again with some much needed code streamlining. I think I'm pretty much done with random code changes unless an issue pops up.

Thanks again for the information, Rickster. I'll check out auditor2 when I get a chance to see if anything weird is going on when it alerts you when you buy merchant items. If I don't find anything then I'll just drop the issue unless someone else has it happen. Another theory I have is that weird things are happening if a person's local cache does not have the poison. I think it's possible to force the cache to add poisons before someone even touches a vendor, though. I'll look into that and see how nasty it is, and whether or not the issue is being caused by it as well.

Last edited by Beoko : 11-19-2008 at 11:35 PM.
Beoko is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-18-2008, 05:12 PM  
Rickster2275
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Quote:
Originally posted by Beoko
Well I would like to solve this issue so it doesn't happen again, if ever. =) The mod calculates your poison rank based on level through a very terrible if-then-else statement of doom - so whether or not the items were in your local cache would not have affected that. Do you know which mod told you that you paid 68 gold for poisons? Perhaps it was an issue with it. Sorry for being so persistent.
No problem. I use auditor2 (aka AuditorFu) to keep track of my money.
Rickster2275 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-17-2008, 11:10 AM  
Beoko
A Defias Bandit
 
Beoko's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 47
Uploads: 12
Quote:
Originally posted by Rickster2275
As far as I remember I only clicked once on the poison vendor and waited. I did not click again on the vendor or on anything in the shopping window. Next thing I saw was a message from one of my other mods telling me that I spent about 68 gold for poisons. Probably the mod didn't know my skill in poisons as there were no data about it in local cache. I seem to be the only one experiencing this so I think it was just a combination of unlucky circumstances. If you say everything is fine with the code, just forget about it.
Well I would like to solve this issue so it doesn't happen again, if ever. =) The mod calculates your poison rank based on level through a very terrible if-then-else statement of doom - so whether or not the items were in your local cache would not have affected that. Do you know which mod told you that you paid 68 gold for poisons? Perhaps it was an issue with it. Sorry for being so persistent.
Beoko is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-17-2008, 09:45 AM  
Rickster2275
A Kobold Labourer

Forum posts: 0
File comments: 4
Uploads: 0
Quote:
Did you let the tooltips in the merchant window load before clicking again (items were not stored in local cache so easypoisons could not detect them).
As far as I remember I only clicked once on the poison vendor and waited. I did not click again on the vendor or on anything in the shopping window. Next thing I saw was a message from one of my other mods telling me that I spent about 68 gold for poisons. Probably the mod didn't know my skill in poisons as there were no data about it in local cache. I seem to be the only one experiencing this so I think it was just a combination of unlucky circumstances. If you say everything is fine with the code, just forget about it.
Rickster2275 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-16-2008, 10:43 AM  
Beoko
A Defias Bandit
 
Beoko's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 47
Uploads: 12
Sorry for the wait everyone. EasyPoisons now has an options frame! How to manipulate the frame is documented on the changelog and on the addon page itself. I pushed it out in a working state, however I did not have enough time to test everything for bugs so there may be some. There will be more to come with it - such as screenshots, code cleanup/improvements, textures for the sliders, tooltips maybe, and stuff like that. I hope everyone enjoys it.
Beoko is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-16-2008, 05:19 AM  
Beoko
A Defias Bandit
 
Beoko's Avatar
Interface Author - Click to view interfaces

Forum posts: 2
File comments: 47
Uploads: 12
Quote:
Originally posted by Rickster2275
I'm level 66 and I had some poisons in my inventory. Probably some instant and deadly poisons. I'm not sure, if this is relevant, but I had completely reinstalled WoW since I deinstalled it when I quit some months ago. I only clicked once on the vendor expecting to be able to configure the mod. Btw, never mind the money. I didn't go broke and have already earned as much as I lost through this "accident".
I'm sorry, but I cannot reproduce this at all. =( Tried different amounts of poisons, manipulating level between 60-70, different vendors, different poison numbers, etc. There was just not a thing wrong with it. The code also implied that it is completely fine as well. Are you sure there was no lag or distortion when you clicked the merchant? Also, you say that you just started playing again. Did you let the tooltips in the merchant window load before clicking again (items were not stored in local cache so easypoisons could not detect them). I'm really sorry, I just cannot figure out how this happened.

Quote:
Originally posted by Brakken
Let me tell you my thoughts. PLEASE DO IT....

Thanks for your great work.
Sorry, I've been extremely busy with rl and especially in game since wotlk launched. It's my next thing to do - along with making sure I don't bloat it too much in the process. =)
Beoko is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-16-2008, 02:44 AM  
Brakken
A Kobold Labourer

Forum posts: 0
File comments: 6
Uploads: 0
Quote:
Originally posted by Beoko
Not currently. As in my last post I was looking for some feedback before completely altering the config structure. Considering it's something that's been requested twice now, I'll do it! So here's what I was thinking for config:

Slider for each poison with a range of 1-100. Also, each poison will have a checkbox discerning on whether or not to ignore it. Thoughts on this?
Let me tell you my thoughts. PLEASE DO IT....

Thanks for your great work.
Brakken is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.