Constant freezing in editing if

Cuilean
12 Aug 2016, 10:17

Ok I'm new to all of this and just use the program to do all the coding for me as I know next to nothing about it. My problem is that the program is almost always freezing on me when I'm doing anything with a lot of ifs or heavy scripting. It will let me go in and load up one part of heavy script but then if I try to change any of it, try to open up a different script or try any cutting or pasting it will completely freeze.
I have gone through the other posts on this and tried the to reinstall quest but still the same problem. I love the program and really want to complete the game I've started but now I can't even change something that I know I've done wrong, I need to add a new if above the current ones to make different responses when the npc changes room but if I try to change the script it freezes and crashes.
Any help would be great as I really want to continue using the program.


hegemonkhan
12 Aug 2016, 13:13

unfortunately, if you don't have your scripting right, quest will crash and/or not load up your game at all into the GUI~Editor.

(computers are stupid, programmers/coders are forced to become perfect 100% typers - 'code grammer nazis on steroids' - you learn to be a very good proof-reader, as one mistake and the code doesn't work, and it could possibly create bugs in your game, crash your quest game, or prevent you from opening up the game in the GUI~Editor, laughs)

can you create a new game with no issues/errors/crashing/freezing ???

as for fixing up your scripting/code, if you don't mind publically posting (copy and pasting) your game code, we can fix it up for you. If you want to keep it private, then you're going to have to get in touch with one of the site mods or a user who's good at coding and that you can trust, to have them help you fix up your game code.

to get at your game code, simply right click on your game file (*.aslx), and open it up with a text software (notepad, wordpad, notepad++, Apple: text editor, etc). This is your entire game code, highlight all of it, copy it, and post it here, using the post's 'code box' code:

.```
your pasted game code
.```

but without the dots/periods in front of those weird symbols/characters (it's the ket to the left of the #1 key of your top number bar on your keyboard and above the 'tab' key), which will look like this:

your pasted game code

if you're making the game online... you're going to have to get help from Alex to get your game off of his server.


The Pixie
12 Aug 2016, 14:00

Could you post you game here? select "Code view" from the tools menu, and copy-and-paste the whole lot into a post, then we could take a look and see if it does the same for us. If it does, we know it is your game, otherwise we know it is Quest on your system.