Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / 108b8 : Multiplayer commands partially broken on Windows ?

Author
Message
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 21st Mar 2013 05:45
I have just tried the example Tier1 code "Multiplayer - Getting Started" in the 108b8.

Between two android devices it works well.

On windows, it works well when Windows is the client. But when it hosts the network, my android devices can't connect. It says me "Failed to connect to specified network, Client name is not unique" (but it is)

Anyone can quickly test this example project in this case on 108b8 ? (windows as the host).
Markus
Valued Member
20
Years of Service
User Offline
Joined: 10th Apr 2004
Location: Germany
Posted: 21st Mar 2013 09:53 Edited at: 21st Mar 2013 09:55
i had no problems with AGK_Player_Beta108_6 and 108 8 IDE.
i using pc>router<wlan<tablet

MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 21st Mar 2013 11:30
Same problem with your code... It must be a problem with my network configuration ( pc Wifi 108b8 > router wlan < Tablet Wifi 108b8).

Strange !
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 21st Mar 2013 14:35
Exactly the same problem with another Win7 laptop computer (at my office this time .. with a different WLAN router) ... can't host a game
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 21st Mar 2013 17:25
Quote: " It says me "Failed to connect to specified network, Client name is not unique""


This message no longer appears since 108 as the requirement for the client name to be unique has been removed. I suspect one of your platforms is running an old version of the player.
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 21st Mar 2013 17:39
Ok you're right for the version.

I just verified and i had a bad shortcut to a previous version on windows (for AppGameKit IDE .. which i don't use anymore for my main project (editplus power .

Now i'm using the 1088 AppGameKit IDE and player with the 1088 android player (provided by AncientLady) and the problem is the same without the message lol i can't connect to windows host ... but windows can connect to android host ...

Don't worry about it, if it is working for you it's certainly a problem that i will resolve soon on my side.

Thanks !
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 21st Mar 2013 18:05
The is a known problem with some Android devices that can't receive a broadcast packet so it will never know that Windows is hosting a game, however I would expect that to also interfere with Android to Android connections.
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 21st Mar 2013 18:41 Edited at: 21st Mar 2013 18:44
For me it works well each time in each direction (as client and host) between :

- Android 4.2 <> Android 4.1
- Android 3.2 <> Android 4.2
- Android 2.3 <> Android 4.1

Edit : also tested well on the Galaxy S3 (android 4.2)

Android 2.3 = Samsung Galaxy Ace (official firmware)
Android 3.2 = Samsung Galaxy Tab 8.9 (official firmware)
Android 4.1 = Samsung Galaxy Tab 10.1 (not official firmware .. cyanogen)
Android 4.2 = Google Nexus 10 (official firmware)

Tested multiple times without any problem when an android device host the game (and windows can connect them too).

And it never works for me when windows act as a host.
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 21st Mar 2013 20:04
Then that suggests Windows is sending the broadcast packet out on the wrong network interface. Do you have more than one interface, such as a wired and wireless connections? Also VMWare installs some network interfaces for itself that may confuse it.
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 21st Mar 2013 20:21 Edited at: 21st Mar 2013 20:23
yes i suspected that .. and yes i have vmware. But i have deactivated ALL the network interfaces except the wifi one and after restart (maybe ?) i have tested withtout any success. But my second windows 7 computer don't have other network interfaces (except rj45 which is disconnected ... but i have also disabled it).

maybe a software ... i will see ..

My request feature : having a command to display windows network interfaces list with labels and indexes, and a command to select another interface to use (with the default on the first connected/wired one or the one which is connected to internet)
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 21st Mar 2013 20:26 Edited at: 21st Mar 2013 20:51
But a problem of net interfaces choice to listen should give a problem to broadcast the app to android player no ? or the system is different ?

AGK IDE Broadcasting and AppGameKit "in-app" network broadcasting could use a different interface ?

edit : i will have to sniff network to understand ... i have killed almost all the active process and still doesn't work lol

edit : doesn't work either in local inside the same windows (host and client on the same machine)
JimHawkins
14
Years of Service
User Offline
Joined: 26th Jul 2009
Location: Hull - UK
Posted: 22nd Mar 2013 00:13
Is this a firewall problem? Sounds like it.

-- Jim DO IT FASTER, EASIER AND BETTER WITH AppGameKit FOR PASCAL
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 22nd Mar 2013 02:24
Maybe but why AppGameKit IDE is able to broadcast the app to android player and not for a network game ?
Paul Johnston
TGC Developer
21
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 22nd Mar 2013 02:49
Quote: "Maybe but why AppGameKit IDE is able to broadcast the app to android player and not for a network game ?"


The AppGameKit IDE makes the devices broadcast their presence to the IDE which then connects back to them, instead of the IDE broadcasting itself to the devices, for this very reason in fact.
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 22nd Mar 2013 02:55
ho yes ok Thanks

Login to post a reply

Server time is: 2024-05-07 22:11:49
Your offset time is: 2024-05-07 22:11:49