Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game doesn't update until mouse is moved or key pressed #22

Open
jmdana opened this issue Oct 11, 2017 · 8 comments
Open

Game doesn't update until mouse is moved or key pressed #22

jmdana opened this issue Oct 11, 2017 · 8 comments
Labels

Comments

@jmdana
Copy link

jmdana commented Oct 11, 2017

Hello,

First of all, thanks for a great patch and for keeping the game alive.

During enemy's units actions (and sometimes just before a dialog appears), the game kind of freezes and doesn't update until the mouse is moved or a key is pressed. It feels like an autopause after every single unit move.

The issue disappears if PRACX is disabled. I have tried with and without Yitzi's patch and I see the same behavior (i.e. issue appears only if PRACX is enabled).

I'm running the game under Windows 10 64 bits. It also happens when running in Windows 98 compatibility mode.

Thanks!

@DrazharLn
Copy link
Owner

Almost all credit is due to PlotinusRedux rather than me :)

Is the cursor near any of the edges of the screen when this occurs?

There's a known bug that PRACX-scrolling pauses the rest of the game for the duration of the scroll.

@jmdana
Copy link
Author

jmdana commented Oct 18, 2017

Well, thanks to both of you then ;)

No, it isn't. It happens independently of the cursor position.

@DrazharLn
Copy link
Owner

Thanks :)

Could you see if it's repeatable? Make sure autosaves are on, and when it next happens, reload the save, save just before end turn, and hit end turn and see what happens?

Maybe also try the latest debug build and send me the logfile? https://github.com/DrazharLn/pracx/releases

Be careful that the logfile doesn't get too big, though.

@jmdana
Copy link
Author

jmdana commented Oct 18, 2017

Yes, it's repeatable. Actually, it happens every time and just before an enemy unit visible in the map is about to move. It also happens after planetfall and just before both your city and unit appear.

I have attached two logfiles.

In the one just below there is a pause just after planetfall and it crashes when is about to happen again with an enemy unit. It crashed big time, it wouldn't even allow me to open the task manager, I had to log out.

pracx_CRASH.log

In this other one it also paused just after planetfall and before enemy moves. I did a couple of loads as you mentioned and, after the last one, another crash just like the one before.

pracx.log

Just for your information, the crashes never happened with 1.09 (could it be related with the aggressive logging of the debug build?).

EDIT: I have just realized that, when the enemy unit moves several squares, the pause usually happens after it does the first one, so the action is paused during the movement and not before it. It looks like it is not necessarily before it starts moving but, let's say, at some point during the move.

@DrazharLn
Copy link
Owner

Well, let's try to eliminate the logging.

Could you try v1.10 non-logging? And could you send me save files of just before the problems happen?

And are you using a laptop? Touchpad or mouse? Yitzi patch version?

@DrazharLn
Copy link
Owner

bump

@DrazharLn DrazharLn added the bug label Oct 25, 2017
@jmdana
Copy link
Author

jmdana commented Oct 25, 2017

I'm using a desktop with mouse. It happens with and without Yitzi's patch, both SMAC and SMAX.

I will try to send you the save file in the next few days.

@DrazharLn
Copy link
Owner

Does this still happen for you with the non-debug binaries?

v1.10 and v1.11 on the release page do not log excessively as the old v1.10 did.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants