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.
Notice Errors while using mods
Notice Errors while using mods
- Attachments
-
- factorio_2017-02-24_04-44-14.png (32.11 KiB) Viewed 1909 times
-
- factorio_2017-02-24_04-49-50.png (18.34 KiB) Viewed 1909 times
Re: Notice Errors while using mods
Can you show this part of code? Control.lua, string 48.
With notepad++ it's simple.
With notepad++ it's simple.
Re: Notice Errors while using mods
How might I find it? If I knew how to find it I can easily show it with notepad++darkfrei wrote:Can you show this part of code? Control.lua, string 48.
With notepad++ it's simple.
Re: Notice Errors while using mods
Never mind, I have it and if I am not mistaken this is what it saysKailio wrote:How might I find it? If I knew how to find it I can easily show it with notepad++darkfrei wrote:Can you show this part of code? Control.lua, string 48.
With notepad++ it's simple.
- Attachments
-
- notepad++_2017-02-24_06-53-24.png (2.19 KiB) Viewed 1898 times
Re: Notice Errors while using mods
It means that "sc-main" is empty table or nil. You must check it before.
Re: Notice Errors while using mods
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.)
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.
I also update mods, some of them even work.
Recently I did a mod tutorial.
Re: Notice Errors while using mods
darkfrei wrote:It means that "sc-main" is empty table or nil. You must check it before.
Thanks, I found just removing the mod fixed everything, thanks for everything though.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.)