Call of Chernobyl is a free-play sandbox mod for S.T.A.L.K.E.R. : Call of Pripyat created by TeamEPIC. It features 32 explorable maps, reworked level design and level fixes, new original level, Trucks Cemetery, Full AI and A-Life overhaul, engine and script enhancements, Repeatable task system which bases itself on A-Life events, Customizable weather environments for every map as well as surges and psi-storms from AF3, Character creation which includes name, portrait and faction selection; Several optional modes such as Ironman mode, story mode and zombie survival mode, New achievements, rankings and reputation system, PDA leaderboard and enhanced PDA statistics, Companion system with keyboard issued commands, many optional side-features and community-made addons . Call of Chernobyl was player's choice Mod of the Year 9th place in 2015 and 1st place in 2016!

Forum Thread
  Posts  
CTD Duplicate Item ID - zat_b7_bandit_boss_sultan (Games : S.T.A.L.K.E.R.: Call of Pripyat : Mods : S.T.A.L.K.E.R.: Call of Chernobyl : Forum : Support : CTD Duplicate Item ID - zat_b7_bandit_boss_sultan ) Locked
Thread Options
Jun 4 2020 Anchor

I already fixed the problem but I figured other people might run into it too and I hope this'll help them.

Alright, so I was running CoC 1.4.22 with A-Life Revamp and Lost to the Zone: Storyline as well as the all the prerequisite mods for those and I managed to get it running all well and good with no problems. So at this point I decided to see if I can add Immersive Fast Travel to the mix as well as the patches to make it compatible with Lost to the Zone and thats when CoC starts crashing before it even reaches the Main Menu and it gave the following error:

FATAL ERROR

[error]Expression : m_pItemDataVector->end() == t_it

[error]Function : CXML_IdToIndex<class CSpecificCharacter>::InitInternal

[error]File : E:\STALKER\X-Ray Source\X-Ray_CallOfChernobyl\src\xrServerEntities\xml_str_id_loader.h

[error]Line : 183

[error]Description : duplicate item id

[error]Arguments : zat_b7_bandit_boss_sultan

Good thing i backed up the gamedata folder so I tried changing the order of the compatibility patches from Lost to the Zone but still no dice and its still crashing. At that point, I had narrowed down the offending file to S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\gameplay\character_desc_zaton.xml since thats where zat_b7_bandit_boss_sultan is apparently kept.

So I started looking online, and saw this thread with the same error. That didn't seem to resolve it but the one reply there said to reinstall the DoctorX Questlines mod.

I was wary of doing that since that might mess everything else up since DoctorX Questlines is a prerequisuite for Lost to the Zone but since I already knew character_desc_zaton.xml was causing the problem, I decided to compare the character_desc_zaton.xml file in the DoctorX Questlines mod to one in the Immersive Fast Travel patch provided with Lost to the Zone.

So in the version shipped with DoctorX Questlines. the zat_b7_bandit_boss_sultan ID was commented out with the following.

<!-- /////////////////////////////////////////////////////////////////////////////////////////////
	<!--
	<!-- Sultan  (Bandit Honcho) Character Description
	<!--	(Moved to character_desc_darkvalley.xml
	<!--
	<!--	Modified by DoctorX
	<!--	for DoctorX Questlines 1.6
	<!--	October 06, 2016
	<!--
	<!-- ---------------------------------------------------------------------------------------------


I checked the character_desc_darkvalley.xml file and confirmed that there was also zat_b7_bandit_boss_sultan ID there.

So what I did next was open the character_desc_zaton.xml file in an editor and deleted the following lines

    <!--бандит &mdash;ултан_fake-->
    <specific_character id="zat_b7_bandit_boss_sultan" team_default="1">
    <name>st_zat_b7_bandit_boss_sultan_name</name>
    <icon>ui_inGame2_Sultan</icon>
    <map_icon x="1" y="0">
    </map_icon>
    <bio>ќпытный сталкер. &fnof;етальна&curren; информаци&curren; отсутствует.</bio>
    <class>zat_b7_bandit_boss_sultan</class>
    <community>bandit</community>
    <terrain_sect>stalker_terrain</terrain_sect>
    <snd_config>characters_voice\human_02\bandit\</snd_config>
    <rank>11507</rank>
    <reputation>-2192</reputation>
    <visual>actors\stalker_bandit\stalker_bandit_3_face_3</visual>
    <supplies>
        [spawn] \n
        wpn_desert_eagle = 1 \n
        ammo_11.43x23_hydro = 1 \n
#include "gameplay\character_items_nd_nl.xml"
#include "gameplay\character_food.xml"
#include "gameplay\character_drugs_2.xml"
    </supplies>
#include "gameplay\character_criticals_4.xml"
    <start_dialog>zat_b7_bandit_boss_sultan_intro_0</start_dialog>
	<actor_dialog>zat_b7_bandit_boss_sultan_about</actor_dialog>
    <actor_dialog>dm_ordered_task_dialog</actor_dialog>
    <actor_dialog>dm_ordered_task_completed_dialog</actor_dialog>
    <actor_dialog>dm_ordered_task_cancel_dialog</actor_dialog>
    <actor_dialog>zat_b7_bandit_boss_sultan_about</actor_dialog>
    <actor_dialog>actor_break_dialog</actor_dialog>
    </specific_character>

After saving the file, I tried running CoC and surprisingly it ran fine again. Tested both the fast travel, as well as spawing in the Zaton and Dark Valley maps, no CTD yet.

Hopefully what I did didn't cause any problems anywhere else, and hope whoever needs this finds it helpful.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.