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!

LogWrite for Profiles

DomesticWarlord

Community Developer
Joined
May 16, 2013
Messages
368
I know you can use Logging.Write for Plugins, but is there a similar function that would work for profiles?
 
this is what i'm using to help troubleshoot my ixal profile.

Code:
 <LogMessage Message= "Accepting In Case of Emergency"/>
 
Appreciate the information there, but it doesn't appear to be doing anything. I don't find the message in the actual log or the RebornBuddy window.

For clarification, I would actually like to have something that passes a message to the rebornbuddy winodw. There are big pauses in my profile where the character will stand still for several minutes while waiting on an event to happen, and I'd like to notify the player via the console window that the bot is still running, just waiting for an event.
 
Appreciate the information there, but it doesn't appear to be doing anything. I don't find the message in the actual log or the RebornBuddy window.

For clarification, I would actually like to have something that passes a message to the rebornbuddy winodw. There are big pauses in my profile where the character will stand still for several minutes while waiting on an event to happen, and I'd like to notify the player via the console window that the bot is still running, just waiting for an event.

That's exactly what LogMessage does. You must not be using it correctly.
 
Hmmm, what did I do wrong?

Code:
	<If Condition="IsTimeBetween(2,5)">
		<WaitWhile Condition ="IsTimeBetween(2,5)" />
		<LogMessage Message= "Next spawn at 5AM Eorzea Time at East Shroud."/>
	</If>
 
Never used it before, but is there supposed to be a space between Message= & the ". Or is that a typo like the WaitWhile Condition above it?
 
Your code will never reach the LogMessage tag (until the very end of the 5 AM hour) because it sits a the WaitWhile tag for that timespan. Switch the tags around:

Code:
<If Condition="IsTimeBetween(2,5)">
		<LogMessage Message="Next spawn at 5AM Eorzea Time at East Shroud." />
		<WaitWhile Condition="IsTimeBetween(2,5)" />
	</If>
 
Your code will never reach the LogMessage tag (until the very end of the 5 AM hour) because it sits a the WaitWhile tag for that timespan. Switch the tags around:

Code:
<If Condition="IsTimeBetween(2,5)">
		<LogMessage Message="Next spawn at 5AM Eorzea Time at East Shroud." />
		<WaitWhile Condition="IsTimeBetween(2,5)" />
	</If>

Bah! You are so right Kagami, thank you!
 
Back
Top