• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [PB] advanced TSM AH bot profile

    Discussion in 'Archives' started by glvtron, Mar 23, 2012.

    1. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      Ofcourse :), thats my ultimate goal. To make it work with HBRelog, so it would log all your crafting characters, crafting then mailing everything to bank-ah character.

      You need to change "nil" at
      TradeSkillMaster_Mailing/Modules/AutoMail.lua
       
      Last edited: Mar 27, 2012
    2. Smix

      Smix New Member

      Joined:
      Aug 30, 2011
      Messages:
      215
      Likes Received:
      2
      Trophy Points:
      0
      It does everything it supposed to do now, there is error window everytime you open auction house window tho.
      This window also blocks posting/cancelling cycle untill you close it (wheel post/cancel)
       
    3. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      Fix:
      TradeSkillMaster/Auction/
      AuctionFrame.lua
      replace line
      with
      updated post #6 also
       
    4. Smix

      Smix New Member

      Joined:
      Aug 30, 2011
      Messages:
      215
      Likes Received:
      2
      Trophy Points:
      0
      Error gone, thank you!
      Now theres pretty big fuck up. Probably that isnt easy to fix.
      Thing is when your mouse is over your open bags (that are opened automatically after you open auction house windows) wheel post/cancel does not work. It just randomly scroll up and down tsm frame with auctions inside ah window. Does not trigger cancel or post.
      I know there is special spot for mouse cursor to wheel macro work correctly in new TSM, but opened bags are over this spot.
      Same thing happens if your mouse is over honorbuddy window lets say.

      Bags scale bit different in size than acution house, and if your wow window is really small (what we botters want usually ;) bags are over whole auction house basically.

      Not sure if its easy to implement another workaround without mouse at all, but mouse will cause alot of troubles thats for sure.
       
    5. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      I was afraid it would cause problems. Thinking on a workaround. Would it work fine if the mouse is around the top left corner?

      edit: If not, I can make the option for normal button macro rather.
       
    6. Smix

      Smix New Member

      Joined:
      Aug 30, 2011
      Messages:
      215
      Likes Received:
      2
      Trophy Points:
      0
      Well its hard to tell how exactly it works.

      Now it accepts wheel macro even if wow window is not in focus and mouse cursor is in text editor.
      Probably TSM wants initial first "tick" of cancel or post to be in right place, than it accepts everything or something untill you relog, dunno.
      Il play with it some more.
       
    7. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      It works, if you leave the cursor on a frame wheres no use of mousewheel, but ofcourse thats not an acceptable solution.
       
    8. Toney001

      Toney001 New Member

      Joined:
      Oct 12, 2011
      Messages:
      1,206
      Likes Received:
      5
      Trophy Points:
      0
      I tried this last night and it gave me some "wrong button name" error or something. I'll try it again when I get to the office and post a screenshot of the error.

      About that problem with the mouse, why don't you just use the keyboard like I did? It's working fine with your modifications (at least in my profile).
      Feel free to take the code if you want.
       
    9. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      Please check post #6 again (or the post above), I have added a fix for that error.

      Regarding the mouse problem, yes I will have to stick with that solution, as moving the mouse is a bit problematic.

      edit: added a modified profile for this at post#6
       
      Last edited: Mar 27, 2012
    10. Toney001

      Toney001 New Member

      Joined:
      Oct 12, 2011
      Messages:
      1,206
      Likes Received:
      5
      Trophy Points:
      0
      I don't know if that was for me or for the guy with the mouse problem, but with TSM fully modified, I changed that one line from:

      Code:
      local button = CreateFrame("Button", nil, MailFrame, "UIPanelButtonTemplate")
      To:

      Code:
      local button = CreateFrame("Button", "TSMAuto-Mail", MailFrame, "UIPanelButtonTemplate")
      And I get this error (also, it doesn't mail anything):

      WoWScrnShot_032712_135453.jpg

      Also, when closing the mailbox I get this error:

      WoWScrnShot_032712_135508.jpg

      Hope you can find a fix, but if you have other priorities don't worry about it. I can always stick to a billion lines of code to get everything where it needs to go!

      Thanks in advance.
       
    11. truulte

      truulte New Member

      Joined:
      Feb 24, 2012
      Messages:
      225
      Likes Received:
      0
      Trophy Points:
      0
      My TSM button is gone after editing the files...?
       
    12. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      Toney, I replied to this when I said recheck post #6. There were additional modifies needed I forgot to mention, and those are needed for the profile to work.

      What you are trying to do, gives an error because "TSM-AutoMail" is invalid I think. Try it without "-".
       
    13. thaone0523

      thaone0523 Member

      Joined:
      Jul 25, 2011
      Messages:
      130
      Likes Received:
      0
      Trophy Points:
      16
      Can someone clarify the code for the scanning. ie

      PostScan.lua
      add lines at end
      function Post:isScanning()
      return isScanning
      end
      CancelScan.lua
      add lines at end
      function Cancel:isScanning()
      return isScanning
      end

      Should the end of page look like this

      function Cancel:isScanning()
      return isScanning
      end

      or this

      function Cancel:DoneScanning()
      isScanning = false
      function Cancel:isScanning()
      return isScanning
      end

      When i replace the code with this code i get an error when i add the code to end scanning and canceling does not work at all.
       
    14. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      Then you have modified something wrong probably. Recheck the modifications please.
       
    15. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      Can you give a better explanation please whats happening exactly? Thanks.
       
    16. Toney001

      Toney001 New Member

      Joined:
      Oct 12, 2011
      Messages:
      1,206
      Likes Received:
      5
      Trophy Points:
      0
      Nope. Still not working.
      For the record, I did a clean install at work so everything has been properly modified.
      I'm guessing it needs more modifying than just adding a name to the "Open All" button.
       
    17. truulte

      truulte New Member

      Joined:
      Feb 24, 2012
      Messages:
      225
      Likes Received:
      0
      Trophy Points:
      0
      Well I just replaced all the lines with the lines you wrote, so if it's wrong, ur doing it wrong xD
       
    18. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      You are getting me wrong.

      The line you modified is at TradeSkillMaster_Mailing/Modules/AutoMail.lua.
      This is for the button at the top, for sending items to alt characters.

      The line needed to be modified for the profile to work is at TradeSkillMaster_Mailing/TradeSkillMaster_Mailing.lua
      Also, the buttons name need to match with the one in the profile, but I think you already know this!

      Sorry for the confusion !
       
    19. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      Can you please zip the modified files and send it to me? Haven't got better idea, if the addon doesn't even show up on your AH.
       
    20. Toney001

      Toney001 New Member

      Joined:
      Oct 12, 2011
      Messages:
      1,206
      Likes Received:
      5
      Trophy Points:
      0
      LOL! You are getting ME wrong!

      That's the button I'm trying to modify, the one at the top, to SEND mail.

      You even pointed me to that line yourself!

      http://www.thebuddyforum.com/honorb...advanced-tsm-ah-bot-profile-3.html#post498767
       

    Share This Page