Author Topic: Wait, Typo?  (Read 2086 times)

Offline TechSY730

  • Core Member Mark V
  • *****
  • Posts: 4,570
Wait, Typo?
« on: December 10, 2010, 10:42:14 pm »
In the current patch notes:
Quote
Fixed a major longstanding typo in the AI loop dating back to sometime pre-3.120, wherein huge numbers of the AI's planets often would not be evaluated for AI logic, attacking, etc.

Weird. How did this even compile?

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Wait, Typo?
« Reply #1 on: December 10, 2010, 10:43:15 pm »
A stray "break" when there should have been a "continue" will compile just fine.  :-\
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 TechSY730

  • Core Member Mark V
  • *****
  • Posts: 4,570
Re: Wait, Typo?
« Reply #2 on: December 10, 2010, 11:07:22 pm »
Yea, that would do it :(

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Wait, Typo?
« Reply #3 on: December 10, 2010, 11:08:50 pm »
I think there was a loop that got removed or something in the past, but that piece of code remained.  This was a rare enough code branch that it wasn't in-your-face always broken, and even when it was broken it was only for some of the planets in most cases.  Spikey had a case where it was just incredibly in-your-face though, and it still took the better part of the day to find the issue even with such a glaring example.  Glad to have that one gone, anyway.
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 Spikey00

  • Lord of just 5 Colony Ships
  • Master Member Mark II
  • *****
  • Posts: 1,704
  • And he sayeth to sea worm, thou shalt wriggle
Re: Wait, Typo?
« Reply #4 on: December 10, 2010, 11:29:20 pm »
Am I special yet?
I'd take a sea worm any time over a hundred emotionless spinning carriers.
irc.appliedirc.com / #aiwar
AI War Facebook
AI War Steam Group

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Wait, Typo?
« Reply #5 on: December 10, 2010, 11:30:57 pm »
Always have been.  Thanks. ;)

Now just working on the hunter/killers, because your save is now unplayable without them.  I'm getting something like 2-3 real seconds per game second with 21k ships trying to queue up outside your impenetrable fortress of spirecraft, too.
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 Spikey00

  • Lord of just 5 Colony Ships
  • Master Member Mark II
  • *****
  • Posts: 1,704
  • And he sayeth to sea worm, thou shalt wriggle
Re: Wait, Typo?
« Reply #6 on: December 10, 2010, 11:34:24 pm »
Oh, the humanity!

(My game would probably freeze/crash with a current level of 35k threat ships.) 
I'd take a sea worm any time over a hundred emotionless spinning carriers.
irc.appliedirc.com / #aiwar
AI War Facebook
AI War Steam Group

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Wait, Typo?
« Reply #7 on: December 10, 2010, 11:36:35 pm »
Indeed.  Not after the next patch, though. :)
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 TechSY730

  • Core Member Mark V
  • *****
  • Posts: 4,570
Re: Wait, Typo?
« Reply #8 on: December 10, 2010, 11:42:44 pm »
Wait, hunter killers? You mean those monstrously powerful ships I spotted when scanning over all the ship types? The ones that were so scary looking I hoped I never would have to face them?  :o
« Last Edit: December 10, 2010, 11:44:44 pm by techsy730 »

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Wait, Typo?
« Reply #9 on: December 10, 2010, 11:45:19 pm »
Yeah, but don't worry.  It's just collapsing the existing difficulty into a single ship (or two), rather than five thousand ships.  That way it's kind to your CPU/RAM, but the difficult is roughly equivalent.
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 Spikey00

  • Lord of just 5 Colony Ships
  • Master Member Mark II
  • *****
  • Posts: 1,704
  • And he sayeth to sea worm, thou shalt wriggle
Re: Wait, Typo?
« Reply #10 on: December 11, 2010, 12:58:45 am »
What would be the approximate firepower/staying power, then?  Comparable to an avenger, perhaps?
I'd take a sea worm any time over a hundred emotionless spinning carriers.
irc.appliedirc.com / #aiwar
AI War Facebook
AI War Steam Group

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Wait, Typo?
« Reply #11 on: December 11, 2010, 01:00:17 am »
What would be the approximate firepower/staying power, then?  Comparable to an avenger, perhaps?

I haven't done a comparison, actually.  But it's certainly up there.  On paper it's the equivalent to about 12k mark III/IV ships for one of these at the mark V level, but we'll see if that really holds true.
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 Winter Born

  • Hero Member
  • *****
  • Posts: 527
Re: Wait, Typo?
« Reply #12 on: December 11, 2010, 01:41:20 pm »
Am I special yet?

You have always been special  -  Lord of the 60 colony ships. ;D

Offline RCIX

  • Core Member Mark II
  • *****
  • Posts: 2,808
  • Avatar credit goes to Spookypatrol on League forum
Re: Wait, Typo?
« Reply #13 on: December 11, 2010, 11:13:19 pm »
Am I special yet?
Nah, you gotta break 2k posts like me :P

j/k, what X said :)
Avid League player and apparently back from the dead!

If we weren't going for your money, you wouldn't have gotten as much value for it!

Oh, wait... *causation loop detonates*

Offline Spikey00

  • Lord of just 5 Colony Ships
  • Master Member Mark II
  • *****
  • Posts: 1,704
  • And he sayeth to sea worm, thou shalt wriggle
Re: Wait, Typo?
« Reply #14 on: December 11, 2010, 11:15:30 pm »
2K posts!?  Oh, but that's so much work!  :<
I'd take a sea worm any time over a hundred emotionless spinning carriers.
irc.appliedirc.com / #aiwar
AI War Facebook
AI War Steam Group