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

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  16:12:49  26 June 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
 

Message edited by:
olaf1
06/26/2012 16:15:45
Messages: 240
fatal error help

Can anyone say me waht this fatal error say???

And how i can solve this. I have nothing change in the data game_relations.ltx


---QUOTATION---
FATAL ERROR

[error]Expression : fatal error
[error]Function : CIni_IdToIndex<1,struct COMMUNITY_DATA,class shared_str,int,class CHARACTER_COMMUNITY>::GetByIndex
[error]File : e:\stalker\patch_1_0004\xr_3da\xrgame\ini_id_loader.h
[error]Line : 147
[error]Description : <no expression>
[error]Arguments : item by index not found in section game_relations, line communities


stack trace:
---END QUOTATION---




Thank you
  17:14:31  26 June 2012
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6349
It appears like you have maybe added a new faction but not added its name and relation to game_relation
  17:18:29  26 June 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240

---QUOTATION---
It appears like you have maybe added a new faction but not added its name and relation to game_relation
---END QUOTATION---



but i have not make a new faktion what i make is to spawn with the vanilla data from SOC and spawn a NPC´s in Kordon. But when i load the game the game crashed andi get this error log but i don´t understnad why
  17:39:36  26 June 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240
I have make this not more

in the spawn_sections.ltx registered my two npc´s


[esc_stalker_respawn_1_1_kamper]:stalker
$spawn 				= "respawn\esc_stalker_respawn_1_1_kamper"
character_profile	= sim_stalker_novice
spec_rank = regular
community = stalker
custom_data = scripts\esc\stalker_kamper.ltx


[esc_stalker_respawn_1_2_kamper]:stalker
$spawn 				= "respawn\esc_stalker_respawn_1_2_kamper"
character_profile	= sim_stalker_novice
spec_rank = regular
community = stalker
custom_data = scripts\esc\stalker_kamper.ltx



and the logic script


[logic]
active = kamp

[kamp]
center_point = esc_test_stalker_kamp_point
radius = 1
meet = meet  
danger = danger_ignore

  
[danger_ignore]
ignore_distance = 10

    
 
[meet]
victim = 15| actor
victim_wpn = 15| actor
use        = true
use_wpn        = true
abuse = true





and my script

local npc_table = {
"esc_stalker_respawn_1_1_kamper",
"esc_stalker_respawn_1_2_kamper",

}

local npc_data_table = {
esc_stalker_respawn_1_1_kamper = {
timer1		= 3,
timer2 		= 6,
death_count 	= 0,
sections	= "esc_stalker_respawn_1_1_kamper",
position = {x = -250.11701965332,y = -19.515562057495,z = -138.84799194336,game_vertex_id = 8,level_vertex_id = 10127},
count		= 3,
id 			= {},
respwanen = true},

esc_stalker_respawn_1_2_kamper = {
timer1		= 3,
timer2 		= 6,
death_count 	= 0,
sections	= "esc_stalker_respawn_1_2_kamper",
position = {x = -250.11701965332,y = -19.515562057495,z = -138.84799194336,game_vertex_id = 8,level_vertex_id = 10127},
count		= 3,
id 			= {},
respwanen = true},
}




function read()	
local npc = npc_table[math.random(1, 2)]
	if npc_data_table[npc] and npc_data_table[npc].respwanen == true then
	npc_name = npc_data_table[npc].sections	
	pos = npc_data_table[npc].position
	npc_number = npc_data_table[npc].count
	spawnen(npc_name,pos,npc_number)
	end
end	



                            

function spawnen(npc,pos,count)
	if npc and pos and count then
		for i = 1,count do
		alife():create(npc,vector():set(pos.x, pos.y ,pos.z) ,pos.game_vertex_id ,pos.level_vertex_id)
		end
	end
end
	





and in the bind_stalker.script registered my script with


function actor_binder:update(delta)
	object_binder.update(self, delta)


	respawn_npc.read()
......................................




can you or an other why i get this carsh and this error log??
  17:41:33  26 June 2012
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6349
Check the stalker section you are spawning and the community and class that it uses.
  17:44:23  26 June 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240

---QUOTATION---
Check the stalker section you are spawning and the community and class that it uses.
---END QUOTATION---



I have and the community is "Stalker"
  17:52:23  26 June 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240
I have make my one NPC character hier is it bt i get the same crash

the spawn_sections.ltx

[esc_stalker_respawn_1_1_kamper]:stalker
$spawn 				= "respawn\esc_stalker_respawn_1_1_kamper"
character_profile	= sim_stalker_test_spawn
spec_rank = regular
community = stalker
custom_data = scripts\esc\stalker_kamper.ltx


[esc_stalker_respawn_1_2_kamper]:stalker
$spawn 				= "respawn\esc_stalker_respawn_1_2_kamper"
character_profile	= sim_stalker_test_spawn
spec_rank = regular
community = stalker
custom_data = scripts\esc\stalker_kamper.ltx




and in the character_desc_simulation.xml the NPC

<specific_character id="sim_stalker_test_spawn" team_default = "1">
	<name>GENERATE_NAME_stalker</name>
	<icon>ui_npc_u_stalker_neytral_hood_9</icon>
	<map_icon x="1" y="0"></map_icon>
	<bio>sim_stalker_veteran_bio</bio>

	<class>sim_stalker_test_spawn</class>
	<community>stalker</community> <terrain_sect>stalker_terrain</terrain_sect>
	
	<rank>763</rank>
	<reputation>123</reputation>

	<visual>actors\neytral\stalker_neytral_hood_9</visual>
	<snd_config>characters_voice\human_03\stalker\</snd_config>
    <crouch_type>0</crouch_type>

    <supplies>
      [spawn] \n
      wpn_pm \n
      ammo_9x18_pmm = 1 \n
      wpn_toz34 = 1\n
      ammo_12x70_buck = 10\n
      #include "gameplay\character_drugs.xml"
      #include "gameplay\character_food.xml"
    </supplies>

    #include "gameplay\character_criticals_5.xml"
    #include "gameplay\character_dialogs.xml"
    <actor_dialog>dm_hello_dialog</actor_dialog>
  </specific_character>




and in the npc_profile.xml the class


	<character id="sim_stalker_test_spawn">
		<class>sim_stalker_test_spawn</class>
	</character>




but i get the same crash and i have no data more in the gamedata folder
  21:43:33  26 June 2012
profilee-mailreply Message URLTo the Top
Vintar
a bit of this and a lot of that
(Resident)

 

 
On forum: 08/08/2008
Messages: 6349
Check that character_desc_simulation is included in system.ltx
also if you are using a game_relations file from another mod or you have edited it then look for typos.
Error seems to say that class is missing from the line :
communities = actor, 0 ...etc
  10:32:19  27 June 2012
profilee-mailreply Message URLTo the Top
olaf1
Senior Resident
 

 
On forum: 01/17/2012
Messages: 240

---QUOTATION---
Check that character_desc_simulation is included in system.ltx
also if you are using a game_relations file from another mod or you have edited it then look for typos.
Error seems to say that class is missing from the line :
communities = actor, 0 ...etc
---END QUOTATION---


I have in my Gameda folder not the game_relations.ltx and in the system.ltx i have nothing change and is ,too, not in my folder. That is my problem.
 
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-2021 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.