[bug] Crash when changing Tilde key in options

Trying to change the custom key layout for health bars from tilde to another key - ` - caused an "attempt to use as string a nil value" error. AFter this crash, logging back in has my options screen permanently displayed with alignment completely skewed. I am unable to leave this screen. I guess the initial solution is to remove the dgdata.zip and get a new one?

 

Log output:

 

Unhandled exception:

attempt to use as string a nil value
stack traceback:
    [C]: in function `SetText'
    ...g\demigod\dgdata.zip\lua\options\module_keybinds.lua(156): in function `OnReceivedKeyFromEngine'
    ...g\demigod\dgdata.zip\lua\options\module_keybinds.lua(163): in function <...g\demigod\dgdata.zip\lua\options\module_keybinds.lua:162>

Program : D:\games\Stardock\TotalGaming\Demigod\bin\Demigod.exe
Cmd line arguments :

Callstack:
    unavailable.

Last 100 lines of log...

A full record of the log is stored in the Demigodlog.txt file

debug: Loading module '\000/units/heroes/hgsa01/hgsa01_script.lua\000'
info: Initiating Hero AI plan for: \000hgsa01
debug: Loading module '\000/units/heroes/hepa01/hepa01_script.lua\000'
debug: Loading module '\000/lua/sim/meleeweapon.lua\000'
info: Initiating Hero AI plan for: \000hepa01
debug: Loading module '\000/units/heroes/hvampire/hvampire_script.lua\000'
info: Initiating Hero AI plan for: \000hvampire
debug: Loading module '\000/units/heroes/hqueen/hqueen_script.lua\000'
info: Initiating Hero AI plan for: \000hqueen
debug: Loading module '\000/units/heroes/hoak/hoak_script.lua\000'
info: Initiating Hero AI plan for: \000hoak
debug: Loading module '\000/units/heroes/hema01/hema01_script.lua\000'
debug: Loading module '\000/units/heroes/hrook/hrook_script.lua\000'
info: Initiating Hero AI plan for: \000hrook
debug: Loading module '\000/units/heroes/hsedna/hsedna_script.lua\000'
info: Initiating Hero AI plan for: \000hsedna
debug: Loading module '\000/units/reinforcements/rsoldier/rsoldier01_script.lua\000'
debug: Loading module '\000/units/reinforcements/rarcher/rarcher01_script.lua\000'
debug: Loading module '\000/units/reinforcements/rpriest/rpriest01_script.lua\000'
debug: Loading module '\000/units/reinforcements/rcatapultasaurus/rcatapultasaurus01_script.lua\000'
debug: Loading module '\000/units/reinforcements/rangel/rangel01_script.lua\000'
debug: Loading module '\000/units/minions/highpriest/highpriest01_script.lua\000'
debug: Loading module '\000/lua/sim/minionunit.lua\000'
debug: Loading module '\000/units/minions/minotaurcaptain/minotaurcaptain01_script.lua\000'
debug: Loading module '\000/units/minions/siegearcher/siegearcher01_script.lua\000'
debug: Loading module '\000/lua/sim/powerup.lua\000'
debug: Loading module '\000/props/droppeditem_script.lua\000'
debug: Loading module '\000/units/misc/buildseed_script.lua\000'
debug: Loading module '\000/units/ug/b/ugbshop01/ugbshop01ward01_script.lua\000'
debug: Loading module '\000/units/ug/b/ugbshop01/ugbshop01tolsink_script.lua\000'
debug: Loading module '\000/units/heroes/hgsa01/hgsa01mine01_script.lua\000'
debug: Loading module '\000/units/heroes/hoak/hoakspirit_script.lua\000'
debug: Loading module '\000/units/heroes/hoak/hoakraisedeadward01_script.lua\000'
debug: Loading module '\000/units/heroes/hrook/hrooktoweroflight_script.lua\000'
debug: Loading module '\000/units/heroes/hrook/hrooktol_script.lua\000'
debug: Loading module '\000/units/heroes/hrook/hrookbreak_script.lua\000'
debug: Loading module '\000/units/heroes/hrook/hrooktrebuchet_script.lua\000'
debug: Loading module '\000/units/heroes/hsedna/hsednayeti_script.lua\000'
debug: Loading module '\000/units/heroes/hvampire/hvampirevampire01_script.lua\000'
debug: Loading module '\000/units/heroes/hqueen/hqueenent_script.lua\000'
info: Loading hero abilities tables
info: Hero: \000hepa01
debug: Loading module '\000/units/heroes/hepa01/hepa01_skilllayout.lua\000'
info: Hero: \000hgsa01
debug: Loading module '\000/units/heroes/hgsa01/hgsa01_skilllayout.lua\000'
info: Hero: \000hoak
debug: Loading module '\000/units/heroes/hoak/hoak_skilllayout.lua\000'
info: Hero: \000hrook
debug: Loading module '\000/units/heroes/hrook/hrook_skilllayout.lua\000'
info: Hero: \000hema01
debug: Loading module '\000/units/heroes/hema01/hema01_skilllayout.lua\000'
info: Hero: \000hsedna
debug: Loading module '\000/units/heroes/hsedna/hsedna_skilllayout.lua\000'
info: Hero: \000hvampire
debug: Loading module '\000/units/heroes/hvampire/hvampire_skilllayout.lua\000'
info: Hero: \000hqueen
debug: Loading module '\000/units/heroes/hqueen/hqueen_skilllayout.lua\000'
info: End Hero abilities load
info: MUSIC : Activating cue [Start_Cue]
info: MESHBP: /meshes/game/TargetArea_mesh
debug: Loading module '\000/lua/sim/tasks/beginshoptask.lua\000'
info: Victory = \000slaughter
info: *DEBUG: Applying buff - StrengthenStronghold01
info: *DEBUG: Applying buff - StrengthenStronghold01
info: Sounds process unlocked
info: Sounds process unlocked
info: Setting audio parameter 'WARSCORE' to value '1.000000'
info: Setting audio parameter 'TEAM' to value '2.000000'
info: Setting audio parameter 'LEVEL' to value '1.000000'
info: Setting audio parameter 'ALIVE' to value '1.000000'
info: Setting audio parameter 'TOURNAMENT' to value '1.000000'
info: Setting audio parameter 'TEAM' to value '2.000000'
debug: Loading module '\000/lua/user/shopaction.lua\000'
debug: Loading module '\000/lua/formations.lua\000'
debug: Loading module '\000/projectiles/healingstatueeffect01/healingstatueeffect01_script.lua\000'
debug: Loading module '\000/lua/sim/projectile.lua\000'
debug: Loading module '\000/lua/user/userscriptcommand.lua\000'
debug: Loading module '\000/units/ug/b/ugbshop07/ugbshop07_shoplayout.lua\000'
debug: Loading module '\000/units/minions/siegearcher/siegearcher04_script.lua\000'
debug: Loading module '\000/units/ug/b/ugbshop02/ugbshop02_shoplayout.lua\000'
debug: Loading module '\000/units/ug/b/ugbshop04/ugbshop04_shoplayout.lua\000'
debug: Loading module '\000/lua/sim/tasks/endshoptask.lua\000'
debug: Loading module '\000/lua/ui/game/keybindings.lua\000'
debug: Loading module '\000/lua/keymap/keydescriptions.lua\000'
debug: Loading module '\000/lua/keymap/properkeynames.lua\000'
debug: Loading module '\000/projectiles/arrow02/arrow02_script.lua\000'
debug: Loading module '\000/projectiles/mine01/mine01_script.lua\000'
debug: Loading module '\000/projectiles/spike01/spike01_script.lua\000'
debug: Loading module '\000/projectiles/spike02/spike02_script.lua\000'
debug: Loading module '\000/projectiles/boulder01/boulder01_script.lua\000'
debug: Loading module '\000/projectiles/misteffect01/misteffect01_script.lua\000'
debug: Loading module '\000/projectiles/misteffect02/misteffect02_script.lua\000'
debug: Loading module '\000/projectiles/misteffect03/misteffect03_script.lua\000'
debug: Loading module '\000/projectiles/misteffect04/misteffect04_script.lua\000'
debug: Loading module '\000/lua/ui/dialogs/exitdialog.lua\000'
debug: Loading module '\000/lua/ui/dialogs/dialog_options.lua\000'
debug: Loading module '\000/lua/ui/menus/menubuttonframe.lua\000'
debug: Loading module '\000/lua/options/module_options.lua\000'
debug: Loading module '\000/lua/options/module_keybinds.lua\000'
debug: Loading module '\000/lua/keymap/userbindablecommands.lua\000'

720 views 1 replies
Reply #1 Top

I experienced something similar. When I tried to rebind the key for toggling the health bar to the key in the lowest row of letters on the far left, left to the 'y' key on german keyboards, left to 'z' on an english keyboard, the game crashed without an error message. I may have pressed a couple of keys in between the one I mentioned an the game actually crashing.

The computer has an Intel Dual Core 64 bit processor, the os is Windows Vista 64 Home Premium German with Service Pack 1. My graphics card is an ATI 4870 model. The Demigod version I use is from Impulse, with english voices and text.

Here are the last few lines of DemigodLog.txt:

 

info: Setting audio parameter 'TEAM' to value '1.000000'

debug: Loading module '\000/lua/ui/game/keybindings.lua\000'

debug: Loading module '\000/lua/keymap/keydescriptions.lua\000'

debug: Loading module '\000/lua/keymap/properkeynames.lua\000'

debug: Loading module '\000/lua/ui/dialogs/exitdialog.lua\000'

debug: Loading module '\000/lua/ui/dialogs/dialog_options.lua\000'

debug: Loading module '\000/lua/ui/menus/menubuttonframe.lua\000'

debug: Loading module '\000/lua/options/module_options.lua\000'

debug: Loading module '\000/lua/options/module_keybinds.lua\000'

debug: Loading module '\000/lua/keymap/userbindablecommands.lua\000'