Frictional Games Forum (read-only)
[CHAOS] Main game blackbox error interline 21 - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [CHAOS] Main game blackbox error interline 21 (/thread-29737.html)



Main game blackbox error interline 21 - Casotime1999 - 03-12-2015

Spoiler below!
problem: expected interline 21! what should i do?
log:Version 1.20 - s26ADEE0-539
-------- THE HPL ENGINE LOG ------------
Engine build ID 20101021192547

Creating Engine Modules
--------------------------------------------------------
Creating graphics module
Creating system module
Creating resource module
Creating input module
Creating sound module
Creating physics module
Creating ai module
Creating gui module
Creating generate module
Creating haptic module
Creating scene module
--------------------------------------------------------

Initializing Resources Module
--------------------------------------------------------
Creating loader handlers
Creating resource managers
Adding loaders to handlers
--------------------------------------------------------

Initializing Graphics Module
--------------------------------------------------------
Init lowlevel graphics: 1024x768 bpp:32 fs:0 ms:0 gpufmt:2 cap:'Amnesia - The Dark Descent - Loading...' posSad-1x-1)
Setting video mode: 1024 x 768 - 32 bpp
Init Glew...OK
Setting up OpenGL
Vendor: Intel
Renderer: Intel® HD Graphics
Version: 4.0.0 - Build 10.18.10.3408
Max texture image units: 16
Max texture coord units: 8
Max user clip planes: 8
Two sided stencil: 1
Vertex Buffer Object: 1
Anisotropic filtering: 1
Max Anisotropic degree: 16
Multisampling: 1
Texture compression: 1
Texture compression S3TC: 1
Auto generate MipMaps: 1
Render to texture: 1
Max draw buffers: 8
Max color render targets: 8
Packed depth-stencil: 1
Texture float: 1
GLSL Version: 4.00 - Build 10.18.10.3408
ShaderModel 2: 1
ShaderModel 3: 1
ShaderModel 4: 1
OGL ATIFragmentShader: 0
ATTENTION: System does not support const arrays in glsl!
Setting up G-Bugger: type: 0 texturenum: 3
Adding engine materials
Initializing DevIL
Vendor String: Abysmal Software
Version String: Developer's Image Library (DevIL) 1.6.8pre Aug 12 2006
Version Number: 168
Adding engine post effects
--------------------------------------------------------

Initializing Sound Module
--------------------------------------------------------
Initializing OpenAL
Available OpenAL devices:
0. Generic Software on Speakers (Realtek High Definition Audio)(OpenAL default)
Trying to open device 'Generic Software on Speakers (Realtek High Definition Audio)'... Success!
Number of mono sources: 32
Streaming setup: 4 Buffers x 262144 bytes each
--------------------------------------------------------

Initializing Game Module
--------------------------------------------------------
Adding engine updates
Initializing script functions
--------------------------------------------------------

User Initialization
--------------------------------------------------------
--------------------------------------------------------

Game Running
--------------------------------------------------------
-------- Loading map 'menu_bg.map' ---------
Cache Loading: 4342 ms
Entities: 937 ms
Compilation: 1 ms
Total: 5391 ms
Meshes created: 25
Bodies created: 5
-------- Loading complete ---------
Setting profile: 'davide' Path: 'C:\Users\casa\Documents/Amnesia/Main/davide/'
WARNING: No resources element found in 'custom_stories/Amnesia The Rivals of Zombies/extra_italian.lang'
-------- Loading map 'Entrance.map' ---------
ERROR: Could not open binary file 'C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom_stories/Amnesia The Rivals of Zombies/maps/Entrance.map_cache_fastload'
ERROR: Could not map cache file 'C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom_stories/Amnesia The Rivals of Zombies/maps/Entrance.map'.ERROR: Couldn't create material 'static_objects/outside/foliage/zimmerman_grass.mat'
MeshEntity Loading: 3354 ms
Primitive Loading: 0 ms
Decal Loading: 0 ms
Object Combining: 0 ms
Compilation: 5 ms
Combining: 426 ms
Sorting: 384 ms
Meshes: 41 ms
Bodies: 1 ms
Static Objects: 3797 ms
Entities: 2822 ms
Compilation: 1 ms
Total: 6709 ms
Meshes created: 12
Bodies created: 1
-------- Loading complete ---------
-------- Debug window open!
-------- Debug window open!
-------- Debug window closed!
-------- Debug window open!
-------- Loading map 'Level1.map' ---------
ERROR: Could not open binary file 'C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom_stories/Amnesia The Rivals of Zombies/maps/Level1.map_cache_fastload'
ERROR: Could not map cache file 'C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom_stories/Amnesia The Rivals of Zombies/maps/Level1.map'. MeshEntity Loading: 451 ms
Primitive Loading: 59 ms
Decal Loading: 0 ms
Object Combining: 0 ms
Compilation: 4 ms
Combining: 314 ms
Sorting: 221 ms
Meshes: 17 ms
Bodies: 76 ms
Static Objects: 831 ms
Entities: 522 ms
Compilation: 0 ms
Total: 1364 ms
Meshes created: 9
Bodies created: 5
-------- Loading complete ---------
-------- Debug window closed!
WARNING: Entity 'crank_2' with type 0 and subtype 3 does not exist!
-------- Debug window open!
-------- Debug window closed!
-------- Debug window open!
ERROR:'Tried called Expected interline21!'
WARNING: No resources element found in 'custom_stories/Amnesia The Rivals of Zombies/extra_english.lang'
ERROR: 'Tried called Expected interline21!'
WARNING: No resources element found in 'custom_stories/Amnesia The Rivals of Zombies/extra_english.lang'
-------- Loading map 'Level1.map' ---------
ERROR: Could not open binary file 'C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom_stories/Amnesia The Rivals of Zombies/maps/Level1.map_cache_fastload'
ERROR: Could not map cache file 'C:/Program Files (x86)/Amnesia - The Dark Descent/redist/custom_stories/Amnesia The Rivals of Zombies/maps/Level1.map'. MeshEntity Loading: 21 ms
Primitive Loading: 1 ms
Decal Loading: 0 ms
Object Combining: 0 ms
Compilation: 4 ms
Combining: 285 ms
Sorting: 217 ms
Meshes: 9 ms
Bodies: 59 ms
Static Objects: 314 ms
Entities: 116 ms
Compilation: 0 ms
Total: 437 ms
Meshes created: 9
Bodies created: 5
-------- Loading complete ---------
-------- Debug window closed!
-------- Loading map 'menu_bg.map' ---------

