Jump to content


Photo

Invalid Assertion in ChVidImage.cpp


  • Please log in to reply
5 replies to this topic

#1 Dennis

Dennis
  • Member
  • 86 posts

Posted 09 November 2004 - 04:19 PM

Well, it seems I work through one problem when a fresh one takes its place.

I decided it was time to try and leave Athkatla. My first trip out, this triggers a bandit/slaver attack. I leave Athkatla, the game loads up not the area I am heading to, but the area for the attack AR0043.

The attack progresses for a few seconds and then I get a crash to desktop with the message "Invalid Assertion in ChVidImage.cpp at line 1921; BAM is corrupted".

I tried to figure out which BAM was involved with NI, but I couldn't figure it out. Clearly an NI newbie. Other than editing a character, item, spell, store, or creature I don't really know how to do much with NI.

Is there some particular file I can replace here, or should I just give up on the whole thing and reinstall from scratch (I hate to do it, but I guess it may be necessary).

I had figured the install was working okay having got through NEJ with no serious problems (after putting in patch 1.4 which I had forgotten at first).

Well, hoping someone can magically figure out which BAM it is and send me a clean copy,

Dennis

#2 Sir BillyBob

Sir BillyBob
  • Modder
  • 5315 posts

Posted 09 November 2004 - 04:42 PM

I guess the problem here is that we would need to know if your party has the corrupted item or if one of the enemy. This is probably from something simple like a 1-handed weapon flagged as 2-handed (see it all the time). I assume that your party didn't have any problems up to this point with the same weapons equiped as in this fight? If so, it is an enemy. What other mods do you have installed? Specially the item mini-mods since these sometimes add and equip items to the villians.

Tired of Bhaal? Try some classics mods instead:
Classic Adventures
Official Classic Adventures Website


#3 seanas

seanas
  • Modder
  • 1906 posts

Posted 09 November 2004 - 04:50 PM

yep, "Invalid Assertion in ChVidImage.cpp at line 1921" is a bad mod weapon: as SirBB says, usually a 2 handed weapon (a staff most likely) being wielded one-handed, or a 1 handed being wielded 2 hand (hammer, mace).

it's none of the weapons added by BP - there's one in underrepresented items that i know does this; there are probably some others too; in any event, it will be a weapon carried by yr party.

the solution is to unequip the buggy weapon.

Edited by seanas, 09 November 2004 - 05:15 PM.

"A simple test of the relative merits of science and religion is to compare lighting your house at night by prayer or electricity" - A. C. Grayling
"EFF files have saves, too." - CamDawg
|| this is radio seanas || BP Series v3 || seanas at work ||


#4 Dennis

Dennis
  • Member
  • 86 posts

Posted 09 November 2004 - 07:50 PM

Sir BB and Seanas;

Thanks for the information.

I used NI to evaluate the equipped weapons on my characters. The problem turned out to be a staff from the unusual oddities shop. The staff was not flagged as two-handed but should have been. I have fixed the staff and am now continuing my journey.

So, thanks very much for the help. I am glad to be able to continue playing.

Dennis

#5 Sir BillyBob

Sir BillyBob
  • Modder
  • 5315 posts

Posted 10 November 2004 - 04:45 AM

After you fix the file, copy the ITM file from your override back to the item directory in the Oddities install directory (i.e. fix the original) otherwise, you will have this happen ever time you reinstall the mod and use that staff.

Tired of Bhaal? Try some classics mods instead:
Classic Adventures
Official Classic Adventures Website


#6 Dennis

Dennis
  • Member
  • 86 posts

Posted 10 November 2004 - 09:01 AM

Thx for the thought SirBB.

I have done as you suggested, and also sent a short note to the maintainer (creator?) of the mod suggesting that it be changed if there are any further updates to the mod.

Dennis