What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Hunt Log Question

tmk147

New Member
Joined
Oct 4, 2014
Messages
21
Hello,

I was trying to work on Hunt Logs, but I can't seem to get it to get past the <If Condition="not HuntEntryCompleted(ClassJobType.Gladiator,9)" > conditional. For my 10th log entry, I should be using the number 9 right? I've been using a TP to the map my target is on as a test to see if the condition passes, but I can only pass my <If Condition="not HuntRankCompleted(ClassJobType.Gladiator,0)"> condition. Full test code here.

<Profile>
<Name>Hunt: Gladiatior</Name>
<KillRadius>50</KillRadius>
<Order>
<If Condition="not HuntRankCompleted(ClassJobType.Gladiator,0)">
<If Condition="not HuntEntryCompleted(ClassJobType.Gladiator,9)" >
<If Condition="not IsOnMap(140)">
<TeleportTo Name="Horizon" AetheryteId="17" />
</If>
<Grind grindRef="Gladiator_0_9" while="not HuntSubEntryCompleted(ClassJobType.Gladiator,9,1" />
</If>
</If>
</Order>


<GrindAreas>
<GrindArea name="Gladiatior_0_9">
<Hotspots>
<HotSpot Radius="100" XYZ="58.2441, 59.422, 1.68554" name = "Gladiator_0_9" />
</Hotspots>
<TargetMobs>
<TargetMob name="Dusty Mongrel" />
</TargetMobs>
<MinLevel>1</MinLevel>
<MaxLevel>50</MaxLevel>
</GrindArea>
</GrindAreas>
</Profile>

Any help would be appreciated.

Thank you.
 
I believe the offsets for the Hunting Log entries are incorrect, as every log entry currently returns as completed for me. That's most likely your issue.
 
Hm... I tried everything from 0 to 10, with 3 and 10 being incomplete on my Gladiator, but they all return completed for me and end the profile without going to the hunting location... Anyone have a sample of what they use for hunts that I could work with?
 
Hm... I tried everything from 0 to 10, with 3 and 10 being incomplete on my Gladiator, but they all return completed for me and end the profile without going to the hunting location... Anyone have a sample of what they use for hunts that I could work with?

I don't think you understood. The bot isn't returning the proper values for hunts being completed or not being completed. Even if you make a profile correctly it will not work with the current condition of the offsets with regards to the Hunting Log.
 
Having a different problem now. I'm trying to create the hunt log for gladiator but my character just keeps going to Cochineal Cactuar (Gladiator rank 2 entry 12), and doesn't move on after that. I don't think I need to provide a log for this, but here's the profile I'm attempting. If someone could take a look at this for me and give me some pointers, that would be great.

Thank you!
 

Attachments

Probably this:

Code:
 <If Condition="HuntRankCompleted(ClassJobType.Gladiator,00)">
 
