• Visit Rebornbuddy
  • [Quest Behavior] MrFishIt - Fishing for some QuestItems

    Discussion in 'Neutral' started by BarryDurex, Dec 16, 2012.

    1. BarryDurex

      BarryDurex New Member

      Joined:
      Jan 20, 2010
      Messages:
      361
      Likes Received:
      32
      Trophy Points:
      0
      [TABLE="class: outer_border, width: 100%, align: center"]
      [TR]
      [TD]MrFishIt
      [Quest Behavior]
      v1.0.8 (04.01.2013)
      [/TD]
      [/TR]
      [/TABLE]

      This Quest-Behavior is for all Quests where you must to fishing for some QuestItems.
      I have created it because i have found none and some Quests needed.
      80% of this behavior is from [Bot]MrFishIt (made by Nesox) and from [Bot]PoolFishingBuddy (made by iggi66) !
      I have fixed the errors and then used the stuff that i needed.
      This has been done without Nesox's &
      iggi66's permission, I hope they forgive me! :rolleyes:

      In my test everything went well! But I have it not tested with low level Chars!

      Examples of quests that could use this behavior include:
      [TABLE="class: outer_border, width: 85%, align: center"]
      [TR]
      [TD="width: 25%, align: center"]Snack Time
      [/TD]
      [TD="width: 25%, align: center"]Thunder Falls
      [/TD]
      [TD="width: 25%, align: center"]Hitting a Walleye
      [/TD]
      [TD="width: 25%, align: center"]Big Gulp
      [/TD]
      [/TR]
      [/TABLE]
      [HR][/HR]

      The MrFishIt CustomBehavior is used as follows:
      HTML:
      <HBProfile><QuestOrder> <!-- opening context -->
      <!-- ... -->
      
           <!-- first we need a place where we want to go fishing if we dont use a PoolId + MoveToPool  -->
          <CustomBehavior File="FlyTo" DestName="FishingPlace" X="-168.9621" Y="639.7676" Z="165.4103" />
      
         <!-- if you want CombatSupport you need a while loop and make sure, that you face the whater after a Combat! -->
          <While Condition=" ... " >
      
          <CustomBehavior File="MrFishIt"
                          <!-- one or more of the following attributes must be specified -->
                           X="-1972.388" Y="6277.719" Z="56.86252"
                          PoolId="212169"
                          CollectItemId="195492"
      
                         <!-- may/may not be optional based on value of CollectUntil -->
                          CollectItemCount="6"
                          QuestId="14069"  
                          MoveToPool="true"
                          MaxCastRange="20"
                          MinCastRange="15"
           />
      
          </While>
      <!-- ... -->
      </QuestOrder></HBProfile> <!-- closing context -->


      [TABLE="width: 100%"]
      [TR]
      [TD="width: 20%, align: right"]X,Y,Z
      [/TD]
      [TD="width: 3"]
      [/TD]
      [TD](required for questing if we dont use a PoolId)
      This WoWPoit will be faced for each fishing cast, so that the bobber always falls into the water.
      [/TD]
      [/TR]
      [TR]
      [TD="width: 20%, align: right"]PoolId
      [/TD]
      [TD="width: 3"]
      [/TD]
      [TD](required for questing if we dont use X,Y,Z)
      specifies the PoolId, if we need it for this Quest.

      This Pool will be faced for each fishing cast, so that the bobber always falls into the water.[/TD]
      [/TR]
      [TR]
      [TD="width: 20%, align: right"]CollectItemId
      [/TD]
      [TD="width: 3"]
      [/TD]
      [TD](required)
      specifies the Id of the item we are want to collect.
      [/TD]
      [/TR]
      [TR]
      [TD="width: 20%, align: right"]CollectItemCount[/TD]
      [TD="width: 3"]
      [/TD]
      [TD](optional; default value: 1)
      specifies the number of items that must be collected.
      [/TD]
      [/TR]
      [TR]
      [TD="width: 20%, align: right"]QuestId[/TD]
      [TD="width: 3"]
      [/TD]
      [TD](optional; default value: 0)
      specifies the QuestId, if the item is the only thing to complete this quest
      [/TD]
      [/TR]
      [TR]
      [TD="width: 20%, align: right"]MoveToPool
      [/TD]
      [TD="width: 3"]
      [/TD]
      [TD](optional; default value: true)
      set true or false, if the behavior should find the place to fishing.
      it use a "RayCast" between MaxCastRange and MinCastRange to finde the place.

      ( only available if we specified a PoolId )
      [/TD]
      [/TR]
      [TR]
      [TD="width: 20%, align: right"]MaxCastRange
      [/TD]
      [TD="width: 3"][/TD]
      [TD](optional; default value: 20)
      specifies the MaxCastRange to the Pool
      (
      only available if we use MoveToPool
      )[/TD]
      [/TR]
      [TR]
      [TD="width: 20%, align: right"]MinCastRange
      [/TD]
      [TD="width: 3"][/TD]
      [TD](optional; default value: 15)
      specifies the MinCastRange to the Pool
      (
      only available if we use MoveToPool )[/TD]
      [/TR]
      [/TABLE]

      [HR][/HR]
      NOTE:

      • This is a QuestBehavior and goes into the folder ".../Honorbuddy/Quest Behavior/MrFishIt.cs"!
      • CombatSupport will be disable, some CustomClass make problems while you cast "Fishing" (Is to deal with a while loop)


      [HR][/HR]You can also use this behavior almost like the old Bot.
      Therefor you need the (new) Profile "[QB]MrFishIt - EmptyProfile"
      and than start Honorbuddy as Questbot.[HR][/HR]

      [TABLE="class: outer_border, width: 600"]
      [TR]
      [TD="align: right"]Credits:[/TD]
      [TD="align: center"] [Bot]MrFishIt by Nesox | [Bot]PoolFishingBuddy by iggi66[/TD]
      [/TR]
      [/TABLE]

      Any suggestions welcome! :rolleyes:
      I hope you like it, have fun with it! ;)
       

      Attached Files:

      Last edited: Jan 4, 2013
      ChunkyMonkey, izzy and 1101011 like this.
    2. BarryDurex

      BarryDurex New Member

      Joined:
      Jan 20, 2010
      Messages:
      361
      Likes Received:
      32
      Trophy Points:
      0
    3. Corny

      Corny New Member

      Joined:
      Jan 8, 2011
      Messages:
      306
      Likes Received:
      5
      Trophy Points:
      0
      good work, but poolfishing?
       
    4. BarryDurex

      BarryDurex New Member

      Joined:
      Jan 20, 2010
      Messages:
      361
      Likes Received:
      32
      Trophy Points:
      0
      yes.. i forgotten that some quest need to fising in a pool.. i will add it ;)
       
    5. Corny

      Corny New Member

      Joined:
      Jan 8, 2011
      Messages:
      306
      Likes Received:
      5
      Trophy Points:
      0
      <3 :d
       
    6. Mario27

      Mario27 Banned

      Joined:
      Jan 15, 2010
      Messages:
      6,336
      Likes Received:
      4
      Trophy Points:
      0
      can you make this working again with Mrfishit addon like putting it in bots folder like befor?
       
    7. BarryDurex

      BarryDurex New Member

      Joined:
      Jan 20, 2010
      Messages:
      361
      Likes Received:
      32
      Trophy Points:
      0
      exists a behavior to find the pools and to positioning the Char?
       
    8. Corny

      Corny New Member

      Joined:
      Jan 8, 2011
      Messages:
      306
      Likes Received:
      5
      Trophy Points:
      0
      yes
       
    9. BarryDurex

      BarryDurex New Member

      Joined:
      Jan 20, 2010
      Messages:
      361
      Likes Received:
      32
      Trophy Points:
      0
      You can also use this behavior almost like the old Bot.
      Therefor you need the Profile "[QB]MrFishIt - EmptyProfile" and start than Honorbuddy as Questbot.

      than it is "easy" to add it, give me a little time :)
       
      Last edited: Dec 16, 2012
    10. Corny

      Corny New Member

      Joined:
      Jan 8, 2011
      Messages:
      306
      Likes Received:
      5
      Trophy Points:
      0
    11. Mario27

      Mario27 Banned

      Joined:
      Jan 15, 2010
      Messages:
      6,336
      Likes Received:
      4
      Trophy Points:
      0
      wil you see the mrfishit addon to then that you can open it?

      ok i wil try
       
    12. Mario27

      Mario27 Banned

      Joined:
      Jan 15, 2010
      Messages:
      6,336
      Likes Received:
      4
      Trophy Points:
      0
      so when you do this you can fish at any pool because i always loved mrfishit over autoangler
       
    13. BarryDurex

      BarryDurex New Member

      Joined:
      Jan 20, 2010
      Messages:
      361
      Likes Received:
      32
      Trophy Points:
      0
      [HR][/HR]
      *UPDATE*
      [HR][/HR]Now you can use PoolIds.
      Also it will find a place to fishing by itself, if you use PoolIds. This is why it did take so long for the update.. :rolleyes:
      The most of the "MoveToPool-behavior" is from PoolFishingBuddy!
       
    14. thebrodieman

      thebrodieman Well-Known Member Buddy Store Developer

      Joined:
      Sep 11, 2011
      Messages:
      6,015
      Likes Received:
      81
      Trophy Points:
      48
      I will be incorporating this into my Massive Dailies setup for the Anglers as soon as I can test it on the individual dailies.

      You should look into SVN'ing this, for fast updates.
       
    15. thebrodieman

      thebrodieman Well-Known Member Buddy Store Developer

      Joined:
      Sep 11, 2011
      Messages:
      6,015
      Likes Received:
      81
      Trophy Points:
      48
      Isn't working. By that it means I'm standing on a beach waiting for sunset ;)

      [QDBG] Starting behavior Bots.Quest.QuestOrder.ForcedCodeBehavior.
      [Lua.Events] Attached to event LOOT_OPENED with handler HandleLootOpened
      Goal: [MrFishIt][v1.0.1] Fishing for Item 80830
      [MrFishIt][v1.0.1] Fishing for Item: 80830 - Quantity: 1.
      [QDBG] Done with forced behavior Bots.Quest.QuestOrder.ForcedCodeBehavior.

      Repeats over and over. Tried using MoveToPool=true and it would constantly say "exceeded timer set to reach ground, blacklisting pool for 2 minutes"

      <CustomBehavior File="MrFishIt" PoolId="211423" CollectItemId="80830" MoveToPool="false" /> <-- format used
       
    16. BarryDurex

      BarryDurex New Member

      Joined:
      Jan 20, 2010
      Messages:
      361
      Likes Received:
      32
      Trophy Points:
      0
      oh yes i have forgotten some thing.. mom i will fix it!
       
    17. BarryDurex

      BarryDurex New Member

      Joined:
      Jan 20, 2010
      Messages:
      361
      Likes Received:
      32
      Trophy Points:
      0
      did you use a ground mount?

      *edit*
      i can't test anything, i must wait for a new gamecard... :mad:

      maybe you have to specifies the MaxCastRange and MinCastRange, then should work MoveToPool.
      the MoveToPool-behavior use a RayCast to finde a fishing place

      otherwise I can find no error.
       
      Last edited: Dec 16, 2012
    18. thebrodieman

      thebrodieman Well-Known Member Buddy Store Developer

      Joined:
      Sep 11, 2011
      Messages:
      6,015
      Likes Received:
      81
      Trophy Points:
      48
      I'll retry. And edit my post here.
       
    19. BarryDurex

      BarryDurex New Member

      Joined:
      Jan 20, 2010
      Messages:
      361
      Likes Received:
      32
      Trophy Points:
      0
      yes, but I did wonder me that "MoveToPool" not work by this quest.. ;)
       
    20. thebrodieman

      thebrodieman Well-Known Member Buddy Store Developer

      Joined:
      Sep 11, 2011
      Messages:
      6,015
      Likes Received:
      81
      Trophy Points:
      48
      So I've implemented this QB in several quests. The issue that keeps arising is that is does not consistently work. Some people say it works only for some classes, some it only works once and then not again. Any thoughts?

      Complaint:
      Casts fishing line.
      Waits.
      Does not detect bobber, recasts after line disappears.
      Repeat.
       

    Share This Page