Modding errors: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(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==

Revision as of 15:13, 2 March 2011

You might use the browser's search function to quickly find an error text.


Unfinished building-60px.jpg

This page is unfinished. Can you fill in any missing information?
If it is not clear which part of the page is unfinished, ask on the talk page.

frequently asked questions

You are using a mod with bgra32 textures and an old engine that doesn't support bgra32.

binary errors

missing texture (TXMP)

The texture is either missing, or the texture name and the link in TRMA are unequal.

missing animation collection (TRAC)

missing 3D model (TRBS)

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