Notice: If the game stops working after an update, it might be a savegame incompatibility. Remove your savegame folder and try again before posting about it.
Registration has an extra hurdle now: There have been advertisement bots, so I added a security keyword to registration. Deal with it.
  0 users browsing Bug Reports. | 1 bot  
Main » Bug Reports » Crashes when killing a wild dog
Pages: 1
Posted on 04-30-16, 11:37 am

 

Posts: 2/2
Since: 04-27-16

Last post: 2910 days
Last view: 2909 days
Exception type: InvalidOperationException
Main message: Sequence contains no matching element

Stack trace:
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
at Noxico.DroppedItem..ctor(String item)
at Noxico.BoardChar.LeaveCorpse(String obituary)
at Noxico.BoardChar.Hurt(Single damage, String obituary, BoardChar aggressor, Boolean finishable, Boolean leaveCorpse)
at Noxico.BoardChar.MeleeAttack(BoardChar target)
at Noxico.Player.MeleeAttack(BoardChar target)
at Noxico.Player.Move(Direction targetDirection, SolidityCheck check)
at Noxico.Player.Update()
at Noxico.Board.Update(Boolean active, Boolean surrounding)
at Noxico.NoxicoGame.Update()
at Noxico.MainForm.timer_Tick(Object sender, EventArgs e)

Background info:
Noxico 0.1.4
Microsoft Windows NT 6.1.7601 Service Pack 1
64-bit OS, 64-bit process.
D:\Download\noxico\bin\Release
Posted on 05-01-16, 08:06 am
<i>Prophet of Celestia</i><br>Baka on the streets, senpai in the sheets

Posts: 321/344
Since: 06-08-12

Last post: 1691 days
Last view: 1231 days
The problem was untested new code from when I got my groove somewhat back:
var droppedItem = new DroppedItem(drop.Text)

This should be
var droppedItem = new DroppedItem(drop)


:YES:

I don't just program Noxico...
Pages: 1
Main » Bug Reports » Crashes when killing a wild dog