Author Topic: Status Window Crash  (Read 5624 times)

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Status Window Crash
« Reply #15 on: October 27, 2010, 10:39:06 pm »
Bingo! Thanks, looking into it :)
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Status Window Crash
« Reply #16 on: October 27, 2010, 10:40:53 pm »
That's so weird, I went into all of those sort delegates and nailed. them. to. the. ground. so they couldn't possibly dereference a null.

I can see that this will require higher yield weaponry.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Echo35

  • Master Member Mark II
  • *****
  • Posts: 1,703
  • More turrets! MORE TURRETS!
Re: Status Window Crash
« Reply #17 on: October 27, 2010, 10:42:19 pm »
That's so weird, I went into all of those sort delegates and nailed. them. to. the. ground. so they couldn't possibly dereference a null.

I can see that this will require higher yield weaponry.

Well I am about to reinstall it, because Steam is silly and I have a bajillion folders all over the place, so maybe it's just a file conflict?

EDIT: Well it made my directories cleaner, but didn't solve the issue. Oh well.
« Last Edit: October 27, 2010, 11:01:10 pm by Echo35 »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Status Window Crash
« Reply #18 on: October 28, 2010, 02:33:38 pm »
Did you say you don't have CoN?  I think that may be the issue -- that it's including a ForegroundUnitType reference from CoN, which is nulled out.  I'll test that...
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Status Window Crash
« Reply #19 on: October 28, 2010, 02:35:42 pm »
That would make a degree of sense.

What doesn't make sense is that it's still causing an exception after I had it check for nulls before dereferencing in _all_ the sort delegates in that... oh, I get it now.  The meat of the work happens in the functions called by the delegates, and they're erroring out.

I know how to fix it now, I think, though it would still be good if you could test it with the CoN-off thing.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Status Window Crash
« Reply #20 on: October 28, 2010, 02:36:22 pm »
Yeah, I'm looking into it right now.  Same thought process here. :)
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Status Window Crash
« Reply #21 on: October 28, 2010, 02:37:45 pm »
It should be relatively easy to simply not create line items for the omitted types, rather than deal with the nulls in the comparers.
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Status Window Crash
« Reply #22 on: October 28, 2010, 02:38:41 pm »
Indeed.  I'm definitely able to duplicate this now, so working on it...
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Status Window Crash
« Reply #23 on: October 28, 2010, 02:44:09 pm »
This was less odd than I thought -- it was the TypeName field not being initialized even to empty string for those entries.  So the unitdata references were all fine, your null checks were great, but the typename itself was what was null.  I imagine that could have been the cause of some phantom problems in various places, but it's definitely fixed now.

Thanks!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: Status Window Crash
« Reply #24 on: October 28, 2010, 02:46:05 pm »
Sweet, thanks :)
Have ideas or bug reports for one of our games? Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Status Window Crash
« Reply #25 on: October 28, 2010, 02:49:17 pm »
You bet!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!