OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SoldierEPilot on 17 Apr 2015, 10:41:05
-
Scripters of OFPEC, how do you think, what the OFP debugger
wants to tell me with these strange symbols in the start of error message ???
-
Ah, the awesome one-liner error printout.. :clap:
Have you checked the script file isn't .rtf (or any other non-txt file)?
Also, if you're running CWA it has it's own .rpt file so that might show the full error message (non-steam installed version has it in it's root folder)..
-
Well, I think that the error message seems to imply that there are unknown characters in the beginning of the file. Could you upload the whole sqf-file? Without seeing the file itself, it's hard to figure out what's wrong with it.
-
unknown characters in the beginning of the file
@Wiineri, @h-, thx 4 ideas and fast response.
I thought that can be the reason of such a start sequence in file,
checked encoding and (yesss!) it was UTF-8 encoding feature.
I just decoded source file into ANSI, now all works just fine.
P.S. Source file is not worth to see - fat, indigestible, spaghetti-code :D
-
You're welcome.
Source file is not worth to see
Yeah, not necessary to see it now that the problem is solved. But it usually is a lot easier to find the problem, when one is able to actually run the code.