Jump to content

Modding errors: Difference between revisions

m
no edit summary
(let's centralize errors and their possible causes here)
 
mNo edit summary
Line 1: Line 1:
You might use the browser's search function to quickly find an error text.
__TOC__
{{finish}}
==frequently asked questions==
==frequently asked questions==
*Why does Oni crash on game start?
*Why does Oni crash on game start?
Line 8: Line 13:
==binary errors==
==binary errors==
===missing texture (TXMP)===
===missing texture (TXMP)===
The texture is either missing, or the texture name and the TRMA link are unequal.
The texture is either missing, or the texture name and the link in [[OBD:TRMA|TRMA]] are unequal.
===missing animation collection (TRAC)===
===missing animation collection (TRAC)===
===missing 3D model (TRBS)===
===missing 3D model (TRBS)===


==BSL==
==dev mode error messages==
* ''throwtarget was NULL'' - The throw target animation was not found.


===BSL errors===
* ''Func "main", File "(called from engine)", Line 0: semantic error, '''function''' "main" '''does not exist''''' - Function "main" wasn't found in any bsl file. (This can also happen with any other function.)
* ''Func "(null)", File "test.bsl", Line 3: semantic error, '''Identifier''' "main" already declared'' - In this case the function "main" is double, it can be found in the file "test.bsl" at line 3. (It's not the first but the last line of the double function.)
* ''Func "(null)", File "main.bsl", Line 1: Illegal token, got "func" expected ";"'' - The variable declaration didn't ended with a semicolon.
==onisplit error messages==
==onisplit error messages==
8,013

edits