• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Why won't this profile use mailbox?

    Discussion in 'Honorbuddy Support' started by rinleezwins, Feb 9, 2012.

    1. rinleezwins

      rinleezwins Member

      Joined:
      Jan 19, 2012
      Messages:
      269
      Likes Received:
      0
      Trophy Points:
      16
      So a little skinning profile of mine. Each time the bags get full, it will just keep killing mobs forever and that's it. Any ideas why? I am using Grindbot of course.
       

      Attached Files:

    2. buzzerbeater

      buzzerbeater Well-Known Member

      Joined:
      Mar 21, 2011
      Messages:
      5,419
      Likes Received:
      28
      Trophy Points:
      48
      Dunno if it helps, but change the code to:

      <Mailboxes>
      <Mailbox X="-9429.86" Y="-968.0162" Z="111.0119" />
      </Mailboxes>

      With those coords yes try it again and post a log afterwards if it isnt working.
       
    3. rinleezwins

      rinleezwins Member

      Joined:
      Jan 19, 2012
      Messages:
      269
      Likes Received:
      0
      Trophy Points:
      16
      Code:
      [15:41:14:041] Cleared POI - Reason Starting up
      [15:41:14:042] Cleared POI
      [15:41:14:519] [CutPurse]: Active
      [15:41:14:586] Activity: Moving to hotspot
      [15:41:14:598] Activity: Loading Tile/s
      [15:41:14:598] Loading Kalimdor_30_47
      [15:41:14:730] Loading Kalimdor_30_49
      [15:41:14:805] Loading Kalimdor_30_48
      [15:41:14:872] Loading Kalimdor_31_47
      [15:41:14:973] Loading Kalimdor_31_48
      [15:41:15:121] Loading Kalimdor_29_47
      [15:41:15:240] Loading Kalimdor_31_49
      [15:41:15:330] Loading Kalimdor_29_48
      [15:41:15:466] Successfully generated path from {-8350.034, 773.2671, 151.8064} to {-9274.652, 660.1067, 185.1384} in 669 milliseconds
      [15:41:15:602] Activity: Moving to hotspot
      [15:41:22:622] Stopping the bot!
      [15:41:22:622] Stop called!
      [15:41:22:628] Activity: Honorbuddy Stopped
      [15:41:23:638] System.Threading.ThreadAbortException: Thread was being aborted.
         at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
         at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
         at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
         at System.Delegate.DynamicInvokeImpl(Object[] args)
         at System.Delegate.DynamicInvoke(Object[] args)
         at (Object , Object[] )
         at Styx.Logic.Targeting.#Dr(Delegate e, Object[] args)
      [15:41:23:639] System.Threading.ThreadAbortException: Thread was being aborted.
         at Styx.Logic.Targeting.#Dr(Delegate e, Object[] args)
         at Styx.Logic.Targeting.Pulse()
      [15:41:23:641] System.Threading.ThreadAbortException: Thread was being aborted.
         at Styx.Logic.Targeting.Pulse()
         at Styx.WoWPulsator.Pulse(PulseFlags flags)
         at Styx.Logic.BehaviorTree.TreeRoot.Tick()
         at Styx.Logic.BehaviorTree.TreeRoot.Run()
      [15:41:23:641] System.Threading.ThreadAbortException: Thread was being aborted.
         at Styx.Logic.BehaviorTree.TreeRoot.Run()
      

      AS you can see, it generated the path to mailbox just fine and continued to the next hotspot without caring about mail.
       
    4. buzzerbeater

      buzzerbeater Well-Known Member

      Joined:
      Mar 21, 2011
      Messages:
      5,419
      Likes Received:
      28
      Trophy Points:
      48
      Clean your inventory so you have 3 free bag slots, run the bot with my posted code and then post a log, as soon as he has 2 bag slots and still doesnt go to the mailbox.

      The Code would not be moving to hotspot if he wanted to generate a path to the mailbox.
       
    5. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      use this one

      Code:
      <!-- Profile created by hypo -->
      
      
      <HBProfile>
      <Name>Uldum Savage Leather Skinning</Name>
      <MinLevel>80</MinLevel>
      <MaxLevel>101</MaxLevel>
      <MinDurability>0.2</MinDurability>
      <MinFreeBagSlots>2</MinFreeBagSlots>
      <SellGrey>True</SellGrey>
      <SellWhite>False</SellWhite>
      <SellGreen>False</SellGreen>
      <MailWhite>True</MailWhite>
      <MailGreen>True</MailGreen>
      
      
      <ProtectedItems>
      <Item>62778</Item>
      <Item>67495</Item>
      <Item>8984</Item>
      <Item>10920</Item>
      <Item>6950</Item>
      </ProtectedItems>
      
      
        <ForceMail>
      <Item>52976</Item>
        </ForceMail> 
      
      
      	
      		<Name>Savage Leather</Name>
      		<MinLevel>80</MinLevel>
      		<MaxLevel>87</MaxLevel>
      		<Mailboxes>
      <Mailbox X="-8352.948" Y="786.1372" Z="151.2414" />
      		</Mailboxes>
      		<Vendors>
      <Vendor Name="Chesty Jake" Entry="49409" Type="Repair" X="-8353.455" Y="759.2292" Z="151.458" />
      		</Vendors>
      
      
      <GrindArea>
             <TargetMinLevel>78</TargetMinLevel>
             <TargetMaxLevel>85</TargetMaxLevel>
      <Factions>7 38 16</Factions>
      <Hotspots>
      <Hotspot X="-9302.586" Y="647.4996" Z="182.3609" />
      <Hotspot X="-9274.652" Y="660.1067" Z="185.1384" />
      <Hotspot X="-9249.879" Y="677.4097" Z="189.4997" />
      <Hotspot X="-9230.97" Y="701.7766" Z="198.6623" />
      <Hotspot X="-9237.346" Y="730.0291" Z="209.9441" />
      <Hotspot X="-9259.686" Y="749.7263" Z="218.3125" />
      <Hotspot X="-9290.455" Y="747.3424" Z="223.7614" />
      <Hotspot X="-9320.537" Y="751.7343" Z="226.9021" />
      <Hotspot X="-9347.789" Y="765.8574" Z="227.961" />
      <Hotspot X="-9374.492" Y="779.6274" Z="229.2381" />
      <Hotspot X="-9404.746" Y="780.3774" Z="220.3869" />
      <Hotspot X="-9434.011" Y="775.3622" Z="212.0767" />
      <Hotspot X="-9463.655" Y="768.8153" Z="212.0336" />
      <Hotspot X="-9493.095" Y="761.8156" Z="208.7382" />
      <Hotspot X="-9522.747" Y="756.3599" Z="203.6773" />
      <Hotspot X="-9552.276" Y="764.7286" Z="198.528" />
      <Hotspot X="-9580.834" Y="776.6305" Z="186.6287" />
      <Hotspot X="-9610.727" Y="781.5416" Z="184.5711" />
      <Hotspot X="-9627.674" Y="758.3724" Z="173.5104" />
      <Hotspot X="-9605.657" Y="737.7938" Z="166.0875" />
      <Hotspot X="-9577.402" Y="726.5376" Z="161.6132" />
      <Hotspot X="-9572.56" Y="698.7296" Z="148.4817" />
      <Hotspot X="-9601.079" Y="694.0307" Z="133.9829" />
      <Hotspot X="-9631.759" Y="697.188" Z="127.1825" />
      <Hotspot X="-9661.454" Y="705.39" Z="125.3843" />
      <Hotspot X="-9691.27" Y="713.1766" Z="122.2814" />
      <Hotspot X="-9719.106" Y="724.5936" Z="117.315" />
      <Hotspot X="-9749.794" Y="720.5394" Z="108.5126" />
      <Hotspot X="-9758.012" Y="694.5715" Z="95.63344" />
      <Hotspot X="-9732.64" Y="677.0284" Z="92.54349" />
      <Hotspot X="-9712.454" Y="653.7313" Z="89.28458" />
      <Hotspot X="-9691.403" Y="631.7478" Z="93.54649" />
      <Hotspot X="-9662.885" Y="619.9941" Z="100.1999" />
      <Hotspot X="-9632.833" Y="623.728" Z="112.0406" />
      <Hotspot X="-9604.325" Y="616.0938" Z="120.3616" />
      <Hotspot X="-9577.316" Y="601.1557" Z="123.9177" />
      <Hotspot X="-9547.14" Y="602.9847" Z="130.7412" />
      <Hotspot X="-9517.197" Y="609.2126" Z="140.9816" />
      <Hotspot X="-9488.129" Y="619.6713" Z="152.8363" />
      <Hotspot X="-9460.416" Y="632.6468" Z="163.1787" />
      <Hotspot X="-9431.256" Y="641.8882" Z="170.6745" />
      <Hotspot X="-9400.863" Y="643.1965" Z="173.9103" />
      <Hotspot X="-9371.863" Y="653.0877" Z="181.7817" />
      <Hotspot X="-9340.876" Y="650.696" Z="181.6218" />
      <Hotspot X="-9311.896" Y="643.1582" Z="178.9027" />
      </Hotspots>
      </GrindArea>
      </HBProfile>
      
      
      
       
    6. rinleezwins

      rinleezwins Member

      Joined:
      Jan 19, 2012
      Messages:
      269
      Likes Received:
      0
      Trophy Points:
      16
      Code:
      Moving to Type: Sell, Name: Chesty Jake
      Now it's working, Kick's solution solved the problem. Thank you both for support.

      May I know what the code problem was?
       
    7. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      mailbox and vendor were both commented out

      also, if you see stuff like

      ""Chesty" Jake"

      it will throw an error in the bot, so just delete the "" around chesty (so it looks like: "Chesty Jake" instead of ""Chesty" Jake")... the bot doesn't check syntax, it checks npcid; you could name him "Bob" and it would still work

      cheers
       
    8. buzzerbeater

      buzzerbeater Well-Known Member

      Joined:
      Mar 21, 2011
      Messages:
      5,419
      Likes Received:
      28
      Trophy Points:
      48
      <!-- <<< Those markers, because they deactivate the code in it.


      Edit: DAMN YOU KICK you are too f**kin fast. :D <3 :cool:
       
    9. rinleezwins

      rinleezwins Member

      Joined:
      Jan 19, 2012
      Messages:
      269
      Likes Received:
      0
      Trophy Points:
      16
      Oh ok, I would never think comments could affect the code (they don't in programming).
       
    10. Kickazz006

      Kickazz006 Well-Known Member Moderator

      Joined:
      Jan 15, 2010
      Messages:
      20,567
      Likes Received:
      302
      Trophy Points:
      83
      well it was commented out

      // code here

      ^^ that code doesn't work

      <!-- code here -->

      ^^ that code doesn't work
       

    Share This Page