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

stupid question: Is there anything to detect if you are in the right map?

cfong

New Member
Joined
Sep 18, 2012
Messages
258
Reaction score
0
99% of my stucks are pretty much from being in the wrong world id for whatever reason (died, rezzed in unexpected checkpoint or... ??)

is there some sort of sanity check to test if you're in the right one, and if not, to send you to the right one and restart the profile?
 
what profiles are you using? this kind of thing is handled in the profile
Code:
<If condition="ZetaDia.CurrentWorldId == 121214" >
 
SIGGARC A2 1.22 elderberries howling plateau

at start, it only checks to see if we are in town... not if we are in the wrong world, or the checkpoint of the last world (i.e. died too many times, respawn at checkpoint, not town)

maybe a bug in RadsAtom?

why wouldn't it TP before starting next profile?
 
Last edited:
I'm experiencing the same problem sometimes. I use the same profile as you.
Every now and then I get my bot running across town or against some wall in the beginning of a map screaming for a ban.

And <If condition="ZetaDia.CurrentWorldId == 121214" > just checks the worldId. But different maps sometimes have the same Id, so this tag doesnt help much.
 
Afaik it's a DB "random quirk" - largely because DemonBuddy if checks in profiles aren't always reliable (especially if they are nested within other containing tags/ifs etc.).
 
If i add this to the start of every profile

Code:
    <TrinityIf questId="1" condition="not Zeta.ZetaDia.CurrentWorldId==172909" >
      <UseTownPortal questId="1" />
    </TrinityIf>

will that fix it?
 
If i add this to the start of every profile
Code:
    <TrinityIf questId="1" condition="not Zeta.ZetaDia.CurrentWorldId==172909" >
      <UseTownPortal questId="1" />
    </TrinityIf>

will that fix it?

Possibly, but I would use While loops for safety for things like entering portals or returning to town. Check my "Random Tips/Code-Chunks:" section at the very bottom of my huge XML tag info post here;
http://www.thebuddyforum.com/demonbuddy-forum/plugins/giles-plugins/73952-trinity-v1-6-new-profile-xml-tags.html

But basically;
Code:
<!-- while our world ID is *NOT* the current act's town ID, keep trying to portal and wait -->
    <While questId="1" condition="Zeta.ZetaDia.CurrentWorldId != 161472">
     <UseTownPortal questId="1" />
     <WaitTimer questId="1" WaitTime="1000" />
    </While>

Just for example.
 
But, for example, Alcarnus, Howling Plateau and Mines has all the same WorldId. At least here...

Every CIGGARC profile I use has these World checks, but it still stucks cause of wrong profile on wrong world seometimes.
 
But, for example, Alcarnus, Howling Plateau and Mines has all the same WorldId. At least here...
Every CIGGARC profile I use has these World checks, but it still stucks cause of wrong profile on wrong world seometimes.

Yes, level area ID is a better check, and one I recommend.

I'm trying to get people into the habit of using level area id instead of world id, and the tool I posted here;
http://www.thebuddyforum.com/demonbuddy-forum/plugins/giles-plugins/75397-plugin-swolbyns-mapping-tool-updated-modern-man.html

Outputs the level area id while you walk around. You can use "ZetaDia.Me.CurrentScene.Mesh.LevelAreaSNO" in an If-check, which is where this value comes from, to look for this ID instead of world id.
 
Yes, level area ID is a better check, and one I recommend.

I'm trying to get people into the habit of using level area id instead of world id, and the tool I posted here;
http://www.thebuddyforum.com/demonbuddy-forum/plugins/giles-plugins/75397-plugin-swolbyns-mapping-tool-updated-modern-man.html

Outputs the level area id while you walk around. You can use "ZetaDia.Me.CurrentScene.Mesh.LevelAreaSNO" in an If-check, which is where this value comes from, to look for this ID instead of world id.

I didn't know about that. I must talk to you about this tomorrow!
 
devious: request: when you push the routines to git, can you not use the crazy directory names with versions etc? you should only be renaming them for packaging (if at all).

its making keeping my changes merged with upstream very challenging..
 
devious: request: when you push the routines to git, can you not use the crazy directory names with versions etc? you should only be renaming them for packaging (if at all).

its making keeping my changes merged with upstream very challenging..

Can you clarify what you are asking?
Are you saying to keep the folder the same (ie: [A3 - Inferno]Champion-Hunting , without version numbers etc?)
I Just learned how to use Github like last month, and have been following the formatting the previous developers used ;P
 
Back
Top