Author Topic: AI Type Restrictions for Trial if Host is Full  (Read 779 times)

Offline Spikey00

  • Lord of just 5 Colony Ships
  • Master Member Mark II
  • *****
  • Posts: 1,704
  • And he sayeth to sea worm, thou shalt wriggle
AI Type Restrictions for Trial if Host is Full
« on: January 02, 2010, 05:18:11 pm »
I might be hated for this, but if the host whom has the full version of the game hosts, and any client who has a trial version, the game ignores the trial restrictions of "only easy AI types".  I am not sure if this is intended, or if this only applies to the host whom has a trial version, but everyone else has the full/etc.

I do not have a save (because the game was intended to be short, and my autosave was overwritten), but I am very clear that it said on the scoreboard "Raid Engine".  On the first attempt to start the game, I, the host, crashed and received the following (but after a retry it worked), so I am not entirely sure this is relevant.

1/1/2010 5:07:43 PM (2.001ZJ)
-----------------------------------Application_ThreadException-----------------------------------System.ArgumentException: An item with the same key has already been added.
   at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource)
   at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
   at System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)
   at Lidgren.Network.NetServer.AddConnection(Double now, NetConnection conn) in C:\vcother\lidgren-network\2009-7-07\lidgren-network\Lidgren.Network\NetServer.cs:line 329
   at Lidgren.Network.NetConnection.Approve(Byte[] localHailData) in C:\vcother\lidgren-network\2009-7-07\lidgren-network\Lidgren.Network\NetConnection.Approval.cs:line 36
   at Lidgren.Network.NetConnection.Approve() in C:\vcother\lidgren-network\2009-7-07\lidgren-network\Lidgren.Network\NetConnection.Approval.cs:line 14
   at AIWar.NetworkServerWrapper.CheckServer() in C:\vcprojs\AIWar\DX\NetworkServerWrapper.cs:line 177
   at AIWar.GameForm.RunNextCycle(Boolean DoRendering, Boolean DoScrollingAndInput) in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 570
   at AIWar.GameForm.gameLoop() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 245
   at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 241
   at System.Windows.Forms.Form.OnLoad(EventArgs e)
   at System.Windows.Forms.Form.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.WmShowWindow(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ContainerControl.WndProc(Message& m)
   at System.Windows.Forms.Form.WmShowWindow(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
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 Revenantus

  • Arcen Games Staff
  • Hero Member Mark III
  • *****
  • Posts: 1,063
Re: AI Type Restrictions for Trial if Host is Full
« Reply #1 on: January 02, 2010, 05:35:45 pm »
I might be hated for this, but if the host whom has the full version of the game hosts, and any client who has a trial version, the game ignores the trial restrictions of "only easy AI types".  I am not sure if this is intended, or if this only applies to the host whom has a trial version, but everyone else has the full/etc.

This is intended behaviour. No worries there. If a player with a licensed version of the game is hosting then any AI type can be chosen, even if other players in the game are in trial mode.

Thanks for the crash report.

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: AI Type Restrictions for Trial if Host is Full
« Reply #2 on: January 02, 2010, 05:42:44 pm »
Ah--okay.

--

Something minor to add in which I forgot to add in the first post, that upon the first attempt to host, the game stopped syncing for some reason, but everyone could speak.  I attempted to resync (ESC menu) then somewhere for that duration I crashed.  Apparently, the syncing problem is becoming more frequently, but I'm not sure what's causing it beyond the game itself.
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