[MOD 0.12.x] Factorio Maps
-
- Burner Inserter
- Posts: 6
- Joined: Thu Mar 17, 2016 2:58 pm
- Contact:
Re: [MOD 0.12.x] Factorio Maps
I thought I saw in the patch notes that this had been updated to work with MP. I guess I misunderstood and it's compatible with multiplayer but you can only run the mod on your client is that correct?
I agree with Dirante, this would be amazing if it could be made to run from a headless server.
EDIT: So I was thinkin about it and the issue is that the headless server never actually generates the visual input the mod uses right? You'd have to have a separate renderer for the mod. Is that basically correct?
I agree with Dirante, this would be amazing if it could be made to run from a headless server.
EDIT: So I was thinkin about it and the issue is that the headless server never actually generates the visual input the mod uses right? You'd have to have a separate renderer for the mod. Is that basically correct?
Re: [MOD 0.12.x] Factorio Maps
tried it, first time, didnt make any pictures, might have not set the size, but second time it took over an hour, when i forced quit my factorio. maybe my 180 mb save is too big.
Re: [MOD 0.12.x] Factorio Maps
It'd be great if it just required the clients to have the mod installed too and the server would force one (or all) clients to render the map and have it sent to the server. You can basically outsource the rendering to the clients.BeowolfSchaefer wrote:So I was thinkin about it and the issue is that the headless server never actually generates the visual input the mod uses right? You'd have to have a separate renderer for the mod. Is that basically correct?
To me having this mod work on headless is important, I don't want to generate an "hourly" map myself for all the servers that I run.
Re: [MOD 0.12.x] Factorio Maps
The issue is that factorio's mod API is way too high level and you can't make anything that runs only on one machine. Everything is forcibly synchronized.BeowolfSchaefer wrote:EDIT: So I was thinkin about it and the issue is that the headless server never actually generates the visual input the mod uses right? You'd have to have a separate renderer for the mod. Is that basically correct?
-
- Inserter
- Posts: 42
- Joined: Sun Aug 16, 2015 10:23 am
- Contact:
Re: [MOD 0.12.x] Factorio Maps
I love this mod.
though sometimes I would like to make big screenshot map of the mapmode (pressing "M") as that gives better information about ores than the usual game view.
is it possible to do that? I tried reading all the Lua Docs but I was not able to find a command that would switch the rendering mode to "mapmode". Even if I was switched into the "M" and called the screenshot command it always used the usual game view.
though sometimes I would like to make big screenshot map of the mapmode (pressing "M") as that gives better information about ores than the usual game view.
is it possible to do that? I tried reading all the Lua Docs but I was not able to find a command that would switch the rendering mode to "mapmode". Even if I was switched into the "M" and called the screenshot command it always used the usual game view.
Re: [MOD 0.12.x] Factorio Maps
Any chance this could be made to auto-run at configurable intervals?
Re: [MOD 0.12.x] Factorio Maps
Hi, quick question: Wehre does the mod put the html files?
I tried searching it, but cant find them.
EDIT:
All my save folders contain only my savegames.
EDIT Solution:
Found it. It was AppData\Roaming\Factorio\script-output\FactorioMaps
I tried searching it, but cant find them.
EDIT:
All my save folders contain only my savegames.
EDIT Solution:
Found it. It was AppData\Roaming\Factorio\script-output\FactorioMaps
Re: [MOD 0.12.x] Factorio Maps
Does anyone know why that when I open a generated map in my browser, the second I try to move, zoom, or manipulate it in any way, it breaks? (by 'breaks' I mean it goes blank with a 'file moved or deleted' message.) Anyone know why this is happening?
EDIT: Problem was solved my mngrif's suggestion to rename it without spaces. Weird.
EDIT: Problem was solved my mngrif's suggestion to rename it without spaces. Weird.
Re: [MOD 0.12.x] Factorio Maps
I made something cool with your mod! (I have to post the URL in a second post since I can't put URLs in my first post...)
Re: [MOD 0.12.x] Factorio Maps
I pm'd jeroon the other day asking if/when FactorioMaps would get updated.
Once/if jeroon gives me the ok I'll put it on the mod portal.
So today I took a stab at it. You can manually download the version for Factorio 0.13 here: github/credomane/FactorioMapsjeroon wrote:at the moment I don't have the time to update it, so if you feel like it, go ahead
(if not, I will take a look at it in a couple of weeks)
Once/if jeroon gives me the ok I'll put it on the mod portal.
Re: [MOD 0.12.x] Factorio Maps
This=EpicTonyLemur wrote:http://tonyfox.ws/factorio/timelapse/
-
- Burner Inserter
- Posts: 6
- Joined: Thu Mar 17, 2016 2:58 pm
- Contact:
Re: [MOD 0.12.x] Factorio Maps
Is it possible to call the script from the prompt or some other way to automate it running on a headless server because 0.60 seems to work fine when added to one, it's just that when I run it from the menu it can only generate locally.
Re: [MOD 0.12.x] Factorio Maps
Afraid not. The documentation states that game.take_screenshot on a headless server does absolutely nothing.BeowolfSchaefer wrote:Is it possible to call the script from the prompt or some other way to automate it running on a headless server because 0.60 seems to work fine when added to one, it's just that when I run it from the menu it can only generate locally.
While unfortunate, it makes sense because the headless isn't doing anything graphic wise. Doubt the devs have any plans to change that.
-
- Burner Inserter
- Posts: 6
- Joined: Thu Mar 17, 2016 2:58 pm
- Contact:
Re: [MOD 0.12.x] Factorio Maps
Ahh yeah, that makes sense. Thanks for the explanation.credomane wrote:Afraid not. The documentation states that game.take_screenshot on a headless server does absolutely nothing.BeowolfSchaefer wrote:Is it possible to call the script from the prompt or some other way to automate it running on a headless server because 0.60 seems to work fine when added to one, it's just that when I run it from the menu it can only generate locally.
While unfortunate, it makes sense because the headless isn't doing anything graphic wise. Doubt the devs have any plans to change that.
I guess the solution might be what some of the similar mods for Minecrft do where there's a separate renderer for the map that just reads the save game and generates the image itself. That's a whole other task than this one though.
Re: [MOD 0.12.x] Factorio Maps
I've crafted myself a little method that can automatically generate the map for me. All I do is run a batch file and see it do its magic. That's still not suitable for headless servers, but if you have a server with a graphics card you can at least just for the map generation launch the normal version of Factorio.
Unfortunately though, I get the "max zoom level break" error. The work around I use for now is to manually edit the html and change the min zoom to 4, as that's the smallest zoom level it does...
Here's the map it outputs: https://googledrive.com/host/0B2kB5dGue ... 1ERDhCbm8/
The savegame: https://googledrive.com/host/0B2kB5dGue ... player.zip
Code
Unfortunately though, I get the "max zoom level break" error. The work around I use for now is to manually edit the html and change the min zoom to 4, as that's the smallest zoom level it does...
Here's the map it outputs: https://googledrive.com/host/0B2kB5dGue ... 1ERDhCbm8/
The savegame: https://googledrive.com/host/0B2kB5dGue ... player.zip
-
- Burner Inserter
- Posts: 5
- Joined: Fri Nov 25, 2016 6:43 pm
- Contact:
Re: [MOD 0.12.x] Factorio Maps
I have compiled and fixed to a version for 0.14.x
see attachment
see attachment
- Attachments
-
- FactorioMaps_0.6.1001.zip
- for 0.14.x
- (46.36 KiB) Downloaded 119 times
Re: [MOD 0.12.x] Factorio Maps
Sorry but you wasted your time.
It's already on the mod portal: https://mods.factorio.com/mods/credomane/FactorioMaps
Greetings steinio
It's already on the mod portal: https://mods.factorio.com/mods/credomane/FactorioMaps
Greetings steinio
-
- Long Handed Inserter
- Posts: 51
- Joined: Sat Jan 07, 2017 12:17 am
- Contact:
Re: [MOD 0.12.x] Factorio Maps
This mod is great! However, after loading the index.html, if I try to zoom, the screen goes white and says "Your file was not found. It may have been moved or deleted."
Using Chrome.
Using Chrome.
Re: [MOD 0.12.x] Factorio Maps
IIRC that's a bug when the folder path has a space in it. Try moving it somewhere without a space.