CleverRaven / Cataclysm-DDA

Cataclysm - Dark Days Ahead. A turn-based survival game set in a post-apocalyptic world.
http://cataclysmdda.org
Other
10.65k stars 4.18k forks source link

Crash on resize in options #51162

Closed Brambor closed 1 year ago

Brambor commented 3 years ago

Describe the bug

Crash when expanding window drastically when scrolling options -> Interface.

Steps To Reproduce

  1. Play in windowed mode, make the window small.
  2. Go into options -> Interface and scroll down until the menu starts scrolling.
  3. Expand the CDDA game window drastically.
  4. Observe crash (Segmentation fault)

Expected behavior

No crash.

Screenshots

No response

Versions and configuration

Additional context

I think it might have crashed because of the scrolling thing. The number of items in the list or position might have not be updated properly, so we access vector[i], where i > vector.size().

But who knows?

hexagonrecursion commented 3 years ago

Please post the contents of config/crash.log

Brambor commented 3 years ago

Please post the contents of config/crash.log

I... don't have that. When I play with the Game Launcher, it hangs for a bit. When I play with compiled binary on MSYS on Windows, it says "Segmentation Fault"

Hopefuly relevant files when playing throught Launcher:

debug.log ``` ----------------------------------------- 10:41:29.137 : Starting log. 10:41:29.137 INFO : Cataclysm DDA version 2011839 10:41:29.153 INFO : [main] C locale set to C 10:41:29.153 INFO : [main] C++ locale set to C 10:41:29.153 INFO : SDL version used during compile is 2.0.14 10:41:29.153 INFO : SDL version used during linking and in runtime is 2.0.14 10:41:29.202 WARNING : opendir [./sound/] failed with "No such process". 10:41:29.211 INFO : Number of render drivers on your system: 5 10:41:29.211 INFO : Render driver: 0/direct3d 10:41:29.211 INFO : Render driver: 1/direct3d11 10:41:29.211 INFO : Render driver: 2/opengl 10:41:29.211 INFO : Render driver: 3/opengles2 10:41:29.211 INFO : Render driver: 4/software 10:41:29.219 INFO : [options] C locale set to C 10:41:29.219 INFO : [options] C++ locale set to C 10:41:29.219 INFO : Setting language to: 'en' 10:41:29.219 INFO : Language is set to: 'en' 10:41:29.219 INFO : [translations] C locale set to English_United Kingdom.1252 10:41:29.219 INFO : [translations] C++ locale set to C 10:41:29.488 INFO : Active renderer: 0/direct3d 10:41:30.602 INFO : USE_COLOR_MODULATED_TEXTURES is set to 0 10:41:30.635 INFO : Setting language to: 'en' 10:41:30.635 INFO : Language is set to: 'en' 10:41:30.635 INFO : [translations] C locale set to English_United Kingdom.1252 10:41:30.635 INFO : [translations] C++ locale set to C 10:41:30.934 WARNING : opendir [./mods/] failed with "No such process". 10:41:36.619 WARNING : opendir [./save/Middle Earth/mods] failed with "No such process". ```
options.json ``` [ { "info": "Set a default character name that will be used instead of a random name on character creation.", "default": "Default: ", "name": "DEF_CHAR_NAME", "value": "" }, { "info": "Enable item auto pickup. Change pickup rules with the Auto Pickup Manager.", "default": "Default: False", "name": "AUTO_PICKUP", "value": "true" }, { "info": "If true, will enable to pickup items one tile around to the player. You can assign No Auto Pickup zones with the Zones Manager 'Y' key for e.g. your homebase.", "default": "Default: False", "name": "AUTO_PICKUP_ADJACENT", "value": "true" }, { "info": "Auto pickup items with weight less than or equal to [option] * 50 grams. You must also set the small items option. '0' disables this option", "default": "Default: 0 - Min: 0, Max: 20", "name": "AUTO_PICKUP_WEIGHT_LIMIT", "value": "0" }, { "info": "Auto pickup items with volume less than or equal to [option] * 50 milliliters. You must also set the light items option. '0' disables this option", "default": "Default: 0 - Min: 0, Max: 20", "name": "AUTO_PICKUP_VOL_LIMIT", "value": "0" }, { "info": "Auto pickup is disabled as long as you can see monsters nearby. This is affected by 'Safe Mode proximity distance'.", "default": "Default: False", "name": "AUTO_PICKUP_SAFEMODE", "value": "false" }, { "info": "If false, you will not see messages about items, you step on, within no auto pickup zones.", "default": "Default: True", "name": "NO_AUTO_PICKUP_ZONES_LIST_ITEMS", "value": "true" }, { "info": "If true, enables configured auto features below. Disabled as long as any enemy monster is seen.", "default": "Default: False", "name": "AUTO_FEATURES", "value": "true" }, { "info": "Action to perform when 'Auto pulp or butcher' is enabled. Pulp: Pulp corpses you stand on. - Pulp Adjacent: Also pulp corpses adjacent from you. - Butcher: Butcher corpses you stand on.", "default": "Default: off - Values: off, pulp, pulp_zombie_only, pulp_adjacent, pulp_adjacent_zombie_only, butcher", "name": "AUTO_PULP_BUTCHER", "value": "off" }, { "info": "If true, enables automatic use of wielded pickaxes and jackhammers whenever trying to move into mineable terrain.", "default": "Default: False", "name": "AUTO_MINING", "value": "false" }, { "info": "Action to perform when 'Auto foraging' is enabled. Bushes: Only forage bushes. - Trees: Only forage trees. - Everything: Forage bushes, trees, and everything else including flowers, cattails etc.", "default": "Default: off - Values: off, bushes, trees, both", "name": "AUTO_FORAGING", "value": "off" }, { "info": "If false, will cause player to drop new items that cause them to exceed the weight limit.", "default": "Default: False", "name": "DANGEROUS_PICKUPS", "value": "true" }, { "info": "Always: You will be prompted to move onto dangerous tiles. Running: You will only be able to move onto dangerous tiles while running and will be prompted. Crouching: You will only be able to move onto a dangerous tile while crouching and will be prompted. Never: You will not be able to move onto a dangerous tile unless running and will not be warned or prompted.", "default": "Default: ALWAYS - Values: ALWAYS, RUNNING, CROUCHING, NEVER", "name": "DANGEROUS_TERRAIN_WARNING_PROMPT", "value": "ALWAYS" }, { "info": "If true, will hold the game and display a warning if a hostile monster/npc is approaching.", "default": "Default: True", "name": "SAFEMODE", "value": "true" }, { "info": "If safe mode is enabled, distance to hostiles at which safe mode should show a warning. 0 = Max player view distance. This option only has effect when no safe mode rule is specified. Otherwise, edit the default rule in Safe Mode Manager instead of this value.", "default": "Default: 0 - Min: 0, Max: 60", "name": "SAFEMODEPROXIMITY", "value": "0" }, { "info": "When true, safe mode will alert you of hostiles while you are driving a vehicle.", "default": "Default: False", "name": "SAFEMODEVEH", "value": "false" }, { "info": "If true, safe mode will automatically reactivate after a certain number of turns. See option 'Turns to auto reactivate safe mode.'", "default": "Default: False", "name": "AUTOSAFEMODE", "value": "false" }, { "info": "Number of turns after which safe mode is reactivated. Will only reactivate if no hostiles are in 'Safe mode proximity distance.'", "default": "Default: 50 - Min: 1, Max: 600", "name": "AUTOSAFEMODETURNS", "value": "50" }, { "info": "Number of turns an ignored monster stays ignored after it is no longer seen. 0 disables this option and monsters are permanently ignored.", "default": "Default: 200 - Min: 0, Max: 3600", "name": "SAFEMODEIGNORETURNS", "value": "200" }, { "info": "If enabled, monsters will take periodic gameplay turns. This value is the delay between each turn, in seconds. Works best with Safe Mode disabled. 0 = disabled.", "default": "Default: 0.00 - Min: 0.00, Max: 10.00", "name": "TURN_DURATION", "value": "0.00" }, { "info": "If true, game will periodically save the map. Autosaves occur based on in-game turns or real-time minutes, whichever is larger.", "default": "Default: True", "name": "AUTOSAVE", "value": "true" }, { "info": "Number of game turns between autosaves", "default": "Default: 50 - Min: 10, Max: 1000", "name": "AUTOSAVE_TURNS", "value": "50" }, { "info": "Number of real time minutes between autosaves", "default": "Default: 5 - Min: 0, Max: 127", "name": "AUTOSAVE_MINUTES", "value": "5" }, { "info": "If true, automatically sets notes", "default": "Default: False", "name": "AUTO_NOTES", "value": "false" }, { "info": "If true, automatically sets notes on places that have stairs that go up or down", "default": "Default: False", "name": "AUTO_NOTES_STAIRS", "value": "false" }, { "info": "If true, automatically sets notes on places that contain various map extras", "default": "Default: False", "name": "AUTO_NOTES_MAP_EXTRAS", "value": "false" }, { "info": "If true, the game will calculate range in a realistic way: light sources will be circles, diagonal movement will cover more ground and take longer. If disabled, everything is square: moving to the northwest corner of a building takes as long as moving to the north wall.", "default": "Default: True", "name": "CIRCLEDIST", "value": "true" }, { "info": "Set to drop empty containers after use. No: Don't drop any. - Watertight: All except watertight containers. - All: Drop all containers.", "default": "Default: no - Values: no, watertight, all", "name": "DROP_EMPTY", "value": "no" }, { "info": "Always: Always start deathcam. Ask: Query upon death. Never: Never show deathcam.", "default": "Default: ask - Values: always, ask, never", "name": "DEATHCAM", "value": "ask" }, { "info": "If true, music and sound are enabled.", "default": "Default: True", "name": "SOUND_ENABLED", "value": "true" }, { "info": "Choose the soundpack you want to use. Requires restart.", "default": "Default: basic - Values: basic", "name": "SOUNDPACKS", "value": "basic" }, { "info": "Adjust the volume of the music being played in the background.", "default": "Default: 100 - Min: 0, Max: 128", "name": "MUSIC_VOLUME", "value": "100" }, { "info": "Adjust the volume of sound effects being played by the game.", "default": "Default: 100 - Min: 0, Max: 128", "name": "SOUND_EFFECT_VOLUME", "value": "100" }, { "info": "Adjust the volume of ambient sounds being played by the game.", "default": "Default: 100 - Min: 0, Max: 128", "name": "AMBIENT_SOUND_VOLUME", "value": "100" }, { "info": "Switch Language.", "default": "Default: - Values: en", "name": "USE_LANG", "value": "en" }, { "info": "Switch between Celsius, Fahrenheit and Kelvin.", "default": "Default: fahrenheit - Values: fahrenheit, celsius, kelvin", "name": "USE_CELSIUS", "value": "celsius" }, { "info": "Switch between mph, km/h and tiles/turn.", "default": "Default: mph - Values: mph, km/h, t/t", "name": "USE_METRIC_SPEEDS", "value": "km/h" }, { "info": "Switch between kg and lbs.", "default": "Default: lbs - Values: lbs, kg", "name": "USE_METRIC_WEIGHTS", "value": "kg" }, { "info": "Switch between the Cup ( c ), Liter ( L ) or Quart ( qt ).", "default": "Default: l - Values: c, l, qt", "name": "VOLUME_UNITS", "value": "l" }, { "info": "Metric or Imperial", "default": "Default: imperial - Values: metric, imperial", "name": "DISTANCE_UNITS", "value": "metric" }, { "info": "12h: AM/PM, e.g. 7:31 AM - Military: 24h Military, e.g. 0731 - 24h: Normal 24h, e.g. 7:31", "default": "Default: 12h - Values: 12h, military, 24h", "name": "24_HOUR", "value": "24h" }, { "info": "Show brand names for guns, intead of generic functional names - 'm4a1' or 'h&k416a5' instead of 'NATO assault rifle'.", "default": "Default: False", "name": "SHOW_GUN_VARIANTS", "value": "false" }, { "info": "If true, the default ammo is added to weapon and magazine names. For example \"Mosin-Nagant M44 (4/5)\" becomes \"Mosin-Nagant M44 (4/5 7.62x54mm)\".", "default": "Default: True", "name": "AMMO_IN_NAMES", "value": "true" }, { "info": "Use key code or symbol input on SDL. Symbol is recommended for non-qwerty layouts since currently the default keybindings for key code mode only supports qwerty. Key code is currently WIP and bypasses IMEs, caps lock, and num lock.", "default": "Default: keychar - Values: keychar, keycode", "name": "SDL_KEYBOARD_MODE", "value": "keychar" }, { "info": "If true, prompts such as Y/N queries only accepts capital or modified letters, while lower case and unmodified letters only snap the cursor to the corresponding option.", "default": "Default: True", "name": "FORCE_CAPITAL_YN", "value": "false" }, { "info": "If true, automatically follow the crosshair when firing/throwing.", "default": "Default: False", "name": "SNAP_TO_TARGET", "value": "false" }, { "info": "If true, will query before disassembling items while butchering.", "default": "Default: True", "name": "QUERY_DISASSEMBLE", "value": "true" }, { "info": "If true, will query before removing a keybinding from a hotkey.", "default": "Default: True", "name": "QUERY_KEYBIND_REMOVAL", "value": "true" }, { "info": "If true, will close the advanced inventory when the move all items command is used.", "default": "Default: False", "name": "CLOSE_ADV_INV", "value": "false" }, { "info": "Open default advanced inventory layout instead of last opened layout", "default": "Default: False", "name": "OPEN_DEFAULT_ADV_INV", "value": "false" }, { "info": "If true, actions ( like \"Read\", \"Smoke\", \"Wrap tighter\" ) will be displayed next to the corresponding items.", "default": "Default: True", "name": "INV_USE_ACTION_NAMES", "value": "true" }, { "info": "If true, directional actions ( like \"Examine\", \"Open\", \"Pickup\" ) will autoselect an adjacent tile if there is exactly one valid target.", "default": "Default: True", "name": "AUTOSELECT_SINGLE_VALID_TARGET", "value": "true" }, { "info": "Highlight selected item's contents and parent container in inventory screen. \"Symbol\" shows a highlighted caret and \"Highlight\" uses font highlighting.", "default": "Default: symbol - Values: symbol, highlight, disable", "name": "INVENTORY_HIGHLIGHT", "value": "symbol" }, { "info": "Highlight unread recipes to allow tracking of newly learned recipes.", "default": "Default: True", "name": "HIGHLIGHT_UNREAD_RECIPES", "value": "true" }, { "info": "Allows diagonal movement with cursor keys using CTRL and SHIFT modifiers. Diagonal movement action keys are taken from keybindings, so you need these to be configured.", "default": "Default: none - Values: none, mode1, mode2, mode3", "name": "DIAG_MOVE_WITH_MODIFIERS_MODE", "value": "none" }, { "info": "If true, vehicle parts will change color if they are armor plated", "default": "Default: True", "name": "VEHICLE_ARMOR_COLOR", "value": "true" }, { "info": "If true, view will automatically shift towards the driving direction", "default": "Default: True", "name": "DRIVING_VIEW_OFFSET", "value": "true" }, { "info": "If true, when controlling a vehicle, a white 'X' ( in curses version ) or a crosshair ( in tiles version ) at distance 10 from the center will display its current facing.", "default": "Default: True", "name": "VEHICLE_DIR_INDICATOR", "value": "true" }, { "info": "If true, when driving a vehicle in reverse, steering should also reverse like real life.", "default": "Default: False", "name": "REVERSE_STEERING", "value": "false" }, { "info": "Switch between sidebar on the left or on the right side. Requires restart.", "default": "Default: right - Values: left, right", "name": "SIDEBAR_POSITION", "value": "right" }, { "info": "If true, adds an extra space between sidebar panels.", "default": "Default: False", "name": "SIDEBAR_SPACERS", "value": "false" }, { "info": "Where new log messages should show.", "default": "Default: new_bottom - Values: new_top, new_bottom", "name": "LOG_FLOW", "value": "new_bottom" }, { "info": "Number of turns after which a message will be removed from the sidebar log. '0' disables this option.", "default": "Default: 0 - Min: 0, Max: 1000", "name": "MESSAGE_TTL", "value": "0" }, { "info": "Number of turns during which similar messages are hidden. '0' disables this option.", "default": "Default: 0 - Min: 0, Max: 1000", "name": "MESSAGE_COOLDOWN", "value": "0" }, { "info": "Number of messages to preserve in the history, and when saving.", "default": "Default: 255 - Min: 1, Max: 10000", "name": "MESSAGE_LIMIT", "value": "10000" }, { "info": "If true, pressing a key with no set function will not display a notice in the chat log.", "default": "Default: False", "name": "NO_UNKNOWN_COMMAND_MSG", "value": "false" }, { "info": "Whether to trigger a popup window when completing an achievement. First: when completing an achievement that has not been completed in a previous game.", "default": "Default: first - Values: never, always, first", "name": "ACHIEVEMENT_COMPLETED_POPUP", "value": "always" }, { "info": "Switch between look around panel being left or right.", "default": "Default: right - Values: left, right", "name": "LOOKAROUND_POSITION", "value": "right" }, { "info": "Switch between pickup panel being left, right, or overlapping the sidebar.", "default": "Default: left - Values: left, right, overlapping", "name": "PICKUP_POSITION", "value": "left" }, { "info": "How should confidence and steadiness be communicated to the player.", "default": "Default: bars - Values: numbers, bars", "name": "ACCURACY_DISPLAY", "value": "bars" }, { "info": "Morale display style in sidebar.", "default": "Default: vertical - Values: vertical, horizontal", "name": "MORALE_STYLE", "value": "vertical" }, { "info": "If true, Advanced Inventory Manager menu will fit full screen, otherwise it will leave sidebar visible.", "default": "Default: False", "name": "AIM_WIDTH", "value": "false" }, { "info": "Move view by how many squares per keypress.", "default": "Default: 1 - Min: 1, Max: 50", "name": "MOVE_VIEW_OFFSET", "value": "1" }, { "info": "With Fast Scroll option enabled, shift view on the overmap and while looking around by this many squares per keypress.", "default": "Default: 5 - Min: 1, Max: 50", "name": "FAST_SCROLL_OFFSET", "value": "5" }, { "info": "If true, menus will start scrolling in the center of the list, and keep the list centered.", "default": "Default: True", "name": "MENU_SCROLL", "value": "false" }, { "info": "Centered or to edge, shift the view toward the selected item if it is outside of your current viewport.", "default": "Default: centered - Values: false, centered, edge", "name": "SHIFT_LIST_ITEM_VIEW", "value": "centered" }, { "info": "Enabled: automatically assign letters to any carried items that lack them. Disabled: do not auto-assign letters. Favorites: only auto-assign letters to favorited items.", "default": "Default: favorites - Values: disabled, enabled, favorites", "name": "AUTO_INV_ASSIGN", "value": "favorites" }, { "info": "If true, show item health bars instead of reinforced, scratched etc. text.", "default": "Default: True", "name": "ITEM_HEALTH_BAR", "value": "true" }, { "info": "If true, show item symbols in inventory and pick up menu.", "default": "Default: False", "name": "ITEM_SYMBOLS", "value": "false" }, { "info": "Enable input from joystick.", "default": "Default: True", "name": "ENABLE_JOYSTICK", "value": "true" }, { "info": "Show: Cursor is always shown. Hide: Cursor is hidden. HideKB: Cursor is hidden on keyboard input and unhidden on mouse movement.", "default": "Default: show - Values: show, hide, hidekb", "name": "HIDE_CURSOR", "value": "show" }, { "info": "Edge scrolling with the mouse.", "default": "Default: Normal", "name": "EDGE_SCROLL", "value": "-1" }, { "info": "If true, will display enabled animations.", "default": "Default: True", "name": "ANIMATIONS", "value": "true" }, { "info": "If true, will display weather animations.", "default": "Default: True", "name": "ANIMATION_RAIN", "value": "true" }, { "info": "If true, will display animations for projectiles like bullets, arrows, and thrown items.", "default": "Default: True", "name": "ANIMATION_PROJECTILES", "value": "true" }, { "info": "If true, will display scrolling combat text animations.", "default": "Default: True", "name": "ANIMATION_SCT", "value": "true" }, { "info": "If true, will display scrolling combat text with Unicode font.", "default": "Default: True", "name": "ANIMATION_SCT_USE_FONT", "value": "true" }, { "info": "The amount of time to pause between animation frames in ms.", "default": "Default: 10 - Min: 0, Max: 100", "name": "ANIMATION_DELAY", "value": "10" }, { "info": "If true, forces the game to redraw at least once per turn.", "default": "Default: True", "name": "FORCE_REDRAW", "value": "true" }, { "info": "If true, the title screen will use the art appropriate for the season.", "default": "Default: True", "name": "SEASONAL_TITLE", "value": "true" }, { "info": "Set the probability of the alternate title screen appearing.", "default": "Default: 10 - Min: 0, Max: 100", "name": "ALT_TITLE", "value": "10" }, { "info": "Set the size of the terminal along the X axis.", "default": "Default: 80 - Min: 80, Max: 960", "name": "TERMINAL_X", "value": "240" }, { "info": "Set the size of the terminal along the Y axis.", "default": "Default: 24 - Min: 24, Max: 270", "name": "TERMINAL_Y", "value": "63" }, { "info": "If true, fonts will look better.", "default": "Default: False", "name": "FONT_BLENDING", "value": "false" }, { "info": "Set the font width. Requires restart.", "default": "Default: 8 - Min: 8, Max: 100", "name": "FONT_WIDTH", "value": "8" }, { "info": "Set the font height. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "FONT_HEIGHT", "value": "16" }, { "info": "Set the font size. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "FONT_SIZE", "value": "16" }, { "info": "Set the map font width. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "MAP_FONT_WIDTH", "value": "16" }, { "info": "Set the map font height. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "MAP_FONT_HEIGHT", "value": "16" }, { "info": "Set the map font size. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "MAP_FONT_SIZE", "value": "16" }, { "info": "Set the overmap font width. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "OVERMAP_FONT_WIDTH", "value": "16" }, { "info": "Set the overmap font height. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "OVERMAP_FONT_HEIGHT", "value": "16" }, { "info": "Set the overmap font size. Requires restart.", "default": "Default: 16 - Min: 8, Max: 100", "name": "OVERMAP_FONT_SIZE", "value": "16" }, { "info": "Use SDL ASCII line drawing routine instead of Unicode Line Drawing characters. Use this option when your selected font doesn't contain necessary glyphs.", "default": "Default: True", "name": "USE_DRAW_ASCII_LINES_ROUTINE", "value": "true" }, { "info": "When available item and monster description will show a picture of the object in ascii art.", "default": "Default: True", "name": "ENABLE_ASCII_ART", "value": "true" }, { "info": "If true, replaces some TTF rendered text with tiles.", "default": "Default: True", "name": "USE_TILES", "value": "true" }, { "info": "Choose the tileset you want to use.", "default": "Default: UltimateCataclysm - Values: ASCIITiles, brownlikebears, ChestHole16, Chibi_Ultica, Cuteclysm(Alpha), HitButton_iso, hoder, MshockXottoplus, neodays, retrodays, UltimateCataclysm", "name": "TILES", "value": "UltimateCataclysm" }, { "info": "If true, replaces some TTF-rendered text with tiles for overmap display.", "default": "Default: False", "name": "USE_TILES_OVERMAP", "value": "false" }, { "info": "Specified the overlay in which the memory map is drawn. Requires restart. For custom overlay define gamma and RGB values for dark and light colors.", "default": "Default: color_pixel_sepia_light - Values: color_pixel_darken, color_pixel_sepia_light, color_pixel_sepia_dark, color_pixel_blue_dark, color_pixel_custom", "name": "MEMORY_MAP_MODE", "value": "color_pixel_sepia_light" }, { "info": "Specify RGB value for color RED for dark color overlay.", "default": "Default: 39 - Min: 0, Max: 255", "name": "MEMORY_RGB_DARK_RED", "value": "39" }, { "info": "Specify RGB value for color GREEN for dark color overlay.", "default": "Default: 23 - Min: 0, Max: 255", "name": "MEMORY_RGB_DARK_GREEN", "value": "23" }, { "info": "Specify RGB value for color BLUE for dark color overlay.", "default": "Default: 19 - Min: 0, Max: 255", "name": "MEMORY_RGB_DARK_BLUE", "value": "19" }, { "info": "Specify RGB value for color RED for bright color overlay.", "default": "Default: 241 - Min: 0, Max: 255", "name": "MEMORY_RGB_BRIGHT_RED", "value": "241" }, { "info": "Specify RGB value for color GREEN for bright color overlay.", "default": "Default: 220 - Min: 0, Max: 255", "name": "MEMORY_RGB_BRIGHT_GREEN", "value": "220" }, { "info": "Specify RGB value for color BLUE for bright color overlay.", "default": "Default: 163 - Min: 0, Max: 255", "name": "MEMORY_RGB_BRIGHT_BLUE", "value": "163" }, { "info": "Specify gamma value for overlay.", "default": "Default: 1.60 - Min: 1.00, Max: 3.00", "name": "MEMORY_GAMMA", "value": "1.60" }, { "info": "If true, shows the pixel-detail minimap in game after the save is loaded. Use the 'Toggle Pixel Minimap' action key to change its visibility during gameplay.", "default": "Default: True", "name": "PIXEL_MINIMAP", "value": "true" }, { "info": "Specified the mode in which the minimap drawn.", "default": "Default: dots - Values: solid, squares, dots", "name": "PIXEL_MINIMAP_MODE", "value": "dots" }, { "info": "Overall brightness of pixel-detail minimap.", "default": "Default: 100 - Min: 10, Max: 300", "name": "PIXEL_MINIMAP_BRIGHTNESS", "value": "100" }, { "info": "Height of pixel-detail minimap, measured in terminal rows. Set to 0 for default spacing.", "default": "Default: 0 - Min: 0, Max: 100", "name": "PIXEL_MINIMAP_HEIGHT", "value": "0" }, { "info": "Scale pixel minimap to fit its surroundings. May produce crappy results, especially in modes other than \"Solid\".", "default": "Default: False", "name": "PIXEL_MINIMAP_SCALE_TO_FIT", "value": "false" }, { "info": "Preserves the square shape of tiles shown on the pixel minimap.", "default": "Default: True", "name": "PIXEL_MINIMAP_RATIO", "value": "true" }, { "info": "Controls how big the creature beacons are. Value is in minimap tiles.", "default": "Default: 2 - Min: 1, Max: 4", "name": "PIXEL_MINIMAP_BEACON_SIZE", "value": "2" }, { "info": "Controls how fast the hostile creature beacons blink on the pixel minimap. Value is multiplied by 200 ms. Set to 0 to disable.", "default": "Default: 10 - Min: 0, Max: 50", "name": "PIXEL_MINIMAP_BLINK", "value": "10" }, { "info": "Sets which video display will be used to show the game. Requires restart.", "default": "Default: 0 - Values: 0", "name": "DISPLAY", "value": "0" }, { "info": "Starts Cataclysm in one of the fullscreen modes. Requires restart.", "default": "Default: windowedbl - Values: no, maximized, fullscreen, windowedbl", "name": "FULLSCREEN", "value": "fullscreen" }, { "info": "Set which renderer to use. Requires restart.", "default": "Default: direct3d11 - Values: direct3d, direct3d11, opengl, opengles2, software", "name": "RENDERER", "value": "direct3d" }, { "info": "Use render batching for 2D render API to make it more efficient. Requires restart.", "default": "Default: True", "name": "RENDER_BATCHING", "value": "true" }, { "info": "Use hardware acceleration for the framebuffer when using software rendering. Requires restart.", "default": "Default: False", "name": "FRAMEBUFFER_ACCEL", "value": "false" }, { "info": "If true, tries to use color modulated textures to speed-up ASCII drawing. Requires restart.", "default": "Default: False", "name": "USE_COLOR_MODULATED_TEXTURES", "value": "false" }, { "info": "Sets the scaling mode, 'none' ( default ) displays at the game's native resolution, 'nearest' uses low-quality but fast scaling, and 'linear' provides high-quality scaling.", "default": "Default: none - Values: none, nearest, linear", "name": "SCALING_MODE", "value": "none" }, { "info": "Factor by which to scale the display. Requires restart.", "default": "Default: 1 - Values: 1, 2, 4", "name": "SCALING_FACTOR", "value": "1" }, { "info": "Handling of game world when last character dies.", "default": "Default: reset - Values: reset, delete, query, keep", "name": "WORLD_END", "value": "query" }, { "info": "A number determining how large cities are. A higher number means larger cities. 0 disables cities, roads and any scenario requiring a city start.", "default": "Default: 8 - Min: 0, Max: 16", "name": "CITY_SIZE", "value": "8" }, { "info": "A number determining how far apart cities are. A higher number means cities are further apart. Warning, small numbers lead to very slow mapgen.", "default": "Default: 4 - Min: 0, Max: 8", "name": "CITY_SPACING", "value": "4" }, { "info": "A scaling factor that determines density of monster spawns. A higher number means more monsters.", "default": "Default: 1.00 - Min: 0.00, Max: 50.00", "name": "SPAWN_DENSITY", "value": "1.00" }, { "info": "A scaling factor that determines density of item spawns. A higher number means more items.", "default": "Default: 1.00 - Min: 0.01, Max: 10.00", "name": "ITEM_SPAWNRATE", "value": "1.00" }, { "info": "Baseline average number of days between random NPC spawns. Average duration goes up with the number of NPCs already spawned. A higher number means fewer NPCs. Set to 0 days to disable random NPCs.", "default": "Default: 4.00 - Min: 0.00, Max: 100.00", "name": "NPC_SPAWNTIME", "value": "4.00" }, { "info": "A scaling factor that determines the time between monster upgrades. A higher number means slower evolution. Set to 0.00 to turn off monster upgrades.", "default": "Default: 4.00 - Min: 0.00, Max: 100.00", "name": "MONSTER_UPGRADE_FACTOR", "value": "4.00" }, { "info": "Determines the movement rate of monsters. A higher value increases monster speed and a lower reduces it. Requires world reset.", "default": "Default: 100 - Min: 1, Max: 1000", "name": "MONSTER_SPEED", "value": "100%" }, { "info": "Determines how much damage monsters can take. A higher value makes monsters more resilient and a lower makes them more flimsy. Requires world reset.", "default": "Default: 100 - Min: 1, Max: 1000", "name": "MONSTER_RESILIENCE", "value": "100%" }, { "info": "( WIP feature ) Determines terrain, shops, plants, and more.", "default": "Default: default - Values: default, desert_test", "name": "DEFAULT_REGION", "value": "default" }, { "info": "Initial starting time of day on character generation.", "default": "Default: 8 - Min: 0, Max: 23", "name": "INITIAL_TIME", "value": "8" }, { "info": "How many days into the year the cataclysm occurred. Day 0 is Spring 1. Day -1 randomizes the start date. Can be overridden by scenarios. This does not advance food rot or monster evolution.", "default": "Default: 60 - Min: -1, Max: 999", "name": "INITIAL_DAY", "value": "60" }, { "info": "How many days after the cataclysm the player spawns. Day 0 is the day of the cataclysm. Can be overridden by scenarios. Increasing this will cause food rot and monster evolution to advance.", "default": "Default: 0 - Min: 0, Max: 9999", "name": "SPAWN_DELAY", "value": "0" }, { "info": "Season length, in days. Warning: Very little other than the duration of seasons scales with this value, so adjusting it may cause nonsensical results.", "default": "Default: 91 - Min: 14, Max: 127", "name": "SEASON_LENGTH", "value": "91" }, { "info": "Sets the time of construction in percents. '50' is two times faster than default, '200' is two times longer. '0' automatically scales construction time to match the world's season length.", "default": "Default: 100 - Min: 0, Max: 1000", "name": "CONSTRUCTION_SCALING", "value": "100" }, { "info": "Keep the initial season for ever.", "default": "Default: False", "name": "ETERNAL_SEASON", "value": "false" }, { "info": "Emulation of zombie hordes. Zombies can group together into hordes, which can wander around cities and will sometimes move towards noise. Note: the current implementation does not properly respect obstacles, so hordes can appear to walk through walls under some circumstances. Must reset world directory after changing for it to take effect.", "default": "Default: False", "name": "WANDER_SPAWNS", "value": "false" }, { "info": "If true, spawn zombies at shelters. Makes the starting game a lot harder.", "default": "Default: False", "name": "BLACK_ROAD", "value": "false" }, { "info": "If true, radiation causes the player to mutate.", "default": "Default: True", "name": "RAD_MUTATION", "value": "true" }, { "info": "Allowed point pools for character generation.", "default": "Default: any - Values: any, multi_pool, no_freeform", "name": "CHARACTER_POINT_POOLS", "value": "any" }, { "info": "Determines the scope, which is known in the beginning of the game.", "default": "Default: 15 - Min: 3, Max: 20", "name": "DISTANCE_INITIAL_VISIBILITY", "value": "15" }, { "info": "Initial points available to spend on stats on character generation.", "default": "Default: 6 - Min: 0, Max: 1000", "name": "INITIAL_STAT_POINTS", "value": "6" }, { "info": "Initial points available to spend on traits on character generation.", "default": "Default: 0 - Min: 0, Max: 1000", "name": "INITIAL_TRAIT_POINTS", "value": "0" }, { "info": "Initial points available to spend on skills on character generation.", "default": "Default: 2 - Min: 0, Max: 1000", "name": "INITIAL_SKILL_POINTS", "value": "2" }, { "info": "Maximum trait points available for character generation.", "default": "Default: 12 - Min: 0, Max: 1000", "name": "MAX_TRAIT_POINTS", "value": "12" }, { "info": "Scales experience gained from practicing skills and reading books. 0.5 is half as fast as default, 2.0 is twice as fast, 0.0 disables skill training except for NPC training.", "default": "Default: 1.00 - Min: 0.00, Max: 100.00", "name": "SKILL_TRAINING_SPEED", "value": "1.00" }, { "info": "Set the level of skill rust. Vanilla: Vanilla Cataclysm - Capped: Capped at skill levels 2 - Int: Intelligence dependent - IntCap: Intelligence dependent, capped - Off: None at all.", "default": "Default: off - Values: vanilla, capped, int, intcap, off", "name": "SKILL_RUST", "value": "off" }, { "info": "If false, vision is limited to current z-level. If true and the world is in z-level mode, the vision will extend beyond current z-level. Currently very bugged!", "default": "Default: False", "name": "FOV_3D", "value": "true" }, { "info": "How many levels up and down the experimental 3D field of vision reaches. (This many levels up, this many levels down.) 3D vision of the full height of the world can slow the game down a lot. Seeing fewer Z-levels is faster.", "default": "Default: 4 - Min: 0, Max: 21", "name": "FOV_3D_Z_RANGE", "value": "4" }, { "info": "If true, file path names are going to be transcoded from system encoding to UTF-8 when reading and will be transcoded back when writing. Mainly for CJK Windows users.", "default": "Default: True", "name": "ENCODING_CONV", "value": "true" } ] ```

