Page 1 of 1

Fixing the control.lua

Posted: Sat Jul 30, 2016 3:37 pm
by Neomore
Hello, everyone. I have been attempting to get the mod TeleBelts to work for several weeks now, and have exhausted all my abilities to make this control.lua work. Is there anyone with more coding knowledge than me who can get this to work?

Here is a copy of the mod that I've modified, as well as the unmodified control.lua. Keep in mind that this mod was being updated to .12.35 before going to .13, so none of the changes for .13 have been made yet

Re: Fixing the control.lua

Posted: Sat Jul 30, 2016 3:52 pm
by Nexela
What kind of errors are you getting. Does the error occur on factorio loading or upon creating a world?

just by looking at the top of control.lua one first error is require "defines" that line isn't needed as of .13.0



edit: so none of the changes for .13 have been made yet ,,,, Didn't see that part, do you have one with your .13 modifications?

Re: Fixing the control.lua

Posted: Sat Jul 30, 2016 5:34 pm
by Neomore
No. I was using the .12.35 build to try and get it to work before going to .13, so there aren't any .13 modifications yet.

As for what kind of problems, there have been way too many to count. A lot of them I think have been fixed, but i'm not sure.

As of the version given, there are no errors given at all. The game simply will not move the items from one belt to the other.
There's also the issue that you have to click and hold on the entity to make the GUI open instead of it just opening immediately, but I can deal with that issue.

I'll try and make a .13 version and get back with more details

Re: Fixing the control.lua

Posted: Sat Jul 30, 2016 6:00 pm
by Neomore
Here's a version "working" in .13.

At the moment, the GUI click problem is fixed, although there's now no way to rename the "channel" you're sending items on. So, in a way, I guess it's working even less