Multiplayer AI Problem

Multiplayer AI Problem

Here is where ideas can be collected for the skirmish AI in development

Moderators: hoijui, Moderators

Post Reply
chucklyfun2
Posts: 3
Joined: 17 May 2006, 03:01

Multiplayer AI Problem

Post by chucklyfun2 »

I have tried to set up several LAN games with AAI (0.63) and NTAI (XE8) and was unable to play a game. I was playing with one other person who was on the same LAN, and it would kick him out a second or two after the game started with a global AI exception. That computer was running on a freshly installed Windows ME, though it exhibited the same behavior on one running Windows XP.
In both cases the error was with the person who did not host the game.
Has anyone been able to play a LAN or Internet match with bots? Is this a problem with my machine? Is it a problem with slightly different configurations? Every single game we tried with these two bots failed. When we tried some ExSAI bot, which I don't know where it came from, we didn't get any errors, but the enemy commanders didn't do much.
Spectre
Posts: 42
Joined: 03 May 2005, 16:57

Post by Spectre »

only 1 computer may run the AI... the others have to use a similar named emtpy dll file... you could try renaming emptyai.dll to ntai.dll on the clients...
User avatar
Acidd_UK
Posts: 963
Joined: 23 Apr 2006, 02:15

Post by Acidd_UK »

I've been wondering why all the clients need the ai dll - surely it's enough that one client executes the ai and then tells the host/other clients what the ai is doing - e.g. as if two players were playing on the same machine.
submarine
AI Developer
Posts: 834
Joined: 31 Jan 2005, 20:04

Post by submarine »

however i experienced very strange things:

if the host has the correct aai.dll and the other player any file with the same filename, aai starts acting very strange ingame. suddenly it does things it cannot do (and it never does in a "normal" game) and it seems to get confused somehow.

i dont know if other ais are affected as well, it's just my experience when ppl. tried to spectate aai tests
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Are you sure that you both had the latest versions?

As in you had 0.63 & XE8 and so did the other person, because aai 0.6 and XE7.5 both use the same dll names, the only difference being the XE8 dll has NTai.dll not NTAI.dll which shouldnt make any difference on a widnwos system
chucklyfun2
Posts: 3
Joined: 17 May 2006, 03:01

Same Versions

Post by chucklyfun2 »

I'm pretty sure we had the same versions of AAI. I tried to install it using the same file, but I may have messed it up because the latest release of spring also comes with it. I'm more sure about NTAI, because I checked that over for that problem.

What is the need to have empty AI dlls with the same name on the other machines?
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Post by AF »

Tryusing this emptyAI instead of emptyAI.dll, courtesy of spectre

http://rapidshare.de/files/20738661/rea ... y.zip.html
cain
AI Developer
Posts: 124
Joined: 09 Aug 2005, 10:04

Post by cain »

didn't the multiplayer spawn to completely different game keept together only by the replicable random number generator? (and the inputs)

you send commands to the server,when they're accepted on the server then are exxecuted synchronously on all the clients. try it on a high lag game (use tcpnice or similar)
chucklyfun2
Posts: 3
Joined: 17 May 2006, 03:01

Some Success

Post by chucklyfun2 »

I tried a multiplayer game with AIs and humans, and my computer was running the AIs. My units eventually stopped moving and it messed the game up.

I tried a second game with the AI on a seperate computer set to spectate, and it seemed to work.

Is this being worked on? I know playing against the AI isn't the greatest, but its how my friends usually start.
Post Reply

Return to “AI”