• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Request for Smelting Plugin

    Discussion in 'Requests' started by FamilyMan, Dec 30, 2013.

    1. FamilyMan

      FamilyMan New Member

      Joined:
      Dec 2, 2013
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Smelt when bags are full, than mail bars. Is this possible? I searched and couldn't find one in existence. Would make life easier. Thanks.

      P.S. even a one button push to make the bot go to a forge and smelt bars would be awesome enough.
       
    2. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      What do we need to work :

      After that, we should give it a shot, and should be easy.

      Happy new year :)
       
    3. FamilyMan

      FamilyMan New Member

      Joined:
      Dec 2, 2013
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      I use two separate forge/mailboxes

      Location #1
      Forge Location: 3012.453, -538.493, 248.0801
      Mailbox Location: 3033.967, -545.5035, 248.1075

      Location #2
      Forge Location: 3039.785, 1241.686, 654.2108
      Mailbox Location: 3109.033, 1236.609, 654.1478

      Smelting Ghost Iron Ore into Ghost Iron Bars

      Thank you much for your interest :)
       
    4. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Those coordinates are unit location? or player location while around the object?
       
    5. FamilyMan

      FamilyMan New Member

      Joined:
      Dec 2, 2013
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Unit location.
       
    6. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Alright, needs testing tho, tell me what goes wrong (compiled at first attempt, but I can't test it ;))

      What it'll do :

      GLHF
       

      Attached Files:

    7. FamilyMan

      FamilyMan New Member

      Joined:
      Dec 2, 2013
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Alright I will give it a look!
       
    8. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      If everything works fine (behavior atleast) found a little bug, ItemCount returns StackCount instead of the actual item amount.

      Anyway, it's fixed.
       

      Attached Files:

    9. FamilyMan

      FamilyMan New Member

      Joined:
      Dec 2, 2013
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      I haven't tried the second version you have posted, and I am unsre if the issue I faced is the error you discovered but just in case I attached a log.

      WOW client would stop responding and would crash to desktop once HB started when the SmeltingBuddy Plugin was active.

      I will test the second plugin tomorrow. Thanks again for all your help and hardwork :)
       

      Attached Files:

    10. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      An error related to the cast, thought spellmanager included tradeskills too, I will try to get it working using LUA, almost done. (added few checks aswell)

      EDIT : don't even try to use the last build I posted, nothing has changed pretty much

      EDIT 2 : Here we go, latest build using LUA calls, should work as intented attach log if an error occurs
       

      Attached Files:

    11. FamilyMan

      FamilyMan New Member

      Joined:
      Dec 2, 2013
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      ok. I will get a chance tomorrow to test this out and I will let you know :)
       
    12. FamilyMan

      FamilyMan New Member

      Joined:
      Dec 2, 2013
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Alright I went and tested the plugin and there is a pretty serious issue. Whenever the bags get full, the bot says some sort of script in /say. Not very incognito. Due to this I was unable to test the bot any further to see if the smelting plugin works. Attached is the log and a screenshot of the message.

      View attachment 2392 2014-01-06 11.21.txt
      bad say.png

      P.S. Some real life stuff has come up and I will be out of town until Jan. 13th. Once I get back, I'll come back and peek in the thread to see where we are at :)
       
    13. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      This line is the main reason why you try to smelt something in the air :D

      I also forgot to put the last commit for LUA calls, now fixed and tested on my own gatherer, should work.
      I added a check to keep generating paths if the toon can't reach any other. (May cause endless loop, in this case I'll have to ask Chinajade why.) but no more LUA call in /say, and should wait to be in range of interaction with Forge/Mailboxes (hopefully)

      Lemme know what happens when you're back ;)
       

      Attached Files:

    14. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
      ProfessionBuddy is already part of the bot, why not trying to use this? :)
      U'll have a lot of possibilities around Professions with this, and profiles (more or less professional) can be generated by drag/drop, click and save
       
    15. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      Thought about this a while ago, can be painful to discover PB but can be a decent solution =]
       
    16. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
      well this is only a suggestion :) because it can handle everything already (and yes, it is a shit load of work to do if u want complex profiles^^, never said it is perfect^^)
       
    17. FamilyMan

      FamilyMan New Member

      Joined:
      Dec 2, 2013
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      I ran the latest plugin next to a forge with full bags and once again it the LUA call in /say. I stopped the bot immediately afterwards since several players came up on me after the message in /say. Most likely one of them will report me so I need to lay low on testing anymore plugins. Thank you though for your time- I do appreciate it. I attached a log though in case you wanted to fix this for any other member who may be interested in a smelting plugin.

      P.S. it was the same exact LUA call in /say as it was in the screen shot I posted in an earlier post.
       

      Attached Files:

    18. FamilyMan

      FamilyMan New Member

      Joined:
      Dec 2, 2013
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Well i am a dummy.... Just went back through my files and realized I put the newest plugin in the wrong folder, I was testing the plugin that you fixed.. Still going to have to be a bit though before I test it. :eek:
       
    19. toNyx

      toNyx Well-Known Member

      Joined:
      Oct 29, 2011
      Messages:
      3,770
      Likes Received:
      35
      Trophy Points:
      48
      As storm suggested, try to explore the way to do it through ProfessionBuddy, seems a better idea, even tho the plugin should work, may cause issues pretty dangerous (lua leeks, or even random /say that can occur), I can help you if needed ;) hf
       

    Share This Page