Author Topic: [Solved]No map when creating game  (Read 5441 times)

Offline PLivesey

  • Jr. Member
  • **
  • Posts: 60
Re: No map when creating game
« Reply #15 on: August 16, 2010, 01:42:54 pm »
It is good to know it isn't totally unique.  We hope that the Unity version will fix it for both of you.

Just to be clear, if you just press "Start Game" (albeit sight-unseen) or load a saved game, it works ok?

That is the case.  I can actually start games and everything works fine, it is just that choosing the starting position (and also looking at the generated map) is impossible.

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: No map when creating game
« Reply #16 on: August 16, 2010, 01:48:14 pm »
Ok, thanks.  That is very weird, as evidently SlimDX and DirectX are working fine in general on your system, or the main game display would be totally hosed too.

About the only workaround I can think of is to use someone else's computer to generate the game, pick your homeworld(s), and create a save, and load it on your machine.  I'd create a save for you but it would be kinda tricky to do the necessary feedback on what you wanted ;)
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 PLivesey

  • Jr. Member
  • **
  • Posts: 60
Re: No map when creating game
« Reply #17 on: August 16, 2010, 01:57:49 pm »
Yeah, I imagine it would.  Perhaps there should be some sort of thread where people post really good map seeds (if that doesn't already exist), then I could at least be sure of what my map would look like.  Then I could just keep starting 'til I got the planet I wanted! :P

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: No map when creating game
« Reply #18 on: August 16, 2010, 02:27:19 pm »
Hmmm...

Can you check inside your AI War folder and see if there are any error text files?  Anything like LobbyDrawErrors.txt or something similar?  If this is a bug, and not some sort of odd driver issue, then there would be some sort of exception file other than what was just being reported before, I would think.
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: No map when creating game
« Reply #19 on: August 16, 2010, 02:29:51 pm »
Incidentally, the way that the lobby draws is something we're going to be reinventing during the Unity changeover, anyway.  It's usually easier to reinvent one thing at a time -- perhaps I'll try doing that with this sooner than later, as that should solve this issue 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 PLivesey

  • Jr. Member
  • **
  • Posts: 60
Re: No map when creating game
« Reply #20 on: August 16, 2010, 02:36:54 pm »
Hmmm...

Can you check inside your AI War folder and see if there are any error text files?  Anything like LobbyDrawErrors.txt or something similar?  If this is a bug, and not some sort of odd driver issue, then there would be some sort of exception file other than what was just being reported before, I would think.

It is the exact same error as before.  However, I have tried reinstalling the slim DX, and also uninstalling -> rebooting -> reinstalling -> rebooting -> running AI War, to no avail.  Not sure why that fix isn't working anymore.

15/08/2010 11:16:24
-----------------------------------SlimDX.Direct3D9.Direct3D9Exception: D3DERR_INVALIDCALL: Invalid call (-2005530516)
   at SlimDX.Result.Throw[T](Object dataKey, Object dataValue)
   at SlimDX.Result.Record[T](Int32 hr, Boolean failed, Object dataKey, Object dataValue)
   at SlimDX.Direct3D9.Device.Present(Rectangle sourceRectangle, Rectangle destinationRectangle, IntPtr windowOverride)
   at AIWar.GameForm.DrawDirect3DLobby() in C:\vcprojs\AIWar\GameFormParts\GamePanel.cs:line 3501
15/08/2010 11:16:25


Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: No map when creating game
« Reply #21 on: August 16, 2010, 02:43:07 pm »
That's just bizzare -- I think it has something to do with something on your system not being happy when directx graphics card output is redirected to a secondary window handle (which is what happens here).  Why that is the case for just a few folks, I have no idea.  Maybe some recent windows update altered something related to this for security reasons, or maybe a recent directx update did it, or maybe it's something with recent drivers.

It's very odd, but hopefully the removal of the need for it to redirect to that other window handle will solve this.  Thanks for your patience!
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: No map when creating game
« Reply #22 on: August 17, 2010, 11:53:40 pm »
Okay, in the new 3.183 version, it has a completely revamped lobby that no longer draws via the window-handle redirection.  Given that the rest of the game is drawing fine for you, there should now no longer be any reason why the lobby wouldn't also work fine, as it's not using the same mechanism as the rest.

Fingers crossed, and I hope that helps!
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 PLivesey

  • Jr. Member
  • **
  • Posts: 60
[Solved] Re: No map when creating game
« Reply #23 on: August 18, 2010, 01:36:08 pm »
Okay, in the new 3.183 version, it has a completely revamped lobby that no longer draws via the window-handle redirection.  Given that the rest of the game is drawing fine for you, there should now no longer be any reason why the lobby wouldn't also work fine, as it's not using the same mechanism as the rest.

Fingers crossed, and I hope that helps!

Thank you, thank you, thank you!  Works perfectly, now I can start playing the new expansion!  ;D

Offline keith.lamothe

  • Arcen Games Staff
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 19,505
Re: [Solved]No map when creating game
« Reply #24 on: August 18, 2010, 01:37:49 pm »
Sweet! Glad to hear 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: [Solved]No map when creating game
« Reply #25 on: August 18, 2010, 01:40:19 pm »
Excellent!!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!