What do I need to do with this error?
- Stormloop2005
- Burner Inserter
- Posts: 7
- Joined: Thu Aug 09, 2018 2:55 pm
- Contact:
What do I need to do with this error?
I just started with modding and I couldn't find a good tutorial except for this one: https://wiki.factorio.com/Tutorial:Modd ... al/Gangsir.
So I installed some mods and looked at the code, I coped it and changed it a bit too, but it gives me an error while the other mods don't have it.
Can someone help me and give also a good tutorial on how to mod for factorio?
So I installed some mods and looked at the code, I coped it and changed it a bit too, but it gives me an error while the other mods don't have it.
Can someone help me and give also a good tutorial on how to mod for factorio?
- Attachments
-
- code.PNG (44.56 KiB) Viewed 1975 times
-
- error.PNG (15.57 KiB) Viewed 1975 times
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: What do I need to do with this error?
You're using - instead of _ all over the place. Also neither "item-name" nor a hypothetical "item_name" are valid prototype properties, it's just "name=".
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
- Stormloop2005
- Burner Inserter
- Posts: 7
- Joined: Thu Aug 09, 2018 2:55 pm
- Contact:
Re: What do I need to do with this error?
I tried what you just posted but I just get another error.
- Attachments
-
- code02.PNG (14.22 KiB) Viewed 1955 times
-
- error02.PNG (15.69 KiB) Viewed 1955 times
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: What do I need to do with this error?
It says it's an error during loading "locale", which means one of your locate files looks like this:
Just put all the stuff into a single item-name node.[item-name]
stuff=stuff
[item-name]
morestuff=morestuff
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
- Stormloop2005
- Burner Inserter
- Posts: 7
- Joined: Thu Aug 09, 2018 2:55 pm
- Contact:
Re: What do I need to do with this error?
I see, thank you
- Stormloop2005
- Burner Inserter
- Posts: 7
- Joined: Thu Aug 09, 2018 2:55 pm
- Contact:
Re: What do I need to do with this error?
And now he can't find one of my recipe's, I think that I understand the error but I don't see where the problem is, in the recipe file or in the technology file, and I also don't know what to do.../
- Attachments
-
- error03.PNG (16.28 KiB) Viewed 1907 times
-
- code03.2.PNG (11.72 KiB) Viewed 1907 times
-
- code03.1.PNG (18.54 KiB) Viewed 1907 times
- eradicator
- Smart Inserter
- Posts: 5206
- Joined: Tue Jul 12, 2016 9:03 am
- Contact:
Re: What do I need to do with this error?
Are you sure you require() 'ed the recipe file?
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.
- Stormloop2005
- Burner Inserter
- Posts: 7
- Joined: Thu Aug 09, 2018 2:55 pm
- Contact:
Re: What do I need to do with this error?
nope, that's stupid
- Stormloop2005
- Burner Inserter
- Posts: 7
- Joined: Thu Aug 09, 2018 2:55 pm
- Contact:
Re: What do I need to do with this error?
I have a new error, and for me it's like Chinese...
- Attachments
-
- error04.PNG (17.7 KiB) Viewed 1855 times
Re: What do I need to do with this error?
Just an error message usually doesn't help find the problem, you need to post code. Now we can only guess what the problem is: You are using data.extend instead of data:extend somewhere.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
- Stormloop2005
- Burner Inserter
- Posts: 7
- Joined: Thu Aug 09, 2018 2:55 pm
- Contact:
Re: What do I need to do with this error?
ok thank you