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
    ZC Developer
    ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,083
    Mentioned
    96 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    3,742
    Level
    19
    vBActivity - Bars
    Lv. Percent
    53.35%
    Daily Activity
    129.87%
    Weekly Activity
    20.37%
    Monthly Activity
    142.36%

    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?


    Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
    ZScript & ZC-Related Pastebin | Quests and ZScript Repository | ZC Dev & Betas | Latest ZC 2.54 Beta | YouTube Channel
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable..

  2. #2
    Developer ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,701
    Mentioned
    242 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,425
    Level
    32
    vBActivity - Bars
    Lv. Percent
    68.11%
    Daily Activity
    0%
    Weekly Activity
    1.85%
    Monthly Activity
    24.31%
    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
    ZC Developer
    ZoriaRPG's Avatar
    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,083
    Mentioned
    96 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    3,742
    Level
    19
    vBActivity - Bars
    Lv. Percent
    53.35%
    Daily Activity
    129.87%
    Weekly Activity
    20.37%
    Monthly Activity
    142.36%
    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.


    Featured Scripts & Headers: RPG.zh ( v. a0.97.1 ) ( RPG.zh Thread ) | Zelda 3 Thief's Town Treasure Chest Minigame (ffc) | Bobomb (enemy)
    ZScript & ZC-Related Pastebin | Quests and ZScript Repository | ZC Dev & Betas | Latest ZC 2.54 Beta | YouTube Channel
    All of the code that I create and publish here is free for use, modification and distribution under the GPL v2.0, or v3.0 where applicable..

  4. #4
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    35
    Posts
    3,345
    Mentioned
    168 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,054
    Level
    24
    vBActivity - Bars
    Lv. Percent
    6.91%
    Daily Activity
    0%
    Weekly Activity
    1.85%
    Monthly Activity
    17.36%
    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.
    [téknolŕiz]

    ffcscript.zh 1.1.1 - Updated 2014-08-19
    ghost.zh 2.8.2 - Updated 2017-09-10
    tango.zh 1.3.1 - Updated 2017-12-27

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