Tag Book

by DiRten

Adds a menu to the game in which all map markers are ordered. They can be filtered and sorted. There are also additional buttons that allow you to view the marker from the list on the map and mark it with a ping. (default key "B")

Utilities
1 year, 9 months ago
1.1
502
Transportation Trains Environment Mining Fluids Logistic network

b Crash when used with sonaxaton-resource-map-markers mod

1 year, 9 months ago

Looks like your mod is trying to alter the window before it is created.

To reproduce:
- Have sonaxaton-resource-map-markers installed and used.
- Add tagbook mod
- load save
- instant crash

Error while running event sonaxaton-resource-map-markers::on_configuration_changed
The mod Tag Book (2.0.5) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event TagBook::on_chart_tag_removed (ID 146)
TagBook/control.lua:88: attempt to index field 'window_frame' (a nil value)
stack traceback:
TagBook/control.lua:88: in function 'personal_catalog'
TagBook/control.lua:73: in function <TagBook/control.lua:53>
stack traceback:
[C]: in function 'destroy'
sonaxaton-resource-map-markers/control.lua:115: in function 'patch_destroy_tag'
sonaxaton-resource-map-markers/control.lua:433: in function 'for_each'
sonaxaton-resource-map-markers/control.lua:271: in function 'patches_for_each'
sonaxaton-resource-map-markers/control.lua:429: in function 'hide_tags'
sonaxaton-resource-map-markers/control.lua:586: in function 'clear_tags'
sonaxaton-resource-map-markers/control.lua:600: in function 'tag_all'
sonaxaton-resource-map-markers/control.lua:677: in function <sonaxaton-resource-map-markers/control.lua:673>

1 year, 9 months ago

Thanks! I fix that next patch.

1 year, 9 months ago

Work! Check update.

1 year, 9 months ago

Thank you, it works now (but gives a large lag spike when loading the save)

1 year, 9 months ago

Here is a link to my save, including a version of the other mod with a bugfix (a problem with pyanodon mod pack)
https://www.dbq.no/stuff/save+mod.7z

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

Here is a link to my save, including a version of the other mod with a bugfix (a problem with pyanodon mod pack)
https://www.dbq.no/stuff/save+mod.7z

If you have a large number of tags from the sonaxaton mod, there will be problems. This one deletes and re-inserts all resource markers on the map each time it loads. My mod sorts and filters according to your preferences with each addition. Accordingly, each addition causes a check of the list. I guess that's the reason for the long load.

1 year, 9 months ago

you could try to not sort on every addition/deletion, and schedule one every 10000th tick or something

1 year, 9 months ago

This sounds more like a problem that the other mod should fix.

1 year, 9 months ago

you could try to not sort on every addition/deletion, and schedule one every 10000th tick or something

Most likely, I will update the sort only when the menu is open.

New response