ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
1.0006 CTD

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  09:50:54  11 September 2013
profilee-mailreply Message URLTo the Top
te47
Senior Resident
 

 
On forum: 06/03/2010
 

Message edited by:
te47
09/11/2013 9:54:42
Messages: 415
1.0006 CTD

Hello all,

As many of you likely know, everyone who owns Shadow of Chernobyl on Steam (like me) was recently automatically updated from 1.0005 to 1.0006 without warning or consent. Despite being a multiplayer patch, 1.0006 can cause serious problems in singleplayer for heavily modded games like mine. About a minute into a new game, upon trying to give Tolik the nearby medkit, I now get this CTD every time:


sv ownership id_parent [0][actor:single_player] id_entity [1078][medkit:esc_medkit] [2367]
sv destroy object [21280][medkit:medkit21280] [2538]
sv reject. id_parent [0][actor:single_player] id_entity [21280][medkit:medkit21280] [2538]
! Unknown command: dbg:_Tolik's_health_is_31

FATAL ERROR

[error]Expression : assertion failed
[error]Function : CInventory: at
[error]File : E:\stalker\sources\trunk\xr_3da\xrGame\Inventory.cpp
[error]Line : 892
[error]Description : pIItem->m_pCurrentInventory==this


stack trace:


I'm preparing to forcibly roll it back to 1.0005 myself, but I thought I'd ask if anyone knows a way of fixing this in 1.0006 first. I'd like to take advantage of this opportunity, if possible. Maybe I'd have better luck extending the grass distance without the constant flickering on 1.0006, but that obviously wouldn't be worth losing the mod I've been working on for the past six years.

Any advice would be much appreciated. I suspect others will start showing up soon with similar issues, so you'd be helping us all.
  15:56:27  11 September 2013
profilee-mailreply Message URLTo the Top
bamah
Senior Resident
 

 
On forum: 02/10/2008
 

Message edited by:
bamah
09/11/2013 16:07:35
Messages: 911
CTD
It sounds like the patch requires the inventory fix either from Xray cut project or the RU community fix by Kolmogor. This is from memory though.

Edit;When using an item from an NPC's inventory will crash the game. Not sure if it works in reverse but it may.
Also if you are using bak's rx stuff you need the minor debug fix I posted in ZRP a while back when R4 came out. This prevents e_parent ctd.
Link to my files. of bin fix by kolmogor and my rx fix. Don't use the entire rx file just the defined fix...read script.
http://www.mediafire.com/?b7fgs27acl1itbk
edit: the files I uploaded for Large Area also contain the bin file without the option to even use the NPC's item in game.
  18:46:37  11 September 2013
profilee-mailreply Message URLTo the Top
te47
Senior Resident
 

 
On forum: 06/03/2010
 

Message edited by:
te47
09/11/2013 23:16:52
Messages: 415
Thanks for the help. Unfortunately, while the new xrGame.dll does remove the option to consume items directly from an NPC's inventory, my problem hasn't gone away. I'm using xStream's AIPack but not Rulix's AI Additions in my mod, so I wasn't able to use the second file.

The crash happens when I talk to Tolik and choose the dialogue option to give him a medkit. I assume it also happens whenever I talk to any downed NPC and choose the option to give him a medkit, but I haven't confirmed that yet. Is there anything else I can try?

EDIT: Never mind. Issue resolved. For anyone who's interested, all I had to do was replace the "actor_binder n_item_drop" section in bind_stalker.script with a more simplified version, and now everything works perfectly.
  01:56:45  13 September 2013
profilee-mailreply Message URLTo the Top
{imperialreign}
Звуковой Шаман
(Resident)

 

 
On forum: 10/29/2008
Messages: 3075
Was going to comment, there shouldn't be anything with patch 1.006 that would cause a CTD. Any files outside of BIN are solely MP related (and only 4 files, at that). 1.006 *does* update the engine and libraries, and addresses some render issues (if you have the WW or RUS patch, it also updates/removes the DRM disk-check).

I had posted, a long time ago, an actual break-down of what patch 1.006 updates for all 3 versions: North American, World Wide and Russian release.

There's been a lot of myth, fable and errata posted by other users concerning the patch, and my attempt was to actually determine one way or the other, lol. As long as you don't play MP, there's no security issues or otherwise to worry about.
  05:20:19  17 September 2013
profilee-mailreply Message URLTo the Top
NatVac
Senior Resident
 

 
On forum: 06/15/2007
Messages: 4263
If you look at your original error dump, you will see that there are two different medkits identified, the one transferred (medkit:esc_medkit, the nearby medkit) and the one eaten (medkit:medkit21280). The game is checking to see that the transferred one is eaten, and it isn't.

>> ! Unknown command: dbg:_Tolik's_health_is_31

This is a ZRP debug message, but the ZRP code would not give the medkit to Tolik (or any other scripted wounded guy), returning before the eat() function is called. Also, in ZRP this routine would not even be called because you would be in a dialog (see item_drop_is_intentional() in _z.script), so all dialog-based "Help me!" requests would also work in 1.0006. Something strange here, perhaps having to do with your custom code.

---QUOTATION---
Issue resolved. For anyone who's interested, all I had to do was replace the "actor_binder n_item_drop" section in bind_stalker.script with a more simplified version, and now everything works perfectly.
---END QUOTATION---


I wonder what was there before you fixed it...
__________

---QUOTATION---
I had posted, a long time ago, an actual break-down of what patch 1.006 updates for all 3 versions: North American, World Wide and Russian release.
---END QUOTATION---


And I quoted it, {imperialreign}. See the "Compatibility with new patches" sticky, first page.
  03:43:41  24 September 2013
profilee-mailreply Message URLTo the Top
Nuor
Senior Resident
 

 
On forum: 03/10/2009
 

Message edited by:
Nuor
09/24/2013 4:01:47
Messages: 735
I'm getting a completely unrelated error in SmP with this new patch.


---QUOTATION---

FATAL ERROR

[error]Expression : xml_doc.NavigateToNode(path,index)
[error]Function : CUIXmlInit::InitStatic
[error]File : E:\stalker\sources\trunk\xr_3da\xrGame\ui\UIXmlInit.cpp
[error]Line : 172
[error]Description : XML node not found
[error]Arguments : static_patch_check_version

---END QUOTATION---


Not clear what is triggering it.

maybe some checks Lij added to main_menu script.

Edit: yep - that is where it is. Now to figure out why it broke.

edit 2: I see he put in a check for 1.0005 but I don't have the updated xml entry and texture. It never showed up before as I had never called that function.
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2019 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.