Notice Errors while using mods

Place to get help with not working mods / modding interface.
Post Reply
Kailio
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Feb 24, 2017 4:39 am
Contact:

Notice Errors while using mods

Post by Kailio »

I'm not sure if this is the right place to put this, but I believe it is.
I recently started using mods, recently as in today but throughout today I've noticed these errors I've been getting while in game after doing / pressing certain things. As the picture shows it will come up with this notice say after clicking certain things like shown in the second picture. If anyone knows why, and or how to fix it, it would be nice to know.
Attachments
factorio_2017-02-24_04-44-14.png
factorio_2017-02-24_04-44-14.png (32.11 KiB) Viewed 1907 times
factorio_2017-02-24_04-49-50.png
factorio_2017-02-24_04-49-50.png (18.34 KiB) Viewed 1907 times

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2904
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Notice Errors while using mods

Post by darkfrei »

Can you show this part of code? Control.lua, string 48.

With notepad++ it's simple.

Kailio
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Feb 24, 2017 4:39 am
Contact:

Re: Notice Errors while using mods

Post by Kailio »

darkfrei wrote:Can you show this part of code? Control.lua, string 48.

With notepad++ it's simple.
How might I find it? If I knew how to find it I can easily show it with notepad++

Kailio
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Feb 24, 2017 4:39 am
Contact:

Re: Notice Errors while using mods

Post by Kailio »

Kailio wrote:
darkfrei wrote:Can you show this part of code? Control.lua, string 48.

With notepad++ it's simple.
How might I find it? If I knew how to find it I can easily show it with notepad++
Never mind, I have it and if I am not mistaken this is what it says
Attachments
notepad++_2017-02-24_06-53-24.png
notepad++_2017-02-24_06-53-24.png (2.19 KiB) Viewed 1896 times

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2904
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Notice Errors while using mods

Post by darkfrei »

It means that "sc-main" is empty table or nil. You must check it before.

User avatar
Adil
Filter Inserter
Filter Inserter
Posts: 945
Joined: Fri Aug 15, 2014 8:36 pm
Contact:

Re: Notice Errors while using mods

Post by Adil »

Well, if you are not the author of the mod, then you can complain about that in the mod's thread, if it has one or at the discusson section of the mod portal. This one error is caused by some "selectcharacter" mod.

If you want to fix it yourself, I doubt this particular type of error is fixed by changing a single line, at the very least it'd be not the line you've pictured. (There's ctr-c\ctrl-v you know.)
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.

Kailio
Manual Inserter
Manual Inserter
Posts: 4
Joined: Fri Feb 24, 2017 4:39 am
Contact:

Re: Notice Errors while using mods

Post by Kailio »

darkfrei wrote:It means that "sc-main" is empty table or nil. You must check it before.
Adil wrote:Well, if you are not the author of the mod, then you can complain about that in the mod's thread, if it has one or at the discusson section of the mod portal. This one error is caused by some "selectcharacter" mod.

If you want to fix it yourself, I doubt this particular type of error is fixed by changing a single line, at the very least it'd be not the line you've pictured. (There's ctr-c\ctrl-v you know.)
Thanks, I found just removing the mod fixed everything, thanks for everything though.

Post Reply

Return to “Modding help”