ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Clear Sky Forum » Mod discussion
Need help with a strange CTD

Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  11:10:28  29 September 2014
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144
Need help with a strange CTD

Hey guys,

Anyone who can help me with this ctd ?


---QUOTATION---
0023:03961D83 xrGame.dll, CDialogHolder::shedule_Scale()
0023:0256735B luabind.beta7-devel.rc4.dll, luabind::detail: verload_rep::call()
0023:0252A5B4 lua.JIT.1.1.4.dll, lua_getinfo()
0023:0252A898 lua.JIT.1.1.4.dll, lua_getinfo()
0023:025220A5 lua.JIT.1.1.4.dll, lua_call()
0023:0252AAE8 lua.JIT.1.1.4.dll, lua_yield()
0023:02569DC6 luabind.beta7-devel.rc4.dll, luabind::detail: call()
---END QUOTATION---



This happens after i place some new smart terrains on a new level.
I don`t know if that is the reason for this ctd. Or maybe a error in a script file ?
  11:41:53  13 October 2014
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144
Okey this problem is solved. The problem was the new smart_terrains.

Hope someone can help me with the next ctd.

FATAL ERROR

[error]Expression : assertion failed
[error]Function : CCustomZone::CalcDistanceTo
[error]File : E:\priquel\sources\engine\xrGame\CustomZone.cpp
[error]Line : 1441
[error]Description : nearest_s


stack trace:

I really dont know what this Logfiles says
  13:37:31  13 October 2014
profilee-mailreply Message URLTo the Top
Stalkerstein
Senior Resident
 

 
On forum: 04/24/2010
Messages: 1975
I cannot find anything specific about that error, but programming wise here is information on 'assertion failed':

http://en.wikipedia.org/wiki/Assertion_(software_development)
  14:11:33  13 October 2014
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144
Thats the problem, i have also found nothing.
And your link to the wiki article doesnt help me :/
But i thank you for your reply. Maybe anyone knows whats to do to solve this
  17:56:05  13 October 2014
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144
I found the reason for this crash. I spawn many anomalys on the level Labx18 with a script. After i delete this script this crash doesnt happens again.

But whats wrong whit that script ?


---QUOTATION---

function all_anoms_spawn(respawn)
spawn_anomaly("zone_mine_electric_average", vector():set(-6.3609714508057,1.8955692052841,15.627777099609), 1989, 2011)
spawn_anomaly("zone_mine_electric_average", vector():set(-11.68611907959,4.1888561248779,4.5283513069153), 1494, 2012)
spawn_anomaly("zone_mine_electric_average", vector():set(-10.047689437866,4.225679397583,0.18398967385292), 1673, 2012)
spawn_anomaly("zone_zharka_static_average", vector():set(9.8352174758911,4.2033195495605,-25.763135910034), 4037, 2002)
spawn_anomaly("zone_zharka_static_average", vector():set(11.984473228455,4.2015290260315,-22.454406738281), 4500, 2002)
spawn_anomaly("zone_zharka_static_average", vector():set(10.544985771179,4.2011227607727,-22.74617767334), 4273, 2002)
spawn_anomaly("zone_radioactive_average", vector():set(11.538216590881,4.1994743347168,-24.884412765503), 4160, 2002)
spawn_anomaly("zone_buzz_weak", vector():set(3.1354057788849,4.1986556053162,-19.632135391235), 3157, 2002)
spawn_anomaly("zone_buzz_weak", vector():set(7.5304107666016,4.2790470123291,-10.161137580872), 3844, 2001)
spawn_anomaly("zone_zharka_static_average", vector():set(2.4550495147705,4.2768406867981,-24.04376411438), 3153, 2002)
spawn_anomaly("zone_witches_galantine_average", vector():set(18.350116729736,4.1540746688843,-7.9018411636353), 5528, 2004)
-- spawn_anomaly("zone_witches_galantine_average", vector():set(18.329614639282,4.1901559829712,-1.920624256134), 5541, 2005)
spawn_anomaly("zone_witches_galantine_average", vector():set(18.305353164673,4.1899442672729,5.5308275222778), 5552, 2005)
spawn_anomaly("zone_witches_galantine_average", vector():set(18.488666534424,4.2214603424072,14.982653617859), 5565, 2051)
-- spawn_anomaly("zone_zharka_static_average", vector():set(21.602235794067,4.1887397766113,-1.8720821142197), 6016, 2005)
spawn_anomaly("zone_zharka_static_average", vector():set(22.191967010498,4.1894392967224,2.0966968536377), 6123, 2005)
spawn_anomaly("zone_zharka_static_average", vector():set(25.023830413818,4.2025127410889,-1.1982662677765), 6492, 2005)
spawn_anomaly("zone_zharka_static_average", vector():set(22.784578323364,4.1897621154785,-4.8858585357666), 6208, 2005)
spawn_anomaly("zone_zharka_static_average", vector():set(27.564931869507,4.1849522590637,-5.4675254821777), 6687, 2006)
spawn_anomaly("zone_zharka_static_average", vector():set(28.39054107666,4.1895470619202,1.7255537509918), 6848, 2006)
spawn_anomaly("zone_zharka_static_average", vector():set(30.020090103149,4.1861381530762,6.565710067749), 6984, 2006)
spawn_anomaly("zone_zharka_static_average", vector():set(26.779874801636,4.1899971961975,5.0429029464722), 6646, 2006)
spawn_anomaly("zone_mine_electric_average", vector():set(31.941049575806,4.1899318695068,-5.4646158218384), 7114, 2006)
spawn_anomaly("zone_mine_electric_average", vector():set(22.958654403687,4.1889662742615,10.689775466919), 6232, 2006)
spawn_anomaly("zone_mine_electric_average", vector():set(27.702346801758,4.1895260810852,10.430046081543), 6796, 2006)
spawn_anomaly("zone_mine_electric_average", vector():set(29.926874160767,4.1893873214722,8.5444288253784), 6987, 2006)
spawn_anomaly("zone_buzz_weak", vector():set(21.9289894104,4.1886792182922,18.869251251221), 6042, 2051)
spawn_anomaly("zone_buzz_weak", vector():set(24.383403778076,4.1866736412048,19.209714889526), 6427, 2051)
spawn_anomaly("zone_buzz_weak", vector():set(21.464031219482,4.2077441215515,16.654975891113), 6039, 2051)
spawn_anomaly("zone_witches_galantine_average", vector():set(14.622217178345,4.1836080551147,15.631938934326), 5018, 2051)
spawn_anomaly("zone_witches_galantine_average", vector():set(6.5975961685181,4.1898775100708,15.731774330139), 3657, 2051)
spawn_anomaly("zone_buzz_weak", vector():set(21.9289894104,4.1886792182922,18.869251251221), 6042, 2051)
spawn_anomaly("zone_buzz_weak", vector():set(-3.4407818317413,-4.1526384353638,-14.19756603241), 2225, 2017)
spawn_anomaly("zone_buzz_weak", vector():set(-5.7584867477417,-3.3058695793152,-12.545815467834), 2019, 2016)
spawn_anomaly("zone_buzz_weak", vector():set(-3.3985180854797,-11.83757019043,-12.52547454834), 2228, 2019)
spawn_anomaly("zone_buzz_weak", vector():set(-4.9802298545837,-11.921155929565,-12.50959777832), 2091, 2019)
spawn_anomaly("zone_buzz_weak", vector():set(-5.2500972747803,-11.856022834778,-14.189859390259), 2009, 2019)
spawn_anomaly("zone_buzz_weak", vector():set(-2.6502645015717,-12.010639190674,-14.161347389221), 2296, 2019)
spawn_anomaly("zone_buzz_weak", vector():set(-5.1067900657654,-10.820447921753,-4.5682482719421), 2117, 2036)
spawn_anomaly("zone_zharka_static_average", vector():set(-21.822254180908,-11.042435646057,6.3856091499329), 853, 2032)
spawn_anomaly("zone_zharka_static_average", vector():set(-18.223400115967,-11.050859451294,6.180362701416), 998, 2032)
spawn_anomaly("zone_zharka_static_average", vector():set(-18.223400115967,-11.050859451294,6.180362701416), 853, 2032)
spawn_anomaly("zone_zharka_static_average", vector():set(-14.742427825928,-11.084157943726,3.4687042236328), 1196, 2032)
spawn_anomaly("zone_zharka_static_average", vector():set(-11.877884864807,-11.043732643127,6.0247554779053), 1499, 2032)
spawn_anomaly("zone_zharka_static_average", vector():set(-14.765288352966,-11.078942298889,9.0420513153076), 1210, 2032)
spawn_anomaly("zone_zharka_static_average", vector():set(-13.34038734436,-11.12521648407,12.769751548767), 1357, 2032)
spawn_anomaly("zone_zharka_static_average", vector():set(-13.331260681152,-11.116203308105,16.955989837646), 1363, 2031)
spawn_anomaly("zone_zharka_static_average", vector():set(-11.105871200562,-10.690574645996,19.328950881958), 1581, 2031)
spawn_anomaly("zone_buzz_weak", vector():set(6.8341975212097,-10.895431518555,12.911235809326), 3764, 2042)
spawn_anomaly("zone_buzz_weak", vector():set(5.3516864776611,-12.429777145386,14.748359680176), 3556, 2042)
end


function spawn_anomaly(section,rad_anom,x,y,z,lv,gv,mode)
-- con(section)
if gv==nil then gv=db.actor:game_vertex_id() end
if lv==nil then lv=db.actor:level_vertex_id() end
if pos==nil then pos=db.actor osition() end

local p_obj = alife():create(section,vector():set(x,y,z),lv,gv)

local packet = net_packet()
packet:w_begin(0)
p_obj:STATE_Write(packet)
packet:r_seek(2)

local game_vertex_id = packet:r_u16()
local cse_alife_object__unk1_f32 = packet:r_float()
local cse_alife_object__unk2_u32 = packet:r_s32()
local level_vertex_id = packet:r_s32()
local object_flags = packet:r_s32()
local custom_data = packet:r_stringZ()
local story_id = packet:r_s32()
local cse_alife_object__unk3_u32 = packet:r_s32()

local shape_count = packet:r_u8()
for i=1,shape_count do
local shape_type = packet:r_u8()
if shape_type == 0 then
local center = packet:r_vec3()
local radius = packet:r_float()
else
local box = packet:r_matrix()
end
end

local restrictor_type = packet:r_u8()

local cse_alife_custom_zone__unk1_f32 = packet:r_float()
local cse_alife_custom_zone__unk2_u32 = packet:r_s32()
local on_off_mode_enabled_time = packet:r_s32()
local on_off_mode_disabled_time = packet:r_s32()
local on_off_mode_shift_time = packet:r_s32()

local offline_interactive_radius = packet:r_float()
local artefact_spawn_places_count = packet:r_u16()
local cse_alife_anomalous_zone__unk1_u32 = packet:r_s32()

local last_spawn_time_present = packet:r_u8()

-- if packet:r_elapsed() ~= 0 then abort("left=%d", packet:r_elapsed()) end

packet:w_u16(game_vertex_id)
packet:w_float(cse_alife_object__unk1_f32)
packet:w_s32(cse_alife_object__unk2_u32)
packet:w_s32(level_vertex_id)
packet:w_s32(object_flags)
if mode~=nil then custom_data = mode end
packet:w_stringZ(custom_data)
packet:w_s32(story_id)
packet:w_s32(cse_alife_object__unk3_u32)

packet:w_u8(1)
packet:w_u8(0)
local sphere_center = vector()
sphere_center:set(0, 0, 0)
packet:w_vec3(sphere_center)
radius = rad_anom
packet:w_float(radius)

packet:w_u8(restrictor_type)

packet:w_float(cse_alife_custom_zone__unk1_f32)
cse_alife_custom_zone__unk2_u32 = bit_not(0)
packet:w_s32(cse_alife_custom_zone__unk2_u32)
packet:w_s32(on_off_mode_enabled_time)
packet:w_s32(on_off_mode_disabled_time)
packet:w_s32(on_off_mode_shift_time)

packet:w_float(offline_interactive_radius)
packet:w_u16(artefact_spawn_places_count)
packet:w_s32(cse_alife_anomalous_zone__unk1_u32)

if mode == nil then

packet:w_u8(last_spawn_time_present)
end
p_obj:STATE_Read(packet, packet:w_tell()-packet:r_tell())
-- m.add_spot_on_map(p_obj.id,"red_location","Àíîìàëèÿ"


return p_obj
end

---END QUOTATION---

  10:06:22  7 November 2014
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144
This crash happens when i start a new game. The game crashes sometimes 3 times but it can crash up to 10 times.

And then the game start and all is fine.

Someone can help me and know the reason or wich file in the gamedata folder causes such a error ?

I use a modded gamedata folder but i have made so many changes and some day this crash happens. So i can`t tell you what i have exactly done before the game crash.

