Author Topic: Lobby Error (3.1.8.3)  (Read 1963 times)

Offline Mánagarmr

  • Core Member Mark V
  • *****
  • Posts: 4,272
  • if (isInRange(target)) { kill(target); }
Lobby Error (3.1.8.3)
« on: August 19, 2010, 10:47:55 am »
I keep getting this error when I open up the lobby and try to start a game. I'm not entirely sure it's AI:Wars fault, but I'm completely at a loss as to what is the problem. Halp?
Click here to get started with Mantis for Suggestions and Bug Reports.

Thank you for contributing to making the game better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Lobby Error (3.1.8.3)
« Reply #1 on: August 19, 2010, 10:49:11 am »
That's an error inside the Lidgren Network library, actually -- shouldn't be anything to do with the lobby.  Are you running this multiplayer, or solo?
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 Mánagarmr

  • Core Member Mark V
  • *****
  • Posts: 4,272
  • if (isInRange(target)) { kill(target); }
Re: Lobby Error (3.1.8.3)
« Reply #2 on: August 19, 2010, 11:56:29 am »
Solo. Although I did get an error on loading a game, stating that the server could not be started. I'm assuming this is because I'm currently running an Open Transport Tycoon Deluxe server on the port AI War usually uses. I'll see if restarting AI: War helps (I've changed ports on the server now).
Click here to get started with Mantis for Suggestions and Bug Reports.

Thank you for contributing to making the game better!

Offline Mánagarmr

  • Core Member Mark V
  • *****
  • Posts: 4,272
  • if (isInRange(target)) { kill(target); }
Re: Lobby Error (3.1.8.3)
« Reply #3 on: August 19, 2010, 11:59:40 am »
Nope. Neither restarting AI:War, nor closing the oTTD server down and then restarting AI:War helped. Next step is to restart the computer...

Meanwhile:

Windows 7 Ultimate, x64
6 Gb RAM
Core i7 @ 2,66 GHz
NVidia GeForce GTX 275
Click here to get started with Mantis for Suggestions and Bug Reports.

Thank you for contributing to making the game better!

Offline Mánagarmr

  • Core Member Mark V
  • *****
  • Posts: 4,272
  • if (isInRange(target)) { kill(target); }
Re: Lobby Error (3.1.8.3)
« Reply #4 on: August 19, 2010, 12:04:06 pm »
Rebooting did not help. Not that I thought it would but still...concurrently running programs: A few desktop system overwatch gadgets (CPU/RAM usage and Network usage), Steam (duh), Skype and Mailwasher Pro...Dunno if it helps.
Click here to get started with Mantis for Suggestions and Bug Reports.

Thank you for contributing to making the game better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Lobby Error (3.1.8.3)
« Reply #5 on: August 19, 2010, 12:29:40 pm »
Solo. Although I did get an error on loading a game, stating that the server could not be started. I'm assuming this is because I'm currently running an Open Transport Tycoon Deluxe server on the port AI War usually uses. I'll see if restarting AI: War helps (I've changed ports on the server now).

Okay, I know what the problem is, then.  Basically, the error you are getting from the Lidgren library means that some sort of non-Lidgren data was sent to the port that is in use by AI War, and Lidgren didn't know what to do with it.

Even if you've shut down the Lidgren server, if some other computer might be sending packets to that port still, then that could cause major issues.  If you switch the AI War port to something else you've never used, I imagine that would make the problem go away. 

One of the limitations of the network library that we use at the moment is that it's really not able to react well to extra data being sent its way.  There is a newer version of the network library, but it's largely still in beta and last time I tried it it was crashing constantly with AI War, so I never did even a beta with that in it.  I should try that again sometime soon, though.

For now, the main thing is to make sure that there aren't other programs sending other data to your AI War port, otherwise you'll get an error like you did here.

Perhaps that's not the issue, but my best guess is that it would be.
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 Mánagarmr

  • Core Member Mark V
  • *****
  • Posts: 4,272
  • if (isInRange(target)) { kill(target); }
Re: Lobby Error (3.1.8.3)
« Reply #6 on: August 19, 2010, 12:41:53 pm »
Hmm, i see. Okay...I'll see if I can fix it. Btw, this happens inside the game as well if I load up a savegame, so you're most likely right that it's something connecting to the AIW port.
« Last Edit: August 19, 2010, 12:44:09 pm by Moonshine Fox »
Click here to get started with Mantis for Suggestions and Bug Reports.

Thank you for contributing to making the game better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Lobby Error (3.1.8.3)
« Reply #7 on: August 19, 2010, 01:45:05 pm »
Cool stuff -- fingers crossed, then!
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 Mánagarmr

  • Core Member Mark V
  • *****
  • Posts: 4,272
  • if (isInRange(target)) { kill(target); }
Re: Lobby Error (3.1.8.3)
« Reply #8 on: August 19, 2010, 01:49:54 pm »
Yep, I changed the AI:War port and now it appears the bug is gone. Thanks for the help!
Click here to get started with Mantis for Suggestions and Bug Reports.

Thank you for contributing to making the game better!

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Lobby Error (3.1.8.3)
« Reply #9 on: August 19, 2010, 01:56:26 pm »
My pleasure!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!