Notices

Go Back   FileFront Forums > The Games! > S.T.A.L.K.E.R. > S.T.A.L.K.E.R. Shadow of Chernobyl > S.T.A.L.K.E.R. SoC Modding, Mapping and Editing

Remember Me?

S.T.A.L.K.E.R. SoC Modding, Mapping and Editing
Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
5264222
Crash when starting new game after modding
Meltac
March 10th, 2010 01:34 AM
Hello

After having made several mods, I cannot start a new game anymore (CTD), but all my savegames are still working. So, I assume that some code executed on startup throws an error. Unfortunately, I don't know where to fix this.

Here's a portion of the generated log:

* Creating new game...
* Loading spawn registry...
* 9121 spawn points are successfully loaded

FATAL ERROR

[error]Expression : !(i->used_ai_locations()) || (i->m_tNodeID != u32(-1))
[error]Function : CALifeSimulatorBase::create
[error]File : E:\stalker\sources\trunk\xr_3da\xrGame\alife_simul ator_base.cpp
[error]Line : 193
[error]Description : Invalid vertex for object
[error]Arguments :

stack trace:


Any ideas?
5264863
Re: Crash when starting new game after modding
Jeb_ster
March 10th, 2010 03:52 PM
Quote:
Originally Posted by Meltac View Post
Hello

After having made several mods, I cannot start a new game anymore (CTD), but all my savegames are still working. So, I assume that some code executed on startup throws an error. Unfortunately, I don't know where to fix this.

Here's a portion of the generated log:

* Creating new game...
* Loading spawn registry...
* 9121 spawn points are successfully loaded

FATAL ERROR

[error]Expression : !(i->used_ai_locations()) || (i->m_tNodeID != u32(-1))
[error]Function : CALifeSimulatorBase::create
[error]File : E:\stalker\sources\trunk\xr_3da\xrGame\alife_simul ator_base.cpp
[error]Line : 193
[error]Description : Invalid vertex for object
[error]Arguments :

stack trace:


Any ideas?
First, ...what editor are you using?

Second, ...it tells you the line number and the file that caused the error. It's something that you added to the game that isn't referenced properly and that vertex ID was already being used by another item.

Third, ...you can add a switch to the end of the file name of your desktop icon under properties you can find the xr_3DA.exe name. Right behind that add "-no prefetch" with one space between the file and the switch. Then try to restart the game. If it starts then it is in the prefetch mode that it is crashing. I highly recommend you fix the problem though or you will have further problems in gameplay if you can get a savegame to work for you or maybe any future saves will wind up corrupt.
5265188
Re: Crash when starting new game after modding
shadow_state
March 10th, 2010 11:15 PM
-noprefetch is one word.
5265212
Re: Crash when starting new game after modding
Meltac
March 11th, 2010 12:27 AM
Thanks for your answers.

Sorry, I haven't mentioned that this problem occurs with Priboi Story, not the vanilla game. In another forum I learned now that this mod tends to crash on new game generation in about 2 of 10 times (I believed they fixed this bug, but maybe they did not). I think they use some random script generating different objects, crashing only under certain circumstances.

So is there a way to determine under what condition the CTD appears (or at least what script portion is responsible for it), and whether this is an issue of the Priboi Story mod or of my own modifications? Because the reference to the alife_simul ator_base.cpp only tells you the name of the executed source code file (C++), not the script file being used in addition to it.
5273808
Re: Crash when starting new game after modding
NatVac
March 20th, 2010 06:14 AM
I recommend using the FIX 3 patch for Priboi Story 1.1. Most spawn crashes (if not all) are gone by this patch.

Since the mod's all.spawn is not easily modified, your mods probably don't affect this unless you are spawning entities, and generally one supplies a valid vertex for them. This is usually a placement problem in the all.spawn where a -1 is provided for the vertex or the entity is not placed in a location supporting his presence (e.g., outside the level or not in an AI-approved spot).

If you are spawning by script, output a debug statement to the log before (and maybe one after) each attempt to spawn anything. Script spawning is easily debugged, and you'll then know if it's your responsibility.
5275461
Re: Crash when starting new game after modding
Meltac
March 22nd, 2010 01:30 AM
Thanks NatVac.

Since I did not edit any spawn points, nor spawn by script, I assume that the problem comes from the Priboi mod itself.

I had applied the Fix 3 but was not sure whether I did it correct (found the readme somehow confusing). Will double-check this again. Thx.
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
game crash before starting vanish57 SW:KOTOR Problems, Errors and Help 13 July 14th, 2009 02:42 AM
Crash starting new game KasrkinElite35 S.T.A.L.K.E.R. SoC Problems, Errors and Help 0 April 3rd, 2008 02:44 PM
starting modding ste00 ST:BC Modding and Editing 2 March 6th, 2003 04:55 AM
Hello all, would like help starting into modding Capt Robert April ST:A2 Modding, Mapping and Editing 6 September 5th, 2002 01:50 AM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind