Data Realms Fan Forums
http://45.55.195.193/

Mod crashing on AddActor = AHuman
http://45.55.195.193/viewtopic.php?f=1&t=14961
Page 1 of 1

Author:  Hobbesy [ Mon May 25, 2009 10:49 pm ]
Post subject:  Mod crashing on AddActor = AHuman

The strangest thing is happening, CC is aborting a .rte for a Lua related error when there's no Lua involved.

Whenever I try to load the mod, it gives this error.

Code:
Abortion in file .\System\DDTError.cpp,line 109, because:Assertion failed: Reader has been fed bad Inventory MovableObject in Actor::Create


Strangely, it's crashing on the AddActor = AHuman part of this snippet of code.

Code:
AddActor = AHuman
   CopyOf = Their Army Female
   PresetName = Their Army Cadet
   Description = Their greenhorn.
   AddToGroup = Our Guys
   Buyable = 1
   GoldValue = 99
   AddAttachable = Attachable
      CopyOf = Ballistic Vest
      ParentOffset = Vector
         X = 0
         Y = -1
   Jetpack = AEmitter
      CopyOf = Jetpack Heavy
      ParentOffset = Vector
         X = -7
         Y = 3
      DrawAfterParent = 0
   JumpTime = 10 // Secs
   AddInventory = HDFirearm
      CopyOf = Uzi
   AddInventory = TDExplosive
      CopyOf = Pineapple Grenade


As far as I can tell, there is nothing wrong with what I've done at all.

Author:  Roy-G-Biv [ Mon May 25, 2009 11:07 pm ]
Post subject:  Re: Mod crashing on AddActor = AHuman

Lambda wrote:
Code:
Abortion in file .\System\DDTError.cpp,line 109, because:Assertion failed: Reader has been fed bad Inventory MovableObject in Actor::Create

You generally ignore that.
There's been errors like that before Lua.

Try copy pasting the code into a new INI.
See if that helps. I know it helped some people.

Author:  Hobbesy [ Mon May 25, 2009 11:11 pm ]
Post subject:  Re: Mod crashing on AddActor = AHuman

Nope, pasting into a new .ini file doesn't do anything. It still crashes and gives the same error message.

Author:  411570N3 [ Tue May 26, 2009 8:01 am ]
Post subject:  Re: Mod crashing on AddActor = AHuman

Problem is with the AddInventory statements, try double checking the names of the items.

Author:  Grif [ Tue May 26, 2009 8:01 am ]
Post subject:  Re: Mod crashing on AddActor = AHuman

Post the whole .ini, you ♥♥♥♥ something up.

Author:  Hobbesy [ Tue May 26, 2009 9:16 am ]
Post subject:  Re: Mod crashing on AddActor = AHuman

Too late, I fixed it by redoing the entire .ini file.

CC was just ♥♥♥♥ up again.

Author:  piipu [ Tue May 26, 2009 3:09 pm ]
Post subject:  Re: Mod crashing on AddActor = AHuman

Note that it's the line 109 of the .cpp reading the .ini, not the line 109 of the .ini. And CC doesn't just ♥♥♥♥ up, modders do.

Author:  Azukki [ Tue May 26, 2009 11:03 pm ]
Post subject:  Re: Mod crashing on AddActor = AHuman

piipu wrote:
CC doesn't just fudge up, modders do.

Usually. Sometimes it does, eg random load crashes, but those are fixed now.

Author:  Hobbesy [ Tue May 26, 2009 11:22 pm ]
Post subject:  Re: Mod crashing on AddActor = AHuman

So uh, how long are you people going to argue before you understand what the statement "I fixed the problem" means?

Author:  Grif [ Wed May 27, 2009 1:58 am ]
Post subject:  Re: Mod crashing on AddActor = AHuman

A few more hours oughta be good.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/