Here is the log:

FATAL ERROR

[error]Expression : error handler is invoked!
[error]Function : invalid_parameter_handler
[error]File : E:\priquel\sources\engine\xrCore\xrDebugNew.cpp
[error]Line : 793
[error]Description :


stack trace:

How i said the game crashes 3-10 times and then starts without problems.....
  13:20:24  10 November 2014
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144
I update the thread and hope someone can help me....
  16:03:33  10 November 2014
profilee-mailreply Message URLTo the Top
Decane
Senior Resident
 

 
On forum: 04/04/2007
 

Message edited by:
Decane
11/10/2014 16:07:42
Messages: 1706
The spawn function you're using is bugged. Try this instead:

function all_anoms_spawn()
	local sim = alife()
	sim:create("zone_mine_electric_average", vector():set(-6.3609714508057, 1.8955692052841, 15.627777099609), 1989, 2011)
	sim:create("zone_mine_electric_average", vector():set(-11.68611907959, 4.1888561248779, 4.5283513069153), 1494, 2012)
	sim:create("zone_mine_electric_average", vector():set(-10.047689437866, 4.225679397583, 0.18398967385292), 1673, 2012)
	sim:create("zone_zharka_static_average", vector():set(9.8352174758911, 4.2033195495605, -25.763135910034), 4037, 2002)
	sim:create("zone_zharka_static_average", vector():set(11.984473228455, 4.2015290260315, -22.454406738281), 4500, 2002)
	sim:create("zone_zharka_static_average", vector():set(10.544985771179, 4.2011227607727, -22.74617767334), 4273, 2002)
	sim:create("zone_radioactive_average", vector():set(11.538216590881, 4.1994743347168, -24.884412765503), 4160, 2002)
	sim:create("zone_buzz_weak", vector():set(3.1354057788849, 4.1986556053162, -19.632135391235), 3157, 2002)
	sim:create("zone_buzz_weak", vector():set(7.5304107666016, 4.2790470123291, -10.161137580872), 3844, 2001)
	sim:create("zone_zharka_static_average", vector():set(2.4550495147705, 4.2768406867981, -24.04376411438), 3153, 2002)
	sim:create("zone_witches_galantine_average", vector():set(18.350116729736, 4.1540746688843, -7.9018411636353), 5528, 2004)