When compiling myself:

debug.log ``` ----------------------------------------- 10:37:58.733 : Starting log. 10:37:58.733 INFO : Cataclysm DDA version 0.F-2157-g7f73bd02fa 10:37:58.734 INFO : [main] C locale set to C 10:37:58.734 INFO : [main] C++ locale set to C 10:37:58.734 INFO : SDL version used during compile is 2.0.14 10:37:58.734 INFO : SDL version used during linking and in runtime is 2.0.14 10:37:58.792 INFO : Number of render drivers on your system: 5 10:37:58.792 INFO : Render driver: 0/direct3d 10:37:58.792 INFO : Render driver: 1/direct3d11 10:37:58.792 INFO : Render driver: 2/opengl 10:37:58.792 INFO : Render driver: 3/opengles2 10:37:58.792 INFO : Render driver: 4/software 10:37:58.801 INFO : [options] C locale set to C 10:37:58.801 INFO : [options] C++ locale set to C 10:37:59.123 INFO : Active renderer: 1/direct3d11 10:37:59.953 INFO : USE_COLOR_MODULATED_TEXTURES is set to 0 10:38:00.386 WARNING : opendir [./mods/] failed with "No such process". 10:38:13.126 WARNING : opendir [./save/Dedup/mods] failed with "No such process". ```

But I encourage anyone to just try it, it's so simple it blows my mind it's still there.

hexagonrecursion commented 3 years ago

I did try reproducing this. In the process of doing so I found two other bugs (#51189 #51191) but neither matches your description.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not \'bump\' or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered.

Night-Pryanik commented 1 year ago

Closing as stale, since stalebot can't do this by itself.