Oh man... I forgot I took out the 'not' from that line. I removed the whole Rank 1 part from the previous profile, and am only testing the Rank 2 hunts (since my rank 1 is complete, but now it just completely skips everything and says profile completed :/

<If Condition="not HuntRankCompleted(ClassJobType.Gladiator,1)">
<If Condition="not HuntEntryCompleted(ClassJobType.Gladiator,11)">
<If Condition="not IsOnMap(141)">
<TeleportTo Name="Black Brush Station" AetheryteId="53" />
</If>
<Grind grindRef="Gladiator_1_11" PostCombatDelay="3" while="not HuntSubEntryCompleted(ClassJobType.Gladiator,11,0)" />
</If>
<If Condition="not HuntEntryCompleted(ClassJobType.Gladiator,12)">
<If Condition="not IsOnMap(141)">
<TeleportTo Name="Black Brush Station" AetheryteId="53" />
</If>
<Grind grindRef="Gladiator_1_12" PostCombatDelay="3" while="not HuntSubEntryCompleted(ClassJobType.Gladiator,12,0)" />
</If>
<If Condition="not HuntEntryCompleted(ClassJobType.Gladiator,10)">
<If Condition="not IsOnMap(140)">
<TeleportTo Name="Horizon" AetheryteId="17" />
</If>
<Grind grindRef="Gladiator_1_10_0" PostCombatDelay="3" while="not HuntSubEntryCompleted(ClassJobType.Gladiator,10,0)" />
<Grind grindRef="Gladiator_1_10_1" PostCombatDelay="3" while="not HuntSubEntryCompleted(ClassJobType.Gladiator,10,1)" />
</If>
<If Condition="not HuntEntryCompleted(ClassJobType.Gladiator,13)">
<If Condition="not IsOnMap(140)">
<TeleportTo Name="Horizon" AetheryteId="17" />
</If>
<Grind grindRef="Gladiator_1_13" PostCombatDelay="3" while="not HuntSubEntryCompleted(ClassJobType.Gladiator,13,00)" />
</If>
</If>
</Order>

But it just gives me

[01:24:57.230 N] Loaded profile Hunt: Gladiatior
[01:24:57.681 N] Connection to 192.99.148.87:31214 established.
[01:24:57.681 D] Added new hook [Pull] 07b8542e-5760-4f3c-9862-f2c0099e2f2b
[01:24:57.681 D] Added new hook [RoutineCombat] 9fe53a5e-2aa2-48e5-a4ad-b1d283235c43
[01:24:57.681 D] Added new hook [HotspotPoi] 69e1263a-a72d-4c76-a159-c65ceb4b6cca
[01:24:57.681 D] Added new hook [SetDeathPoi] eaf22ae2-b917-4af8-ac04-00b7a179f022
[01:24:57.681 D] Added new hook [SetCombatPoi] 37696f8c-fab5-4219-a280-2c4d41fa7812
[01:24:57.681 D] Added new hook [SetHotspotPoi] 6ca43eed-ae9f-463a-bd27-e75626ef2b71
[01:24:57.681 D] Added new hook [SelectPoiType] 037ddc14-bf65-4cec-9291-d8f7e325d201
[01:24:57.681 D] Replaced hook [SelectPoiType] aad9f38e-b24d-4ab6-8f1f-0b1d120f24f9
[01:24:57.681 D] Inserted new hook [TreeStart @0] 2a069ede-73a5-44a6-861f-7b7b1a6f6f45
[01:24:57.724 N] Profile completed
[01:24:57.724 N] Stopping the bot. Reason:Profile Completed
[01:24:57.724 D] CurrentBot.Stop()
[01:24:57.724 N] Connection closed! 192.99.148.87:31214
[01:24:57.724 D] TreeHooks.Instance.ClearAll()
[01:24:57.724 D] Navigator.Clear()
[01:24:57.724 V] [Poi.Clear] Reason: Bot stopped
[01:24:57.724 D] OnStop event
[01:24:57.724 D] OnStop Event Invoking
[01:24:57.724 D] ProfileOrderManager.OnBotStop. Resetting caches.
[01:24:57.728 N] Bot Thread Ended. Was this requested?

If it's too much of a hassle to go through these then it's fine. I can just wait until someone else releases one and use theirs as a template haha.

Thanks a lot!
 
I'm not sure if the rank index was 0 or 1 based. Use the rebornconsole and try

Code:
var glad = HuntingLogManager.GetHuntingLogByJob(ClassJobType.Gladiator);
for(int i = 0;i<10;i++)
{
Log(glad.IsRankCompleted(i));
}
 
Hey TMK,

I'm working on some hunting logs my self (currently white mage).

Ive notices some of the mob kill requirements are the same, Do you want to share mob id and grind locations ?.

Hell even join a vision studio room ?
 
Hmmm, if I get
True
True
False
False
False
False
False
False
False
False
Does that mean it's 1 based if only my Rank 1 is completed? And then the 0 is just something that always shows up as True? If that's the case, I'll just bump everything up and let you know how it goes. Thanks a lot Mastahg!

Thecamel, I've only just started working on it, but yeah we should share our info. I don't know what a visual studio room is but maybe we should just make a shared doc of every enemy and their grind location haha.
 
OKAY! Finally got it to work! Looks like the Ranks start from 1, and the Log Entry and Sub Entry start at 0! Thanks for the help!
 
Hmmm, if I get

Does that mean it's 1 based if only my Rank 1 is completed? And then the 0 is just something that always shows up as True? If that's the case, I'll just bump everything up and let you know how it goes. Thanks a lot Mastahg!

Thecamel, I've only just started working on it, but yeah we should share our info. I don't know what a visual studio room is but maybe we should just make a shared doc of every enemy and their grind location haha.

I get

Code:
True
False
False
False
False
False
False
False
False
False

With a fresh Character

Completed stage 1 Gladiator 01 Little Ladybug 3/3

From Rank 1 = 1/10 completed.

0 ranks completed.

yes I will get a google doc going :)
 
OKAY! Finally got it to work! Looks like the Ranks start from 1, and the Log Entry and Sub Entry start at 0! Thanks for the help!


Great, Flip your code up, Ive got my self confused with the rank 1lol
 
