User Tag List

Results 1 to 3 of 3

Thread: Junk Data in ZASM Export

  1. #1
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,762
    Level
    21
    vBActivity - Bars
    Lv. Percent
    69.12%

    Sick Bug Junk Data in ZASM Export

    When exporting ZASM during compilation, there is a junk Init script, with a bunch of garbled char, and a phantom incarnation of a GhostZH script, that are both output to the log, despite neither existing.

    These are carryovers in the quest file template from 2.50.0 beta.

  2. #2
    Is this the end?
    ZC Developer
    Saffith's Avatar
    Join Date
    Jan 2001
    Age
    41
    Posts
    3,389
    Mentioned
    178 Post(s)
    Tagged
    6 Thread(s)
    vBActivity - Stats
    Points
    6,432
    Level
    24
    vBActivity - Bars
    Lv. Percent
    69.92%
    I don't know why those are there. They somehow got assigned to global slots numbered greater than 3, which I don't think have ever been valid. It shouldn't be hard to clear them out.

  3. #3
    The Timelord
    QDB Manager
    ZC Developer

    Join Date
    Oct 2006
    Location
    Prydon Academy
    Posts
    1,396
    Mentioned
    112 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    4,762
    Level
    21
    vBActivity - Bars
    Lv. Percent
    69.12%
    #define NUMSCRIPTFFC 512
    #define NUMSCRIPTFFCOLD 256
    #define NUMSCRIPTITEM 256
    #define NUMSCRIPTGUYS 256
    #define NUMSCRIPTWEAPONS 256
    #define NUMSCRIPTGLOBAL 4
    #define NUMSCRIPTGLOBALOLD 3
    #define NUMSCRIPTLINK 3
    #define NUMSCRIPTSCREEN 256

    (zdefs.h)

    extern ffscript *globalscripts[NUMSCRIPTGLOBAL];

    zq_class.cpp

    Nope. Although I'm not even sure where, or if globalscripts[] it is ever actually defined, else if it runs entirely from that extern. I suppose it's possible that NUMSCRIPTGLOBAL was defined as 5 or 6 at some point, or something, to cause that. I'm not sure where the junk data was stored though, as it'd be outside the bounds of globalscripts[].

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