--	sim:create("zone_witches_galantine_average", vector():set(18.329614639282, 4.1901559829712, -1.920624256134), 5541, 2005)
	sim:create("zone_witches_galantine_average", vector():set(18.305353164673, 4.1899442672729, 5.5308275222778), 5552, 2005)
	sim:create("zone_witches_galantine_average", vector():set(18.488666534424, 4.2214603424072, 14.982653617859), 5565, 2051)
--	sim:create("zone_zharka_static_average", vector():set(21.602235794067, 4.1887397766113, -1.8720821142197), 6016, 2005)
	sim:create("zone_zharka_static_average", vector():set(22.191967010498, 4.1894392967224, 2.0966968536377), 6123, 2005)
	sim:create("zone_zharka_static_average", vector():set(25.023830413818, 4.2025127410889, -1.1982662677765), 6492, 2005)
	sim:create("zone_zharka_static_average", vector():set(22.784578323364, 4.1897621154785, -4.8858585357666), 6208, 2005)
	sim:create("zone_zharka_static_average", vector():set(27.564931869507, 4.1849522590637, -5.4675254821777), 6687, 2006)
	sim:create("zone_zharka_static_average", vector():set(28.39054107666, 4.1895470619202, 1.7255537509918), 6848, 2006)
	sim:create("zone_zharka_static_average", vector():set(30.020090103149, 4.1861381530762, 6.565710067749), 6984, 2006)
	sim:create("zone_zharka_static_average", vector():set(26.779874801636, 4.1899971961975, 5.0429029464722), 6646, 2006)


	sim:create("zone_mine_electric_average", vector():set(31.941049575806, 4.1899318695068, -5.4646158218384), 7114, 2006)
	sim:create("zone_mine_electric_average", vector():set(22.958654403687, 4.1889662742615, 10.689775466919), 6232, 2006)
	sim:create("zone_mine_electric_average", vector():set(27.702346801758, 4.1895260810852, 10.430046081543), 6796, 2006)
	sim:create("zone_mine_electric_average", vector():set(29.926874160767, 4.1893873214722, 8.5444288253784), 6987, 2006)
	sim:create("zone_buzz_weak", vector():set(21.9289894104, 4.1886792182922, 18.869251251221), 6042, 2051)
	sim:create("zone_buzz_weak", vector():set(24.383403778076, 4.1866736412048, 19.209714889526), 6427, 2051)
	sim:create("zone_buzz_weak", vector():set(21.464031219482, 4.2077441215515, 16.654975891113), 6039, 2051)
	sim:create("zone_witches_galantine_average", vector():set(14.622217178345, 4.1836080551147, 15.631938934326), 5018, 2051)
	sim:create("zone_witches_galantine_average", vector():set(6.5975961685181, 4.1898775100708, 15.731774330139), 3657, 2051)
	sim:create("zone_buzz_weak", vector():set(21.9289894104, 4.1886792182922, 18.869251251221), 6042, 2051)
	sim:create("zone_buzz_weak", vector():set(-3.4407818317413, -4.1526384353638, -14.19756603241), 2225, 2017)
	sim:create("zone_buzz_weak", vector():set(-5.7584867477417, -3.3058695793152, -12.545815467834), 2019, 2016)
	sim:create("zone_buzz_weak", vector():set(-3.3985180854797, -11.83757019043, -12.52547454834), 2228, 2019)
	sim:create("zone_buzz_weak", vector():set(-4.9802298545837, -11.921155929565, -12.50959777832), 2091, 2019)
	sim:create("zone_buzz_weak", vector():set(-5.2500972747803, -11.856022834778, -14.189859390259), 2009, 2019)
	sim:create("zone_buzz_weak", vector():set(-2.6502645015717, -12.010639190674, -14.161347389221), 2296, 2019)
	sim:create("zone_buzz_weak", vector():set(-5.1067900657654, -10.820447921753, -4.5682482719421), 2117, 2036)


	sim:create("zone_zharka_static_average", vector():set(-21.822254180908, -11.042435646057, 6.3856091499329), 853, 2032)
	sim:create("zone_zharka_static_average", vector():set(-18.223400115967, -11.050859451294, 6.180362701416), 998, 2032)
	sim:create("zone_zharka_static_average", vector():set(-18.223400115967, -11.050859451294, 6.180362701416), 853, 2032)
	sim:create("zone_zharka_static_average", vector():set(-14.742427825928, -11.084157943726, 3.4687042236328), 1196, 2032)
	sim:create("zone_zharka_static_average", vector():set(-11.877884864807, -11.043732643127, 6.0247554779053), 1499, 2032)
	sim:create("zone_zharka_static_average", vector():set(-14.765288352966, -11.078942298889, 9.0420513153076), 1210, 2032)
	sim:create("zone_zharka_static_average", vector():set(-13.34038734436, -11.12521648407, 12.769751548767), 1357, 2032)
	sim:create("zone_zharka_static_average", vector():set(-13.331260681152, -11.116203308105, 16.955989837646), 1363, 2031)
	sim:create("zone_zharka_static_average", vector():set(-11.105871200562, -10.690574645996, 19.328950881958), 1581, 2031)
	sim:create("zone_buzz_weak", vector():set(6.8341975212097, -10.895431518555, 12.911235809326), 3764, 2042)
	sim:create("zone_buzz_weak", vector():set(5.3516864776611, -12.429777145386, 14.748359680176), 3556, 2042)
end

  17:00:46  10 November 2014
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144
Thanks Decane but that helps me not with that crash, because i remove this anomaly script and place it with the all.spawn.


FATAL ERROR

[error]Expression : error handler is invoked!
[error]Function : invalid_parameter_handler
[error]File : E:\priquel\sources\engine\xrCore\xrDebugNew.cpp
[error]Line : 793
[error]Description :


stack trace:
  22:48:26  14 November 2014
profilee-mailreply Message URLTo the Top
The Xenus
(Senior)
 
On forum: 03/09/2011
Messages: 144
Again i update the thread....

Need help with this Logfile:

FATAL ERROR

[error]Expression : error handler is invoked!
[error]Function : invalid_parameter_handler
[error]File : E:\priquel\sources\engine\xrCore\xrDebugNew.cpp
[error]Line : 793
[error]Description :


stack trace:
 
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.: Clear Sky 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.