Resource Map Markers


Automatically mark resources on the map.

Utilities
4 years ago
0.18 - 1.1
15.2K

g [FIXED] Crash after /resource-map-markers show

4 years ago

Migrated from 0.1.0 to 0.2.1
try to use: /resource-map-markers show => crash!

Error MainLoop.cpp:1202: Exception at tick 6163331: Error while running command "resource-map-markers": sonaxaton-resource-map-markers/control.lua:381: attempt to index field 'mineable_properties' (a nil value)
stack traceback:
sonaxaton-resource-map-markers/control.lua:381: in function 'get_resource_icon'
sonaxaton-resource-map-markers/control.lua:437: in function 'for_each'
sonaxaton-resource-map-markers/control.lua:294: in function 'patches_for_each'
sonaxaton-resource-map-markers/control.lua:423: in function 'show_tags'
sonaxaton-resource-map-markers/control.lua:641: in function <sonaxaton-resource-map-markers/control.lua:629>

4 years ago

hmm, what mods are you using?

4 years ago
(updated 4 years ago)

ignore that, yeah I'd like to see your mod list

4 years ago

released a fix anyway (v0.2.2), but it's weird that a resource is missing the mineable_properties, thought that was impossible

4 years ago

0.2.2:
Error while running event sonaxaton-resource-map-markers::on_configuration_changed
sonaxaton-resource-map-markers/control.lua:407: attempt to call field 'destroy' (a nil value)
stack traceback:
sonaxaton-resource-map-markers/control.lua:407: in function 'for_each'
sonaxaton-resource-map-markers/control.lua:294: in function 'patches_for_each'
sonaxaton-resource-map-markers/control.lua:405: in function 'hide_tags'
sonaxaton-resource-map-markers/control.lua:487: in function 'clear_tags'
sonaxaton-resource-map-markers/control.lua:499: in function 'tag_all'
sonaxaton-resource-map-markers/control.lua:532: in function <sonaxaton-resource-map-markers/control.lua:531>

4 years ago
(updated 4 years ago)

A lot! :)
I'd rather give you my save game.
https://www.dropbox.com/s/qodbbeamgw4878j/0.18%20K2%20DS1.zip?dl=0
Note: I added an artificial iron ore deposit. May be that is the reason.

4 years ago

please try v0.2.3

4 years ago

Now it works!
Thank you!

Now it immediately shows map labels again after the command: /resource-map-markers clear

New response