Clear Sky CTD's!

Discussion about GSC's new prequel of stalker

Moderators: jwknaggs, CruxMDQ, Nemo

Clear Sky CTD's!

Postby Ceano » Mon Sep 15, 2008 8:39 am

I get this CTD in Dark Valley with the new patch 1.5.04.

Expression : fatal error
Function : CScriptEngine::lua_error
File : E:\priquel\sources\engine\xrServerEntities\script_ engine.cpp
Line : 180
Description : <no expression>
Arguments : LUA error: ....t.a.l.k.e.r. - clear sky\gamedata\scripts\_g.script:975: bad argument #2 to 'format' (string expected, got nil)


as you see above the script is waiting for a string but get nil instead, below you see the part (in bold) in the _g.script file that makes the game CTD.

function abort(fmt, ...)
local reason = string.format(fmt, ...)
assert("ERROR: " .. reason)
error_log("ERROR: " .. reason)
log(string.format("%s",nil))
end


Any way to fix this?!
It doesn't work to comment it out because then you just get a different CTD error.

Never mind, got it fixed!
Last edited by Ceano on Tue Sep 16, 2008 1:01 pm, edited 1 time in total.
Ceano
Newbie
 
Posts: 5
Joined: Fri Jun 27, 2008 7:45 am
Location: Sweden

Re: Clear Sky CTD's!

Postby barin » Mon Sep 15, 2008 8:25 pm

Ceano, remove everything from function abort, then you should get "real" error
dez0wave developer
User avatar
barin
dez0wave developer
 
Posts: 22
Joined: Fri Jun 27, 2008 10:17 pm
Location: Poznan, Poland


Return to Clear Sky Discussion

Who is online

Users browsing this forum: No registered users and 3 guests

cron