Sent you a DM to avoid spamming the thread, I can help more there if you want.
Hey all. I think this may have been brought up a long time ago, but is there a way to collapse/hide code in CSIDE? It would be particularly handy for a lot of the areas where you branch the path, then bring it back in.
Yes, any blocks of code that are inside of something like *choice or *if will have a little arrow next it on the left. You can click on that to collapse it
Whatās version are you using? Windows/Mac/browser? Whatās the version number? I donāt see any settings that would do that in particular
v 1.0.1 on Windows.
Oh thatās probably why! Open your settings and scroll all the way down. Your update settings are probably on none. Change that to either Stable or Development and youāll get them. Iām on 1.4.4 on this computer
Itās on Stable, but I keep getting some error message, which I think is it trying to update, which looks like it might be an ongoing problem from posts up above.
I suppose for now, Iāll have to muscle through the old-fashioned way. Still a damn-sight nicer than working in Notepad++.
This is probably an @CJW question then. Hope you can get it resolved! Have you tried reinstalling it?
Thanks for the tag @WallyWorld.
@Raven_de_Hart if itās the issue thatās abound in this thread, Iāve added you to a DM with a workaround.
I believe I have been dealing with the same update issues.
DMād.
I need your help on this one.
How do I export my game files in the ChoiceScript IDE? Iāve tried clicking the Export button in the menu, but it doesnāt seem to work. Is there another way to download my files, or could you guide me through the proper steps to export my project successfully? Iāve learned some of the basics of ChoiceScript, but Iām struggling to understand how to export my files from the IDE. Despite my efforts, I canāt seem to figure it out. I know some will say āHow did you end up in this situation? The reason is simple: I want to test my game on CoGdemo. To do that, I need to upload my files, but Iām stuck because I donāt know how to export my work from the ChoiceScript IDE to CoGdemo.ā
any help is appreciated
Do you know where your project folder is? Just go there and snatch the txt files.
To build on LiliArchās answer, CSIDE just writes text files it doesnāt have any special format you need to export. To find your projectās txt files just right-click the project header file on the file explorer to the left and select āopen folder/in file explorerā or similar (I forget the exact wording!).
Whatās the workaround to update?
Iāve DMed you the guide.
Hey CJW ā for years Iāve only used the built-in QT and RT in CSIDE to bugtest. But when I was just testing some revised XoR1 files, I got a persistent QT error suggesting that one of my variables was āNot a number: NaNā.
After trying and failing to find the bug, I did the step-by-step recommended on the CoG site: downloaded Node.js, downloaded the latest CS from GitHub, and ran QT from the .bat file. There, it passed with no problems.
So I donāt have a problem any more⦠but itās possible that somethingās up with CSIDE and QT?
Thanks for the detailed report @Havenstone.
Do you know what version of CSIDE youāre running? Itās on the settings panel under App Settings.
Additionally, if you are able to share the snippet/line of code it failed on (if it gave you that much info?) that would help as well.
Looks like Iām running CSIDE Version 1.0.1.
CSIDE QT assigned the error to a line *set freefollowers -ablers in bandits.txt, which holds the bulk of XoR Chapter 2. Substituting the numeric variable ablers with an actual number didnāt change the error location; substituting āfreefollowersā with a numeric dummy variable kicked the problem down one line, to *set freefollowers -scouts.
That gave me palpitations, since the numeric temp variable freefollowers is at the heart of XoRās winter survival game and is modified throughout bandits.txt by about thirty other variables, many of which are themselves modified by other variables. I was suddenly afraid that Iād made a mistake with one of those input variables but that QT was showing it not in its actual location, but spilling the error through to freefollowers. If so, finding and fixing that was going to be a proper headache.
I thought Iād start by comparing the revised bandits.txt file with the last version Iād sent to CoG, to at least narrow down the possible areas where I could have got it wrong. But when I Quicktested the game with that older bandits file, it threw the same error in the same place (even though it had passed QT on CSIDE before I sent it in). Meanwhile, Iād asked Jason what might trigger the āNaNā content (rather than a specific non-numeric value) in the error message, and he asked me if I was using node to run QT.
I definitely wasnāt ā in fact, didnāt know what he was talking about, progamming non-whiz that I am.
So I went back to the CoG site and followed the steps, as mentioned above⦠and was hugely relieved when it passed QT without a hiccup.
For whatever it might be worth, CSIDE QT wasnāt seizing up at the first appearance of the variable freefollowers, which (after the original *temp line where itās created) shows up three times in bandits.txt before the error point. But in all those earlier lines, freefollowers is being modified by another numeric variable ha_foll, which Iām pretty sure hasnāt had any non-numeric input.
Happy to DM you a copy of the files if it would help.


