Multiple Instance support thread

https://github.com/bwapi/bwapi
Heinermann
Posts: 362
Joined: Thu Apr 26, 2007 12:42 am

Multiple Instance support thread

Postby Heinermann » Thu Oct 14, 2010 4:47 am

Tutorial: http://code.google.com/p/bwapi/wiki/MultiInstance
Issue: http://code.google.com/p/bwapi/issues/detail?id=237
Todo: SNP research and multi-instancce communication

Discuss.
Havn't tested/finalized a solution yet, so if you have ideas for getting 8 processes on a single machine to communicate I'd like to hear it.
Heinermann
Posts: 362
Joined: Thu Apr 26, 2007 12:42 am

Postby Heinermann » Thu Oct 21, 2010 9:42 pm

Image
User avatar
poiuy_qwert
Posts: 548
Joined: Sun Jan 13, 2008 2:14 am

Postby poiuy_qwert » Fri Oct 22, 2010 1:19 am

Nice! :D
Heinermann
Posts: 362
Joined: Thu Apr 26, 2007 12:42 am

Postby Heinermann » Thu Nov 04, 2010 4:27 pm

Image
Image
User avatar
poiuy_qwert
Posts: 548
Joined: Sun Jan 13, 2008 2:14 am

Postby poiuy_qwert » Fri Nov 05, 2010 3:03 pm

Looks like its coming along, but its hard to tell the progress from the screenshots (hard to tell whats going on). Is that showing you have it running multiple instances but they can't connect to eachothers games (yet?)?
Heinermann
Posts: 362
Joined: Thu Apr 26, 2007 12:42 am

Postby Heinermann » Fri Nov 05, 2010 5:16 pm

They do connect, games can be hosted/joined successfully, and they do complete the storm login sequence, but are suddenly "desynchronized" when the send/recv counts don't match and storm begins requesting the packet be resent, until the connection timeout finally drops them.
Heinermann
Posts: 362
Joined: Thu Apr 26, 2007 12:42 am

Postby Heinermann » Sat Nov 06, 2010 2:19 pm

It now WORKS. You can PLAY FULL GAMES! :)

<now in svn and release>

Post your results and Operating system, including information about a virtual machine if you're using one.
Jordi
Posts: 8
Joined: Mon Nov 29, 2010 5:44 pm

Postby Jordi » Mon Nov 29, 2010 10:04 pm

very nice! will check out.

I was using a program called sandboxie to run multiple instances of diablo2/bnet. I never tried with Starcraft tho.
Heinermann
Posts: 362
Joined: Thu Apr 26, 2007 12:42 am

Postby Heinermann » Tue Nov 30, 2010 3:09 am

Also it's a known issue that the LUDP network mode is not compatible with Windows XP, and that the lobby slots do not appear when joining a LUDP game.

Return to “BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)”

Who is online

Users browsing this forum: No registered users and 2 guests