penetrator
New Member
- Joined
- Dec 12, 2012
- Messages
- 97
- Reaction score
- 0
Seems like .15 get it fixed.
Nice....
Full inventory and 1 slot is emty... No townruns, no identify, no pick up...
Are you all using Monks with WeaponSwap enabled? I've been watching all my bots hoping to reproduce this but haven't yet.
Also, do you notice that the bot will run the profile forever and never TP, or just continue to kill monsters for a few seconds until it's safe to TP?
Are you all using Monks with WeaponSwap enabled? I've been watching all my bots hoping to reproduce this but haven't yet.
Also, do you notice that the bot will run the profile forever and never TP, or just continue to kill monsters for a few seconds until it's safe to TP?
Also, since this obviously doesn't affect everyone (I think this thread would be bigger if it did!), can you give me some more information about your particular setup?
What class, what level, which profiles. What does your bot do when it's supposed to town run?
Do all your profiles have the required <PickupLoot>True</PickupLoot> element? Are they using <ToggleTargeting looting="False" /> anywhere?
Sorry for all the questions but I want to be able to reproduce this so I can help you guys out! The more information you can give me the better.
thanks!
thing is what bot skips all, include gems, gold, itemsCheck when this happens, you already collected all 4 types of gems?
I think you may have a good point here.... I noticed that I have gems when this happens. I only recently changed gem pick up to all 4 types instead of just picking up emerald and ruby. I'm going to try taking out the other 2 gems from picking up and see if it fixes it.Check when this happens, you already collected all 4 types of gems?
I guess i found the solution, will test if for couple of runs![]()
Which is??
rrrix
Vector2 ValidLocation = FindValidBackpackLocation(true);
if (ValidLocation.X < 0 || ValidLocation.Y < 0)
{
DbHelper.Log(TrinityLogLevel.Normal, LogCategory.UserInformation, "No more space to pickup a 2-slot item, town-run requested at next free moment.");
ForceVendorRunASAP = true;
runStatus = HandlerRunStatus.TreeSuccess;
}
// Check if we actually have room for this item first
Vector2 ValidLocation = GilesTrinity.FindValidBackpackLocation(true);
if (ValidLocation.X < 0 || ValidLocation.Y < 0)
{
DbHelper.Log(TrinityLogLevel.Normal, LogCategory.UserInformation, "No more space to pickup a 2-slot item, town-run requested at next free moment.[test]");
ForceVendorRunASAP = true;
runStatus = HandlerRunStatus.TreeRunning;
}
As temporary solution we can use this replacements:
File: Behaviors.cs [LINE 384]
Replace with:Code:Vector2 ValidLocation = FindValidBackpackLocation(true); if (ValidLocation.X < 0 || ValidLocation.Y < 0) { DbHelper.Log(TrinityLogLevel.Normal, LogCategory.UserInformation, "No more space to pickup a 2-slot item, town-run requested at next free moment."); ForceVendorRunASAP = true; runStatus = HandlerRunStatus.TreeSuccess; }
Code:// Check if we actually have room for this item first Vector2 ValidLocation = GilesTrinity.FindValidBackpackLocation(true); if (ValidLocation.X < 0 || ValidLocation.Y < 0) { DbHelper.Log(TrinityLogLevel.Normal, LogCategory.UserInformation, "No more space to pickup a 2-slot item, town-run requested at next free moment.[test]"); ForceVendorRunASAP = true; runStatus = HandlerRunStatus.TreeRunning; }
But imo, FindValidBackpackLocation function should be reworked.
Well... then it's calling of FindValidBackpackLocation, there is 2 checks where Trinity check slots for items, may be rework it into 1?That's a good way to have your bot get stuckI wouldn't suggest doing this.
Also, since (at least in the logs that Nacrem posted, no one else has posted logs) - this message doesn't show up: "No more space to pickup a 2-slot item, town-run requested at next free moment.", so this piece of code isn't even being hit.