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

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

    1. Gatherit

      Gatherit New Member Buddy Store Developer

      Joined:
      Aug 28, 2010
      Messages:
      2,331
      Likes Received:
      68
      Trophy Points:
      0
      I have it working fine but could someone please for the love of gold tell me how to edit waypoints? It looks too botty when you keep running the same path and running straight into the mailbox.

      Thanks :)
       
    2. Madcatz

      Madcatz Member

      Joined:
      May 17, 2011
      Messages:
      752
      Likes Received:
      7
      Trophy Points:
      18
      Anychance one can help with the keybindings mine dont seam to be working
       
    3. guizadas

      guizadas Member

      Joined:
      Dec 14, 2011
      Messages:
      60
      Likes Received:
      0
      Trophy Points:
      6
      First, thanks very much for taking your time to make this. I got it working once but I seem to be having a re-ocurring problem.

      It seems to be working fine: it walks to the mailbox and to the auctioneer, it starts cancel/post searches successfully. However, it does not wait until the cancel search or posting search is completed. It scans cancelling auctions for about 10 seconds, then goes to retrieve mail before the scan has completed. It then starts a 'Post Auctions' search, but again after about 10 seconds it moves on without waiting until the end of the scan.

      Tried disabling GreedyScan, and it was working for a couple of times. Tried again a couple of hours later, and got the same old problem.

      Any ideas what could be causing this?
       
      Last edited: Jun 18, 2012
    4. jackdd

      jackdd New Member

      Joined:
      May 31, 2012
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      Hey! I am trying to set everything up, but it doesn't work at all for me. When I try to run the modifier it just says "Can't find pathing", and when I try to run the bot in honorbuddy the same message is shown. Can someone make a guide (video) on how to fix the setup? I don't get the current one. Thanks, seems like an awesome bot!
       
    5. guizadas

      guizadas Member

      Joined:
      Dec 14, 2011
      Messages:
      60
      Likes Received:
      0
      Trophy Points:
      6
      Also, during peak raid times, I wish to run a your script with a simple modification; instead of cancel -> mail -> post routine, I wanted him to post 4 times before cancelling.

      The reason for this is that I am in a high pop. server with many people using AH. Therefore, items sell fast and there is frequent over cutting. Since I have a large stock of my items, I would sell a lot more this way.

      I have looked at the code (I have little to no xp programming) and tried to achieve this by adding the following to your code, around line 37:

      Code:
      ...
      <While Condition="Me.IsAlive" IgnoreCanRun="True">
          <If Condition="Me.IsAlive &amp;&amp; DateTime.Now.Subtract((DateTime)var1).TotalSeconds &gt;= (int)var2" IgnoreCanRun="True">
            <CallSubRoutine SubRoutineName="DoCancel" />
            <CallSubRoutine SubRoutineName="GetMail" />
            <CallSubRoutine SubRoutineName="DoPost" />
         [B]   <CallSubRoutine SubRoutineName="DoPost" />
            <CallSubRoutine SubRoutineName="DoPost" /> 
            <CallSubRoutine SubRoutineName="DoPost" />[/B]
            <While Condition="Lua.GetReturnVal&lt;int&gt;(Mail_IsEmpty,0) == 0" IgnoreCanRun="True">
              <CallSubRoutine SubRoutineName="GetMail" />
              <CallSubRoutine SubRoutineName="DoPost" />
            </While>
            <CustomAction Code="Lua.DoString(&quot;CloseAuctionHouse()&quot;);" />
            <CustomAction Code="var1 = DateTime.Now;" />
            <CustomAction Code="var2 = new Random().Next((int)Settings[&quot;MinWait&quot;], (int)Settings[&quot;MaxWait&quot;]);" />
            <CustomAction Code="Log (&quot;Starting the next Canceling and Posting cycle in {0} seconds&quot;,var2);" />
          </If>
      ....
      
      By adding 3 Subroutines of DoPost, should this work? I tested it but no luck for me yet... I would really appreciate your help in getting this working mate!
       
    6. TheMaff

      TheMaff New Member

      Joined:
      May 15, 2012
      Messages:
      467
      Likes Received:
      4
      Trophy Points:
      0
      It calls the routines from top to buttom so you would have to add the "DoPost" before "GetMail" if you wanted it to cancel before mail

      PHP:
      <While Condition="Me.IsAlive" IgnoreCanRun="True">
          <If 
      Condition="Me.IsAlive &amp;&amp; DateTime.Now.Subtract((DateTime)var1).TotalSeconds &gt;= (int)var2" IgnoreCanRun="True">
            <
      CallSubRoutine SubRoutineName="DoCancel" />
            <
      CallSubRoutine SubRoutineName="DoPost" />      
            <
      CallSubRoutine SubRoutineName="GetMail" />
            <While 
      Condition="Lua.GetReturnVal&lt;int&gt;(Mail_IsEmpty,0) == 0" IgnoreCanRun="True">
              <
      CallSubRoutine SubRoutineName="GetMail" />
              <
      CallSubRoutine SubRoutineName="DoPost" />
            </While>
            <
      CustomAction Code="Lua.DoString(&quot;CloseAuctionHouse()&quot;);" />
            <
      CustomAction Code="var1 = DateTime.Now;" />
            <
      CustomAction Code="var2 = new Random().Next((int)Settings[&quot;MinWait&quot;], (int)Settings[&quot;MaxWait&quot;]);" />
            <
      CustomAction Code="Log (&quot;Starting the next Canceling and Posting cycle in {0} seconds&quot;,var2);" />
          </If>
      And then i believe 1 DoPost is enough.

      What this does is it will First call the "DoCancel" routine then the "DoPost" routine and at last the "GetMail" routine
       
    7. Woxenrud

      Woxenrud New Member

      Joined:
      Apr 16, 2012
      Messages:
      13
      Likes Received:
      0
      Trophy Points:
      0
      Is there any change you can do to the script so that when your bags are full but there are still items in the mail, the bot posts items on ah and goes to retrieve the rest of the mails and post them too?
       
    8. Madcatz

      Madcatz Member

      Joined:
      May 17, 2011
      Messages:
      752
      Likes Received:
      7
      Trophy Points:
      18
      Anyone tell me wtf im doing wrong with the keybindings its not even cancelling my posts or Posting anything i have TSm setup right an modified the TSM files i can send a log if needed i get no errors at all
       
    9. guizadas

      guizadas Member

      Joined:
      Dec 14, 2011
      Messages:
      60
      Likes Received:
      0
      Trophy Points:
      6
      The order doesnt really matter for me, I just want the profile to do more than 1 post cycle every loop. Anyways, that change I made to the code seems to be working now, the bot goes through x number of loops if I post that line x number of times.

      However, it appear to have broken the minWait/MaxWait functions of the profile. The bot is no longer waiting after each cycle as it should with minWait/MaxWait settings, it just gives me the following error message:

      Code:
      Err: Custom Action:(var2 = new Random().Next((int)Settings["MinWait"], (int)Settings["MaxWait"]);)
      var2 = new Random().Next((int)Settings["MinWait"], (int)Settings["MaxWait"]);
      Any ideas on how to fix?
       
    10. LowKey

      LowKey New Member

      Joined:
      Mar 9, 2012
      Messages:
      634
      Likes Received:
      4
      Trophy Points:
      0
      It should do this by default. At least, mine does with no modifications. Can you tell us what yours is doing? Are you using profession bags?

      Me and bootdude covered this pretty extensively. (well, he was kind enough to answer my dozens of noob questions about it) take a minute to go through the thread and you'll find all you need.

      Are you trying to use scroll wheel or mouse-less? Either way, try looking thru the thread as your question has likely already been answered.
       
    11. RayVanHalen

      RayVanHalen New Member

      Joined:
      Mar 5, 2012
      Messages:
      190
      Likes Received:
      1
      Trophy Points:
      0
      May I suggest using TSM_Warehousing for that? It handles the restocking process with just one click. For example, if you could make the character go and move a group of Warehousing to bags every X cycles of posting. That would greatly extend functionality of the profile.

      Crafting would still be tricky though, but with ARelog schedules and other profiles that would be possible to accomplish. I think that generally you shouldn't try to unify the whole routine within your profile - that would very overcomplicated, considering the amount of possible combinations of farming/crafting/banking accounts.
      I'll take a setup with one farmer, one crafter and one banker (farmer and crafter on the same account, banker on the other) as example:

      Account #1: Farming & Crafting
      1) The farmer mails everything to the crafter whenever his bags get full - X hours, then logs on the crafter
      2) The crafter makes the goods and mails them to the banker - X minutes, then logs back on the farmer

      Account #2: Banking
      The critical element of this scheme is interacting with the bank/guild bank to dump everything from the banker's inventory. The amount of items produced and mailed by the crafter can easily make the banker's bags full when price thresholds and post caps apply, then he'll be caught into an endless loop. So we need to empty our bags into the bank or guild bank after every post scan.

      TL;DR: The only thing we need to restock from crafters is a mechanism of interacting with pbank and gbank. Actual crafting is better to be done by external methods.
       
    12. glvtron

      glvtron Member

      Joined:
      Mar 10, 2012
      Messages:
      128
      Likes Received:
      3
      Trophy Points:
      18
      Actually it's implemnted already but I only released it to "donators".Will release it here soon, when I have some time. (few days) It uses warehousing ;)
       
    13. dearik

      dearik New Member

      Joined:
      Apr 19, 2011
      Messages:
      62
      Likes Received:
      0
      Trophy Points:
      0
      Anyone to help modify it to only post and never cancel?
       
    14. RayVanHalen

      RayVanHalen New Member

      Joined:
      Mar 5, 2012
      Messages:
      190
      Likes Received:
      1
      Trophy Points:
      0
      Also, do you think that would be possible to implement more intelligent mail processing? My banker got stuck when he had one bugged (no item) "Auction cancelled" mail left in the mailbox and didn't seem to be going anywhere at all during ten minutes I waited for him to do something.

      I guess a simple solution would be capping the amount of time the banker can spend at the mailbox, preferably as a configurable variable. Would be very lovely if you could implement something like this, because getting stuck at retrieving mail seems to be very dangerous.
       
    15. guizadas

      guizadas Member

      Joined:
      Dec 14, 2011
      Messages:
      60
      Likes Received:
      0
      Trophy Points:
      6
      Just wanted to thank the creators of this bot. making me a ton of gold. please keep it updating! you're a legend
       
    16. holyghit

      holyghit Member

      Joined:
      Apr 7, 2011
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      6
      cant get it to post anything dont know what im doing wrong when i look at debug it says

      [18:37:04:340] PB 1.471:Wait Until false Completed
       
    17. holyghit

      holyghit Member

      Joined:
      Apr 7, 2011
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      6
      well it seems to be doing the right thing like cancelling running to mailbox and posting but it doesnt actually do the searches in tsm or post anything so im not sure whats wrong, i double checked my macros they seem right
       
    18. kathoreas

      kathoreas New Member

      Joined:
      Jun 10, 2012
      Messages:
      51
      Likes Received:
      0
      Trophy Points:
      0
      can the auction to mailbox be randomized more pls, i noticed every time that it goes to the same spot by the mailbox, and every time it goes to the exact same place in the auction house (stormwind)

      other than that pretty amazing bot. how often do you guys use this? was checking chat log and someone reported me for AH botting, but w/e
       
    19. RayVanHalen

      RayVanHalen New Member

      Joined:
      Mar 5, 2012
      Messages:
      190
      Likes Received:
      1
      Trophy Points:
      0
      Just trust me on this, Blizzard doesn't care. The chances that anyone is going to check you are extremely slim.
       
    20. holyghit

      holyghit Member

      Joined:
      Apr 7, 2011
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      6
      The script to edit TSM isnt working for me, i tried editing the tsm files manually then tsm stops working, anyone able to zip and upload their tsm addon folders?
       

    Share This Page