• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Noblegarden Egg Farm - All Factions, All Towns (Experimental)

    Discussion in 'Holidays-Special Events' started by EchoTiger, Mar 28, 2016.

    1. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      Could be that the "open eggs" and the "mail springstrider" hooks are conflicting.
      An easy fix would just to add a MailFrame check on the "open eggs" logic.


      CTRL+F for "UseEgg" in the profile, then replace that code chunk with this one:

      PHP:
      <CustomBehavior File="Hooks\DoWhen" ActivityName="UseEgg" AllowUseWhileMounted="true" LogExecution="false" UseWhen="HasItem(45072) &amp;&amp; !MailFrame.Instance.IsVisible" >
          <
      CustomBehavior File="UseItem" ItemId="45072" NumOfTimes="1000" WaitTime="750" TerminateWhen="!HasItem(45072)" />
      </
      CustomBehavior>
       
    2. krusty123

      krusty123 New Member

      Joined:
      Oct 3, 2011
      Messages:
      623
      Likes Received:
      1
      Trophy Points:
      0
      This almost works :p It runs to the mailbox and sends the mail correctly. Afterwards it exit the mailbox and start running collecting eggs, but its getting stuck. The bot starts running back and forth close the mailbox. If I stop the bot and run away with the bot to another place, when I start the bot again it runs to the same place starting to run back and forth again over and over...

      What could be wrong?
       
    3. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      I'll need a log.
       
    4. Bogdan23lolx

      Bogdan23lolx Member

      Joined:
      Jan 17, 2016
      Messages:
      65
      Likes Received:
      0
      Trophy Points:
      6
      I want him to add the mount in mobile bank as soon as a mount drops from an egg because if another mount drops in another egg he will get stuck in to a continuous loop trying to loot it but receiveing " you can't carry anymore of those items"
      I tried to add some codes from another profiles to make it do it but i seem to get nothing..
       
    5. krusty123

      krusty123 New Member

      Joined:
      Oct 3, 2011
      Messages:
      623
      Likes Received:
      1
      Trophy Points:
      0
      Been at work all day. But here comes the log. Started bot with a springstrider in the bags, it ran to the mailbox and did send the mount, after that it starts running back and forth doing nothing. Thanks for your help!

      View attachment 420336 2016-03-31 19.33.txt
       
    6. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      This should work:

      PHP:
      <CustomBehavior File="Hooks\DoWhen" ActivityName="GuildBankStrider" LogExecution="false" UseWhen="HasItem(72145) &amp;&amp; SpellManager.CanCast(83958)" >
          <
      CustomBehavior File="RunCode" Code="SpellManager.Cast(83958);" />
          <
      CustomBehavior File="WaitTimer" WaitTime="3500" />
          <
      CustomBehavior File="InteractWith" MobId1="206602" MobId2="206603" WaitForNpcs="false" WaitTime="2000" /> 

          <
      CustomBehavior File="UseItem" ItemId="72145" WaitTime="500" /> 
      </
      CustomBehavior>  
       
    7. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      Are you running any in-game addons?
      I can't tell from the log because you cut the information out. :p
       
    8. krusty123

      krusty123 New Member

      Joined:
      Oct 3, 2011
      Messages:
      623
      Likes Received:
      1
      Trophy Points:
      0
      All addons disabled. What do you mean? haven't edited the log :p
       
    9. krusty123

      krusty123 New Member

      Joined:
      Oct 3, 2011
      Messages:
      623
      Likes Received:
      1
      Trophy Points:
      0
      But I will try the mobile banking code, guess that will be even better :)
       
    10. ectocooler

      ectocooler Member

      Joined:
      Jan 13, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      18
      View attachment 3004 2016-04-01 00.38.txt

      It seems that in Razor Hill and Falconwing Square (the two places I have tested to far) I am running into an issue where it is attempting to use the basket when "out of zone" and it fails, then hangs, and eventually times out. This occurs just outside the fence in Falconwing Square where it becomes another zone technically, and inside the Barracks in Razor Hill (or even against the wall in some cases.

      Not sure how to go about adjusting this...
       
    11. eYesc0ld

      eYesc0ld Community Developer

      Joined:
      Dec 7, 2012
      Messages:
      35
      Likes Received:
      1
      Trophy Points:
      0
      I have the same issue, but with the Guildbank Window. He isn't closing the window and when another egg spawns near the mobile guildbank he will loot it and try depositing (opening) it endless.
       
    12. Bogdan23lolx

      Bogdan23lolx Member

      Joined:
      Jan 17, 2016
      Messages:
      65
      Likes Received:
      0
      Trophy Points:
      6
      Thnks for this but where exactly should i add this in the profile and what to add before and after it?
      It seems i get some errors i tried to add id at the end of the profile..
       
    13. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      I'll have to look into it.
      There's probably a way to detect the area trigger and whether or not the player is in it.

      Edit:
      The trigger seems to be tied to the SubZoneId.
      It would be possible to prevent usage of the basket if the player isn't within the SubZoneId - but this would mean that I'd need the Id for each town, making the profile not as 'universal.'
      You can use this as a temporary solution for the town you're farming in.

      In the mean time, I'll try to figure up a way to actually detect the Noblegarden flag.
       
      Last edited: Apr 1, 2016
    14. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      The the snip on the front thread has been updated to close the guild bank out after it's done.

      PHP:
      <CustomBehavior File="Hooks\DoWhen" ActivityName="GuildBankStrider" LogExecution="false" UseWhen="HasItem(72145) &amp;&amp; SpellManager.CanCast(83958)" >
          <
      CustomBehavior File="RunCode" Code="SpellManager.Cast(83958);" />
          <
      CustomBehavior File="WaitTimer" WaitTime="3500" />
          <
      CustomBehavior File="InteractWith" MobId1="206602" MobId2="206603" WaitForNpcs="false" WaitTime="2000" /> 

          <
      CustomBehavior File="UseItem" ItemId="72145" WaitTime="500" /> 
          <
      CustomBehavior File="Misc\RunLua" Lua="GuildBankFrame.CloseButton:Click();" />
      </
      CustomBehavior>
       
    15. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      Open the profile and CTRL+F for <QuestOrder>
      Paste it directly under this.

      Note that there's also a </QuestOrder> with the slash there.
      Do not paste it under this one as it will cause errors.
       
    16. ectocooler

      ectocooler Member

      Joined:
      Jan 13, 2014
      Messages:
      137
      Likes Received:
      2
      Trophy Points:
      18
      I think if it could detect the wrong zone error being thrown, and then continuing to the next egg without attempting to trigger the item further (possibly put a CD of 10 secs or so) would be a workaround. That is, if that is something that is possible.
       
    17. EchoTiger

      EchoTiger Official Profile and Singular Developer Staff Member Moderator

      Joined:
      Nov 28, 2012
      Messages:
      6,810
      Likes Received:
      631
      Trophy Points:
      113
      It seems that the UI_ERROR_MESSAGE Lua event fires with the arg1 of "You are in the wrong zone."
      So it could be detectable through that and it may be possible to use that as a way to determine if we should temporary blacklist the basket usage DoWhen.

      I'll think of something up - right now it's really late here and I've gotta lie down. xD
       
    18. Bogdan23lolx

      Bogdan23lolx Member

      Joined:
      Jan 17, 2016
      Messages:
      65
      Likes Received:
      0
      Trophy Points:
      6
      Thanks again !
       
    19. oleary

      oleary Member Buddy Store Developer

      Joined:
      May 19, 2014
      Messages:
      168
      Likes Received:
      8
      Trophy Points:
      18
      I noticed I kept moving inside at razor hill and looting barrels and crates with food and water inside. Adding these blacklists seems to have stopped it.

      Code:
          <Blacklist>
              <Mob Name="Water Barrel" Id="3658" Flags="Pull,Combat,Loot,Interact,All" />
              <Mob Name="Food Crate" Id="3719" Flags="Pull,Combat,Loot,Interact,All" />
          </Blacklist>
      
       
    20. MrParadox

      MrParadox New Member

      Joined:
      Jun 6, 2011
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      Just like to say thank you for the profile, I netted a little over 175 mounts.
       

    Share This Page