I created a game ID and built the tic-tac-toe Flash demo on my Windows PC as a test. (We'll be using mxmlc on linux down the road, but I didn't want to have too many variables for now.)
I have the latest MonoDevelop Ubuntu package (2.4) and I'm compiling the server-side code with Mono / .NET 3.5. I copied the swf and html files to my Ubuntu machine and I've run them locally in both a browser and in the stand-alone flash player.
Both log me in, let me see the other players in the lobby, but when I create a game, the client stalls at:
Joining game.
Please wait while we connect to the server.
The debug output from MonoDevelop shows that something is happening... although its quite cryptic:
- Code: Select all
Loaded assembly: /home/straley/Codebase/dev-scott/Player.IO/Flash/Example - Multiplayer - TicTacToe/Serverside Code/Player.IO Test Server Project/bin/Debug/Test Server.exe
Loaded assembly: /home/straley/Codebase/dev-scott/Player.IO/Flash/Example - Multiplayer - TicTacToe/Serverside Code/Player.IO Test Server Project/bin/Debug/Player.IO Development Server.exe [External]
Loaded assembly: /home/straley/Codebase/dev-scott/Player.IO/Flash/Example - Multiplayer - TicTacToe/Serverside Code/Player.IO Test Server Project/bin/Debug/Player.IO GameLibrary.dll [External]
Loaded assembly: /usr/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll [External]
Loaded assembly: /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll [External]
Loaded assembly: /usr/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll [External]
Loaded assembly: /usr/lib/mono/gac/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll [External]
Loaded assembly: /usr/lib/mono/gac/Mono.Posix/2.0.0.0__0738eb9f132ed756/Mono.Posix.dll [External]
Loaded assembly: /usr/lib/mono/gac/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll [External]
Loaded assembly: /usr/lib/mono/gac/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll [External]
Thread started:
Thread started:
Thread started:
Thread started:
Thread started:
Loaded assembly: /usr/lib/mono/gac/Mono.Security/2.0.0.0__0738eb9f132ed756/Mono.Security.dll [External]
Thread started:
Thread started:
Thread started:
Thread started:
Thread started:
Thread started:
Thread started:
Loaded assembly: /usr/lib/mono/gac/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll [External]
Thread started:
Loaded assembly: /tmp/tempgame-2c4499e572a2436ea3287f400fa5a1ae.dll
Loaded assembly: __MetadataTypes [External]
At this point the Player.IO Development Server (v2.1.1.0) is up and "waiting for connection"
I start the Flash client, enter a name, and when i create a game, the following lines are added to the Debug output:
- Code: Select all
Thread started:
Thread started:
Loaded assembly: __MetadataTypes [External]
Thread started:
Thread started:
Loaded assembly: data-0x7fa1c08ca770
Then I start a second client. I can see the first game. So, I click on Join Game and get no additional Debug output.
If I look online, I don't see any players online in the admin console. But, the admin console does see my development server.
If I netstat, I see this:
- Code: Select all
tcp 0 0 127.0.0.1:8184 0.0.0.0:* LISTEN
tcp 0 0 192.168.254.2:8184 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:4505 0.0.0.0:* LISTEN
tcp 0 0 192.168.254.2:4505 0.0.0.0:* LISTEN
Also, even after all the client activity, the Development Server, still just shows:
- Code: Select all
Server Started
========================
(waiting for connection)
Trying last loaded dll
Using Game Dll: TicTacToe.dll
========================
(dll: /home/straley/Dropbox/fullofstars/Codebase/dev-scott/Player.IO/Flash/Example - Multiplayer - TicTacToe/Serverside Code/Player.IO Test Server Project/bin/Debug/TicTacToe.dll)
Any thoughts on what I might be missing?
Thanks,
Scott