Actually, it looks like there is still a small error for any Hunt logs with sub entries. I have completed Glad(0,0) but not Glad(0,1), but when I run "Is Log(glad.IsLogEntryCompleted(0));" I get true, and if I run "Log(glad.IsLogSubEntryCompleted(0,0));" or "Log(glad.IsLogSubEntryCompleted(0,1));", both return false. It looks like the Log Entry completion is only looking for the completion of the first sub entry (although I haven't tested this yet), and the subentry is just returning the wrong values.

Here's my code to look at, the rest of them worked. It was the first log in rank 2 with Bombs and Cobalts that wouldn't work for me.
 

Attachments

Hi,

I fished all the hot spots for you on Rank 2,

all was going well until I had to add too mobs of hot spots,

Im not sure what I did wrong..

Have a look..

View attachment Gladiator-hotspot3.xml


It spits out this,

Code:
[00:12:00.869 N] Loaded profile Hunt: Gladiatior
[00:12:01.442 N] Connection to 192.99.148.87:31214 established.
[00:12:01.442 D] Added new hook [Pull] c884d79f-8310-461c-95ef-faef55253135
[00:12:01.442 D] Added new hook [RoutineCombat] 2e95e5b9-f59a-47de-92b1-0dd4d4f3e415
[00:12:01.442 D] Added new hook [HotspotPoi] eb5e1aee-0758-4d8f-8f98-9e9a37b662c0
[00:12:01.442 D] Added new hook [SetDeathPoi] 18ccb462-6ebf-4ba6-83a4-933507acd0e5
[00:12:01.442 D] Added new hook [SetCombatPoi] d86d76b7-96b4-409c-a8cf-4cb64d151b99
[00:12:01.442 D] Added new hook [SetHotspotPoi] ae053954-6ed7-47a3-a485-46cdd2b6cd14
[00:12:01.442 D] Added new hook [SelectPoiType] fac3f5f1-b6d4-4663-8355-115a0305e614
[00:12:01.442 D] Replaced hook [SelectPoiType] 2d86f30f-0b32-4bc2-8df3-fd865e273dfb
[00:12:01.442 D] Inserted new hook [TreeStart @0] 77fae06f-25f2-4d9c-8b53-9bcad085080b
[00:12:01.470 D] Traceback (most recent call last):
  File "<string>", line 4, in Execute
TypeError: Invoke() takes exactly 2 arguments (3 given)
[00:12:01.470 N] Stopping the bot.
[00:12:01.470 D] CurrentBot.Stop()
[00:12:01.470 N] Connection closed! 192.99.148.87:31214
[00:12:01.470 D] TreeHooks.Instance.ClearAll()
[00:12:01.470 D] Navigator.Clear()
[00:12:01.470 V] [Poi.Clear] Reason: Bot stopped
[00:12:01.470 D] OnStop event
[00:12:01.470 D] OnStop Event Invoking
[00:12:01.470 D] ProfileOrderManager.OnBotStop. Resetting caches.
[00:12:01.470 D] Exception during scheduling Pulse: Microsoft.Scripting.ArgumentTypeException: Invoke() takes exactly 2 arguments (3 given)
   at Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run6[T0,T1,T2,T3,T4,T5,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4, T5 arg5)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute5[T0,T1,T2,T3,T4,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
   at Microsoft.Scripting.Interpreter.DynamicInstruction`6.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
   at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0)
   at IronPython.Compiler.PythonCallTargets.OriginalCallTarget0(PythonFunction function)
   at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0)
   at _Scripting_(Object[] )
   at ff14bot.NeoProfiles.IfTag.GetConditionExec()
   at ff14bot.NeoProfiles.IfTag.get_IsDone()
   at ff14bot.NeoProfiles.ProfileBehavior.get_IsDoneCache()
   at ff14bot.NeoProfiles.IfTag.(ProfileBehavior )
   at System.Linq.Enumerable.All[TSource](IEnumerable`1 source, Func`2 predicate)
   at ff14bot.NeoProfiles.IfTag.get_IsDone()
   at ff14bot.NeoProfiles.ProfileBehavior.get_IsDoneCache()
   at ff14bot.NeoProfiles.TreeNode`1.Find()
   at ff14bot.NeoProfiles.TreeNode`1.Find()
   at ..()
   at ff14bot.NeoProfiles.NeoProfileManager.UpdateCurrentProfileBehavior()
   at ff14bot.BotBases.OrderBot.(Object , EventArgs )
   at ff14bot.Behavior.BrainBehavior.()
[00:12:01.470 N] Bot Thread Ended. Was this requested?
 
This was the profile working before I added

Code:
<If Condition="not HuntEntryCompleted(ClassJobType.Gladiator,9,2)">
			<If Condition="not IsOnMap(145)">
				<TeleportTo Name="Camp Drybone" AetheryteId="18" />
			</If>
			<Grind grindRef="Gladiator_2_9_2" PostCombatDelay="3" while="not HuntSubEntryCompleted(ClassJobType.Gladiator,9,2)" />
		</If>

and

Code:
  </GrindArea>
		<GrindArea name="Gladiator_2_9_2">
         <Hotspots>
		<HotSpot Radius="80" XYZ="-339.1456, -11.90918, -238.0251" name = "Gladiator_2_9_2" />
         </Hotspots>
         <TargetMobs>
            <TargetMob name="Rotting Corpse" />
         </TargetMobs>
         <MinLevel>10</MinLevel>
         <MaxLevel>50</MaxLevel>
      </GrindArea>

View attachment Gladiator-hotspot.xml

This one works but dosnt have the final Gladiator_2_9_2
 
ok so its the

Code:
<If Condition="not HuntEntryCompleted(ClassJobType.Gladiator,9,2)">

That is no good...

Will need to find sub hunter entries I guess.
 
Hey, I just saw these posts today haha. I'll be sure to test these out after work! You got the sub entries working?
 
Back
Top