I think profiles can never reliably detect a boss kill. This logic needs to be moved into a plugin. This same problem happened to me farming keywardens.
I think it is caused because when combat logic runs, it bypasses the profile logic completely.
So for example, if you start killing mobs and the combat logic leads you to a rift boss, it remains in combat logic the whole time and never gives the profile logic a chance to detect the rift boss spawned. When you finish killing the rift boss it switches over to the profile and the profile has no idea you just killed the boss.
The only way it works properly is if you kill a monster, leave combat logic, and then the profile has a chance to detect the rift boss outside of combat radius.
I would say this happens at least half the time. Hopefully that wasn't too confusing to understand.
Getting pages of this error sometime, even though it appears to have no affect on the Bot. Don't know if this is Rifter or Trinity
[Trinity] Exception reading ActiveBounty Object reference not set to an instance of an object.
[Trinity] Exception reading ActiveBounty Object reference not set to an instance of an object.
[Trinity] Exception reading ActiveBounty Object reference not set to an instance of an object.
[Trinity] Exception reading ActiveBounty Object reference not set to an instance of an object.
[Trinity] Exception reading ActiveBounty Object reference not set to an instance of an object.
To everyone else: I won't really be updating this project anymore until DB adds in at least the most basic of Rift support. It seems because I have no reputation around the forums, that I am not worth the reply of a Dev, apparently. Maybe some day? Lol.
I think profiles can never reliably detect a boss kill. This logic needs to be moved into a plugin. This same problem happened to me farming keywardens.
I think it is caused because when combat logic runs, it bypasses the profile logic completely.
So for example, if you start killing mobs and the combat logic leads you to a rift boss, it remains in combat logic the whole time and never gives the profile logic a chance to detect the rift boss spawned. When you finish killing the rift boss it switches over to the profile and the profile has no idea you just killed the boss.
The only way it works properly is if you kill a monster, leave combat logic, and then the profile has a chance to detect the rift boss outside of combat radius.
I would say this happens at least half the time. Hopefully that wasn't too confusing to understand.
Thanks for that, I'll be sure to add that in.No plugin is necessary.
questId: 337492 stepId: 10
means rift boss is dead.
Thanks for that, I'll be sure to add that in.
Sadly we are still needing the mapmarker, because as far as I know actors unload when they are too far off the screen, so if they are like really far away when they spawn you can't use any sort of like MoveToActor or anything, it 100% has to be able to follow the map marker but I can't seem to get a devs attention on that issue.
It's a yellow arrow if your far enough away, as you get closer it disappears then comes back as a yellow 'ping' sorta thing, then once actually on the minimap becomes that skull thing or whatever. But no matter what distance you are once it picks up that it exists I believe I saw a code around somewhere that remembers that location and heads toward it. So even if it disappears at certain times it will still know its way.I think it might be better to use another method to detect whether a boss is summoned or not. I've noticed several times that the boss appeared in so distant area that I have to search for minutes to even make the yellow marker appear on the minimap. I wonder will there be different stepids for "kill-mob", "kill-boss", and "boss-down"? The quest indicator under minimap does change with these stages.
Just gonna keep waiting I suppose, sooner or later maybe. But Rrrix was looking into stuff for me as well, so maybe he will come back with some good news.Imho nesox should be releasing support for mapmakers since rifter is definately best thing out there atm since rifts is main source of drops since patch....NoWayLol doing a great work and deserves some respect
Thanks for that, I'll be sure to add that in.
Sadly we are still needing the mapmarker, because as far as I know actors unload when they are too far off the screen, so if they are like really far away when they spawn you can't use any sort of like MoveToActor or anything, it 100% has to be able to follow the map marker but I can't seem to get a devs attention on that issue.
Is that for a plugin? I haven't looked into plugins at all so I don't know anything about them.Just don't use standard questId="..." stepId="..." attributes. As far as I have tested they don't work when you have multiple active quests. Had to write my own profile tag for this purpose:
Code:using System.Linq; using Zeta.Bot.Profile; using Zeta.Game; using Zeta.Game.Internals; using Zeta.TreeSharp; using Zeta.XmlEngine; using Zeta.Bot.Profile.Composites; namespace Trinity.XmlTags { [XmlElement("TrinityAtQuest")] public class TrinityAtQuest : ComplexNodeTag { protected override Composite CreateBehavior() { PrioritySelector decorated = new PrioritySelector(new Composite[0]); foreach (ProfileBehavior behavior in base.GetNodes()) { decorated.AddChild(behavior.Behavior); } return decorated; } private bool CheckNotAlreadyDone(object obj) { return !IsDone; } public override bool IsDone { get { return !ZetaDia.ActInfo.ActiveQuests.Any(quest => quest.QuestSNO == QuestId && quest.QuestStep == StepId); } } } }
Is that for a plugin? I haven't looked into plugins at all so I don't know anything about them.
So it appears it still uses the normal tag right, but it just puts the other at a higher priority? You should suggest that to Rrrix to add in because that is a pretty sweet change. It would make campaign act totally normal but when in Adventure Mode make those quests higher priority.Yes, it's for Trinity. (create Trinity/XmlTags/TrinityAtQuest.cs and paste my code there)