I've got a potential cause for this. Anyone experiencing this bug, go to:
C:\Program Files (x86)\DefendersQuest\DefendersQuest\
And look for "config.xml" My hypothesis is that if this file is missing, the game will crash. Can you confirm this?
What I think is happening is I added logic recently that tries to read from this file earlier in the game than usual. Normally, if the file is missing, it recreates it with default values. However, I think these early reads are "unsafe" and trying to read from it without checking to see if it exists, and happening BEFORE the "recreate if missing" logic. So, if the guess is correct, only people missing the file should have the bug.
Secondly, if you copy-paste this text into a file you name config.xml file and dump into that directory, the bug should go away:
- Code: Select all
<config>
<locale value="en-US"/>
<game version="1.0.34" demo="false"/>
<volume sfx="0.5" music="0.5"/>
<mute sfx="false" music="false"/>
<show_tutorials value="default"/>
<show_dialogue value="never"/>
<show_flashing value="true"/>
<show_battle_numbers value="false"/>
<particles value="0.5"/>
<aoe_hilight value="false"/>
<default_game_speed value="0.5"/>
<exp_mult value="1"/>
<gold_mult value="1"/>
<fail_penalty value="0.5"/>
<bench_penalty value="0"/>
<video window="fullscreen" scale="false" change_res="false">
<offset x="0" y="0"/>
<mode width="1440" height="900" depth="32" frequency="60"/>
</video>
<tracking value="true"/>
<eula accepted="true"/>
<facebook like="false" sucks="false" haggle="false"/>
<mouse cursor="default"/>
<controls preset_to_use="qwerty">
<keys verb="spell">
<key id="ONE" value="0"/>
<key id="TWO" value="1"/>
<key id="THREE" value="2"/>
<key id="FOUR" value="3"/>
<key id="FIVE" value="4"/>
<key id="SIX" value="5"/>
</keys>
<keys verb="class">
<key id="Q" value="0"/>
<key id="W" value="1"/>
<key id="E" value="2"/>
<key id="R" value="3"/>
<key id="T" value="4"/>
<key id="Y" value="5"/>
</keys>
<keys verb="character">
<key id="A" value="0"/>
<key id="S" value="1"/>
<key id="D" value="2"/>
<key id="F" value="3"/>
<key id="G" value="4"/>
<key id="H" value="5"/>
</keys>
<keys verb="target">
<key id="U" value="0"/>
<key id="I" value="1"/>
<key id="O" value="2"/>
<key id="P" value="3"/>
<key id="LBRACKET" value="4"/>
</keys>
<keys verb="target_option">
<key id="SEVEN" value="0"/>
<key id="EIGHT" value="1"/>
<key id="NINE" value="2"/>
<key id="ZERO" value="3"/>
</keys>
<back_key id="ESCAPE"/>
<pause_key id="SPACE"/>
<faster_key id="EQUALS"/>
<slower_key id="MINUS"/>
<boost_key id="B"/>
<recall_key id="DELETE"/>
<cycle left="COMMA" right="PERIOD"/>
<tab left="ACCENT" right="TAB"/>
<navigate_scroll>
<keys up="UP" down="DOWN" left="LEFT" right="RIGHT"/>
</navigate_scroll>
<keyboard_cursor speed="1" enabled="false" accel="1.05">
<keys up="NUM8" down="NUM2" left="NUM4" right="NUM6" click="ENTER"/>
</keyboard_cursor>
</controls>
<unlock>
<challenge id="0" unlocked="false"/>
<challenge id="1" unlocked="false"/>
<challenge id="2" unlocked="false"/>
<challenge id="3" unlocked="false"/>
<challenge id="4" unlocked="false"/>
<challenge id="5" unlocked="false"/>
<challenge id="6" unlocked="false"/>
<challenge id="7" unlocked="false"/>
<challenge id="8" unlocked="false"/>
<challenge id="9" unlocked="false"/>
<challenge id="10" unlocked="false"/>
<challenge id="11" unlocked="false"/>
<challenge id="12" unlocked="false"/>
<challenge id="13" unlocked="false"/>
<reward id="0" unlocked="false"/>
<reward id="1" unlocked="false"/>
<reward id="2" unlocked="false"/>
<reward id="3" unlocked="false"/>
<reward id="4" unlocked="false"/>
<reward id="5" unlocked="false"/>
<reward id="6" unlocked="false"/>
<reward id="7" unlocked="false"/>
<reward id="8" unlocked="false"/>
<reward id="9" unlocked="false"/>
<reward id="10" unlocked="false"/>
<reward id="11" unlocked="false"/>
<reward id="12" unlocked="false"/>
<reward id="13" unlocked="false"/>
</unlock>
</config>
If I can get confirmation on this, I will be able to fix this bug tomorrow.