Page 1 of 1

[MOD 0.12.x] Endless Miner

Posted: Fri Sep 18, 2015 4:21 pm
by ajranney
Type: Mod
Name: Endless Miner
Description: Creates a miner that continually generates iron, copper, coal, and lots of stone. Runs on concrete.
License: MIT
Version: 0.1.1
Release: 9/18/2015
Tested-With-Factorio-Version: 0.12.9
Category: SimpleExtension
Download: ***THIS IS NOT WORKING FOR THE CURRENT VERSION OF FACTORIO****
Endless-Miner_0.1.1.zip
(1.19 MiB) Downloaded 1243 times
Special thanks to YuokiTani for the graphics!
Long description
Version history
Picture example
Future Plans

Re: [MOD 0.12.x] Endless Miner

Posted: Sat Sep 19, 2015 5:57 am
by Ralord89
Hm, this sounds like a pretty nice idea. But can we get a screenshot perhaps? and some details, like is this endgame like level or early game? Crafting details?

Re: [MOD 0.12.x] Endless Miner

Posted: Sun Sep 20, 2015 9:06 am
by Airat9000
screen please

Re: [MOD 0.12.x] Endless Miner

Posted: Sun Sep 20, 2015 11:43 pm
by ajranney
Added picture example as requested.

Re: [MOD 0.12.x] Endless Miner

Posted: Sun Nov 29, 2015 11:36 am
by toudi
It does not work on version 12.19

Re: [MOD 0.12.x] Endless Miner

Posted: Sun Dec 27, 2015 10:45 pm
by ajranney
My mod was not updated for the update that changed (removed) onsave and onload events. I have noticed a very similar mod that is currently available: https://forums.factorio.com/forum/vie ... 11#p121186. I may update this mod later (I'm thinking 13.x) but will decide later.

Re: [MOD 0.12.x] Endless Miner

Posted: Mon Dec 28, 2015 5:59 am
by Peter34
Ralord89 wrote:Hm, this sounds like a pretty nice idea. But can we get a screenshot perhaps? and some details, like is this endgame like level or early game? Crafting details?
Given that it uses Concrete and Advanced Circuits, it sounds like endgame or at least semi-endgame'ish to me.

Re: [MOD 0.12.x] Endless Miner

Posted: Sun Jan 31, 2016 7:56 pm
by Cisien
ajranney wrote:My mod was not updated for the update that changed (removed) onsave and onload events. I have noticed a very similar mod that is currently available: https://forums.factorio.com/forum/vie ... 11#p121186. I may update this mod later (I'm thinking 13.x) but will decide later.
I made a quick edit to hook the mod_changed event to do the init logic. I'm not sure if this is correct, or if there is a better way to go about this, but it does appear to work on 0.12.20.

edit: Removed attachment. There appears to be an issue that is preventing the machine from outputting anything.

Re: [MOD 0.12.x] Endless Miner

Posted: Sat Mar 19, 2016 8:18 pm
by BitterofBitters
I like it, but how is it endless it takes 10 rocks + 1 iron ore to make one concrete.

Your miner gives 4 rocks 1 random ore, so you will get no iron in the end and no rocks, maybe some coal, or copper?

Not to be harsh just your values make no sense to me.

If we got 1 of each ore and 10 rocks or maybe even 8 rocks, so we still have to look for rocks maybe though they are in small amounts so it will still end up not being endless.

Just seems better to just go out farther and look for plots.

Re: [MOD 0.12.x] Endless Miner

Posted: Sat Mar 19, 2016 9:58 pm
by ajranney
@BitterofBitters
10 stone plus 1 iron ore makes TEN concrete. TEN concrete makes 50 "Underground Ore".

Re: [MOD 0.12.x] Endless Miner

Posted: Sat Mar 19, 2016 11:23 pm
by Neotix
This mod is ok, but for me its missing one big thing. Searching resources.
Right now output is pure random and in general we get all resources from one spot.
What about calculate output resource based on mine position? Maybe use similar algorithm to spawning resources?

Re: [MOD 0.12.x] Endless Miner

Posted: Tue Mar 22, 2016 9:41 pm
by KapuzenSohn
Hey nice mod.
The only problem is that in the latest Version it won´t work. I had to change all "game.on" to "script.on" in the file control.lua before I could load or create a new game. After some time I finally came to the point where I can build this maschine. I put concrete in it and it also produces and I see that it produces 10 Underground Ore but the underground ore don´t get converted into normal ores. When I try to take it out either manual or with a maschine it won´t work.
I don´t know ifd there is more to change but it would be nice if you could take a look.
Maybe I can take tomorrow a closer look at the code and find a fix.

Re: [MOD 0.12.x] Endless Miner

Posted: Wed Mar 23, 2016 6:50 pm
by BitterofBitters
KapuzenSohn wrote:Hey nice mod.
The only problem is that in the latest Version it won´t work. I had to change all "game.on" to "script.on" in the file control.lua before I could load or create a new game. After some time I finally came to the point where I can build this maschine. I put concrete in it and it also produces and I see that it produces 10 Underground Ore but the underground ore don´t get converted into normal ores. When I try to take it out either manual or with a maschine it won´t work.
I don´t know ifd there is more to change but it would be nice if you could take a look.
Maybe I can take tomorrow a closer look at the code and find a fix.
Okay so the mod maker knows of the bug if you remove more than one in the same area then some or all stop working.
Strange wonder what breaks the string, maybe it needs a call to reset all events after some time of idle.

There seems to be fix for me that is not ideal but since what this mod does is not so bad.

If you delete the mod save your game with it not there then add it back and place one it will work again, this is odd though.

Re: [MOD 0.12.x] Endless Miner

Posted: Wed Mar 23, 2016 6:53 pm
by seronis
Pretty sure the only problem is that Kapuz is using an outdated version of factorio

Re: [MOD 0.12.x] Endless Miner

Posted: Wed Mar 23, 2016 7:03 pm
by BitterofBitters
seronis wrote:Pretty sure the only problem is that Kapuz is using an outdated version of factorio
Ah yes I see I turned off updates to stop mods from breaking after what v12.11 did there is a huge update in 12.27 and .28 fixed crashes.
Will have to see if that fixes it.

Re: [MOD 0.12.x] Endless Miner

Posted: Thu Mar 24, 2016 6:15 pm
by KapuzenSohn
Removing the Mod and adding it again helped.

I am on the latest Version of the game 0.12.29

Thanks to all ;)

Re: [MOD 0.12.x] Endless Miner

Posted: Tue Mar 29, 2016 5:43 pm
by NekoDwarf
Strange bug when starting new game
http://www.image-share.com/ijpg-3202-95.html

Re: [MOD 0.12.x] Endless Miner

Posted: Fri Apr 01, 2016 7:14 am
by KapuzenSohn
Look at my post above
I had to change all "game.on" to "script.on" in the file control.lua before I could load or create a new game
Then the mod should work

Re: [MOD 0.12.x] Endless Miner

Posted: Sat Jun 25, 2016 6:05 pm
by LuziferSenpai
Here you have a fixed Version for your MOD!
Endless-Miner_0.1.1.zip
Fixed Version for 12.35+
(1.19 MiB) Downloaded 125 times
Pls

Greetz,

Senpai

Re: [MOD 0.12.x] Endless Miner

Posted: Sat Jun 25, 2016 11:06 pm
by darkfrei
Change the game.on_init(function() to

Code: Select all

script.on_init(function()
and another game to script