openplanet-nl / issues

Issue tracker for Openplanet.
10 stars 0 forks source link

Inputs are sometimes blocked when in the TM2020 map editor #220

Open skybaks opened 1 year ago

skybaks commented 1 year ago

( Reference skybaks/tm-editor-helpers#5 )

Relatively inconsistently, it seems that there is a situation where inputs to the game can be blocked in the map editor. The most common culprit I have found to cause this is the "Quicksave" button in the editor helpers which has the effect of calling SaveMap(string) in this class: https://next.openplanet.dev/Game/CGameEditorPluginMap

When this occurs, the input debug display in the openplanet shows something like "(2)" or "(3)". I tried pressing every key on the keyboard to see if it was registering one as stuck down but the only key that had an effect on the count was PRT SCN which decremented the count by 1 each time i pressed it.

Before posting this I spent some time today trying to replicate the issue through different methods but unfortunately I could not. If I am able to come up with a script that replicates this behavior I will definitely post it here for you.

skybaks commented 1 year ago

I think I just had it happen with the Left-Alt key. I had that key held down when the game froze for a second during map saving.

skybaks commented 1 year ago

I spent another hour in the editor today trying to replicate this via a script and i couldnt. Not sure what to do at this point but this could probably be closed until some time in the future when there is a more consistent way to recreate the issue.

codecat commented 1 year ago

Thanks for the additional info. I'd rather keep this issue open though, in case it comes up later.