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

[Plugin] UnstuckMe!

Status
Not open for further replies.
I know your plugin attempts to break stuff if it's stuck, but is it possible to add interaction when stuck? For example, instead of getting stuck with a breakable nearby, what if it is a door that DB didn't open, but it gets stuck trying to move through the door. Anyway to add door interaction to your unstuck list?
yes this is possible ofc .. can you explain where it gets stuck ? which act and which door for example ?
 
yes this is possible ofc .. can you explain where it gets stuck ? which act and which door for example ?

just head to the Cathedral in act 1 after Hidden Cellar then use a blank profile / combat profile with:

<If condition="ZetaDia.CurrentWorldId == 50579">
<ExploreArea questId="1" boxTolerance="0.45" boxSize="15" until="ExitFound" exitNameHash="-816183389" leaveWhenFinished="True" />
</If>

Sometimes there is a door that it wouldn't open, and the bot just keeps running into it thinking it is opened or doesn't exist, or is attacking monsters through it. So far I logged 2 instances where it happened just now, and they are:

GizmoType: Door Name: trDun_Cath_WoodDoor_A-2671 ActorSNO: 454 Distance: 6.192032 Position: <722.5603, 1059.8, -3.814697E-06> Barracade: False
GizmoType: Door Name: trDun_Cath_WoodDoor_A-411 ActorSNO: 454 Distance: 6.283048 Position: <722.469, 580.0627, 0> Barracade: False

I was looking at your plugin, maybe add something like "g.ActorInfo.GizmoType == GizmoType.Door" to your BreakStuff.cs, or make a new one for object interaction.

I tried editing it myself, but wasn't sure what to put for "if (!ZetaDia.Me.UsePower..." Don't really know the command/tag for using objects. =)

Hope that helps.
 
Update v1.8
  • Added: Check for CombatTargetting.FirstNPC
  • Added: Workaround for WaitTimers in profiles

This version should no longer cause problems with GilesTrinity when GilesTrinity is waiting without attacking anything ..
 
Update v1.8
  • Added: Check for CombatTargetting.FirstNPC
  • Added: Workaround for WaitTimers in profiles

This version should no longer cause problems with GilesTrinity when GilesTrinity is waiting without attacking anything ..

thanks for the update, really appreciate this ;-)

one question, i have set my trys to unstuck to 8, but i saw the v1.7.1 that he teleports just after the first failed unstuck...is this solved in 1.8 ?
kind regards
 
Hello santa, have been using unstuckme religiously. Any plans on bring the log out of db log and into a seperate log file itself? I believe it'll be easier to do stuck fixing that way :) Thanks for the great unstucker
 
character will stuck there few seconds after killed one pack of champions, even there are a lot of other mobs around. It looks like a conflit with giles plugin. I only use giles, unstuckme, radsatom. And I turned giles unstucker off, avoidance off too. Please kindly fix this, thanks a lot in advance. Your plugin is the best unstucker for sure.
 
character will stuck there few seconds after killed one pack of champions, even there are a lot of other mobs around. It looks like a conflit with giles plugin. I only use giles, unstuckme, radsatom. And I turned giles unstucker off, avoidance off too. Please kindly fix this, thanks a lot in advance. Your plugin is the best unstucker for sure.

Did you update to the latest Giles plugin ? cause giles only sets the CombatTargetting.FirstNPC in his latest version 1.6.1 ..
 
Failed unstucking attempt: 1
Taking portal
but i have set the attempts to 10 !?

also with giles 1.6.1 unstuckme often try to unstuck during a elite fight..causes some dph more, could u pls look into this?
and disable unstuck during elite fights?
thanks
 
Last edited:
I'm back!

I found a 100% reliable mechanism for WaitTimers - even works with CombatBot and doesn't throw NullPointerExceptions on the character selection screen.

PHP:
if (Zeta.CommonBot.ProfileManager.OrderManager != null                
&& Zeta.CommonBot.ProfileManager.OrderManager.CurrentBehavior != null               
&& Zeta.CommonBot.ProfileManager.OrderManager.CurrentBehavior.GetType() == typeof(Zeta.CommonBot.Profile.Common.WaitTimerTag))            
{                
    return;           
}

Cheers,

rrrix
 
I'm back!

I found a 100% reliable mechanism for WaitTimers - even works with CombatBot and doesn't throw NullPointerExceptions on the character selection screen.

PHP:
if (Zeta.CommonBot.ProfileManager.OrderManager != null                
&& Zeta.CommonBot.ProfileManager.OrderManager.CurrentBehavior != null               
&& Zeta.CommonBot.ProfileManager.OrderManager.CurrentBehavior.GetType() == typeof(Zeta.CommonBot.Profile.Common.WaitTimerTag))            
{                
    return;           
}

Cheers,

rrrix


Hi,

Can You say in which file we should put it at what line?? And should we delete something instead?:)
 
I'm back!

I found a 100% reliable mechanism for WaitTimers - even works with CombatBot and doesn't throw NullPointerExceptions on the character selection screen.

PHP:
if (Zeta.CommonBot.ProfileManager.OrderManager != null                
&& Zeta.CommonBot.ProfileManager.OrderManager.CurrentBehavior != null               
&& Zeta.CommonBot.ProfileManager.OrderManager.CurrentBehavior.GetType() == typeof(Zeta.CommonBot.Profile.Common.WaitTimerTag))            
{                
    return;           
}

Cheers,

rrrix

