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 / Broadcast not working

Author
Message
Max P
14
Years of Service
User Offline
Joined: 23rd Jan 2010
Location:
Posted: 6th Apr 2012 17:58
I just bought a Samsung Galaxy S2 and I wanted to test my app. But the broadcasting isn't working. It starts the broadcast, then after a few seconds it says complete, no errors, but the agk player just stays on the standby screen.

Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 6th Apr 2012 18:04
I had the same thing happening with my iPod Touch (3rd generation).

When I clicked on the 'Compile and Broadcast' button that has the gold gear and green arrow, nothing happened on the iPod.

If I click the 'Compile, Run and Broadcast' button with the red arrow, the application ran on both my PC and on the iPod.

Cheers,
Ancient Lady
Max P
14
Years of Service
User Offline
Joined: 23rd Jan 2010
Location:
Posted: 6th Apr 2012 18:15
They both won't work, when I click the Compile, Run and Broadcast it runs on my PC, but not on my phone.

Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 6th Apr 2012 18:22
This might be a dumb question.

You said the
Quote: "agk player just stays on the standby screen"


Did you really mean the AppGameKit Viewer? I've been able to the the Viewer to respond.

But I don't know if the AppGameKit Player (which no one seems to be able to find for an iPhone) works the same way.

Cheers,
Ancient Lady
Max P
14
Years of Service
User Offline
Joined: 23rd Jan 2010
Location:
Posted: 6th Apr 2012 18:33
I am using the AppGameKit Player (for Android).

Ancient Lady
Valued Member
20
Years of Service
User Offline
Joined: 17th Mar 2004
Location: Anchorage, Alaska, USA
Posted: 6th Apr 2012 20:37
My apologies, I missed the bit about the device being an android one.

Have you seen this in the FAQs? http://www.appgamekit.com/faq.php#q45

Cheers,
Ancient Lady
Marl
13
Years of Service
User Offline
Joined: 19th Nov 2011
Location: Bradford, UK
Posted: 7th Apr 2012 01:48
I had the same problem with the same phone initially.

Two things sorted it;

1) Make sure the player is the latest version
2) Stop the stupid Windows firewall from blocking AGK

Been sweet as a nut ever since.
Kobaltic
12
Years of Service
User Offline
Joined: 24th Jan 2012
Location: PA, USA
Posted: 7th Apr 2012 05:18
Check firewall
check to make sure you don't have virtual network adapters enabled.
Max P
14
Years of Service
User Offline
Joined: 23rd Jan 2010
Location:
Posted: 7th Apr 2012 12:27 Edited at: 7th Apr 2012 13:29
Both the App Game Kit and the Player are the latest version. The firewall isn't blocking AppGameKit (turned it off completely to be sure).
Quote: "check to make sure you don't have virtual network adapters enabled"

Don't know what virtual network adapters are, can I see if I have them somewhere?

edit
I am working on my laptop, I have used the broadcast function before, on school, with someone else his phone. It worked perfectly then, but not now, with my own phone at home.

Kobaltic
12
Years of Service
User Offline
Joined: 24th Jan 2012
Location: PA, USA
Posted: 8th Apr 2012 06:28 Edited at: 8th Apr 2012 06:28
Quote: "Don't know what virtual network adapters are, can I see if I have them somewhere?"


If you have them they would be listed under your device manager. You can just right click and hit disable.
Kobaltic
12
Years of Service
User Offline
Joined: 24th Jan 2012
Location: PA, USA
Posted: 8th Apr 2012 06:45
I just realized I have to start the phone first then broadcast to get it to work. It will not work on my phone if I broadcast first.
Max P
14
Years of Service
User Offline
Joined: 23rd Jan 2010
Location:
Posted: 8th Apr 2012 12:00
Quote: "If you have them they would be listed under your device manager"

Couldn't find any there, so I guess I don't have them.
Quote: "I just realized I have to start the phone first then broadcast to get it to work. It will not work on my phone if I broadcast first."

I am starting the player before broadcasting

It probably is a problem with my phone or my router, cause it is working on school with another phone.

Kobaltic
12
Years of Service
User Offline
Joined: 24th Jan 2012
Location: PA, USA
Posted: 8th Apr 2012 17:20 Edited at: 8th Apr 2012 17:21
Do you have gingerbread or higher on your phone?

NM I just saw you have the galaxy S2 which came with GB.
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 9th Apr 2012 04:37
Only thing I can think of is that something else is operating one of the following ports 5689, 45633, 45631, which are used when broadcasting apps to communicate between the compiler and the player.

What is the exactly sequence of events you see on the device? In particular does it display a percentage progress?
Max P
14
Years of Service
User Offline
Joined: 23rd Jan 2010
Location:
Posted: 9th Apr 2012 12:42 Edited at: 9th Apr 2012 13:06
Quote: "What is the exactly sequence of events you see on the device?"

First I start the AppGameKit Player on my phone, it goes to the standby screen (with the 'To exit a running app, simply press the top of the screen for 5 seconds' text)
Then I press the 'Compile, Run and Broadcast' button. My game starts to compile. Then it starts the broadcast, it stays on 'broadcasting app...' for a few seconds and then it goes to 'complete'.
Nothing happens on my phone, it stays on the standby screen.
Quote: "Compiling: main.agc
Broadcasting app...(click Abort to end broadcast)
Complete."


Quote: "something else is operating one of the following ports 5689, 45633, 45631"
Is there a way to check if the ports are free?
edit
I googled on how to check for open ports and I found that I had to use 'netstat', the ports 5689, 45633, 45631 are not in the list...

Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 10th Apr 2012 19:05
In that case it sounds like a firewall or other barrier preventing the broadcast reaching the device. Do any other devices on the same network receive successfully from that machine?

Assuming windows 7, go to the control panel, select "Network and Internet" then "Network Sharing Center", then on the left "Change adapter settings". Try disabling any networks that don't connect to the device.
Max P
14
Years of Service
User Offline
Joined: 23rd Jan 2010
Location:
Posted: 10th Apr 2012 19:14 Edited at: 10th Apr 2012 19:16
I tested it on school today and everything worked. I broadcasted an example app to my phone and it ran fine. So I guess my router at home blocks it or something.
When I did it with my own app, it was send to the device, but the screen turned black for a few seconds and then went back to the standy screen. (it did 'download' the app succesfully)

Kobaltic
12
Years of Service
User Offline
Joined: 24th Jan 2012
Location: PA, USA
Posted: 12th Apr 2012 05:53
Quote: "The firewall isn't blocking AppGameKit (turned it off completely to be sure)."


Was this windows' firewall or the router's firewall?
polomint
12
Years of Service
User Offline
Joined: 3rd Apr 2012
Location: Lancashire, United Kingdom
Posted: 12th Apr 2012 12:06
The usual culprits are either the Windows Firewall (or any other firewall installed), and ports being blocked by your router. Chuck the ports into the port forwarding / Virtual Server part of the router and you should be good to go,

Blackberry App Development & ZX Spectrum Game Development.
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 12th Apr 2012 12:53
port forwarding is only for connecting to your network from the outside world.

With windows 7, you don't want to disable the firewall, because of the way it behaves when it's off. Instead, just forward the ports you need and see if it works then.

If that doesn't work, what kind of router do you have? We might be able to offer specific advice.

Login to post a reply

Server time is: 2024-11-23 08:29:16
Your offset time is: 2024-11-23 08:29:16