Problems with Intro
Posted: Tue Oct 02, 2012 1:22 pm
Hi all,
I would be glad for an advice because my intro crashes every time I start a game,
I followed the official instructions on how to create an intro very closely, I created the intro.lua file in the cinematic folder and copied everything from the official script into the file but something seems wrong with the enableUserInput line there, here is the error report:
#script_entity_1:2: attempt to call global 'enableUserInput' (a nil value)
stack traceback:
#script_entity_1:2: in main chunk
[string "ScriptEntity.lua"]: in main chunk
[string "Map.lua"]: in function 'sendMessage'
[string "GameMode.lua"]: in function 'newGame'
[string "GameMode.lua"]: in function 'startGame'
[string "NewGameMenu.lua"]: in function 'startGame'
[string "NewGameMenu.lua"]: in function 'update'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
OS Version 6.1
OEM ID: 0
Number of processors: 8
Page size: 4096
Processor type: 586
Total memory: 8125 MB
Free memory: 5580 MB
Display device 0:
Device name: \\.\DISPLAY1
Device string: NVIDIA GeForce GTS 360M
State flags: 00000005
Display device 1:
Device name: \\.\DISPLAY2
Device string: NVIDIA GeForce GTS 360M
State flags: 00000000
Display device 2:
Device name: \\.\DISPLAYV1
Device string: RDPDD Chained DD
State flags: 00000008
Display device 3:
Device name: \\.\DISPLAYV2
Device string: RDP Encoder Mirror Driver
State flags: 00200008
Display device 4:
Device name: \\.\DISPLAYV3
Device string: RDP Reflector Display Driver
State flags: 00200008
I would be glad for an advice because my intro crashes every time I start a game,
I followed the official instructions on how to create an intro very closely, I created the intro.lua file in the cinematic folder and copied everything from the official script into the file but something seems wrong with the enableUserInput line there, here is the error report:
#script_entity_1:2: attempt to call global 'enableUserInput' (a nil value)
stack traceback:
#script_entity_1:2: in main chunk
[string "ScriptEntity.lua"]: in main chunk
[string "Map.lua"]: in function 'sendMessage'
[string "GameMode.lua"]: in function 'newGame'
[string "GameMode.lua"]: in function 'startGame'
[string "NewGameMenu.lua"]: in function 'startGame'
[string "NewGameMenu.lua"]: in function 'update'
[string "GameMode.lua"]: in function 'update'
[string "Grimrock.lua"]: in function 'display'
[string "Grimrock.lua"]: in main chunk
OS Version 6.1
OEM ID: 0
Number of processors: 8
Page size: 4096
Processor type: 586
Total memory: 8125 MB
Free memory: 5580 MB
Display device 0:
Device name: \\.\DISPLAY1
Device string: NVIDIA GeForce GTS 360M
State flags: 00000005
Display device 1:
Device name: \\.\DISPLAY2
Device string: NVIDIA GeForce GTS 360M
State flags: 00000000
Display device 2:
Device name: \\.\DISPLAYV1
Device string: RDPDD Chained DD
State flags: 00000008
Display device 3:
Device name: \\.\DISPLAYV2
Device string: RDP Encoder Mirror Driver
State flags: 00200008
Display device 4:
Device name: \\.\DISPLAYV3
Device string: RDP Reflector Display Driver
State flags: 00200008

