Task manager fatal error

Discussions on Modding of S.T.A.L.K.E.R. SoC & Clear Sky

Task manager fatal error

Postby ket on 07 Dec 2009 15:44

Maybe somebody with more scripting knowledge can point out whats wrong here, I just merged Dexxx blowout mod with psy zones and emissions, on attempting to load a game x-ray spits this at me;

FATAL ERROR

[error]Expression : fatal error
[error]Function : CScriptEngine::lua_error
[error]File : E:\stalker\patch_1_0004\xr_3da\xrGame\script_engine.cpp
[error]Line : 73
[error]Description : <no expression>
[error]Arguments : LUA error: ...ow of chernobyl\gamedata\scripts\task_manager.script:473: attempt to index local 'sel_task' (a nil value)


However, upon looking from line 473 to 483 in task manager..;

local parent = alife():story_object(story_by_parent[sel_task.parent])
if parent == nil or (parent.alive ~= nil and not parent:alive()) then
self.task_info[self.active_task_by_type[p1]].status = "failed"
self.task_info[self.active_task_by_type[p1]].last_task_time = game.get_game_time()
return true
end

if sel_task.status == "refused" or sel_task.status == "failed" then
self.task_info[self.active_task_by_type[p1]].last_task_time = game.get_game_time()
return true
end

I don't see any problems there. Kinda seems like x-ray is complaining about something its doing right :-??
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system

Re: Task manager fatal error

Postby Nightwatch on 07 Dec 2009 23:22

Does the crash repeating itself? Or, is it a one-off thing; then no problem, then no big problem its should point to an engine glitch, but if it's repeating, (though I can't speak with the same conviction of the renowned authors of well-known mods like AMK, ABC, SRP, and so forth) I can nevertheless recommend removing the last applied chance and try it again, getting one step back at a time. to pinpoint the matter, then at that section a further analysis can be made. But to me, it looks like a temp glitch, though it should be checked that if the new script is clashing with anything else in the other files, like some pre-set values. But as I said, if the crash is not repeating, then it's just a glitch.
NEWSA.SIMBION_TWEAK 3.0
Mod Website= Features, Video, Tips & Download Link: NEWSA.SIMBION_Tweak

Watch the Trailer: http://www.youtube.com/watch?v=1Ajw_f8K ... re=channel
Please Do Not download and install any files from links other than those on the Mod's Website
User avatar
Nightwatch
Site Admin
 
Posts: 2676
Joined: 13 Apr 2007 05:42
Location: London, United Kingdom

Re: Task manager fatal error

Postby ket on 07 Dec 2009 23:59

For now I've removed the merged files and made some changes to a few script and LTX files that'll hopefully make things more stable, if all appears clear after testing I'll stick the dexxx mod back in and see what happens :-bd
Mobo: MSI X570 Tomahawk
CPU: R7 3700X @ 4.4GHz 1.3v
RAM: 2x16GB Klevv BoltX 3600MHz 16-20-20-35
GPU: Powercolor 6800XT Red Devil
Sound: Asus Xonar DX 7.1 PCI-E, Realtek ALC1200
HDD: 250GB & 500GB nVME 3.0 M.2 drives, 2TB Seagate Barracuda, Sata3 64MB Cache, 250GB Hynix SL301
Opticals: DVD-RW, Blu-Ray
PSU: eVGA 1000w G2 Supernova
Case: NZXT Phantom 530

STALKER: Singularity (SIN) homepage
User avatar
ket
Senior Resident
 
Posts: 1262
Joined: 14 Sep 2008 11:57
Location: The solar system


Return to Modding Techniques

Who is online

Users browsing this forum: No registered users and 23 guests

cron