What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Well Underway With My Profiles! But...

mridontevenknowu

New Member
Joined
Jun 13, 2012
Messages
229
Reaction score
0
With my 3rd profile I'm have some unique problems right now my questions are.

Anyone know how to specify a range for a UsePortal tag? I don't want it to run to another near by exit if the one I want isn't there.
<UsePortal questId="XXXXX" stepId="XX" portalMarkerHash="-XXXXXXX" destinationWorldId="XXXXX" statusText="Fresh Babies tears" rangeMarkerHash="10" />


Is MarkerHashExistAt a valid condition? I swear I saw this somewhere but now I can't remember. For this profile I can't use actorId. The answer is yes to this! thanks to the search function.

Any answer will help greatly!
 
Last edited:
Ok still not sure about my first question with using a range for useportal tags.

Now I've got another question, can I use "or" with an "if" statement? Such as:


Code:
<If condition="CurrentWorldId == XXXX">
    <UsePortal questId="72801" stepId="36" portalMarkerHash="XXXXXXX" destinationWorldId="xxxxx" statusText="Stale Baby Tears" />
</If>
or
<If condition="CurrentWorldId ==XXXX ">
    <UsePortal questId="72801" stepId="36" portalMarkerHash="XXXXXXX" destinationWorldId="xxxxx" statusText="Stale Baby Tears" />
</If>

Or can we use Either? Such As:
Code:
<Either>
  <If condition="(CurrentWorldId == )">
    <UsePortal questId="72801" stepId="36" portalMarkerHash="XXXXXXX" destinationWorldId="xxxxx" statusText="Stale Baby Tears" />
  </If>

  <If condition="CurrentWorldId == XXXX">
    <UsePortal questId="72801" stepId="36" portalMarkerHash="XXXXXXX" destinationWorldId="xxxxx" statusText="Stale Baby Tears" />
  </If>
</Either>
 
Alright so I worked around the problems I had and I'm so damn close to having all three profiles done.
Right now my profile is stopping at line 43 and I'm not sure why. [XML] Crypts Weepings Fields - Pastebin.com
It worked before I implemented the trinityuseonce stuff. I'm using different ID's so it should do each one once. But it's only doing the first one.
 
took me all of 2 seconds to find out what you did wrong


So helpful, why do you always have your nose so high in the air?


I've put my UsePortal tag outside of UseOnce and it's working. Problem now is I'll have to enter each dungeon and portal out each time I die.

Should I be nesting these inside of one big UseOnce tag?
 
Last edited:
and you dont appreciate people helping you, so have fun working it out yourself
 
and you dont appreciate people helping you, so have fun working it out yourself

Hopefully someone without such a high and mighty attitude will help me out. Have fun belittling people in your quest for internet superiority.
 
took me all of 2 seconds to find out what you did wrong
How can this post be useful in any shape or form? He's got a problem, you give him an answer without any explanation at all, something you're the only one understanding, and you expect him to kiss your feet?

Post count seems really important to some people o.0

What he was trying to say is that you're able to type 'or' in the if-statement.

<If condition="x or y"/>


For example:

<if condition="IsActiveQuest(123) or Me.IsInTown"/>"

Something like that - I hope it's a bit more clear now. Your questions were a bit confusing, please ask again if there's anything I missed. :)
 
Last edited:
How can this post be useful in any shape or form? He's got a problem, you give him an answer without any explanation at all, something you're the only one understanding, and you expect him to kiss your feet?

Post count seems really important to some people o.0

What he was trying to say is that you're able to type 'or' in the if-statement.



For example:

<if condition="IsActiveQuest(123) or Me.IsInTown"/>"

Something like that - I hope it's a bit more clear now. Your questions were a bit confusing, please ask again if there's anything I missed. :)

I was able to figure a work around for the problem I had. Now I'm having an issue with trinityuseonce tags.
 
im on my laptop so i cant actually test it but if it doesnt die does it actually work how you want? what is the "first part"?

i cant actually remember what happens to profiles on death, but i think they get reloaded and run from the start again? i could be wrong though. if they do, heres an example of where youve gone wrong in quite a few places.
Code:
<!-- Get To Cemetery -->
		<MoveTo questId="1" x="2981.259" y="2836.146" z="24.89399" pathPrecision="1" />
		<UseWaypoint questId="1" actorId="223757" x="2981.259" y="2836.146" z="24.89399" waypointNumber="6" />
you have no statement to check your location, so for example you die in one of the tombs, the bot will run these again and obviously fail. wrap it in an if statement.

another potential problem could be your return to town/wp back, again i cant actually test it but is the useportal tag able to navigate to the next portal without having to use any movetos? i know the area is small so it probably could, but if youre having issues with that then you need to add moveto tags after taking the waypoint again.

anyway to address your actual problem in the post, you have your whole cemetary section wrapped in a trinityuseonce so if it dies it will skip that whole section.

another thing, why not just use the portal stone in the tombs?
 
im on my laptop so i cant actually test it but if it doesnt die does it actually work how you want? what is the "first part"?

