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

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

    1. thaone0523

      thaone0523 Member

      Joined:
      Jul 25, 2011
      Messages:
      130
      Likes Received:
      0
      Trophy Points:
      16
      To make my question as clear as possible when editing the postscan and cancelscan files do we just drop the text at the bottom of the file with a space or do we replace the existing lines at the end ie

      function Cancel:isScanning()
      return isScanning
      end

      If we just add this to the bottom of the document maybe you should word the instructions as "bottom of page" or something to that effect the "end" is confusing as the text in document is end....

      This may seem silly but i am getting an error because of this. Thanks again.
       
    2. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      LOL :D Ok, I get you now I think. You just simply want to make use of the button yourself? Okay, I looked into the code. It looks like there are some checks if the button name have been modified. Remove all checks "private.button:GetName()" ;) Hope you can get it to work.
       
    3. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      Thanks for the feedback. You have to ADD those lines to the bottom. I have modified the post to be clear.
       
    4. thedon19

      thedon19 Member

      Joined:
      Mar 4, 2010
      Messages:
      193
      Likes Received:
      0
      Trophy Points:
      16
      Thanks for going to the effort, will give it a try asap.

      Quick question for you. I had some issue getting the macro to work with and without mouse prior to this. Is there something else special I need to do? It just flat out doesnt do anything.
       
    5. tomcruise

      tomcruise Banned

      Joined:
      Jan 15, 2011
      Messages:
      345
      Likes Received:
      2
      Trophy Points:
      18
      Any chance you could automate prospecting/disenchanting via TSM_Destroying?
       
    6. Toney001

      Toney001 New Member

      Joined:
      Oct 12, 2011
      Messages:
      1,206
      Likes Received:
      5
      Trophy Points:
      0
      There we go!
      I had just commented out line 184 before because that's where the error pointed me to, and while it did end the errors, it wasn't sending anything.
      I've found the other checks now and the button is accessible and working.

      Thanks a lot :).

      EDT: In case anyone cares, here's the modifications made in order to make the "Auto-Mail" button work:

      TradeSkillMaster_mailing > Modules > AutoMail.lua

      Before:
      Code:
      local button = CreateFrame("Button", nil, MailFrame, "UIPanelButtonTemplate")
      After:
      Code:
      local button = CreateFrame("Button", "TSMAuto-MailButton", MailFrame, "UIPanelButtonTemplate")
      Before:
      Code:
      if not private.currentTarget or private.button:GetName() then
      After:
      Code:
      if not private.currentTarget then
      Delete the following line:
      Code:
      if private.button:GetName() then error("Invalid button name.") end
      The button can be accessed as "TSMAuto-MailButton", and it doesn't seem to require hardware event (ran it through HBConsole), so just a run macro text command in PB should suffice.
       
      Last edited: Mar 27, 2012
    7. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      What you should do is: set up the 2 macros mentioned at post #6, move them to your action bar, fire up TSM manually, then scan and check if it posts/cancels when you press the macro buttons. That should work with the original unmodified addon.

      At its current state the profile only cancels-posts. Can't see where this could be implemented.
      On the other hand I'm working on the new features crafting-buying mats from AH, I definetly see the use there.
      Could you explain a bit more how would you like to see it please? Thanks !
       
    8. thaone0523

      thaone0523 Member

      Joined:
      Jul 25, 2011
      Messages:
      130
      Likes Received:
      0
      Trophy Points:
      16
      OK. This is working great except for another issue I've found I have over 200 auctions going at the moment. In TSM i have it set to 2 auctions per item. So i have excess in my bag. When i was working on this the other day the bot would wait before running a cancel and post cycle.

      The bot is now running a cancel cycle then the post cycle and then continually runs a post cycle over and over there is not break, or stop it just keeps running to mail, back to ah post cycle bank to mail. I have no more mail and have about 30 items in my bag. s anyone else experiencing this? It does not try to cancel again in this way just keeps posting.
       
    9. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      Are you sure, that nothing is in the mailbox? Empty letter maybe? But, to be honest that doesn't make sense either.
       
    10. SjerpaZ

      SjerpaZ New Member

      Joined:
      Jun 4, 2011
      Messages:
      33
      Likes Received:
      1
      Trophy Points:
      0
      I couldnt get it to work at first, it was hanging/waiting after doing a cancel scan (I think its because I didn't have anything posted at the AH at that time). After I posted a few items it started doing a posting scan and worked like a charm.
       
    11. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      Oh, thanks for pointing that out ! It did happen to me also at once, but I totally forgot to note it as a bug.
       
    12. SjerpaZ

      SjerpaZ New Member

      Joined:
      Jun 4, 2011
      Messages:
      33
      Likes Received:
      1
      Trophy Points:
      0
      No problem, it also seems to walk to the mailbox, even though I don't have anything in it, but for me that's not an issue. Works great so for, thanks a lot for this! :D
       
    13. Toney001

      Toney001 New Member

      Joined:
      Oct 12, 2011
      Messages:
      1,206
      Likes Received:
      5
      Trophy Points:
      0
      I don't know if I'm the only one with this problem, but every now and then the post(cancel)/skip/scan buttons are blacked out and the bot gets stuck. Has happened while posting and cancelling.

      The AuctionFrame.lua is properly modified.

      EDIT: Here's a screenshot:

      WoWScrnShot_032712_193412.jpg
       
      Last edited: Mar 27, 2012
    14. Smix

      Smix New Member

      Joined:
      Aug 30, 2011
      Messages:
      215
      Likes Received:
      2
      Trophy Points:
      0
      Ok this is working great, even with mouse wheel macro. You just have to leave pointer at right spot. Just finished ~10hour session no problems at all.
      And glad to see the problem i wanted to report is already reported.
      So just to clear - if there are no items posted on auction house - it getting stuck on inital cancel run. And it has nothing to do with random timers, since i dont use that.

      And still looking forward for keyboard macro ;)
      edit: nvm i see macro now! ty!
       
      Last edited: Mar 27, 2012
    15. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      This has happened to me also =( As far as I see, this only occurs, when game window loses focus. But, I can't come up with any theory why does it happen still. The other I can think about is, that I made an error when *****ing bot check in addon, but in that case the TSM windows should lock itself until reloading UI. Which is not the case for me, if I give focus or move mouse, it gets fixed. Trying to narrow down, what could cause it. Could you try with LUA errors enabled please? Thanks.
       
    16. Toney001

      Toney001 New Member

      Joined:
      Oct 12, 2011
      Messages:
      1,206
      Likes Received:
      5
      Trophy Points:
      0
      I can't help with the addon part, but I'm sure we can find a workaround.
      Right now my profile is set to time out when this happens, and will eventually go on on it's own. It's still annoying, because if it errors during a cancel sequence, it'll have to wait another 10-15 mins to cancel, but it's better than nothing.
      Another possible workaround might be executing the click feature1/2 macro more than once, since manually doing it seemed to unstuck the bot.

      Regarding the lua errors, I'll see if anything comes up.

      EDIT: Just happened again. Unfortunately, no LUA errors :(
       
      Last edited: Mar 28, 2012
    17. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      The problem is, when it happens to me, it just keeps doing that until I give focus/move mouse. So even if it spams the macro a few more tries, the same happens. Just a quick question, do you have StrataFix addon by any chance?
       
    18. Toney001

      Toney001 New Member

      Joined:
      Oct 12, 2011
      Messages:
      1,206
      Likes Received:
      5
      Trophy Points:
      0
      Sorry for the confusion, actually it doesn't get unstuck. I thought it did because I didn't tab back in DURING the time it was supposed to scan. I'm in the same boat as you.
      I even tried macroing /click feature1 and using keyboard manager to press it, thinking it might be forced to require hardware event, but nothing.

      And no, I don't have that addon.
       
    19. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      I will test it with hardware event, maybe thats the cause. Will report back tonight.
       
    20. Toney001

      Toney001 New Member

      Joined:
      Oct 12, 2011
      Messages:
      1,206
      Likes Received:
      5
      Trophy Points:
      0
      I already did, and it's not the cause unfortunately.
       

    Share This Page