When I create a custom game and add comp AI, the game crashes. Sometimes when I add the first, sometimes when I add the second one with this kind of log :
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at address 0x00c962e1
attempted to read memory at 0x4205977c
Program : D:\Stardock\Demigod\bin\Demigod.exe
Cmd line arguments :
Callstack:
Unknown symbol (address 0x00c962e1)
Last 100 lines of log...
A full record of the log is stored in the Demigodlog.txt file
debug: Loading module '\000/lua/ui/menus/spsub/spsub.lua\000'
info: *DEBUG: OnHide: \000false
info: *DEBUG: OnHide: \000true
info: MUSIC : Activating cue [Main_Menu]
info: MUSIC : Activating cue [Main_Menu]
info: *DEBUG: OnHide: \000false
info: *DEBUG: OnHide: \000true
info: MUSIC : Activating cue [Main_Menu]
info: *DEBUG: OnHide: \000false
info: Connecting to Impulse LIVE Server.
info: Error from CVP. Reponse XML:
<?xml version="1.0" encoding="utf-8"?><CVPGetApplicationInfoResponse><ResponseCode>0</ResponseCode><ResponseMessage>Success</ResponseMessage><ApplicationData><ID>444</ID><ApplicationID>dem</ApplicationID><RegistryKey>Demigod</RegistryKey><NetworkRegistryKey>Drengin.net</NetworkRegistryKey><Ver><Major>0</Major><Minor>90</Minor><Revision>021</Revision></Ver></ApplicationData></CVPGetApplicationInfoResponse>
info: Impulse achievements are empty. Creating anew.
info: *DEBUG: OnHide: \000true
info: MUSIC : Activating cue [Main_Menu]
info: *DEBUG: OnHide: \000false
info: CVP: entering idle state.
info: *DEBUG: OnHide: \000true
info: LOBBY: Refreshing Available Games List from Impulse.
debug: Loading module '\000/lua/ui/dialogs/dialog_hostgame.lua\000'
info: Error from CVP. Reponse XML:
<?xml version="1.0" encoding="utf-8"?><CVPQuitGameResponse><ResponseCode>5001</ResponseCode><ResponseMessage>The parameters you have entered are invalid. Please check your data and try again. (GameID)</ResponseMessage></CVPQuitGameResponse>
info: LOBBY: Refreshing Available Games List from Impulse.
debug: Loading module '\000/lua/ui/lobby/lobby.lua\000'
debug: Loading module '\000/lua/ui/lobby/lobbybase.lua\000'
debug: Loading module '\000/lua/mods.lua\000'
debug: Loading module '\000/lua/ui/dialogs/modmanager.lua\000'
debug: Loading module '\000/lua/gamecolors.lua\000'
debug: Loading module '\000/lua/ui/lobby/lobbyoptions.lua\000'
debug: Loading module '\000/lua/ui/dialogs/dialog_connecting.lua\000'
info: Creating connector on port 6073
info: LOBBY: Game port 6073[UDP] opened.
info: LOBBY: starting with local uid of 10972 [Rekka]
info: CVP: entering lobby state.
debug: Loading module '\000/lua/ui/controls/mappreview.lua\000'
info: Setting audio parameter 'UI_Not_Frontend' to value '1.000000'
info: MUSIC : Activating cue [Lobby]
debug: Loading module '\000/lua/ui/waitanim.lua\000'
info: Starting background task "Map loader /maps/map11/map11.scmap"
info: Background task "Map loader /maps/map11/map11.scmap" running.
info: Active game mods for blueprint loading: \000{ }
info: Loading blueprints...
info: CVP::HandlePlayerDataUpdated
info: Registering blueprints...
info: HostUpdateGame(numPlayers[1], maxPlayers[10], gameType[5], mapId[58], mapName[The Brothers])
info: Calling CVPUpdateGame. gameDataXML [len]: [4742]
debug: Loading module '\000/lua/singleplayerlaunch.lua\000'
debug: Loading module '\000/lua/ui/lobby/ainames.lua\000'
debug: Loading module '\000/lua/factions.lua\000'
info: HostUpdateGame(numPlayers[2], maxPlayers[10], gameType[5], mapId[58], mapName[The Brothers])
info: Calling CVPUpdateGame. gameDataXML [len]: [4742]
debug: Loading module '\000/characters/angel/angel_character.lua\000'
debug: Loading module '\000/characters/archer/archer_character.lua\000'
debug: Loading module '\000/characters/archer/archer_movie_character.lua\000'
debug: Loading module '\000/characters/bird/bird_character.lua\000'
debug: Loading module '\000/characters/ent/ent_character.lua\000'
debug: Loading module '\000/characters/flag/flag_character.lua\000'
debug: Loading module '\000/characters/giant/giant_character.lua\000'
debug: Loading module '\000/characters/giant/giant_r_character.lua\000'
debug: Loading module '\000/characters/highpriest/highpriest02_character.lua\000'
debug: Loading module '\000/characters/highpriest/highpriest03_character.lua\000'
debug: Loading module '\000/characters/highpriest/highpriest04_character.lua\000'
debug: Loading module '\000/characters/highpriest/highpriest_character.lua\000'
debug: Loading module '\000/characters/leopard_rider/leopard_rider_character.lua\000'
debug: Loading module '\000/characters/mage/mage_character.lua\000'
debug: Loading module '\000/characters/mage/magefire_character.lua\000'
debug: Loading module '\000/characters/minotaur/minotaur_character.lua\000'
debug: Loading module '\000/characters/minotaur/minotaur_movie1_character.lua\000'
debug: Loading module '\000/characters/minotaur/minotaur_movie2_character.lua\000'
debug: Loading module '\000/characters/minotaurcaptain/minotaurcaptain02_character.lua\000'
debug: Loading module '\000/characters/minotaurcaptain/minotaurcaptain03_character.lua\000'
debug: Loading module '\000/characters/minotaurcaptain/minotaurcaptain04_character.lua\000'
debug: Loading module '\000/characters/minotaurcaptain/minotaurcaptain_character.lua\000'
debug: Loading module '\000/characters/oak/oak_character.lua\000'
debug: Loading module '\000/characters/priest/priest_character.lua\000'
debug: Loading module '\000/characters/priest/priest_movie_character.lua\000'
debug: Loading module '\000/characters/queen/queen_character.lua\000'
debug: Loading module '\000/characters/queen/queen_open_character.lua\000'
debug: Loading module '\000/characters/queen/queen_open_movie_character.lua\000'
debug: Loading module '\000/characters/rook/rook_character.lua\000'
debug: Loading module '\000/characters/serpent/serpent_character.lua\000'
debug: Loading module '\000/characters/siegearcher/siegearcher02_character.lua\000'
debug: Loading module '\000/characters/siegearcher/siegearcher03_character.lua\000'
debug: Loading module '\000/characters/siegearcher/siegearcher04_character.lua\000'
debug: Loading module '\000/characters/siegearcher/siegearcher_character.lua\000'
debug: Loading module '\000/characters/sniper/sniper_character.lua\000'
debug: Loading module '\000/characters/sniper/sniperfury_character.lua\000'
debug: Loading module '\000/characters/spirit/spirit_character.lua\000'
debug: Loading module '\000/characters/trebuchet/hrooktreb_character.lua\000'
debug: Loading module '\000/characters/trebuchet/trebuchet_character.lua\000'
debug: Loading module '\000/characters/unclean_beast/unclean_beast_character.lua\000'
debug: Loading module '\000/characters/unclean_beast/unclean_beast_movie_character.lua\000'
debug: Loading module '\000/characters/vampire/vampire_character.lua\000'
debug: Loading module '\000/characters/vampire_lord/vampire_lord_character.lua\000'
debug: Loading module '\000/characters/waridol/waridol_character.lua\000'
debug: Loading module '\000/characters/whiptail/whiptail_character.lua\000'
debug: Loading module '\000/characters/yeti/yeti_character.lua\000'
info: Preloading resources.
debug: Loading module '\000/lua/common/preload.lua\000'
info: CVP::HandlePlayerDataUpdated
warning: Granny: FileReading (C:\work\forge\beta\code\src\libs\granny\granny_file_format.cpp(205): Magic value (0x0, 0x0, 0x0, 0x0) doesn't match any known file format)
warning: Granny: FileReading (C:\work\forge\beta\code\src\libs\granny\granny_file.cpp(484): File is not a Granny file)