i cant actually remember what happens to profiles on death, but i think they get reloaded and run from the start again? i could be wrong though. if they do, heres an example of where youve gone wrong in quite a few places.
Code:
<!-- Get To Cemetery -->
        <MoveTo questId="1" x="2981.259" y="2836.146" z="24.89399" pathPrecision="1" />
        <UseWaypoint questId="1" actorId="223757" x="2981.259" y="2836.146" z="24.89399" waypointNumber="6" />
you have no statement to check your location, so for example you die in one of the tombs, the bot will run these again and obviously fail. wrap it in an if statement.

another potential problem could be your return to town/wp back, again i cant actually test it but is the useportal tag able to navigate to the next portal without having to use any movetos? i know the area is small so it probably could, but if youre having issues with that then you need to add moveto tags after taking the waypoint again.

anyway to address your actual problem in the post, you have your whole cemetary section wrapped in a trinityuseonce so if it dies it will skip that whole section.

another thing, why not just use the portal stone in the tombs?


I don't use portal stones because there are four possible spots they can drop you off at. TP->WP is same everytime. I did forget a statement in that spot but it hasn't caused an issue yet. There is one stuck but Trinity un-stucks it every time. I did the profile with and without a "full wrap" of trinityuseonce. Anyways the trinityusestop wont cause the useonce tag to hit until it completes 100% of the useonce tag.


Right now with no deaths it get's to around line 50 the start of the third crypt then just stops after it gets back to cemetery. With a death it skips to Rad's Weeping Hollow.

Latest Version [XML] <Profile> <Name>My Cemetery</Name> <GameParams quest="72801" step="36" act=" - Pastebin.com
 
Last edited:
from the trinity xml thread
If Trinity encounters this element, it will remember the ID - and will NEVER process that ID again until the bot leaves the game and returns (unless you use the optional "max" parameter, see below).
so if the bot dies anywhere in your outer trinityuseonce it will not run it again, which is why it skips to the weeping hollow part.

without actually testing it if i were to guess the reason for it stopping after returning to the cemetery is because youre not in range for the useportal tag to work, and because it doesnt complete it just sits at that. try adding a few moveto tags to get closer to the portal and see if that works.

regarding the portal stones, personally i think it would be better/more efficient to move to the portal 1 location, check if theres a portal and use it and explore until you find the stone, leave and move to the next portal location. just a thought.. but its your profile, not mine.
 
Last edited:
TrinityUseStop will prevent the specified "UseOnce" id being used again for the rest of the run - that ID is "completely disabled" until your game leaves and a new game started. You can use it within, but at the end of, a <UseOnce> tag as a way of disabling a UseOnce tag *ONLY* when that UseOnce tag has been completed, as one possible example usage.

Also from the trinity post. I wish giles was around.​



 
without actually testing it if i were to guess the reason for it stopping after returning to the cemetery is because youre not in range for the useportal tag to work, and because it doesnt complete it just sits at that. try adding a few moveto tags to get closer to the portal and see if that works.

regarding the portal stones, personally i think it would be better/more efficient to move to the portal 1 location, check if theres a portal and use it and explore until you find the stone, leave and move to the next portal location. just a thought.. but its your profile, not mine.

Sometimes the last portal is the closest of the three though. So it can't be range since it found and moved to the other two which are further away.

The problem with moving to each portal location they change at random. So you can't go to spot A and say

UsePortal A dest. A

you have to say

Useportal A dest. A

or Useportal B dest B
or UsePortal C dest C

Which is why I teleport to town and waypoint back to cemetery.

I'll try without the outer trinitytag btw but it didn't work last time.
 
i dont even understand the need for you to have trinityusestop in your profile, once it hits your outer trinityuseonce everything inside that will be run only once.. so if you die anywhere in there it will completely skip everything and move on to the weeping hollow code.

again about the portals, you know you can use <If condition="ActorExistsAt(sno, x, y, z, radius)"> (If condition="ActorExistsAt(176003, 3307.468, 550.6309, -3.698896, 50)"> as an example) to check if the portal exists?

run to spawn a
check if it exists
if it exists, run the dungeon and either use stone or teleport town and go back
run to spawn b... etc.
 
i dont even understand the need for you to have trinityusestop in your profile, once it hits your outer trinityuseonce everything inside that will be run only once.. so if you die anywhere in there it will completely skip everything and move on to the weeping hollow code.

again about the portals, you know you can use <If condition="ActorExistsAt(sno, x, y, z, radius)"> (If condition="ActorExistsAt(176003, 3307.468, 550.6309, -3.698896, 50)"> as an example) to check if the portal exists?

run to spawn a
check if it exists
if it exists, run the dungeon and either use stone or teleport town and go back
run to spawn b... etc.

The point is I don't want it to skip everything I want it to attempt everything at least 3 times. The UseStop tag makes it so if it completes 100% it will not do it a 2nd and 3rd time if I die on crypt 2 but have fully cleared crypt one already.

I think the usestoptag is currently broken or I'm using it wrong. Seeing as it seems like it was newly implemented right before giles got sick I don't think anyone knows how it works exactly or if it is working right. I'm going to test with something simple and cause myself to die by being naked to check it out.

As far as the portal thing what I have works, "if it ain't broke don't fix it"
 
Back
Top