User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: .z file?

  1. #1
    Octorok
    Join Date
    Sep 2006
    Age
    34
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,056
    Level
    11
    vBActivity - Bars
    Lv. Percent
    21%

    Question .z file?

    I would like to import a script, but I have learned that I must first save it in a .z file. How do I do this?

  2. #2
    Ultimate Prankster Lucario QDB Manager
    Just registered
    Nimono's Avatar
    Join Date
    Nov 2005
    Location
    Static Void Kingdom
    Age
    32
    Posts
    1,963
    Mentioned
    5 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    6,276
    Level
    24
    vBActivity - Bars
    Lv. Percent
    43.92%

    Re: .z file?

    Quote Originally Posted by TheBestGamer View Post
    I would like to import a script, but I have learned that I must first save it in a .z file. How do I do this?
    Do just that. When saving the file, just type the file's name, then add ".z' to the end. It'll always save the file as whatever extension you tack onto the end of it. Like, if you saved a file as "dsjfsdgjg.you", the file would be saved as a .you file instead of the normal extension a program would save it as.

  3. #3
    Octorok
    Join Date
    Sep 2006
    Age
    34
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,056
    Level
    11
    vBActivity - Bars
    Lv. Percent
    21%

    Re: .z file?

    I tried that. It turned into a .txt file anyway. What program are you using?

    Edit: Nevermind, it worked this time. But it says it can't "open or parse input file". Coincidentally, I am trying to import YOUR Cane of Somaria script. So maybe you can help with this problem. Any ideas?

  4. #4
    Ultimate Prankster Lucario QDB Manager
    Just registered
    Nimono's Avatar
    Join Date
    Nov 2005
    Location
    Static Void Kingdom
    Age
    32
    Posts
    1,963
    Mentioned
    5 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    6,276
    Level
    24
    vBActivity - Bars
    Lv. Percent
    43.92%

    Re: .z file?

    Quote Originally Posted by TheBestGamer View Post
    I tried that. It turned into a .txt file anyway. What program are you using?

    Edit: Nevermind, it worked this time. But it says it can't "open or parse input file". Coincidentally, I am trying to import YOUR Cane of Somaria script. So maybe you can help with this problem. Any ideas?
    Nope, can't help. Quite a few people got that problem. It's a compiler error, I'm afraid. Can't really do much of that... I'm sure it said "Cannot cast from WTF to bool", right?

  5. #5
    Octorok
    Join Date
    Sep 2006
    Age
    34
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,056
    Level
    11
    vBActivity - Bars
    Lv. Percent
    21%

    Re: .z file?

    Quote Originally Posted by pikaguy900 View Post
    Nope, can't help. Quite a few people got that problem. It's a compiler error, I'm afraid. Can't really do much of that... I'm sure it said "Cannot cast from WTF to bool", right?
    No, actually. That's not what it said. Here's exactly what it says:

    PASS 1: PARSING
    LINE 1: SYNTAX ERROR, UNEXPECTED LBRACE, EXPECTING $END, ON TOKEN {
    FATAL ERROR P00: CAN'T OPEN OR PARSE INPUT FILE!

    Does that help?

  6. #6
    Ultimate Prankster Lucario QDB Manager
    Just registered
    Nimono's Avatar
    Join Date
    Nov 2005
    Location
    Static Void Kingdom
    Age
    32
    Posts
    1,963
    Mentioned
    5 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    6,276
    Level
    24
    vBActivity - Bars
    Lv. Percent
    43.92%

    Re: .z file?

    Quote Originally Posted by TheBestGamer View Post
    No, actually. That's not what it said. Here's exactly what it says:

    PASS 1: PARSING
    LINE 1: SYNTAX ERROR, UNEXPECTED LBRACE, EXPECTING $END, ON TOKEN {
    FATAL ERROR P00: CAN'T OPEN OR PARSE INPUT FILE!

    Does that help?
    O_o That face should explain it all. No, it doesn't exactly help, and it shouldn't do that. After all, it's basically saying it wants the script to end the moment it begins! Obviously a compiler error....

  7. #7
    Octorok
    Join Date
    Sep 2006
    Age
    34
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,056
    Level
    11
    vBActivity - Bars
    Lv. Percent
    21%

    Re: .z file?

    Quote Originally Posted by pikaguy900 View Post
    O_o That face should explain it all. No, it doesn't exactly help, and it shouldn't do that. After all, it's basically saying it wants the script to end the moment it begins! Obviously a compiler error....
    Looks like I'm not getting anywhere, then. I guess I'll try again closer to 2.5's release. Thanks for the help.

  8. #8
    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,433
    Level
    24
    vBActivity - Bars
    Lv. Percent
    70.07%

    Re: .z file?

    Line 1? Given pikaguy's coding style, there shouldn't be any braces until at least line 2. Maybe you didn't copy the very beginnning?

  9. #9
    Octorok
    Join Date
    Sep 2006
    Age
    34
    Posts
    122
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    1,056
    Level
    11
    vBActivity - Bars
    Lv. Percent
    21%

    Re: .z file?

    Really? I copied from the very beginning of the script, including the notes at the top. There's no way I could have missed a line after those notes, but before the actual script starts. I'll go check the file. Maybe Wordpad messed it up when I copied it.

    Edit: I just checked, and the script is exactly how it was in Pikaguy's thead. It's got to be the compiler.

  10. #10
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,228
    Mentioned
    70 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    11,028
    Level
    31
    vBActivity - Bars
    Lv. Percent
    8.51%

    Re: .z file?

    Compilation is failing during parsing, not compiling, and parsing is automated by Bison, so I'm hesitant to blame the compiler.
    Could you please export the buffer and give me the exact .z file you're trying to compile? I agree with Saffith, there's almost certainly an extraneous { on line 1.

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