Fixing the control.lua

Place to get help with not working mods / modding interface.
Post Reply
Neomore
Inserter
Inserter
Posts: 47
Joined: Sun Jun 21, 2015 5:42 pm
Contact:

Fixing the control.lua

Post 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
Attachments
control.lua
(12.33 KiB) Downloaded 116 times
TeleBelts_0.0.2.zip
(274.31 KiB) Downloaded 84 times
Author of Advanced Factorio, a set of mods that add small bits of Advanced functionality to your gameplay

Check it out here: https://mods.factorio.com/user/neomore

Nexela
Smart Inserter
Smart Inserter
Posts: 1828
Joined: Wed May 25, 2016 11:09 am
Contact:

Re: Fixing the control.lua

Post 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?

Neomore
Inserter
Inserter
Posts: 47
Joined: Sun Jun 21, 2015 5:42 pm
Contact:

Re: Fixing the control.lua

Post 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
Author of Advanced Factorio, a set of mods that add small bits of Advanced functionality to your gameplay

Check it out here: https://mods.factorio.com/user/neomore

Neomore
Inserter
Inserter
Posts: 47
Joined: Sun Jun 21, 2015 5:42 pm
Contact:

Re: Fixing the control.lua

Post 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
Attachments
TeleBelts_0.0.2.zip
(274.37 KiB) Downloaded 92 times
Author of Advanced Factorio, a set of mods that add small bits of Advanced functionality to your gameplay

Check it out here: https://mods.factorio.com/user/neomore

Post Reply

Return to “Modding help”