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 Bug Reports:

1 year, 9 months ago

Report your bug, include the following:
1) An error occurred in a new game.
2) An error occurred in an existing game when updating the mod.
3) An error occurred in an existing game when the mod was first launched.
Thanks!

1 year, 9 months ago

I updated the mod to 3.0 and found that I couldn't enter the existing game.

Error while running event TagBook::on_configuration_changed
TagBook/libraries/utils.lua:41: attempt to concatenate local 'target_text' (a nil value)
stack traceback:
TagBook/libraries/utils.lua:41: in function 'set_font'
TagBook/libraries/gui/journal.lua:57: in function 'journal_add'
TagBook/libraries/update.lua:15: in function <TagBook/libraries/update.lua:1>

1 year, 9 months ago

15-20 min and fix

1 year, 9 months ago

New game? Create game? Create game have old version?

1 year, 9 months ago

New game? Create game? Create game have old version?

Old game save. This save has a previous version of this mod.

[deleted message]
[deleted message]
[deleted message]
1 year, 9 months ago

I updated the mod to 3.0 and found that I couldn't enter the existing game.

Error while running event TagBook::on_configuration_changed
TagBook/libraries/utils.lua:41: attempt to concatenate local 'target_text' (a nil value)
stack traceback:
TagBook/libraries/utils.lua:41: in function 'set_font'
TagBook/libraries/gui/journal.lua:57: in function 'journal_add'
TagBook/libraries/update.lua:15: in function <TagBook/libraries/update.lua:1>

I load. Check please.

1 year, 9 months ago

This new version (3.0.1) don't index new tags, only the old one, that I already have placed before installing / updating this mod!

Thanks.

1 year, 9 months ago

This mod also don't update renamed tags!

Thanks

1 year, 9 months ago

This mod also don't update renamed tags!

Thanks

Delivered version 3.0.0.
Installed tags.
Updated mod.
I don't see any errors.
Can you provide more information?

1 year, 9 months ago

This mod also don't update renamed tags!

Thanks

Couldn't repeat it.
-Try to load without mod,
-save,
-load this save with new version.

1 year, 9 months ago
  • Open my old save (Tag Book v2.x installed) with the new version
  • Open Tag Book GUI and I see all my tags
  • Rename a tag
  • Open Tag Book GUI and the old tag name shows, but not the new name.
  • Create a new tag
  • Open Tag Book GUI and the new tag don't appear!

Thanks.

1 year, 9 months ago

This mod also don't update renamed tags!

Thanks

Couldn't repeat it.
-Try to load without mod,
-save,
-load this save with new version.

If worked (open game -> create / rename tags -> save game -> uninstall mod -> open game -> save game -> install mod -> open game -> save game)

This means that this mod is only scanning for tags when installed. It don't scan for tags when creating / renaming or deleting tags in the middle of a game.

Thanks

1 year, 9 months ago

Maybe if the automatic update of tags is complicated, you could add a reload button on top, that clears and load the list of tags from the map!

Thanks.

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

Maybe if the automatic update of tags is complicated, you could add a reload button on top, that clears and load the list of tags from the map!

Thanks.

It is not difficult.
At the moment I am optimizing the code for all my mods.
After the end of the work, an update with a switchable search will be released.
Just like you wanted.
The code will start running faster, better, and with better features.
Suggest new features,
you can also look at 2 of my other mods and make suggestions for them.
-CustomColor,
-TrainSchedule.

1 year, 9 months ago

Maybe if the automatic update of tags is complicated, you could add a reload button on top, that clears and load the list of tags from the map!

Thanks.

It is not difficult.
At the moment I am optimizing the code for all my mods.
After the end of the work, an update with a switchable search will be released.
Just like you wanted.
The code will start running faster, better, and with better features.
Suggest new features,
you can also look at 2 of my other mods and make suggestions for them.
-CustomColor,
-TrainSchedule.

I tried this mods some time ago, but the CustomColor don't add much value to me and the TrainSchedule is not useful with LTN!
Thanks

[deleted message]
1 year, 9 months ago
(updated 1 year, 9 months ago)

I tried this mods some time ago, but the CustomColor don't add much value to me and the TrainSchedule is not useful with LTN!
Thanks

I made the function you were talking about.
I am currently rewriting the code for this mod.
You can see visually. Is this what you asked for?

1 year, 9 months ago

I tried this mods some time ago, but the CustomColor don't add much value to me and the TrainSchedule is not useful with LTN!
Thanks

I made the function you were talking about.
I am currently rewriting the code for this mod.
You can see visually. Is this what you asked for?

I tested the update of TagBook mod and it works great now! Thanks
For the TrainSchedule mod, I tryed here but I still don't think it's very useful in my game, with LTN installed!

Thanks.

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

I opened a new bug in another thread: https://mods.factorio.com/mod/TagBook/discussion/640e9bfdb1818dc70225f420
Should I have posted here?

Thanks.

1 year, 9 months ago

I opened a new bug in another thread: https://mods.factorio.com/mod/TagBook/discussion/640e9bfdb1818dc70225f420
Should I have posted here?

Thanks.

You can just post here without creating new threads. It's easier to understand.
I saw your messages and the author of a third-party mod. I'll fix the problem when I'm free.

1 year, 9 months ago

I made a temporary fix locally:

https://textdoc.co/C5MrkL6zP90GZnbI

Feel free to use-it!

1 year, 9 months ago

I made a temporary fix locally:

https://textdoc.co/C5MrkL6zP90GZnbI

Feel free to use-it!

tag_edit broken.
You removed the clone check.

1 year, 9 months ago

I was only sharing my tests... I'm not good with lua programming or modding factorio. I hope you can fix that soon.

Thanks.

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

I was only sharing my tests... I'm not good with lua programming or modding factorio. I hope you can fix that soon.

Thanks.

There is no way to fix the code yet.
You don't need to check the id for a number.
Aidi returns either a number or nothing. When checking "if", nothing is dropped.

1 year, 9 months ago

I was only sharing my tests... I'm not good with lua programming or modding factorio. I hope you can fix that soon.

Thanks.

Check update.
I changed the update order.
The update only happens when the menu is open!
(Temporary patch, until the modified search is released).

1 year, 9 months ago

I was only sharing my tests... I'm not good with lua programming or modding factorio. I hope you can fix that soon.

Thanks.

Check update.
I changed the update order.
The update only happens when the menu is open!
(Temporary patch, until the modified search is released).

The bug remains after the update! I put a log on the function "tag_check" and it continue to be called when the mouse hover any entity with the remote on hand!

Thanks

1 year, 8 months ago

Sometimes, when I update some tag, the changes not appear on the Windows GUI!
Maybe put some refresh button on the GUI, then we can refresh manually all the tags. The only way I can fix the wrong tag is deleting this mod, saving the game and reinstalling this mod again!

Thanks.

New response