NewXToa Posted September 2, 2019 Posted September 2, 2019 If a command in a bind file is followed by an empty line, and the file is loaded, an "error" is printed out in pink in the chat window. The two attached files were both created in Notepad in Windows. working-example.txt loads without outputting the error, bugged-example.txt loads with the error. Interestingly, the binds in bugged-example.txt still seem to work, which I tested by setting the "C" key to "nop" before loading bugged-example.txt. bugged-example.txt working-example.txt
WanderingAries Posted September 5, 2019 Posted September 5, 2019 IDK for sure, but the game likely looks for the hidden "end of line"/"new paragraph" character at the end of each visible line as a marker for a new command. Open the same file in word and click the "show hidden character" button to see what I mean if you need a visual. So when it sees a Blank line and is expecting an argument, then it doesn't know what to do. That's likely why all of the files you can open are formatted that way. Using this "guess at understanding", I'd wager that there wouldn't be too simple of a "fix" for it either as it would have wide-spread effects and likely not worth the effort on the existing spaghetti code. OG Server: Pinnacle <||> Current Primary Server: Torchbearer || Also found on the others if desired <||> Generally Inactive Installing CoX: Windows || MacOS || MacOS for M1 <||> Migrating Data from an Older Installation Clubs: Mid's Hero Designer || PC Builders || HC Wiki || Jerk Hackers Old Forums <||> Titan Network <||> Heroica! (by @Shenanigunner)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now