BarryDurex
New Member
- Joined
- Jan 20, 2010
- Messages
- 361
[TABLE="class: outer_border, width: 100%, align: center"]
[TR]
[TD]MrFishIt
[Quest Behavior]
[/TR]
[/TABLE]
This Quest-Behavior is for all Quests where you must to fishing for some QuestItems.[TR]
[TD]MrFishIt
[Quest Behavior]
v1.0.8 (04.01.2013)
[/TD]
[/TR]
[/TABLE]
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!

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]
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]
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)
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.
[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!

I hope you like it, have fun with it!

Attachments
Last edited: