I'm using “Fallout sFall Script Editor v4.1.7.RC1”
And I have a few "minor" points and suggestions.
-When I compile a script that has an error (example; missing starting/ending brackets on “critter_state(dude_obj) != 64” then the editor adds those automatically. Plus some other auto-corrections, it seems. It would be nice if I could get a message about these auto-corrections (compile-report), so I can see what I do wrong and learn from it. Currently, I keep repeating the same mistakes as all my compiled scripts work, but I'm actually making errors.
-Search: The default is “search in all open scripts”. When I use the “mouse” and click the search button, it works. But when I use the “enter key” on the keyboard then it skips out of searching the moment I enter the next script and it starts to add new lines instead.
-Search: When searching in more than one script (example; two) and I enter a keyword that only exists in one of the two (example; 900), then it stops with a “search string not found” message at the end of the current script rather than continue cycling through the two open scripts. When the keyword exists in both scripts (example; 999) then it keeps cycling through them.
-Comment: I sometimes open the same script twice (example; AcEric of 1.02d and AcEric of RP Mod 2.3.3) to check if there are any changes made in regard to bugs. In these cases, I usually only decompile them and don't save the ssl. When I do that it throws up an error message saying “scrtemp, script was changed outside of editor, do you want to update yes/no” However, by saying “no” it continues on just fine. So not really a problem. It also just works fine to save the decompiled script under a slightly different name, like “AcEricTEST”. So the problem here is probably mainly me not saving the ssl but just decompiling two scripts quickly for comparison. Still, maybe room for optimization, as the editor could realize that these files are two instances from different sources (i.e. “1.02d” folder and “RP” folder), maybe?
-Comment: Some scripts seem to require a “start” proc. If they don't have it then they seem to execute the first proc over and over again. The editor mentions something similar in regard to “critter” proc. Anyway, I had this issue (“first encountered procedure constantly executed”) and solved it by adding a “start” proc. Not entirely sure I understand everything behind it, but I thought it may be interesting to mention that it's not only a missing critter proc causing this behaviour.
-Last, the one real problem I have, but can't figure out (well, see EDITS below) is: Sometimes it throws up an error message saying something like “index, outside of expected range 0 to X” and then it allows me to “continue” or “kill app”, and then it's this old spiel of hitting continue until it goes away (hopefully). But I can't reproduce it... It usually happens when I open too many scripts and jump around too much. Then it suddenly goes haywire. Most problematic was when I opened about 30 scripts or so, searching for all instances of the town rep global. In that case, I had to “killap” and worst of all couldn't remember anymore which scripts I already checked and which I didn't. Since then I only open batches of ten, and make searches more controlled. Not sure what the issue is... search cycling being a bit wonky (as I use keyboard), only decompiling the scripts but not saving them (as I only want to look through them), too many scripts changes and temps at the same time (?), not being competent and doing stuff rather unorthodoxly (like decompiling scripts without any proper set-up), not sure... I may update this point when I can reproduce it reliably.
...
Edit: Just had it again “index should be between 0 and 380”. I think what happened was I opened/decompiled two scripts, one was a long NPC script the other a short door script. The short one wasn't the droid I was looking for, so I closed it, and opened another door script, and then it triggered the error...
index should be between 0 and 380
Parametername: index
The actual value was 404.
Guess: the first door script was on line 0-380, I closed it, jumped too the opened long NPC script, opened the other short door script and it triggers the error as I'm on line 404 (longer NPC script) but expected to still be between 0 and 380 (shorter door script)... Does that make sense?
...
EDIT II: I can reproduce it now... The problem is I open scripts using “ctrl” so I selected the door script, pressed ctrl and selected the NPC script to decompile/open both. Works fine. Then I closed the door script, opened the other door script and then “I'm outside the expected index”. So the confusion appears to be caused by “mass selecting scripts to open/decompile” using ctrl AND then opening another script.
Hope this helps.
Anyway, really helpful editor. For someone like me who had zero experience with komputas before 2017, your script editor is really helping me along, with info, auto-correction and what not. I'm moderately competent now. Even started to mod a little. Not full blown, but when I throw something together it usually works (well, after auto-correction...
).