Jump to content

Photo

stdExtra Compiling Issues

scripting compiling troubleshooting losing sanity funny stdExtra.zh written with letters p.o.a.t.c.t.e.c. wtf

  • Please log in to reply
4 replies to this topic

#1 A Link to Frustration

A Link to Frustration

    Link to Frustration

  • Members
  • Location:My Own Little Plane of Oblivion

Posted 15 October 2014 - 08:41 PM

It feels like the answer should be so obvious, but when I try to compile any script that uses stdExtra.zh, I get compiling errors. Just to make sure it wasn't a compatibility problem with any of the scripts I was trying, I wrote an entirely new one that does absolutely nothing except load up the functions necessary to use stdExtra.zh. It is written as follows:

 

 

import "std.zh"
import "stdExtra.zh"
import "string.zh"
import "ffcscript.zh"
 
//D'oh!

 

 

Using this, I found that there were a few undeclared variables in the script. But here's the part that makes me feel incredibly stupid. I keep arguing with myself about whether I've done something wrong in setting up the imports, or if the variables were intentionally left empty for the designer of individual quests to fill in. And if that's the case, is there a fill in the blank somewhere? Or do I just add the variables in on my own? And how the hell am I supposed to break up an argument when I'm the only one in it? What do I do if it suddenly gets violent? What would that even look like? Agh! I'm scared!...

 

Actually, come to think of it maybe I'd be better able to figure more things out on my own if I didn't keep getting distracted by quasi-imaginary antics!... Wait! What was my question again?



Also, I don't know what p.o.a.t.c.t.e.c. means in all the other nearly 1000 posts it's a tag for, but for me... it's very personal :eyeitus:



#2 Saffith

Saffith

    IPv7 user

  • Members

Posted 15 October 2014 - 08:45 PM

Maybe one of the other files is out of date. ffcscript.zh is the most likely; there's a link to the latest version in my signature.
If it's not that, what is it that's undeclared? Compilation errors are logged to allegro.log, so you can copy and paste from there.

#3 A Link to Frustration

A Link to Frustration

    Link to Frustration

  • Members
  • Location:My Own Little Plane of Oblivion

Posted 15 October 2014 - 08:53 PM

Pass 1: Parsing
Pass 2: Preprocessing
Pass 3: Building symbol tables
stdExtra.zh, line 579: Error S09: Variable FFCS_MIN_FFC is undeclared.
stdExtra.zh, line 579: Error S09: Variable FFCS_MAX_FFC is undeclared.
stdExtra.zh, line 585: Error S09: Variable FFCS_MAX_FFC is undeclared.
stdExtra.zh, line 597: Error S09: Variable FFCS_INVISIBLE_COMBO is undeclared.
 
Making it even worse is the fact that BANKRUPTCY isn't undeclared! :gonk:


#4 Saffith

Saffith

    IPv7 user

  • Members

Posted 15 October 2014 - 09:04 PM

Those are from ffcscript.zh. They got deleted, I guess. Download that again and it should be okay.

#5 A Link to Frustration

A Link to Frustration

    Link to Frustration

  • Members
  • Location:My Own Little Plane of Oblivion

Posted 15 October 2014 - 10:34 PM

Yup, that worked! Not sure how that happened... I blame one of the me's I was arguing with! Fourteen steps down, over a hundred to go! Good thing I have my 3DS with... oh. It's dead. Too much Super Smashing. Anyhow, thanks for the help!





Also tagged with one or more of these keywords: scripting, compiling, troubleshooting, losing sanity, funny, stdExtra.zh, written with letters, p.o.a.t.c.t.e.c., wtf

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users