Bugs and problems

New energy types, decorations, electric train, new types of belts and inserters, bigger inventory and many more stuff.

Moderators: McGuten, odin_spain

kinnom
Filter Inserter
Filter Inserter
Posts: 706
Joined: Fri Dec 26, 2014 4:20 pm
Contact:

Re: Bugs and problems

Post by kinnom »

well,at least it's getting updated
no yes yes no yes no yes yes
mrhanman
Burner Inserter
Burner Inserter
Posts: 15
Joined: Thu Aug 07, 2014 4:27 am
Contact:

Re: Bugs and problems

Post by mrhanman »

Did it ever get updated?
redmoon
Burner Inserter
Burner Inserter
Posts: 9
Joined: Tue Jun 16, 2015 5:59 am
Contact:

Re: Bugs and problems

Post by redmoon »

BigD145
Burner Inserter
Burner Inserter
Posts: 17
Joined: Mon Jul 13, 2015 8:43 pm
Contact:

Re: Bugs and problems

Post by BigD145 »

redmoon wrote:https://drive.google.com/file/d/0B05AP3 ... sp=sharing
unofficial patch 5dim_train
error:
control lua line 579 : bootstrap does not contain key surfaces

This is from an extracted train folder. Not zipped. Same error in 12.15 and 12.14.
StrubellpKevin
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sun Oct 25, 2015 9:41 am
Contact:

Re: Bugs and problems

Post by StrubellpKevin »

Hello,
I have the problem that when I start the game I get the message (see picture)
See Here: Image
No loader Found for 'rail'!
Please help

Best regards,
StrubellpKevin
kinnom
Filter Inserter
Filter Inserter
Posts: 706
Joined: Fri Dec 26, 2014 4:20 pm
Contact:

Re: Bugs and problems

Post by kinnom »

this mod isn't updated for 12.11+ yet. look in the comments above you for a fan-made patch
no yes yes no yes no yes yes
redmoon
Burner Inserter
Burner Inserter
Posts: 9
Joined: Tue Jun 16, 2015 5:59 am
Contact:

Re: Bugs and problems

Post by redmoon »

BigD145 wrote:
redmoon wrote:https://drive.google.com/file/d/0B05AP3 ... sp=sharing
unofficial patch 5dim_train
error:
control lua line 579 : bootstrap does not contain key surfaces

This is from an extracted train folder. Not zipped. Same error in 12.15 and 12.14.
check error surfaces
Attachments
control.lua
(40.88 KiB) Downloaded 567 times
BigD145
Burner Inserter
Burner Inserter
Posts: 17
Joined: Mon Jul 13, 2015 8:43 pm
Contact:

Re: Bugs and problems

Post by BigD145 »

Redmoon, that seemed to work. Thanks.
leeknivek
Inserter
Inserter
Posts: 30
Joined: Wed Dec 31, 2014 7:55 pm
Contact:

Re: Bugs and problems

Post by leeknivek »

12.15 - "no loader for 'rail'" upon startup. I have 5Dim Core and 5Dim Trains. Looked through some of the files, didn't see anything that looked out of place.
kinnom
Filter Inserter
Filter Inserter
Posts: 706
Joined: Fri Dec 26, 2014 4:20 pm
Contact:

Re: Bugs and problems

Post by kinnom »

are you using the download by 5dim or the fanmade fix? 0.12.11 broke basicly any mod with a control.lua and/or rails
no yes yes no yes no yes yes
leeknivek
Inserter
Inserter
Posts: 30
Joined: Wed Dec 31, 2014 7:55 pm
Contact:

Re: Bugs and problems

Post by leeknivek »

Oh, I see now - downloading it as I type this. I guess I should have read above beforehand... Thanks!

EDIT:

Having an issue now using Electric trains, logistic chest carts, accumulator wagon, etc.
Error while running event handler: __5Dim_Trains__/control.lua:579:LuaBootstrap Doesn't Contain Key Surfaces
Trying to place these on electric rails and normal rails, getting this error every time.
redmoon
Burner Inserter
Burner Inserter
Posts: 9
Joined: Tue Jun 16, 2015 5:59 am
Contact:

Re: Bugs and problems

Post by redmoon »

leeknivek wrote:Oh, I see now - downloading it as I type this. I guess I should have read above beforehand... Thanks!

EDIT:

Having an issue now using Electric trains, logistic chest carts, accumulator wagon, etc.
Error while running event handler: __5Dim_Trains__/control.lua:579:LuaBootstrap Doesn't Contain Key Surfaces
Trying to place these on electric rails and normal rails, getting this error every time.
I found an error in this line
https://forums.factorio.com/forum/vie ... 10#p115232
CovertJaguar
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Dec 21, 2014 1:53 pm
Contact:

Re: Bugs and problems

Post by CovertJaguar »

A few things.

First off the curved water rails (both variants) can't actually be placed on water. And the electric curved rails have a different collision box size than the vanilla rails.

