Closed AMDmi3 closed 2 years ago
Sorry for not responding before; I had missed this issue. I couldn't reproduce it with the latest version (5.1.1), so I suppose it is fixed now?
Let me check tomorrow
Now the game closes when trying to run any scenario. Running custom game works fine though. I currently have wyrmgus 59abd72 and wyrmsun 5.1.1, could it be that they are out of sync?
Can't open file 'scripts/map_templates/campaign.sms': No such file or directory
[2021.09.28 19:50:59] Can't load lua file: "scripts/map_templates/campaign.sms".
[2021.09.28 19:50:59] Error running map "scripts/map_templates/campaign.smp".
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:9: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:40: TypeError: Cannot read property 'icon' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ()
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:41: TypeError: Cannot read property 'player_color' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ))
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:8: TypeError: Cannot read property 'faction' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:7: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:6: TypeError: Cannot read property 'tree_parent' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:8: TypeError: Cannot read property 'tree_x' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:9: TypeError: Cannot read property 'tree_y' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:10: TypeError: Cannot read property 'tree_width' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:
)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:16: TypeError: Cannot read property 'tree_line_visible' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:17: TypeError: Cannot read property 'quest' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:18: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:19: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:9: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:40: TypeError: Cannot read property 'icon' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ()
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:41: TypeError: Cannot read property 'player_color' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ))
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:8: TypeError: Cannot read property 'faction' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:7: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:6: TypeError: Cannot read property 'tree_parent' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:8: TypeError: Cannot read property 'tree_x' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:9: TypeError: Cannot read property 'tree_y' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:10: TypeError: Cannot read property 'tree_width' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:
)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:16: TypeError: Cannot read property 'tree_line_visible' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:17: TypeError: Cannot read property 'quest' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:18: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:19: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/menus/CampaignMenu.qml:24: TypeError: Cannot read property 'faction' of null (file:///usr/local/share/wyrmsun/interface/menus/CampaignMenu.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/menus/CampaignMenu.qml:11: TypeError: Cannot read property 'faction' of null (file:///usr/local/share/wyrmsun/interface/menus/CampaignMenu.qml:
)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:9: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:40: TypeError: Cannot read property 'icon' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ()
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:41: TypeError: Cannot read property 'player_color' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ))
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:8: TypeError: Cannot read property 'faction' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:7: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:6: TypeError: Cannot read property 'tree_parent' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:8: TypeError: Cannot read property 'tree_x' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:9: TypeError: Cannot read property 'tree_y' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:10: TypeError: Cannot read property 'tree_width' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:
)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:16: TypeError: Cannot read property 'tree_line_visible' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:17: TypeError: Cannot read property 'quest' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:18: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:19: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:9: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:40: TypeError: Cannot read property 'icon' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ()
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:41: TypeError: Cannot read property 'player_color' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ))
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:8: TypeError: Cannot read property 'faction' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:7: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:6: TypeError: Cannot read property 'tree_parent' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:8: TypeError: Cannot read property 'tree_x' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:9: TypeError: Cannot read property 'tree_y' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:10: TypeError: Cannot read property 'tree_width' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:
)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:16: TypeError: Cannot read property 'tree_line_visible' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:17: TypeError: Cannot read property 'quest' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:18: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:19: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:9: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:40: TypeError: Cannot read property 'icon' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ()
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:41: TypeError: Cannot read property 'player_color' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ))
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:8: TypeError: Cannot read property 'faction' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:7: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:6: TypeError: Cannot read property 'tree_parent' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:8: TypeError: Cannot read property 'tree_x' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:9: TypeError: Cannot read property 'tree_y' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:10: TypeError: Cannot read property 'tree_width' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:
)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:16: TypeError: Cannot read property 'tree_line_visible' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:17: TypeError: Cannot read property 'quest' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:18: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:19: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:9: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:40: TypeError: Cannot read property 'icon' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ()
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:41: TypeError: Cannot read property 'player_color' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ))
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:8: TypeError: Cannot read property 'faction' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:7: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:6: TypeError: Cannot read property 'tree_parent' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:8: TypeError: Cannot read property 'tree_x' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:9: TypeError: Cannot read property 'tree_y' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:10: TypeError: Cannot read property 'tree_width' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:
)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:16: TypeError: Cannot read property 'tree_line_visible' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:17: TypeError: Cannot read property 'quest' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:18: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:19: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:9: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:40: TypeError: Cannot read property 'icon' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ()
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:41: TypeError: Cannot read property 'player_color' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: ))
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:8: TypeError: Cannot read property 'faction' of null (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml:7: TypeError: Value is null and could not be converted to an object (file:///usr/local/share/wyrmsun/interface/TreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:6: TypeError: Cannot read property 'tree_parent' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:8: TypeError: Cannot read property 'tree_x' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:9: TypeError: Cannot read property 'tree_y' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:10: TypeError: Cannot read property 'tree_width' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:
)
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:16: TypeError: Cannot read property 'tree_line_visible' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:17: TypeError: Cannot read property 'quest' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:18: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
[2021.09.28 19:50:59] Warning: file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml:19: TypeError: Cannot read property 'available' of null (file:///usr/local/share/wyrmsun/interface/CampaignTreeIconButton.qml: )
Thanks for playing Wyrmsun.
Thanks for the report :)
I can't reproduce the issue on master for both repositories for Windows, for what that's worth.
The UI errors are just a consequence of an exit-on-error problem which was present in the Wyrmgus code then, but which I have since fixed on master.
So the main error is that the campaign.sms file was not found. It is probably not actually missing, since that file is quite old by now. More likely, the path resolution is failing on Linux for some reason. For custom games, the list of map paths is built by the engine, and the map is then loaded already with an absolute path, which is probably why it worked fine.
Although, it is strange that it seems to be able to load the .smp file without issues, but fails to load the .sms (the .smp is loaded first).
If you have the time, it would be good to verify whether you get the same error when using master for both repositories.
I'm trying 5.2.0 now, and I've found the cause. I've run it under ktrace
, here's last files it accesses:
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/graphics/interface/dwarven/pulldown_bar_normal.png"
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/graphics/interface/dwarven/down_arrow_normal.png"
5570 wyrmgus NAMI "//usr/local/share/wyrmsun/graphics/backgrounds/+C"
5570 wyrmgus NAMI "//usr/local/share/wyrmsun/graphics/backgrounds/+unix"
5570 wyrmgus NAMI "//usr/local/share/wyrmsun/graphics/backgrounds/+freebsd"
5570 wyrmgus NAMI "//usr/local/share/wyrmsun/graphics/backgrounds/+freebsd"
5570 wyrmgus NAMI "//usr/local/share/wyrmsun/graphics/backgrounds/dwarven_victory_sepia.png"
5570 wyrmgus NAMI "//usr/local/share/wyrmsun/graphics/backgrounds/dwarven_victory_sepia.png"
5570 wyrmgus NAMI "/home/marakasov/.cache/qtshadercache-x86_64-little_endian-lp64/5cc098bc5354d98253495e89cc26ca4ba78a3a15"
5570 wyrmgus NAMI "/home/marakasov/.cache/mesa_shader_cache/bc/f44d911ecf3b19ba8a2877f2983bb80ccb73ec"
5570 wyrmgus NAMI "/home/marakasov/.cache/mesa_shader_cache/c1/d4b95772cf3987e16b6f46f1aece5389a06943"
5570 wyrmgus NAMI "/home/marakasov/.cache/mesa_shader_cache/2a/3e3cd3f8ca0763b571be5352b8da2a1d58dc7d"
5570 wyrmgus NAMI "scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "scripts/map_templates/campaign.smp.gz"
5570 wyrmgus NAMI "/home/marakasov/.stratagus/wyr/scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "/home/marakasov/.stratagus/wyr/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus NAMI "/home/marakasov/.stratagus/scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "/home/marakasov/.stratagus/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "/home/marakasov/.cache/mesa_shader_cache/f0/e1852459f68f1fcd41cb34f254ddc362c355a9"
5570 wyrmgus NAMI "/home/marakasov/.cache/mesa_shader_cache/57/2afe39607fc01c58a9cbffb8f61d915c446f1a"
5570 wyrmgus NAMI "scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "scripts/map_templates/campaign.smp.gz"
5570 wyrmgus NAMI "/home/marakasov/.stratagus/wyr/scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "/home/marakasov/.stratagus/wyr/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus NAMI "/home/marakasov/.stratagus/scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "/home/marakasov/.stratagus/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "scripts/map_templates/campaign.smp.gz"
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus NAMI "/home/marakasov/.stratagus/wyr/scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "/home/marakasov/.stratagus/wyr/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus NAMI "/home/marakasov/.stratagus/scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "/home/marakasov/.stratagus/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/campaign.smp"
5570 wyrmgus NAMI "scripts/map_templates/campaign.sms"
5570 wyrmgus NAMI "scripts/map_templates/campaign.sms.gz"
As you can see, it accesses campaign.sms
via a relative path, and that obviously fails.
When running under /usr/local/share/wyrmsun
it starts the quest successfully, because it can find the file via a relative path in that case.
Here's a closeup on how it accesses campaign.sm?
. It tries a lot of locations for campaign.smp
and finally succeeds to find it in the /usr/local/share/wyrmsun
, but for some reason the same does not happen for campaign.sms
.
5570 wyrmgus NAMI "scripts/map_templates/campaign.smp"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "scripts/map_templates/campaign.smp.gz"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/home/marakasov/.stratagus/wyr/scripts/map_templates/campaign.smp"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/home/marakasov/.stratagus/wyr/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/home/marakasov/.stratagus/scripts/map_templates/campaign.smp"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/home/marakasov/.stratagus/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/campaign.smp"
5570 wyrmgus STRU struct stat {dev=12403767550864914073, ino=733972, mode=0100644, nlink=1, uid=0, gid=0, rdev=18446744073709551615, atime=1633360990, mtime=1633327649, ctime=1633361110.469417000, birthtime=1633327649, size=206, blksize=4096, blocks=9, flags=0x800 }
--
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/campaign.smp"
5570 wyrmgus RET open 21/0x15
--
5570 wyrmgus NAMI "scripts/map_templates/campaign.smp"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "scripts/map_templates/campaign.smp.gz"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/home/marakasov/.stratagus/wyr/scripts/map_templates/campaign.smp"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/home/marakasov/.stratagus/wyr/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/home/marakasov/.stratagus/scripts/map_templates/campaign.smp"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/home/marakasov/.stratagus/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/campaign.smp"
5570 wyrmgus STRU struct stat {dev=12403767550864914073, ino=733972, mode=0100644, nlink=1, uid=0, gid=0, rdev=18446744073709551615, atime=1633360990, mtime=1633327649, ctime=1633361110.469417000, birthtime=1633327649, size=206, blksize=4096, blocks=9, flags=0x800 }
--
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/campaign.smp"
5570 wyrmgus RET open 16/0x10
--
5570 wyrmgus NAMI "scripts/map_templates/campaign.smp"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "scripts/map_templates/campaign.smp.gz"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/scripts/map_templates/campaign.smp"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/home/marakasov/.stratagus/wyr/scripts/map_templates/campaign.smp"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/home/marakasov/.stratagus/wyr/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/home/marakasov/.stratagus/scripts/map_templates/campaign.smp"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/home/marakasov/.stratagus/scripts/map_templates/campaign.smp.gz"
5570 wyrmgus RET fstatat -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/campaign.smp"
5570 wyrmgus STRU struct stat {dev=12403767550864914073, ino=733972, mode=0100644, nlink=1, uid=0, gid=0, rdev=18446744073709551615, atime=1633360990, mtime=1633327649, ctime=1633361110.469417000, birthtime=1633327649, size=206, blksize=4096, blocks=9, flags=0x800 }
--
5570 wyrmgus NAMI "/usr/local/share/wyrmsun/scripts/map_templates/campaign.smp"
5570 wyrmgus RET open 16/0x10
--
5570 wyrmgus NAMI "scripts/map_templates/campaign.sms"
5570 wyrmgus RET open -1 errno 2 No such file or directory
--
5570 wyrmgus NAMI "scripts/map_templates/campaign.sms.gz"
5570 wyrmgus RET openat -1 errno 2 No such file or directory
@AMDmi3 Thanks for looking further into it! I've made some commits now which make the campaign.smp file use an absolute file path: https://github.com/Andrettin/Wyrmgus/commit/7729cadfb1882993d8a8427d198d5e3de0157a76 https://github.com/Andrettin/Wyrmgus/commit/e8917b104a69094a44caf547e053220d71c8dc74 https://github.com/Andrettin/Wyrmgus/commit/9054c2fbdb81b93ec974c9928dc6e0db6d897fff https://github.com/Andrettin/Wyrmgus/commit/fe59774ef52f70b81e2277d2b4921450dcc10925 https://github.com/Andrettin/Wyrmsun/commit/0762decae259daa2c358a7f3024c7fa0e2d29d69
Thank you! Wyrmgus eca99a1 / Wyrmsun 1c37d7c now work fine.
I'm happy to hear!
For the note, "The first dwarves" scenario runs fine. However when starting "On the vanaquisl":
So it looks like it's trying to call random with max < min. This happens in
CPlayer::accept_quest
, when quest seems to beWodanaz must survive
. The crash is gone after commenting out this line:https://github.com/Andrettin/Wyrmsun/blob/master/scripts/civilizations/germanic/quests.lua#L45
So it happens in
CreateCreeps
, probably due to incorrect coordinates passed.