Hello there! I've been playing Theotown for a few months now. I need help with plugins, though. Every time I make a plugin, (I follow the directions closely) I get this Error page:
Please help me.
Last edited by Mayor Jeffrey IX on 06 Apr 2017, 12:59, edited 1 time in total.
To me the error message looks like a coding problem. Maybe you can upload also the content of the json file instead of an image showing it. About coding, something like UTF-8 should work. You might consider to use another text editor to modify the json file.
1. If you don't know what it is then it's difficult to talk about it. You may find out more about it in the Wikipedia article. Short version: There are different ways on how one can save text files. Usually, not all are supported by all programs.
2. Do you know what Copy and Paste is? Select the content of the json file, copy it, create a new post here, and paste the contents into it.
You might have unicode characters not supported by the game in the json file.
For example, a web game I play will break for a player if they use any unicode character that starts with hex F in the three byte unicode. Such as 🆎.
I feel like an idiot
Thanks. Oddly enough, I can't paste it though.........
Also, in that error log file I see the black diamond with the question mark in it, so there it some UTF-8 symbols in it. Thank you.
I will look closely for them.
Mayor Jeffrey IX wrote:Okay, I've found out I'm using "UTF-8" symbols. Can you show me symbols that I can use?
Apparently JSON cannot read certain symbols.
it should look something​ like this
Sorry if it's wrong
I think I found my problem. What I do is make a .doc file, edit the file with a normal file editor (like MS Word), then change the extension to .json. I can see how that wouldn't work.
Thanks for the help and the code!
Mayor Jeffrey IX wrote:I think I found my problem. What I do is make a .doc file, edit the file with a normal file editor (like MS Word), then change the extension to .json. I can see how that wouldn't work.
Thanks for the help and the code!