Search found 3 matches

by mcatScrub
Sat Mar 18, 2017 4:00 pm
Forum: Modding help
Topic: Failed to load mod: Unexpected symbol near <eof>
Replies: 4
Views: 4228

Re: Failed to load mod: Unexpected symbol near <eof>

In my recipe.lua file, the ')' at the end of the file either gets ignored by factorio (it says that ')' is expected) or it gets counted as an unexpected symbol. Here's a screenshot of my code, as well as the factorio error:
http://i.imgur.com/CLiVCHA.png


It says the error is in entities.lua ...
by mcatScrub
Sat Mar 18, 2017 3:04 pm
Forum: Modding help
Topic: Failed to load mod: Unexpected symbol near <eof>
Replies: 4
Views: 4228

Re: Failed to load mod: Unexpected symbol near <eof>

Nexela wrote:Remove the very last comma and it should work
Still doesn't:
Image
Here's my data.lua:

Code: Select all

require("prototypes.item")
require("prototypes.recipe")
require("prototypes.entity")
by mcatScrub
Sat Mar 18, 2017 12:59 pm
Forum: Modding help
Topic: Failed to load mod: Unexpected symbol near <eof>
Replies: 4
Views: 4228

Failed to load mod: Unexpected symbol near <eof>

In my recipe.lua file, the ')' at the end of the file either gets ignored by factorio (it says that ')' is expected) or it gets counted as an unexpected symbol. Here's a screenshot of my code, as well as the factorio error:
Image

Go to advanced search