Okay thanks.
In the future I might modify CSIDEās copies of the test to ignore (or just warn rather than error on) these commands.
Ok, brief background here: Iām about 1.5 million words deep in a WIP and have been using the Choicescript IDE since the beginning. Very recently, I got a new laptop and have been in the process of moving my files over from the old one. The IDE is freshly installed and seemed to run fine until I went to do a practice run of Chapter 1 to make sure everything was in working order.
Apparently, it isnāt.
The error Iām getting is:
My code looks like this:
*if choice_nightmode
*gosub_scene csideimg_opening_quote_night
*page_break
*goto immediate
*if not(choice_nightmode)
*gosub_scene csideimg_opening_quote_day
*page_break
*goto immediate
Itās been literally copy and pasted from the folder Iām using to move the files and is exactly as it has been since I first implemented it and previously worked fine.
My first solution was, āOkay, Iāll just add the variable in,ā but of course, that gives me another error about how āchoice_ā is a reserved command. So, no dice.
Is there a reason the program isnāt recognizing the command? Or have I missed a step between installing the IDE and the first startup file?
Iām not an expert on CSIDE, but the reason that it wonāt let you add in choice_nightmode is that itās one of the built-in variables that ChoiceScript uses, and it should always exist. The code should work - I created a test project with the following startup file and it worked fine.
*title CSIDETest
*author MuffiTuffiWuffi
*if choice_nightmode
NIGHTMODE
*finish
*if not(choice_nightmode)
NOT NIGHTMODE
*finish
If you make a new project and paste that code into the startup and it still fails itās definitely something wrong with your install. Iām on v1.3.1 - you can see the info in the sidebar in the (?) button.
I canāt help with installtion issues but maybe you could try the CSIDE thread if thatās whatās going on? [CSIDE] The ChoiceScript IDE (v1.3.0 Now Available ā 18/06/2019)
As @MuffiTuffiWuffi suggests, it sounds like youāve not updated CSIDE to the latest version. Check the settings panel, it should be version 1.3.1.
Has anyone gotten this error before? Iām sure I have the latest ver of CSIDE so Iām unsure why Iām getting this. I think itās looking for a file or two in the server?
Thanks in advance for the help
Iāve sent you a PM
Hi, I got exactly the same error message as LainyLu and would appreciate your help
I use CSIDE regularly. I got my copy from the Github repository ⦠today, when running RKill, Rkill flagged the IDE.exe file for malware processes and stopped it from running.
My other antivirus programs arenāt having an issue with CSIDE. Is this RKill flag anything to be concerned about? I would assume no, but I wanted to ask.
In doing more research, this seems it may be connected to the same issue LainyLu is experiencing. I am getting the same error and I wonder if the connection issue is somehow involved in the Windows process Rkill is flagging.
As long as youāre downloading it from the official Github source, you should be good. But it always pays to be vigilant, so thank you for posting! CSIDE is built atop āNW.jsā which is a wrapper application used across many apps (much like electron, if youāve heard of that). Unfortunately, there have been malicious apps in the past that have used NW.js, and thus sometimes legitimate apps get flagged up as false positives. If youāre downloading CSIDE from a legitimate source (i.e. the only source: Releases Ā· ChoicescriptIDE/main Ā· GitHub), then you shouldnāt have anything to worry about. Though as aforementioned, it doesnāt hurt to be vigilant. Do look out for any change in behaviour or performance of your computer, and report it here.
The issue LainyLu was experiencing is unrelated. Thatās a legitimate bug in the software that means some computers canāt download updates correctly. I hope to fix this with a major update some time this year. Until then Iāll PM you a workaround for that issue.
Hey there, just thought Iād put this here as it struck me as very odd. When I opened up the web version of ChoiceScript to work on it tonight, I noticed I had to open all of my files again in the program (not a big deal, just a big of information).
I then went to scroll down to the bottom of the page to start writing but it seems like the page caps how much you can scroll at once now? Like it will scroll a few lines, then stop, and Iāll have to wait a few seconds to do it again. Not only that, but when I click in the middle mouse button, it doesnāt do the drag scroll like it normally does, but just counts it as a regular left click. I tried it with my mousepad as well and got the same result. Itās also worth mentioning that it is the only tab on my chrome that does it.
Not sure if this is a bug or something on my end, although again, my scrolling seems to work fine on everything else on my computer.
How odd! There have been no updates in quite a long while, so if worked before and isnāt working now, Iād suspect itās an issue on your end (though I canāt imagine what).
Any chance you could share a gif or video of exactly what youāre seeing?
There may be someone who wrote it before me, but have you ever thought of making the suggested droplist (showing possible variables or commands according to the piece of code written) while writing code to the IDE? Probably not very easy to write. But if you can add this feature, I think it would be great.
An example in case I didnāt fully explain the feature:
So it may be hard to tell here, but essentially at first, I try to scroll full speed and it stops. Then I scroll very slowly, one tick at a time, and it scrolls no problem. I switch to a youtube tab and scroll full speed and it scrolls fine at full speed. Like you said, super weird.
Yes! The next version of CSIDE (release date TBD) should have this functionality.
Iāve started work on it, but thereās a lot to do yet.
You can see an example below:
There should also be support for scenes/labels, and parameter hints, as demonstrable with CSLIB:
You can try this out yourself (alongside other new features) at https://choicescriptide.github.io/web/nightly.
Agreed, itās not easy for me to see whatās going on here. Thank you for providing that though, itās a starting point at least. Do you notice any other patterns leading to the behaviour? Does it happen after using the app for so long, or only on certain (large?) files or projects perhaps? You may also want to try toggling some of the settings (do let me know if this fixes anything though, as thatās obviously still a bug!).
I donāt see any other patterns leading to it really. I just opened it up in my web browser one day because I use the web version to do all my writing/editing in (canāt forget to upload new versions to dropbox if youāre saving every update straight to dropbox) and the scrolling was wonky.
I will try it with my other project I have in the works and also try fiddling with some of the settings though! Weird thing is, itās only the web version that does this, because CSIDE, the actual program, is totally fine.
Worth trying another web browser too in that case?
Thank you so much. Iāve been wanting to write a story for a long time, but Iām a bit lazy. This will both reduce typing time and reduce possible bugs.
Iām guessing that using this unreleased version for āproductionā rather simply testing would be bad idea?
The formatting colors alone is amazing thing.
Yeah, I wouldnāt recommend using that link for serious development. Itāll be representative of the latest development build, so highly likely to prove unstable at various points. But itās useful for people to try out new features and give feedback.
What do you mean by formatting colours?