Modding Help [Solved] Nightly Race Mod AI Crash

Discussion in 'Starbound Modding' started by BitHorizon, Jul 31, 2014.

  1. BitHorizon

    BitHorizon Ketchup Robot

    EDIT: Whoops. I forgot to add some of the config files. That's why it crashed.

    I have everything working except for my race's ship's AI. The character can walk up to the tech station and interact with it, but when it is interacted with, no AI shows up and the game freezes and crashes. The static overlay, however, does show up. It is, however, not animated, as the game freezes after opening the AI interface. Here are the files associated with the AI for my race, as well as my starbound.log:

    Starbound.log:

    Code:
    Info: Preparing Star::Root...
    Info: Loading Star::Configuration from '..\starbound.config'
    Info: Done preparing Star::Root.
    Info: Client version 'Beta v. Rampaging Koala - Update 1' Protocol: 654
    Info: Running from : C:\Program Files (x86)\Steam\steamapps\common\Starbound\win32\starbound.exe
    Info: Starting from the title screen
    Info: Initialized SDL
    Info: Initialized SDL Video
    Info: Initialized SDL Joystick
    Info: Initialized SDL Sound
    Info: Opened default audio device with 44khz / 16 bit stereo audio, 2048 sample size buffer
    Info: Loading Star::Root...
    Info: Initializing SDL Window
    Info: Loading Star::Configuration from '..\starbound.config'
    Info: Created initial window 1000x600
    Info: Renderer initialized
    Info: Renderer destroyed
    Info: Initializing SDL Window
    Info: Re-created window 2560x1017
    Info: Renderer initialized
    Info: Done loading Star::Root.
    Info: Writing Star::Configuration to '..\starbound.config'
    Info: Renderer destroyed
    Info: Renderer initialized
    Info: Renderer destroyed
    Info: Acquiring universe lock file
    Info: UniverseServer: Creating world -79961259:47785650:5162534:5
    Info: Placing dungeon naturalcave
    Info: Generating dungeon naturalcave (NOT FORCED)
    Info: Placing dungeon at (5864, 1307)
    Error: Unknown dungeon ID for world: 0
    Error: Unknown dungeon ID for world: 0
    Error: Unknown dungeon ID for world: 0
    Error: Unknown dungeon ID for world: 0
    Error: Unknown dungeon ID for world: 0
    Error: Unknown dungeon ID for world: 0
    Error: Unknown dungeon ID for world: 0
    Info: UniverseServer: client connection made from local
    Info: UniverseServer: Sending Handshake Challenge
    Info: UniverseClient: Sending Handshake Repsonse
    Info: UniverseServer: Client 'Astro Phoenix' <1> (Fifo <0x6172488>) connected
    Info: Renderer initialized
    Error: Exception caught in client main-loop: (MapException) Key 'rmcp' not found in Map::get()
      MapException::MapException(string)
      AiInterface::setCommandList(StringList)
      AiInterface::populateTopLevel()
      AiInterface::update()
      PaneManager::update()
      MainInterface::update()
      ClientApplication::updateRunning()
      ClientApplication::update()
      StarApplicationBase::run()
      _SDL_main
      _console_main
    
    Info: UniverseClient: Client disconnecting...
    Info: UniverseServer: Shutting down ship world for client 'Astro Phoenix' <1> (Fifo <0x6172488>)
    Info: Client received world stop packet, leaving: Removed
    Info: UniverseServer: Client 'Astro Phoenix' <1> (Fifo <0x6172488>) disconnected
    Info: NetSocket read loop shut down: (FifoClosedException) Fifo::read called on closed Fifo
    Info: NetSocket read loop shut down: (FifoClosedException) Fifo::read called on closed Fifo
    Info: Renderer destroyed
    Info: Application quitting!
    Info: Client shutdown gracefully
    Info: Shutting down Star::Root
    
    ai.config:
    Code:
    {
      "__merge" : [],
      "species" : {
        "rmcp" : {
          "aiFrames" : "rmcpai.png",
          "staticFrames" : "staticHuman.png",
          "openSpeech" : {
            "0" : [
              {
                "animation" : "unique",
                "text" : "ERROR: ERROR: Info:'S.A.I.L.::run.innerLoop', 'Cnt#: ', 1198, 'Sum:ms:', ERROR: 'Min', 15, 'Max', 7199, 'Horse', 9899, 'Avg', 23, 'Last:::', '800b5', 'Var:avg,us: ERROR: ERROR: REBOOT REQUIRED!!!'",
                "speedModifier" : 0.5
              }
            ],
            "1" : [
              {
                "animation" : "talk",
                "text" : "The thrusters and FTL drive are offline. I can repair the thrusters with the ships auto repair module but I'll need pixels and core fragments from the core of the planet below.",
                "speedModifier" : 1.0
              }
            ],
            "2" : [
              {
                "animation" : "talk",
                "text" : "We've repaired the ships thrusters. Travel within this system is now available, did you investigate that gate yet? Next we need to fix the ship's FTL drive.",
                "speedModifier" : 1.0
              }
            ]
          }
        }
      }
    }
    
    rmcpai.frames
    Code:
    {
      "frameGrid" : {
        "size" : [90, 94],
        "dimensions" : [9, 4],
    
        "names" : [
          [null, "idle", null, "blink"],
          [null, "talk.0", "talk.1", null, "yell.0", "yell.1"],
          [null, "refuse.0", "refuse.1", "refuse.2", "refuse.3", "refuse.4", "refuse.5", "refuse.6", "refuse.7"],
          [null, "unique.0", "unique.1", "unique.2", "unique.3", "unique.4", "unique.5", "unique.6", "unique.7"]
        ]
      },
      "aliases" : {
        "idle.0" : "idle",
        "idle.1" : "idle",
        "idle.2" : "idle",
        "idle.3" : "idle",
        "idle.4" : "idle",
        "idle.5" : "idle",
        "idle.6" : "idle",
        "idle.7" : "idle",
        "idle.8" : "idle",
        "idle.9" : "idle",
        "idle.10" : "idle",
        "idle.11" : "idle",
        "idle.12" : "idle",
        "idle.13" : "blink",
        "idle.14" : "idle",
        "idle.15" : "idle",
        "idle.16" : "idle",
        "idle.17" : "idle",
        "idle.18" : "idle",
        "idle.19" : "idle",
        "idle.20" : "idle"
      }
    }
    
    rmcpai.png:
    [​IMG]
     
    Last edited: Aug 9, 2014
  2. traediras

    traediras Void-Bound Voyager

    EDIT: Never mind, forgot to put the custom AI files in the mod, had them in a back-up location :rofl:
     
    Last edited: Aug 9, 2014

Share This Page