Plugin updated with your fix thanks :)
 
[22:17:55.392 N] ========== Grid segmentation resetting!!! ============
[22:17:55.532 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:08.527 N] [UnstuckMe!] 0 yards traveld with 23 points
[22:18:08.558 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:14.751 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:15.563 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:16.436 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:17.294 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:18.168 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:18.761 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:19.619 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:20.508 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:21.085 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:21.943 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:22.817 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:23.394 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:23.441 N] [UnstuckMe!] Failed unstucking attempt: 1
[22:18:23.472 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:23.534 N] [UnstuckMe!] Taking portal (1/10)
[22:18:23.581 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:26.795 N] [UnstuckMe!] Taking portal (2/10)
[22:18:26.826 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:29.946 N] [UnstuckMe!] Taking portal (3/10)
[22:18:29.993 N] [GilesTrinity] Waiting for Wrath Of The Berserker cooldown before continuing to Azmodan.
[22:18:33.206 N] [UnstuckMe!] Taking portal (4/10)
[22:18:36.451 N] [UnstuckMe!] Taking portal (5/10)
[22:18:36.935 N] Path with 5 hops received (partial: False)
[22:18:39.602 N] [UnstuckMe!] Taking portal (6/10)
[22:18:42.800 N] [UnstuckMe!] Taking portal (7/10)
[22:18:46.061 N] [UnstuckMe!] Taking portal (8/10)
[22:18:49.305 N] [UnstuckMe!] Taking portal (9/10)
[22:18:52.535 N] [UnstuckMe!] Taking portal (10/10)
[22:18:55.779 N] [UnstuckMe!] Leaving Game
[22:18:55.795 N] [UnstuckMe!] Load next profile..
[22:18:55.795 N] [UnstuckMe!] Loading -> E:\Scripts\GangnamStyle_CoreAzmodan.xml
[22:18:56.107 N] Loaded profile [A3 - Inferno]Champion-Hunting 1.2 GangnamStyle - Azmodan - Arreat Core
[22:18:56.107 N] [UnstuckMe!] Resetting2741764


(Stuck)it will sotp at select the character interface for a long time until you see!
 
Hi sf and diabloguy, do you guys really need wotb to engage azmo? If not you could disable trinity's wait for wotb cd by adding // to the 7 lines below the comment (search for "before engaging azmodan") it should solve the problem.
I will tell giles to pause the bot instead of waiting as it makes unstucker kick in.
 
Failed unstucking attempt: 1
Taking portal
but i have set the attempts to 10 !?

also with giles 1.6.1 unstuckme often try to unstuck during a elite fight..causes some dph more, could u pls look into this?
and disable unstuck during elite fights?
thanks
would be nice to have ans answer, i get some dph more because the unstuck attempts during fights
and what am i doing wrong so unstuckme only does 1 attempt to unstuck and then uses tp
kind regards
 
with unstuckme 1.8.1 and newest trinity i have this in combat stucks also

[20:01:30.787 D] ChampionBase
[20:01:30.797 D] Shielding
[20:01:30.797 D] ArcaneEnchanted
[20:01:30.797 D] Linked
[20:01:30.797 D] Fast
[20:01:30.797 D] ChampionBase
[20:01:30.797 D] Shielding
[20:01:30.797 D] ArcaneEnchanted
[20:01:30.797 D] Linked
[20:01:30.797 D] Fast
[20:01:30.797 D] ChampionBase
[20:01:30.797 D] Shielding
[20:01:30.797 D] ArcaneEnchanted
[20:01:30.807 D] Linked
[20:01:30.807 D] Fast
[20:01:30.897 D] Generating path to UNKNOWN - <1031.134, 979.1714, -9.899998>
[20:01:30.897 D] Raycast path generated.
[20:01:30.897 D] Generated path to <1031.134, 979.1714, -9.899998> () with 1 hops.
[20:01:31.217 D] Navigator.Clear
[20:01:31.247 D] Replaced hook [ProfileOrderBehavior_Hook] 8ac79ac0-06e5-483b-a3b4-affc887aeaee
[20:01:31.247 D] Generating path to UNKNOWN - <1006.689, 967.5882, -9.65193>
[20:01:31.247 D] Raycast path generated.
[20:01:31.247 D] Generated path to <1006.689, 967.5882, -9.65193> () with 1 hops.
[20:01:32.997 N] [UnstuckMe!] 859.9692 yards traveld with 8 points
[20:01:42.087 N] [UnstuckMe!] 35.62252 yards traveld with 9 points
[20:01:44.097 D] [UnstuckMe!] Mover() [0] moving to <965.5544, 880.8435, -18.09992>
[20:01:44.097 D] Navigator.Clear
[20:01:44.097 D] Generating path to Trying to unstuck - <965.5544, 880.8435, -18.09992>
[20:01:44.357 D] Successfully generated path from {X=100,Y=98} to {X=69,Y=103} in 00:00:00.0040787 with 32(5) hops

u see..a few seconds after entering combat he decides to unstuck ;-/ and dies cause he stops attacking
 
ty, maybe pause the bot instead of waiting is a good idea!
hey ssf have talked to giles and he told me there's an option to disable wait for wotb, silly me (well i don't use barbs :p)
anyways he was telling me a better fix was for unstuckme to have a longer wait time before being certain to unstuck, not too sure what that means though but for now i would suggest not waiting for wotb to cooldown :)
 
Status
Not open for further replies.
Back
Top