another extremely weird error

Error running script: Error compiling expression 'Instr(text, "{")': FunctionCallElement: Could find not function 'Instr(Object, String)'
Error running script: Error compiling expression 'Replace(Replace(text, "{", "{"), "}", "}")': FunctionCallElement: Could find not function 'Replace(Object, String, String)'

I don't have a single clue what this means. However, it only appears after the first player input in the game and doesn't appear anytime after (so far). It also doesn't seem to effect anything (so far). Reguardless I must find a way to fix this or it will drive me nuts knowing it's there.

Edit: deleted an included error that I knew what the issue was.


That looks like it's in the text processor. I assume that means you've passed the text processor something that isn't a string, so it tries to use the functions Instr and Replace on it and fails.

I'm not sure, but I think doing msg (some_object) will cause an error right away, before it even gets to the text processor. So you probably have one of:

  • ProcessText (some object)
  • OutputText (some object)
  • OutputTextNoBr (some object)
  • PrintCentered (some object)

(Where "some object" might be an actual object name, some function or expression that returned an object, or null)


Log in to post a reply.

Support

Forums