Opened 2 years ago

Last modified 4 days ago

#13675 new defect

TWINE: Sometimes twinsen get's stuck in in a loop of throwing the magic ball

Reported by: mgerhardy Owned by:
Priority: normal Component: Engine: TwinE
Version: Keywords: input
Cc: Game: Little Big Adventure

Description

(hard to reproduce, happened three times during the playthrough for me) only thing that helps breaking out of it is going into the ingame menu.

This happens if you e.g. open the debug console as ctrl is pressed there, too.

Change History (8)

comment:1 by vvs-, 2 years ago

AFAIK, that happened to me when Alt release event get lost.

comment:2 by mgerhardy, 2 years ago

when you have the magicball (and the throw action is bound to alt) - and you open the debugger with ctrl+alt+d - the game gets the alt press event - and starts to throw the magicball. you now leave the debugger - and the alt release event was eaten in the meanwhile. the game never gets the up event - so you have to press alt again to stop throwing. This might be related to the issue the user reported - but as the user mentioned that only the main menu helped, it also might not be related - just the same symptom.

comment:3 by mgerhardy, 2 years ago

Keywords: input added

comment:4 by mgerhardy, 2 years ago

796f54ff895a308220b2b6162ab9d742274cf1c5 fixes the mentioned debug console issue.

comment:5 by antoniou79, 10 months ago

This issue has happened a few times during my today's play session with 2.9.0git (local build from current master HEAD) on Windows 10.

It was unrelated to opening the debug console.

I was keeping Alt down to make Twinsen spam his magic ball attack, and he kept doing it non-stop after the enemy had died and I let go of the Alt key.

Changing Twinsen's mood with "Ctrl" key did work to stop Twinsen's stuck ball throwing loop.

comment:6 by mgerhardy, 2 months ago

I can't find a way to reproduce this (on linux) - is there maybe some OS key handling bound to any of the in-game combinations. I don't know - maybe ALT+Left while turning is bound to something in the OS e.g.?

comment:7 by antoniou79, 6 weeks ago

I've played for a few hours the last couple of days and I think I have found a way to reproduce this pretty consistently.

It happens while Twinsen is fighting an enemy who is also attacking Twinsen, and if, while holding down Alt to throw the magic ball, Twinsen gets hit by an enemy, then it's very likely that he'll get stuck throwing the ball even if the player has stopped pressing on the Alt button.

This also happens for other animations as well; the one I've spotted is Twinsen's attack while in Aggressive mode, while holding down Space. Again, if he gets hit, he is very likely to keep repeating the air kick animation indefinitely.

The "stuck" behavior stops if Twinsen's behavior mode is changed from the Ctrl screen.

comment:8 by mgerhardy, 4 days ago

maybe related to the LastJoyFlag and LastMyFire as well as LastMyJoy input handling. In doDir is an InitAnim call that I have to check

Note: See TracTickets for help on using tickets.