• 0

    posted a message on Determine item was crafted.

    Awesome! That is once again what I am looking for :).

    Posted in: Lua Code Discussion
  • 0

    posted a message on Determine item was crafted.

    Follow up question:

     

    - CHAT_MSG_TRADESKILLS always fires but doesn't give me information on how many were created.

    - CHAT_MSG_LOOT can give me information on how many were created.

     

    So I'm trying to combine these two messages. Is there any way to check if two messages were sent at the same time?

     

    I can see in etrace that the events are timestamped which should allow me to match them, but I can't figure out how to extract that information.

     

    Sorry, totally new to Lua and WoW addons, obviously I lack some basic knowledge!

    Posted in: Lua Code Discussion
  • 0

    posted a message on Determine item was crafted.

    Awesome, that is exactly the information I was looking for, thank you very much! I must have searched for craft, create, item, make, profession a hundred times, I don't know why I didn't think of tradeskill.

    Posted in: Lua Code Discussion
  • 0

    posted a message on Determine item was crafted.

    Hiya,

     

    I'm trying to write an addon that keeps track of all the items you crafted. However, I have trouble finding out how to even determine an item was crafted. 

     

    I was listening to CHAT_MSG_LOOT and then match it to LOOT_ITEM_CREATED_SELF to see if it is a "You create" message. This works perfectly.

     

    Except. Blizzard screwed up and the items I am most interested in (flasks) don't actually use LOOT_ITEM_CREATED_SELF, but the "You receive" message. So it's not registering those. 

     

    Any ideas on alternative methods to find out you crafted an item?

     

    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.