Game stopped working
johnnyquasardepp
29 Jun 2017, 20:56I updated Quest, and then the game put this error. What does this mean and how do I fix it?
Error running script: Error compiling expression 'ListCombine(baselist, verbs)': FunctionCallElement: Could find not function 'ListCombine(Object, QuestList`1)' Error running script: Error compiling expression 'ListCombine(baselist, verbs)': FunctionCallElement: Could find not function 'ListCombine(Object, QuestList`1)' game.
The Pixie
29 Jun 2017, 21:15Do you know what version you were using previously and what the version is now? Many years ago, Quest changed the way it handles lists, and I have a feeling this is related to that (which does not help, but I will try to remember the fix).
johnnyquasardepp
29 Jun 2017, 22:10Unfortunately I don't know what version I was using previously.
If it helps I tried recreating the game in the new version yet it still gave the same error.
hegemonkhan
30 Jun 2017, 01:17here's the link on quest's version history:
http://docs.textadventures.co.uk/quest/upgrade_notes.html
v530 to v540, is when the syntax for lists/dictionaries changed
see here for the current syntax that you need to update your code to:
(click on the links inside of these links to see the individual Functions if these links don't show their syntax)
http://docs.textadventures.co.uk/quest/guides/using_lists.html
http://docs.textadventures.co.uk/quest/using_lists.html
http://docs.textadventures.co.uk/quest/using_dictionaries.html
are you using online/web quest or offline/desktop quest?
if you're using offline/desktop quest, you can see the version of quest that you were using, via going into the full game code (easiest is to right click on your game file and open it with a text editor: notepad, wordpad, Apple: text editor, notepad++, etc), and seeing the top line says:
<asl version="550"> // I'm still using an older version of quest myself, the recent version is "560" or "570'
anyways, you need to change this 3 digit number to the version of quest that you're currently using, and then you got to scour through your code, and update all of your list/dictionary syntax (see the links above).
if you need help, let us know... (and you can always paste your entire game code here, and we can see if we can get it upgraded/fixed-up/working for you too, if your game code isn't too large)
The Pixie
30 Jun 2017, 06:55Make a back up first. Then go into full code view (Tools menu), do control-F to get a search box at the top, and search for:
type="list"
Change it to
type="simplestringlist"
Click play and see what happens.