COC 1.4 RC 4.1 - treasure_manager bug

corradobernardi
Scavenger
Posts: 5
Joined: 12 Jul 2016, 04:20

COC 1.4 RC 4.1 - treasure_manager bug

Postby corradobernardi » 12 Jul 2016, 05:13

I'll post it here too, there is a bug in the treasure_manager.script that leads to CTD. Happens when talking to NPC for the task reward. i suppose this happens on a random generated reward stash with coords, since i did a savegame just before and doesnt happens everytime. yet happens with various tasks so must be the stash generator.

here's the error:

Code: Select all

[SCRIPT ERROR]: ...f chernobyl\gamedata\scripts\coc_treasure_manager.script:221: bad argument #1 to 'insert' (table expected, got string)
FATAL ERROR

[error]Expression : fatal error
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 193
[error]Description :
[error]Arguments : LUA error: ...f chernobyl\gamedata\scripts\coc_treasure_manager.script:221: bad argument #1 to 'insert' (table expected, got string)

stack trace:

0023:005D719F xrCore.dll, xrDebug::fatal()
0023:059C10D8 xrGame.dll, CDialogHolder::IgnorePause()
0023:05A54D93 xrGame.dll, CDialogHolder::IgnorePause()
0023:00460D5B xrEngine.exe, CInput::OnFrame()
0023:0040C131 xrEngine.exe, xrSASH::operator=()


i not a coder... can someone figure it out? im willing to help fixing.
thanks

User avatar
Alundaio
S.T.A.L.K.E.R.
Posts: 1368
Joined: 26 May 2012, 22:26

Re: COC 1.4 RC 4.1 - treasure_manager bug

Postby Alundaio » 12 Jul 2016, 05:24

here
You do not have the required permissions to view the files attached to this post.
"I have a dream that one day this community will rise up and live out the true meaning of its creed: "We hold these truths to be self-evident; that all mods are created equal."

corradobernardi
Scavenger
Posts: 5
Joined: 12 Jul 2016, 04:20

Re: COC 1.4 RC 4.1 - treasure_manager bug

Postby corradobernardi » 12 Jul 2016, 06:49

Thank you very much. I'm in office right now, i'll try it as soon as i go back home.

corradobernardi
Scavenger
Posts: 5
Joined: 12 Jul 2016, 04:20

Re: COC 1.4 RC 4.1 - treasure_manager bug

Postby corradobernardi » 13 Jul 2016, 06:13

i used the xr_effects you gave me and looks like everything is working now. clicked "job's done", got the reward + stash info. loaded the game again, repeated 5 or 6 times, no crashes.

Thank you.


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest