Map Tag Generator

by majoca

Select entities and the generator will intelligently create map tags representing their purpose, with perfect layout and positioning. Can also be used to erase map tags.

Utilities
10 days ago
1.1 - 2.0
16.8K

b [Resolved] Crash with new version

13 days ago

The new 2.1.0 version causes a crash upon loading a save that worked previously fine:

Error while running event map-tag-generator::on_configuration_changed
map-tag-generator/map_tag_generator/init.lua:68: bad argument #1 of 2 to 'pairs' (table expected, got nil)
stack traceback:
[C]: in function 'pairs'
map-tag-generator/map_tag_generator/init.lua:68: in function 'cache_soils'
map-tag-generator/map_tag_generator/init.lua:111: in function 'update_compatibility'
...ag-generator__/map_tag_generator/event_handlers/init.lua:22: in function 'on_configuration_changed'
core/lualib/event_handler.lua:112: in function <core/lualib/event_handler.lua:109>

13 days ago

Thanks for the report. Can you send a list of mods you're using in your save?

13 days ago
(updated 13 days ago)

Sure!

base
elevated-rails
quality
space-age
aai-loaders
aai-signal-transmission
aai-vehicles-flame-tank
aai-vehicles-flame-tumbler
aai-vehicles-hauler
aai-vehicles-ironclad
aai-vehicles-warden
Accumulator-V2
advanced-centrifuge
Age-of-Production
Age-of-Production-Graphics
Aircraft-space-age
alien-biomes
alien-biomes-graphics
alien-biomes-tree-compat
alien-module
angelsaddons-bots
angelsaddons-mobility-graphics-crawler
angelsaddons-mobility-graphics-petro
angelsaddons-mobility-graphics-smelting
apia
Arachnids_enemy
ArmouredBiters
assets-eneas
atan-air-scrubbing
AutoDeconstruct
barreling-group2
BeltRouter-lite
BeltThreadUpgrades
better-ecology
better-train-system
Better_Starmap_Background
BigDrills
BiggerCarTrunk
bioprocessing-tab
BottleneckLite
bplib
Brighter-Lamps
bullet-trails
canal-excavator
canal-excavator-graphics
cargo-drone
cargo-ships
cargo-ships-graphics
cargo_crates
carna
carna_assets
carna_assets_2
carna_assets_3
carna_assets_4
carna_assets_enemies
celestial-weather
Cerys-Moon-of-Fulgora
ChangeInserterDropLane
CleanedConcrete
Cloning-vat-building
Cold_biters
colorful_biochamber
color_whole_train
common-prototypes
common-prototypes-graphics
condensing-agricultural-tower
Constructron-Continued
CopyPasteModules
corrundum
Cosmic-Social-Distancing
cr-commons
cubium
CursorEnhancements
cybersyn
cybersyn-combinator
dbots-artillery-bombardment-remote
DeadTreeDeconstructor
diesel_cargo_ships
diesel_engine
diesel_machines
Diversitree
dynamic-rain
EditorExtensions
elevated-pipes
equipment-gantry
est-tiny-storage-tank
even-distribution
even-pickier-dollies
factorissimo-2-notnotmelon
FactorySearch
faster-robots
FasterStart
FilterHelper
fishing-dock
Flare Stack
flib
FluidMustFlow
Fundryu
FusionPoweredRobots
grappling-gun
hd_planets
heavy_gun_turret
HelicopterRevival
helmod
informatron
jetpack
k2so-assets
k2so-thruster-fix
kj_fuel
kj_servoskull
kj_vehicles
kj_warrig
Krastorio2-spaced-out
Krastorio2Assets
Krastorio2MenuSimulations
kry_stdlib
Kux-CoreLib
Kux-GuiLib
Kux-OrbitalIonCannon
large-storage-tank
lex-aircraft
Lighted-Poles-Plus
lighthouse_radar
Load-Furn-2-SpaceAgeFix
loaders-modernized
long_range_delivery_drones_talandar_fork
long_stack_inserter
LootChestPlus
lubrication_tower
machine-upgrades
Mammoth-MK3
map-tag-generator
maraxsis
matter_printer
metal-and-stars-graphics
metal-and-stars-graphics-2
mferrari_lib
mimi-graphics
minimalist-rails
mining-patch-planner
module-inserter
ModuleInserterSimplified
moon-eneas
Moshine
Moshine-assets
natural-fish-dynamics
new-diagonal-inserter
no-wall-repair
Noxys_Trees
nulls-k2so-tweaks
OmegaDrill
panglia_planet
panglia_planet_assets
Paracelsin
Paracelsin-Graphics
pelagos
PI-Virentis-Music
pirateship
Placeables
planet-rabbasca
PlanetsLib
PlanetsLibTiers
Power Armor MK3
power-grid-comb
Productivity
pump
pushbutton
quality-seeds-fork
quality-upgrade-planner
quality_glassware
Quantum-diffuser
quantum_lab
rabbasca-assets
rabbasca-orbit-patch
RailSignalPlanner
RateCalculator
RecipeBook
Redrawn-Space-Connections
RocketCargoInsertion
se-space-trains
secretas
shchierbin
shield-projector
Shortcuts-ick
skewer_planet_vesta
skewer_planet_vesta_assets
skewer_planet_vesta_assets_2
skewer_shattered_planet
skewer_shattered_planet_assets
slp-dyson-sphere-reworked
snouz-big-accumulator
snouz-big-solar-panel
snouz-big-substation
snouz_better_asteroid_collector
snouz_better_substation
snouz_long_electric_gun_turret
snouz_space_platform_hull
SolarMatrix
space-exploration-graphics
space-exploration-graphics-4
spiderbots
spidertron-extended
spidertron-unit-07
SpidertronEnhancements
SpidertronPatrols
squeak-through-2
StoneWaterWell-ActuallyUpdated
talandar_cargo_ships_tweaks
terrapalus
textplates
thinking_brain
tile-painter
tile-upgrade-planner-muluna
Todo-List
toolbars-mod
Transport_Drones_Meglinge_Fork
tree-healing
tree_collision
turret-library
UnitLocationHotkeys
valves
valves-lib
VehicleSnap
Vibrant_paint
virentis
virentis-graphics
visible-planets
Warehousing
windowed-cameras
WipMod_TA-miners
wooden_platform
Wr_Enhanced_Map_Colors
zen-garden
zzz-nonstandard-beacons
z_fix_condenser_pressure

13 days ago

Thanks! Looks like the issue was related to Carna doing some unexpected things with agricultural towers. The crash should be fixed now, though the agricultural tower logic is still a bit experimental and only really tested with default Space Age, so let me know if you notice anything else unexpected happening.

12 days ago

Will do, thanks for the fast fix!

10 days ago

Hey tried the new version today, got another error:

The mod Map Tag Generator (2.1.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event map-tag-generator::on_configuration_changed
map-tag-generator/map_tag_generator/init.lua:67: attempt to index field 'autoplace_specification' (a nil value)
stack traceback:
map-tag-generator/map_tag_generator/init.lua:67: in function 'cache_soils'
map-tag-generator/map_tag_generator/init.lua:111: in function 'update_compatibility'
...ag-generator__/map_tag_generator/event_handlers/init.lua:22: in function 'on_configuration_changed'
core/lualib/event_handler.lua:112: in function <core/lualib/event_handler.lua:109>

The mod list is pretty much the same.

10 days ago

Thanks again! This time it was Maraxsis :P I've reworked the logic so it should be more compatible with any unique things other mods do with agricultural towers, so hopefully it's more future-proof now.

10 days ago

Cool! I'll give it a spin one of these days, Ill report back if I see anything wrong. :)

New response