January 5, 2010

KTQ/Altoholic fix on its way

Filed under: Uncategorized — Kevmar @ 5:43 pm

I see that Thaoky is doing a lot of work on Altoholic.  By depending on his code for KTQ, he saves me a lot of work.  I was able to just ask Altoholic for an item count and it would give it to me.  That was a wonderful feature that made KQT work.  If I had to write the code to track every item every char had in every location and build in account sharing, I would not have made this mod.  So everyone needs to give Thaoky a big thank you.

The downside is that any number of changes in Altoholic can break KTQ.  The author makes his changes, does his testing, and releases a working mod.  He has no idea what code someone else is connecting into.  That’s a risk I took when I wrote this.  The same holds true for all the other mods I depend on.

Back to the problem that broke KTQ.  Altoholic has a function called GetItemCount(ItemID) that I found one day while digging around the source.  It was a public function so I could call it from another mod and did not have to change any source in Altoholic to do so.  Recently the author restructured his code a little bit.  This is a common thing for devs to do.  In the process he moved that function to a location that made it local (or private).  Private functions can only be seen by local code.  That excludes me.

I decided it was worth contacting the author about it.  Try to get him to open it back up again.  When I checked his change log for the upcoming release, its already changed.

r66 | thaoky | 2009-12-28 18:03:24 +0000 (Mon, 28 Dec 2009) | 1 line Changed paths: M /trunk/Tooltip.lua GetItemCount() is now a public method again.

I took a peak at the alpha source and found where he opened it up for other authors.  I don’t know if it was just KTQ users that requested it or if other mods use it too.  Either way, we thank him for it.  You can find it over at curseforge if you are looking to test it out.  Many of you may find this easier than hacking my source.

14 Comments »

  1. I just reverted to the previous version of Altoholic (3.2.003b) in the meantime. Still works fine under 3.3. The 3.3.x series of Altoholic was crashing my WoW client (could have been interactions with KTQ and Skillet Item Count though, didn’t check) when I opened the mailbox a lot of the time, and it broke the item counts in Skillet (due to what you mentioned above).

    Great to hear that Thaoky is willing to work with other mod authors so that we’ll have our very useful crafting tools updated in the future, as well as that you’re keeping an eye out for those of us that find KTQ an amazing timesaver.

    Comment by Kulggen — January 5, 2010 @ 6:18 pm

  2. good to hear, and glad that you are still around to update the code Kev. Although I still use the old version of Altoholic this hasn’t effected me… but it’s bound to need updating in later versions.

    KTQ has become such a time saver in my crafting that I’d be truly saddened if it stopped working. so thank you for your time making and updating it.

    Comment by Kraklin — January 5, 2010 @ 11:02 pm

  3. ZeroToRescue allready build a workaround.

    http://zero.isimba.org/uploads/ZTAltoholicFix.rar

    Comment by Casey — January 6, 2010 @ 1:26 am

  4. Is there a new and working Skillet out there? Lilsparky’s clone I was using keeps bugging in 3.3 and I can’t get anything done lately…

    What version of Skillet are you are using for your KTQ?

    Comment by Okrane S. — January 6, 2010 @ 3:19 am

  5. This is very good to hear :D Thanks for the info.

    Comment by Yashima — January 6, 2010 @ 4:14 am

  6. Okrane,

    I’m just using the standard version off of Curse. Kev added support for other Skillet version around 1.03 of KTQ. Not sure what version of Skillet off hand (although I think the most current version) as I’m not at my desktop at the moment.

    While I liked a couple of oddball features in the Littlesparky’s version of Skillet, it had stability issues on my system.

    I tend not to upgrade my AH mods until a week or two after the patch for this reason :)

    Comment by Kulggen — January 6, 2010 @ 5:44 am

  7. Good to see you around, I had wondered if you had left etc.

    Comment by Someone — January 6, 2010 @ 10:54 am

  8. Nice to see your not gone ;) Hope you will write some posts again.

    Comment by Solarius — January 6, 2010 @ 1:57 pm

  9. I’m around enough to read comments and clean up spam even if I don’t respond. I think I logged into wow only once in the last 3 weeks. Just kind of chilling and doing some casual programming.

    When I do return to wow I will keep this blog a little more up to date.

    Comment by Kevmar — January 6, 2010 @ 4:13 pm

  10. Has anyone been able to see item quantity numbers in the Skillet window? It dropped off at some point in the last few months (not a huge deal since I queue anyways) but I tried the mod from Kevmar and that also is giving me lua errors. Anyone able to use that currently?

    Comment by Jeremy — January 7, 2010 @ 10:24 am

  11. Thanks for this. I use this function in a few addon customizations and I figured a quick google search was worth a shot before digging back in to see what became of it.

    Comment by pickles — January 8, 2010 @ 9:50 pm

  12. Jeremy,

    I had the same problem for a bit, but downgrading my Altoholic to the 3.2 version solved it for me.

    Comment by Kulggen — January 9, 2010 @ 12:29 am

  13. Kev could you please have a look at my comment on the skilletitemcount page? I hacked in some scroll support and would like to see it implemented into your main release if possible.

    thanks in advance, and thanks for your great addons in general.

    Anti

    Comment by Anti — January 12, 2010 @ 7:23 am

  14. good news everyone ;)

    it seems to work, with the alpha realease (currently r68), thanks altoholic. and thanks kevmar of course.

    btw are you still alive and kicking?

    Comment by Cthu — January 13, 2010 @ 11:42 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment



Powered by WordPress