Jump to content

Photo

Emergency help with script needed...


  • Please log in to reply
3 replies to this topic

#1 idontknow8

idontknow8

    Senior

  • Members

Posted 19 January 2021 - 02:42 AM

Not sure what I did - must have accidentally hit some keys but when I went to re-compile my script, I have the following errors:

Line 596: Syntax error, unexpected divide, expecting assigned assign, on token / 

std.zh, Line 7: Error P01: Failure to parse imported file std_constants.zh

 

Now I was looking at std_constants in text edit and not sure if I did something there.

 

My script is more than 9,200 lines long by the way.  I checked line 596 and it's an empty line (where I hit enter a few times to separate different scripts.

 

I had just compiled the script fine shortly before this so not sure what happened and I controlled Z until my last save :'(



#2 Twilight Knight

Twilight Knight

    Tell all with glee, Argon's on PureZC

  • Members
  • Real Name:Sven
  • Location:Rotterdam, NL

Posted 19 January 2021 - 03:08 AM

Looks like something went wrong with the .zh files that you need to import. Maybe you accidentally edited it or something

Can you try it with a clean install of ZC?



#3 Moosh

Moosh

    Tiny Little Questmaker

  • ZC Developers

Posted 19 January 2021 - 06:02 PM

Not sure what I did - must have accidentally hit some keys but when I went to re-compile my script, I have the following errors:

Line 596: Syntax error, unexpected divide, expecting assigned assign, on token / 

std.zh, Line 7: Error P01: Failure to parse imported file std_constants.zh

 

Now I was looking at std_constants in text edit and not sure if I did something there.

 

My script is more than 9,200 lines long by the way.  I checked line 596 and it's an empty line (where I hit enter a few times to separate different scripts.

 

I had just compiled the script fine shortly before this so not sure what happened and I controlled Z until my last save :'(

As Twilight Knight said that error seems to be coming from std_constants.zh. Are you using 2.53 or 2.55? Have you updated recently? And have you tweaked anything in std at all? On my end that line is defining I_DINSFIRE in 2.53 and IC_CUSTOM15 in 2.55. 



#4 idontknow8

idontknow8

    Senior

  • Members

Posted 19 January 2021 - 10:44 PM

Got it!  Thank you - you both were right.  A simple replacement of the std_constants file did the trick.


  • Twilight Knight, Moosh and Bagu like this


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users