ddnet/src/tools
Robert Müller a9e7926c29 Fix map tools crashing on maps with unknown UUID-based map items
All `map_*` tools were crashing with the assertion `Invalid type` when used on maps that contain unknown UUID-based map items. When the UUID cannot be resolved, the type `-1` is returned by the `GetItem` function. The assertion predates UUID map items, so this crash has likely existed since the introduction of UUID map items. The editor was not affected and has instead always discarded map items that it does not support. The tools will now also discard map items with unknown UUIDs.

See #7669.
2023-12-22 16:00:24 +01:00
..
config_common.h Add templated str_append function for arrays with fixed size 2023-06-14 00:04:01 +02:00
config_retrieve.cpp Move/rename variable declarations in config_retrieve 2022-06-04 17:21:26 +02:00
config_store.cpp Remove separate CDataFileWriter::Init/OpenFile functions 2023-11-01 12:54:38 +01:00
crapnet.cpp Remove redundant variable assignments 2022-11-29 23:32:26 +01:00
demo_extract_chat.cpp Minor refactoring of demo_extract_chat tool 2023-12-17 12:59:33 +01:00
dilate.cpp Remove redundant argument of Dilate function 2023-10-03 13:52:37 +02:00
dummy_map.cpp Fix sv_vanilla_antispoof for vanilla 0.6.5 clients 2023-01-18 20:21:12 +01:00
map_convert_07.cpp Fix map tools crashing on maps with unknown UUID-based map items 2023-12-22 16:00:24 +01:00
map_create_pixelart.cpp Fix map tools crashing on maps with unknown UUID-based map items 2023-12-22 16:00:24 +01:00
map_diff.cpp Fix map version checks in map_diff and map_extract tools 2023-10-14 17:03:48 +02:00
map_extract.cpp Use GetDataSize instead of CMapItemSound::m_SoundDataSize 2023-12-18 17:58:42 +01:00
map_find_env.cpp Add default argument to CDataFileReader/IMap::GetItem 2023-05-14 16:39:46 +02:00
map_optimize.cpp Fix map tools crashing on maps with unknown UUID-based map items 2023-12-22 16:00:24 +01:00
map_replace_area.cpp Fix map tools crashing on maps with unknown UUID-based map items 2023-12-22 16:00:24 +01:00
map_replace_image.cpp Fix map tools crashing on maps with unknown UUID-based map items 2023-12-22 16:00:24 +01:00
map_resave.cpp Fix map tools crashing on maps with unknown UUID-based map items 2023-12-22 16:00:24 +01:00
packetgen.cpp Remove namespace tw 2022-06-13 18:07:29 +02:00
stun.cpp Remove namespace tw 2022-06-13 18:07:29 +02:00
twping.cpp Show twping timeout if no ping response is received, add exit code 2023-03-23 23:26:07 +01:00
unicode_confusables.cpp Remove namespace tw 2022-06-13 18:07:29 +02:00
uuid.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00