May 23, 2018, 08:17:52 PMLatest Member: Gabriel_

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Honorbrachios

Pages: [1]
1
Emergency Room / bad argument #1 to 'loadMusicAsync'
« on: January 14, 2017, 01:17:44 AM »
Hello,

I've just installed corsixth (latest stable version 0.6) and Visual C++ Redistributable for Visual Studio 2015.
Sadly it freeze when I launch.

Here is the log :
Code: [Select]
---------------------------------------------------------------

Welcome to CorsixTH v0.60!

---------------------------------------------------------------

This window will display useful information if an error occurs.

---------------------------------------------------------------

An error has occurred in CorsixTH:
C:\Program Files\CorsixTH\Lua\audio.lua:589: bad argument #1 to 'loadMusicAsync' (string expected, got nil)
stack traceback:
        [C]: in field 'loadMusicAsync'
        C:\Program Files\CorsixTH\Lua\audio.lua:589: in method 'playBackgroundTrack'
        C:\Program Files\CorsixTH\Lua\audio.lua:462: in method 'playRandomBackgroundTrack'
        C:\Program Files\CorsixTH\Lua\audio.lua:174: in method 'init'
        C:\Program Files\CorsixTH\Lua\app.lua:215: in method 'init'
        C:\Program Files\CorsixTH\CorsixTH.lua:133: in main chunk
        [C]: in ?



Sometimes it launch but freeze when i go in new game.
Code: [Select]

---------------------------------------------------------------

Welcome to CorsixTH v0.60!

---------------------------------------------------------------

This window will display useful information if an error occurs.

---------------------------------------------------------------

Checking for CorsixTH updates...
You are running the latest version of CorsixTH.
starting game with difficulty full
An error has occurred!
Almost anything can be the cause, but the detailed information below can help the developers find the source of the error.
Running: The buttondown handler.
A stack trace is included below, and the handler has been disconnected.
C:\Program Files\CorsixTH\Lua\audio.lua:589: bad argument #1 to 'loadMusicAsync' (string expected, got nil)
stack traceback:
        [C]: in field 'loadMusicAsync'
        C:\Program Files\CorsixTH\Lua\audio.lua:589: in method 'playBackgroundTrack'
        C:\Program Files\CorsixTH\Lua\audio.lua:462: in method 'playRandomBackgroundTrack'
        C:\Program Files\CorsixTH\Lua\movie_player.lua:256: in method '_destroyMovie'
        C:\Program Files\CorsixTH\Lua\movie_player.lua:239: in method 'stop'
        C:\Program Files\CorsixTH\Lua\ui.lua:618: in function <C:\Program Files\CorsixTH\Lua\ui.lua:613>
        (...tail calls...)
        C:\Program Files\CorsixTH\Lua\app.lua:901: in function <C:\Program Files\CorsixTH\Lua\app.lua:896>

Warning: No event handler for buttondown


Thanks. :)

Pages: [1]