RoutUnio

Some guy from Poland joined

This member has provided no bio about themself...

Report RSS Repair Kits Revamped 1.04.02 bug fixing

Posted by on

Some time ago I downloaded Repair Kits Revamped mod for Shadow Of Chernobyl. After first mission, when I wanted to repair my Sawed-Off using items from this mod, I noticed that the game crashes when I'm trying to use the repair button more than once. In the log I got this:

FATAL ERROR

[error]Expression : fatal error
[error]Function : CScriptEngine::lua_error
[error]File : E:\stalker\sources\trunk\xr_3da\xrGame\script_engine.cpp
[error]Line : 73
[error]Description :
[error]Arguments : LUA error: ....e.r. cieĊƒ czarnobyla\gamedata\scripts\repair.script:419: attempt to index local 'part' (a nil value)


stack trace:

If someone also got this problem, here is the solution.

First, you have to download Notepad++, it will help you to solve the problem. After that, find the "repair.script" file from the mod gamedata and open it with Notepad++. Find the line number 419:


alife():release(alife():object(part:id()), true)


And changed it:


if part then
alife():release(alife():object(part:id()), true)
end


Remember that the line "if part then" must be the line number 419. If you did everything like I wrote, save the file. Now this bug will not more happen.


I note that not everyone may experience this problem.

Thanks for Pangia from forum.stalker.pl for help with fixing this bug.

Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: