- How the bug can be encountered/replicated
- The bug occurs when attempting to select a slave for a slave request quest
I believe it is caused by CharacterClass.valuecheck attempting to access the status of the character, however based on the error report, I believe that some character passed into the check doesn't contain a status value, so its attempting to access something which doesn't exist
I ran some tests based on the clues, and determined the below output (see crashlog) based on this code:
'has_status':
if not "status" in i:
print("No status value detected for " + get_short_name())
check = has_status(i.status) == i.check
Was there a change in how character data was generated / stored between 0.11.0e and 0.12.0? Whilst this is a fresh save, I'm wondering if perhaps there is left over code from an old access method, and you had changed the access logic but missed that?
- The bug occurs when attempting to select a slave for a slave request quest
- Your OS
- Windows 10
- Windows 10
- Your crash log - Stored in same place as saves
- Godot Engine v3.5.1.stable.official.6fed1ffa3 - https://godotengine.org
OpenGL ES 3.0 Renderer: NVIDIA GeForce RTX 3080/PCIe/SSE2
Async. shader compilation: OFF
Game Version: 0.12.0
OS: Windows
Generating portrait attribute cache took 0 minutes and 0 seconds.
Mod Loader: 4.0
faster combat animations
No status value detected for Daisy
SCRIPT ERROR: Invalid get index 'status' (on base: 'Dictionary'). at: valuecheck (res://src/character/CharacterClass.gd:1479) - Invalid get index 'status' (on base: 'Dictionary'). No status value detected for Lera - SCRIPT ERROR: Invalid get index 'status' (on base: 'Dictionary'). at: valuecheck (res://src/character/CharacterClass.gd:1479) - Invalid get index 'status' (on base: 'Dictionary'). No status value detected for Jann
- SCRIPT ERROR: Invalid get index 'status' (on base: 'Dictionary'). at: valuecheck (res://src/character/CharacterClass.gd:1479) - Invalid get index 'status' (on base: 'Dictionary'). No status value detected for Trisstina
- SCRIPT ERROR: Invalid get index 'status' (on base: 'Dictionary'). at: valuecheck (res://src/character/CharacterClass.gd:1479) - Invalid get index 'status' (on base: 'Dictionary').
- Godot Engine v3.5.1.stable.official.6fed1ffa3 - https://godotengine.org