Also, the Logistic Passive Provider Wagon has issues with items vanishing some times. A bunch of items will be loaded into the Wagon but only about half show up in the GUI, the others are just gone. I haven't been able to determine exactly when it does and doesn't happen, but more inserters seems to make it more common. I haven't tested the other Wagons. I suppose it might have something to do with setting slot filters.

EDIT: It seems to only happen for inserters placed in the center of the wagon. I assume that they are loading the logistics crate entity instead of the wagon entity.
CovertJaguar
Burner Inserter
Burner Inserter
Posts: 6
Joined: Sun Dec 21, 2014 1:53 pm
Contact:

Re: Bugs and problems

Post by CovertJaguar »

Upon further testing I have also determined that the copyInventory() function is causing massive lag spikes whenever a logistics wagon inventory is modified.

I did what I could to improve the function:

Code: Select all

function copyInventory(copyFrom, copyTo, filter)
	local activeFilter = filter
	if filter == nil or filter == "" then
		filter = "*"
	end
	
	if copyFrom ~= nil and copyTo ~= nil then
		local fromContents = copyFrom.get_contents()
		local toContents = copyTo.get_contents()
		local action = fromContents
		for name,count in pairs(toContents) do
			if action[name] == nil then
				action[name] = -count
			else
				action[name] = action[name] - count
			end
		end
		for name,diff in pairs(action) do
			if diff ~= 0 then
				local filterType = getItemTypeFromName(name)
				if filterType == nil or filterType == "item" then
					filterType = getEntityTypeFromName(name)
				end
				if filter == name or filter == filterType or filter == "*" then
					--debugLog("#################itemName: " .. name .. " diff: " .. diff)
					if diff > 0 then
						copyTo.insert({name=name,count=diff})
					elseif diff < 0 then
						copyTo.remove({name=name,count=0-diff})
					end
				end
			end
		end
	end
	
end
I'm sure some one more intimate with LUA could do even better.
McGuten
Filter Inserter
Filter Inserter
Posts: 310
Joined: Tue Jun 24, 2014 3:06 pm
Contact:

Re: Bugs and problems

Post by McGuten »

sorry guys for this inactivity, i make a new version for fix some bugs i upload it in a few hours...

big sorry :(
Image
HellNeko
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Oct 18, 2015 9:38 pm
Contact:

Re: Bugs and problems

Post by HellNeko »

The problem i am having is that the accumulator wont change up, the power rail is not providing power to the electric engine or any of the logistics wagon and laser turret wagon and the curve rail for water (both of them) are not placing on the water i am running factorio 12.18 and using 5Dim's core 2.0.0 and Trains 2.0.1
McGuten
Filter Inserter
Filter Inserter
Posts: 310
Joined: Tue Jun 24, 2014 3:06 pm
Contact:

Re: Bugs and problems

Post by McGuten »

HellNeko wrote:The problem i am having is that the accumulator wont change up, the power rail is not providing power to the electric engine or any of the logistics wagon and laser turret wagon and the curve rail for water (both of them) are not placing on the water i am running factorio 12.18 and using 5Dim's core 2.0.0 and Trains 2.0.1
You use electric rails?
Image
RodneyMckay
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Jul 26, 2015 9:36 am
Contact:

Re: Bugs and problems

Post by RodneyMckay »

Hi, I have a similar Problem: First I got the Error. "LuaBootstrap doesn't contain key surface", so I used the control.lua from Redmoon. Now I could place the electric Locomotve, but it doesn't get any power on power rails. If it is near to a power Pole, it connect's to it and get't power. Any Ideas Why?

Factorio 12.19
5dim's core 2.0.0
5dim's trains 2.0.1 with redmoon's control.lua
RSO Mod 1.4.6
Yuoki_0.2.37
no-hand-crafting_0.12.2
BetterPoles_1.0.0

first I thought it could be the better electric Pole mod, but it happens also without that mod.
HellNeko
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Oct 18, 2015 9:38 pm
Contact:

Re: Bugs and problems

Post by HellNeko »

McGuten wrote:
HellNeko wrote:The problem i am having is that the accumulator wont change up, the power rail is not providing power to the electric engine or any of the logistics wagon and laser turret wagon and the curve rail for water (both of them) are not placing on the water i am running factorio 12.18 and using 5Dim's core 2.0.0 and Trains 2.0.1
You use electric rails?
yes i used the electric rails i had a testing zone in my base but the engine didn't move at all unless i put a power pole near it and i did tried just put one near the track on the end of the line
RodneyMckay
Burner Inserter
Burner Inserter
Posts: 7
Joined: Sun Jul 26, 2015 9:36 am
Contact:

Re: Bugs and problems

Post by RodneyMckay »

So I found the bug in the bug: I've build the track diagonal, and it connected to the big power pole and some Parts of the Track got powered up! I have absulute no Idea why this happened, but it happened. Soon I will check if the battle Waggon will get Power.

It seem's, that the power rails do not connect to each other properly.

And as I removed the big Power Pole the whole Track lost Power.
Post Reply

Return to “5dim's mod”