Resource Map Markers


Automatically mark resources on the map.

Utilities
3 years ago
0.18 - 1.1
13.8K

g [FIXED] pyanodon compatibility

3 years ago

Hi, do you plan to implement compatibility with pyanodon mods?
Cheers!

3 years ago

It should work with any mod, have you tried it?

3 years ago

It seems that the mod just does not work for me anymore :(
I've loaded a vanilla map that I previously played, mod displays messages "finding and marking" and then "complete" but no markers are created. In mod settings, I can only settings in player tab but map tab is empty.
When I start a new game with only RMM enabled, settings menu looks as above (map empty) and no messages are displayed when starting game.

I've redownloaded the mod, downgraded factorio, checked logs (nothing in there), deleted mod-settings.dat but none of those things fixed it for me.
Any ideas?

3 years ago

nvm, I had markers disabled in map view, mod works fine with py suite.

1 year, 10 months ago

Hey, not sure if Bitumen is new in PY but as it has no icon your mod dies:

496.514 Error MainLoop.cpp:1284: Exception at tick 3: The mod Resource Map Markers (0.3.5) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event sonaxaton-resource-map-markers::on_nth_tick(1)
sonaxaton-resource-map-markers/control.lua:408: bad argument #1 of 2 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
sonaxaton-resource-map-markers/control.lua:408: in function 'get_resource_icon'
sonaxaton-resource-map-markers/control.lua:440: in function 'create_tag'
sonaxaton-resource-map-markers/control.lua:555: in function 'for_each'
sonaxaton-resource-map-markers/control.lua:271: in function 'patches_for_each'
sonaxaton-resource-map-markers/control.lua:543: in function 'show_tags'
sonaxaton-resource-map-markers/control.lua:878: in function <sonaxaton-resource-map-markers/control.lua:769>

Would you like to add a handle for missing resource icons and just use a generic white dot or the Factorio\data\core\graphics\empty.png?

Cu, steinio

1 year, 10 months ago

It can be fixed by changing the predicate at the start of the function to if resource_prototype.mineable_properties == nil or resource_prototype.mineable_properties.products == nil then. Basically, check if both the mineable_properties property exists and that it has a property of products.

1 year, 10 months ago
(updated 1 year, 10 months ago)

EDIT: Nevermind - it wasn't a geothermal fissure. It's a bitumen seep which you already noted above.

In the new pYanodon beta, I am getting non-recoverable errors caused by RMM when I find Geothermal Fissures.

The mod Resource Map Markers (0.3.5) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event sonaxaton-resource-map-markers::on_nth_tick(1)
sonaxaton-resource-map-markers/control.lua:408: bad argument #1 of 2 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
sonaxaton-resource-map-markers/control.lua:408: in function 'get_resource_icon'
sonaxaton-resource-map-markers/control.lua:440: in function 'create_tag'
sonaxaton-resource-map-markers/control.lua:555: in function 'for_each'
sonaxaton-resource-map-markers/control.lua:271: in function 'patches_for_each'
sonaxaton-resource-map-markers/control.lua:543: in function 'show_tags'
sonaxaton-resource-map-markers/control.lua:878: in function <sonaxaton-resource-map-markers/control.lua:769>

1 year, 3 months ago

I got this same error today.

The mod Resource Map Markers (0.3.5) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event sonaxaton-resource-map-markers::on_nth_tick(1)
sonaxaton-resource-map-markers/control.lua:408: bad argument #1 of 2 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
sonaxaton-resource-map-markers/control.lua:408: in function 'get_resource_icon'
sonaxaton-resource-map-markers/control.lua:440: in function 'create_tag'
sonaxaton-resource-map-markers/control.lua:555: in function 'for_each'
sonaxaton-resource-map-markers/control.lua:271: in function 'patches_for_each'
sonaxaton-resource-map-markers/control.lua:543: in function 'show_tags'
sonaxaton-resource-map-markers/control.lua:878: in function <sonaxaton-resource-map-markers/control.lua:769>

New response