Page 2 of 2

Posted: Wed Jun 07, 2017 8:23 pm
by KGJV
I've created an issue for this : https://github.com/kgersen/Allegiance/issues/234

Posted: Tue Aug 22, 2017 4:01 am
by BackTrak
I believe this should fix the double button click issue.

Code: Select all

bool EngineWindow::IsDoubleClick()
{
    // BT - 8/17 - Double click fix. #234 - [url="https://github.com/kgersen/Allegiance/issues/234"]https://github.com/kgersen/Allegiance/issues/234[/url]
    return (fabs(fabs(m_timeCurrent.clock()) - fabs(m_timeLastClick.clock())) < 250);

    // return (m_timeCurrent < (m_timeLastClick + 0.25f));
}
Checking through the code, there are a lot of effects and other things that this could disrupt, but as it's been 17 years, and only the double button click has been annoying... c'est la vie?


Edit: Shouldn't post code until you test it! :)

Posted: Tue Aug 22, 2017 5:22 pm
by KGJV
I'm bit swamped till end of September atm, not sure I'll find time to test this.

and it's still very unclear for me where everything is happening atm , see: index...st&p=703685

Posted: Tue Aug 22, 2017 8:34 pm
by raumvogel
I have since developed this problem.At the same time my computer developed this problem: Windows keyboard glitch

I'm wondering if the two are related.

Posted: Mon Sep 04, 2017 1:27 am
by Jimen
I'm running into this too. Seems like for now, the work-around is to reboot your computer if it's been running for more than 50 days?

Posted: Sat Sep 09, 2017 6:47 am
by Arson_Fire
More than 25 days. After 50 days the time resets back to 0, and things start working again.

Also, be aware that modern versions of windows (windows 8 onwards I think) have a feature called hybrid shutdown, where shutting down your computer actually just puts it into sleep mode. This doesn't reset the timer. The introduction of this feature is probably the reason why this bug only became a problem in the games later years.

Posted: Sun Sep 10, 2017 5:08 pm
by Sycrus
Just ran into this problem yesterday - restart it instead of shut down, works perfectly fine now

Posted: Sun Sep 10, 2017 5:36 pm
by BackTrak
Just to be clear, my fix is only on the steam branch, so let me know if you see it over there.

Posted: Sun Sep 17, 2017 3:30 am
by ThePhantom032
BackTrak wrote:QUOTE (BackTrak @ Sep 10 2017, 07:36 PM) Just to be clear, my fix is only on the steam branch, so let me know if you see it over there.
Your fix works, i have the issue on non-steam but do not have it on steam version.