Déjà, merci Natrium pour l’extension modifiée et pour toutes les explications données en coulisse.
J’ai scrupuleusement suivi lesdites explications mais me retrouve néanmoins avec une erreur lors de la compilation :
[spoiler]Report on Translation: Failed
Produced by Inform 7 (build 6L38)
(Each time Go or Replay is clicked, Inform tries to translate the source text into a working story, and updates this report.)
In Chapter 3 - JavaScript code execution, Section 2 - Return values in the extension Vorple by Juhana Leinonen:
Problem. In the sentence ‹ if the type of the value returned by the JavaScript command is not « truth state » begin › C:\Users\Julien\Documents\Inform\Projects\nginx-1.12.0\html\La Tour d’Orastre.materials\Extensions\juhana leinonen\vorple.i7x#line175, you seem to be looking up the ‹ type › property, but ‹ text › is not allowed to have that property.
I was trying to match this phrase:
/doc164.html if (type of the value returned by the javascript command is not « truth state » - a condition):
I recognised:
type of the value returned by the javascript command is not « truth state » = a condition
Problem. In the sentence ‹ if the type of the value returned by the JavaScript command is not « text » begin › C:\Users\Julien\Documents\Inform\Projects\nginx-1.12.0\html\La Tour d’Orastre.materials\Extensions\juhana leinonen\vorple.i7x#line102, you seem to be looking up the ‹ type › property, but ‹ text › is not allowed to have that property.
I was trying to match this phrase:
/doc164.html if (type of the value returned by the javascript command is not « text » - a condition):
I recognised:
type of the value returned by the javascript command is not « text » = a condition
Problem. In the sentence ‹ if the type of the value returned by the JavaScript command is « text » begin › C:\Users\Julien\Documents\Inform\Projects\nginx-1.12.0\html\La Tour d’Orastre.materials\Extensions\juhana leinonen\vorple.i7x#line165, you seem to be looking up the ‹ type › property, but ‹ text › is not allowed to have that property.
I was trying to match this phrase:
/doc164.html if (type of the value returned by the javascript command is « text » - a condition):
I recognised:
type of the value returned by the javascript command is « text » = a condition
Problem. In the sentence ‹ otherwise if the type of the value returned by the JavaScript command is not « number » › C:\Users\Julien\Documents\Inform\Projects\nginx-1.12.0\html\La Tour d’Orastre.materials\Extensions\juhana leinonen\vorple.i7x#line167, you seem to be looking up the ‹ type › property, but ‹ text › is not allowed to have that property.
I was trying to match one of these phrases:
- /doc166.html otherwise if (type of the value returned by the javascript command is not « number » - a condition)
- /doc166.html otherwise (if the type of the value returned by the javascript command is not « number » - a phrase)
I recognised:
type of the value returned by the javascript command is not « number » = a condition
But I didn’t recognise ‹ if the type of the value returned by the javascript command is not « number » ›.
Problem. In the sentence ‹ throw Vorple run-time error « Trying to convert return value of […] JavaScript command] into a number » › C:\Users\Julien\Documents\Inform\Projects\nginx-1.12.0\html\La Tour d’Orastre.materials\Extensions\juhana leinonen\vorple.i7x#line176, you seem to be looking up the ‹ type › property, but ‹ text › is not allowed to have that property.
It may be worth adding that this problem arose in text which both contains substitutions and is also being used as a value - being put into a variable, or used as one of the ingredients in a phrase other than ‹ say ›. Because that means it needs to be used in places outside its immediate context, it is not allowed to refer to any ‹ let › values or phrase options - those are temporary things, long gone by the time it would need to be printed.
I was trying to match one of these phrases:
- /doc71.html say « [type of the value returned by the javascript command - sayable value] »
- /doc71.html say « [type of the value returned by the javascript command - sayable value] »
But I didn’t recognise ‹ type of the value returned by the javascript command ›.
Problem. In the sentence ‹ throw Vorple run-time error « Trying to convert return value of […] JavaScript command] into a number » › C:\Users\Julien\Documents\Inform\Projects\nginx-1.12.0\html\La Tour d’Orastre.materials\Extensions\juhana leinonen\vorple.i7x#line168, you seem to be looking up the ‹ type › property, but ‹ text › is not allowed to have that property.
It may be worth adding that this problem arose in text which both contains substitutions and is also being used as a value - being put into a variable, or used as one of the ingredients in a phrase other than ‹ say ›. Because that means it needs to be used in places outside its immediate context, it is not allowed to refer to any ‹ let › values or phrase options - those are temporary things, long gone by the time it would need to be printed.
I was trying to match one of these phrases:
- /doc71.html say « [type of the value returned by the javascript command - sayable value] »
- /doc71.html say « [type of the value returned by the javascript command - sayable value] »
But I didn’t recognise ‹ type of the value returned by the javascript command ›.
Problems occurring in translation prevented the game from being properly created. (Correct the source text to remove these problems and click on Go once again.)[/spoiler]
Que faut-il faire pour se dépatouiller de ça ? Je précise bien sûr que j’ai remplacé l’extension Vorple par la modifiée.