User Tag List

Results 1 to 4 of 4

Thread: 2.50.1 ZC/ZQ Freezes when Running for Long Duration / Refuses to Accept Input on Win 7

  1. #1
    The Timelord
    QDB Manager
    ZC Developer
    ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,695
    Level
    21
    vBActivity - Bars
    Lv. Percent
    55.88%

    2.50.1 ZC/ZQ Freezes when Running for Long Duration / Refuses to Accept Input on Win 7

    I'm not sure how to properly document this...

    When running ZC for prolonged periods, with no activity, and no screensaver, ZC will hang. No input passed, and must force-close.

    I've also found that ZQuest will stop accepting keyboard input if I shift focus out of it, and back to it, seemingly whenever it pleases.

    Is there anything you would like me to do, to try to document the conditions that cause this; or is it a known problem?

  2. #2
    The 'Armageddon' games coming to a country near you. ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,781
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,788
    Level
    33
    vBActivity - Bars
    Lv. Percent
    8.02%
    It's a known issue. Since it affects both ZC and ZQ my money is on allegro but I can't be sure.

    The main culprit in the past has been the matrix screensaver, which should be disabled by default now (and may even be fixed--can't remember).

    Question: Were any GUIs open, or was it just idling on a game screen? I believe it has something to do with the Dialogs.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  3. #3
    The Timelord
    QDB Manager
    ZC Developer
    ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,695
    Level
    21
    vBActivity - Bars
    Lv. Percent
    55.88%
    ZC was idling on the save slot selection screen; ZQ, on a dialogue. Post-compile script assignment, or something like that. Probably something with Yes/No several times too. I notice the problem when it idles on dialogue screens, because I'm used to tying k, then c for OK and recompile.

    Another thing, is that when alt+tabbing out of focus, and then back, ZC/ZQ act as if you are holding down an arrow key, until you press any key (insert stale joke). The dialogue selector goes mad, moving around in a rapid cycle. This also affects the file selection dialogue in ZC, when opening a quest.

  4. #4
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    39
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,366
    Level
    24
    vBActivity - Bars
    Lv. Percent
    58.86%
    Allegro's keyboard buffer is used from multiple threads, but it's not thread-safe. It has a lock variable, but it's an ordinary int. If that gets messed up, the keyboard is permanently locked, and the GUI stops responding to keyboard input. The buffer isn't accessible outside of Allegro itself, so it can't be corrected when it happens. I've made efforts in the past to reduce the likelihood of it happening, but it's not something we can entirely fix.
    I can have it clear the buffer when switching in or out, which should fix the issue with it thinking keys are being held, but that also significantly increases the odds that the keyboard will stop working entirely.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social