Closed lbacker88 closed 1 year ago
So we ran into this the other month where a condition existed if you were whirlwinding while use_weak_attacks was true.
I thought it got fixed, but it doesn't look like it was. I don't even know enough about barbs to know what the best way to fix it is, but the issue was in combat-trainer perform_analyze? when it gets an Analyze what? when your combo_array is empty. It then does 'face next' then returns true, which means it doesn't actually refill the combo array, and you don't end up with a melee action. So you get your last line 'combat-trainer: for command
I can't tell from your log, but if you have use_weak_attacks on then that's the same problem, and the temporary fix is to drop that.
might be worth adding a warning to validate to not use_weak_attacks with whirlwind enabled
Appears to be a different issue because my use_weak_attacks is not on.
are you sure you're looking at the right yaml? use_weak_attacks: false exists in the warklin hunt yaml?
so perform_analyze? needs to retry after this line in combat-trainer instead of just returning true most likely - https://github.com/rpherbig/dr-scripts/blob/master/combat-trainer.lic#L3294
Yeah that sounds right. But I don't want it to get stuck in a loop. Could we turn that fput face next into a case bput where it tries again if it gets 'You turn to face' or whatever, and just shoves something like a 'feint' into the array if it doesn't?
Actually, I'm not sure it would need anything when there aren't any mobs left, and I don't have a barbarian to help test debug stuff. But something like this?
when 'Analyze what?'
case bput('face next', 'You turn to face', 'There is nothing')
when 'You turn to face'
return perform_analyze?(combo_type, expertise_requirement)
end
return true
end
@Sarvatt the combat portion of the warklin yaml is as follows, willing to help test or lend the character for someone to test with if easier.
Let me know if I can help test a fix. I use both weak attacks and whirlwind on Sheltim, though I haven't seen this issue.
This issue happens when kill a mob in between analyzes as well, not just when there are no mobs in the room.
I can see why that would happen after looking at this longer. Anything that uses update_analyze_array could run into problems if a mob is dead or it runs out of mobs right when the array empties.
I made a PR for this that I think should prevent this from happening, if some barbarian would mind trying it out someday.
Closing as resolved by https://github.com/rpherbig/dr-scripts/pull/3170
Can reopen if it ever comes up again.
Been running into this issue in warklins since I moved here. Not sure if you need more information.
Also - Had to remove whirlwind completely because it gets stuck in a broken loop trying to whirl with no weapons out after this bug occurs.
[combat-trainer]>loot You search the armored warklin. The warklin was carrying a huge covellite nugget!
You feel fully rested.