Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Script Pre-Compiler didn't work with a txt file.

See original GitHub issue

Issue Description


In the wiki documentation [here[(, it says that the scripting pre-compilers can work with any type of files and JSON file is just an example. However, I couldn’t make it to work with the txt convo files.

Looking at the code underneath, it looks like it is designed to only work with the JSON files. Am I missing something?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

ujjacommented, Jul 14, 2020

Its fixed. Will be available with the next release.

Your convo name has to end with ‘.convo.txt’. Otherwise it wont be processed.

I updated a documentation too.

codeforequity-atcommented, Aug 13, 2020

Fixed with latest release

Read more comments on GitHub >

github_iconTop Results From Across the Web

"#include" a text file in a C program as a char[] - Stack Overflow
3. Nice idea but it won't work, either you have an error because the literal includes a new-line or the #include part will...
Read more >
fs_preprocessor [Phoenix Firestorm Project - Wiki]
The Firestorm LSL Preprocessor is a tool to help you circumvent a lot ... debugging functions in the script to see if all...
Read more >
PreProcessor Commands - Bohemia Interactive Community Wiki
Copies the code from a target file and pastes it where #include directive is. #include "file.hpp" #include <file.txt> // Brackets are equivalent ...
Read more >
1.1. Compiling and Executing Programs
As we go through all the compilation steps required to build a program, anything that appears in a non-header file will be processed...
Read more >
Make version catalogs accessible from precompiled script ...>() work around doesn't work for the plugin block because there is no project accessible.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found