Does anyone understand this?

Started by Quasarrgames, June 19, 2014, 11:35:06 PM

Previous topic - Next topic

Quasarrgames

Exception ticking Bullet_Accupistol2399543: System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.StoryWatcher_Damage.Notify_DamageTaken (Verse.Thing damagee, DamageInfo dinfo) [0x00000] in <filename unknown>:0
  at Verse.Thing.TakeDamage (DamageInfo dinfo) [0x00000] in <filename unknown>:0
  at Bullet.Impact (Verse.Thing hitThing) [0x00000] in <filename unknown>:0
  at Projectile.ImpactSomething () [0x00000] in <filename unknown>:0
  at Projectile.Tick () [0x00000] in <filename unknown>:0
  at Verse.TickList.SingleTick () [0x00000] in <filename unknown>:0

Whenever i tried to fire my mod gun with an accuracy of 999 (it was meant to never miss) this message would appear and the gun wouldn't fire. The only thing i understand is "accupistol". It's the name of the gun.

Can you help me fix... whatever this is?
On the right path, but the wrong medication.

I like how there's a thing that displays how long you've logged in to the forums. It shows just how many hours you've spent here, never to get back...

wootastic

It would be more helpful if you posted your code, but it sounds like you are trying to use a variable which you never initialized. 

mrofa

Direct  quote from dll "Accuracy should not be > 10" :D
But if you dont want it to miss just add this <canMiss> false</canMiss>
All i do is clutter all around.

Quasarrgames

Okay then! I will change that.

Also, how to post code? :)
On the right path, but the wrong medication.

I like how there's a thing that displays how long you've logged in to the forums. It shows just how many hours you've spent here, never to get back...

mrofa

You got buttons over over text box when writing the post just click # button and you get snippets or whatever its called :D
All i do is clutter all around.

Architect

Check out BetterPower+ and all its derivatives by clicking the picture below.

It adds many new methods of power generation and uses for it, as well as other things such as incidents.