Cache Loading: 2875 ms
Entities: 647 ms
Compilation: 1 ms
Total: 3547 ms
Meshes created: 25
Bodies created: 5



Statistics
--------------------------------------------------------
Medium framerate: 250.638968
--------------------------------------------------------

User Exit
--------------------------------------------------------
Saving main config.
Saving user config.
Deleting game modules.
'LuxInputHandler'
'LuxHelpFuncs'
'LuxSaveHandler'
'LuxScriptHandler'
'LuxProgressLogHandler'
'LuxMapHandler'
'LuxMapHelper'
'LuxPlayer'
'LuxInsanityHandler'
'LuxDebugHandler'
'LuxEffectRenderer'
'LuxMusicHandler'
'LuxMusicHandler'
'LuxEffectHandler'
'LuxCompletionCountHandler'
'LuxGlobalDataHandler'
'LuxHintHandler'
'LuxPostEffectHandler'
'LuxPreMenu'
'LuxDebugHandler'
'LuxInventory'
'LuxJournal'
'LuxCredits'
'LuxLoadScreenHandler'
Deleting config files.
--------------------------------------------------------

Exiting Gui Module
--------------------------------------------------------
Deleting all sets
Deleting all skins
Deleting all gfx elements
Deleting all materials
--------------------------------------------------------

Exiting Generate Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Scene Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Input Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Sound Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Graphics Module
--------------------------------------------------------
--------------------------------------------------------

Exiting Resources Module
--------------------------------------------------------
Done with fonts
Done with scripts
Done with particles
Done with sounds
Done with meshes
Done with materials
Done with Gpu programs
Done with images
Destroyed all textures
Done with sound entities
Done with animations
Done with ent files
All resources deleted
--------------------------------------------------------

Exiting Physics Module
--------------------------------------------------------
--------------------------------------------------------

Exiting System Module
--------------------------------------------------------
--------------------------------------------------------

Deleting game setup provided by user
- Deleting lowlevel stuff.
Physics
Sound
Input
Resources
System
Graphics
Haptic





RE: Main game blackbox error interline 21 - Straxedix - 03-13-2015

expected interline 21! you say ?

This is not problem with game this is problem with script... are you using illegal version of Amnesia ?

What map you enter ? What exactly pops up ? Tell us more please!


RE: Main game blackbox error interline 21 - Casotime1999 - 03-13-2015

I've an original version of the game, When I enter in the wine cellar lab, and I try to pass the script area at lurker activation, it crashes: Expected Interline 21! And blackbox appair, but if I Enter in my custom story now all is good, blackbox won't appair, if I have the script aìSetEntityPlayerInterractCallback activated it shows the blackbox error


RE: Main game blackbox error interline 21 - Romulator - 03-14-2015

(03-13-2015, 06:49 PM)Casotime1999 Wrote: I've an original version of the game, When I enter in the wine cellar lab, and I try to pass the script area at lurker activation, it crashes: Expected Interline 21! And blackbox appair, but if I Enter in my custom story now all is good, blackbox won't appair, if I have the script aìSetEntityPlayerInterractCallback activated it shows the blackbox error

Your HPL log states that you're running 1.2. I'm somewhat curious as to why you haven't updated to 1.3 yet (that is, if you're a Windows user).

If this is a custom story issue, can you post all of your script? You may have an error in there somewhere which only occurs when the collision occurs - but the fact that it also occurs in the game really hits me. I'll do some research as well.


RE: Main game blackbox error interline 21 - Casotime1999 - 03-14-2015

my script:
void OnStart()
{
SetLocalVarInt("Var1", 0);

}
void leva(string &in asEntity, int LeverState)
{
if(GetLeverState("lever1")== -1 )
AddLocalVarInt("Var1", 1);
if(GetLeverState("lever2")== 1)
{
AddLocalVarInt("Var1",1);
}
}





void door(string &in asEntity)
{
if(GetLocalVarInt("Var1")>=1){
SetPropHealth(asEntity, 0);AddLocalVarInt("Var1",1);
GiveSanityBoost();
}

}