1.

Solve : Stupid clear sky?

Answer»

Hello guys..Ineed help man!!I installed Stalker clear sky and applied the patch v1.5.03 then v1.5.07 on it.Then i put some MODS and fired up the game.(NOTE:I tested it before i put the mods.)

Then the f****** game crashed during client syncronization.Naturally i open the log and it came up with this:

FATAL ERROR
 
[error]Expression    : assertion failed
[error]FUNCTION      : CInventoryItem::Load
[error]File          : E:\priquel\sources\engine\xrGame\inventory_item.cpp
[error]Line          : 99
[error]Description   : m_weight>=0.f
 

stack TRACE:

What the h**l is this man!!!!????If anybody can give me an idea what it is or provide help it would be greatly appreiciated.Mods can quite often make a game unusable or just 'screw it up'.

Have you tried reinstalling it?YAY!!Rescue!!Umm i deleted the mods and tried again and nothing happened.

No.I have'nt tried reinstalling.

And oddly the error seems to originate from a NONEXISTENT file.
Try uninstalling the entire application, and then reinstalling it. Start fresh. Quote from: Donttalktome on August 26, 2009, 02:58:37 AM


And oddly the error seems to originate from a nonexistent file.



the CPP file is the name of the source code file, on the DEVELOPERS machines, that caused the assertion.

from the sounds of it they put a check in to prevent loading an inventory item that weight less then 0, and your mod is trying to create one that does.Hey guys problem fixed!! :)Actually it was because i modded the LR300 to be levitating  (-50 instead of 3.7)
hehe sorry guys and thanks for the help.i know this is off topic but
i hate assert() i hate it when people use it
and i never use it
instead of the program trying to resolve the error
or telling what caused the error
it just says assert failed on line xxx in file xxx
Quote from: smeezekitty on August 26, 2009, 08:41:21 PM
i know this is off topic but
i hate assert() i hate it when people use it
and i never use it
instead of the program trying to resolve the error
or telling what caused the error
it just says assert failed on line xxx in file xxx


you need to learn what an assertion is. it's saying- "this is definitely true"

however it would be kinda rare to find a good instance of it- except maybe, for constants or something. In this case they should have just set the weight to a valid value instead of basically crashing.


On the other hand, a Assert dialog provides the file, line, etc in the source- which a GPF dialog won't do.but it doesnt say waht caused the assert
so if your not the developer then your kind of screwedIt's more a debugging tool for situations that cannot be rectified.


Discussion

No Comment Found