Corona® AutoLAN- Public Internet Multiplayer Support Beta! Join Now!

OMG - Say it isn’t so. I love this little lib and was going to be asking some questions starting next month when we start a very cool project…

Well you cant beat free that’s for sure, but I hope you’ll still answer a few questions for us when the time comes.

Thanks

Love what you guys have been doing.

Larry [import]uid: 11860 topic_id: 19917 reply_id: 115239[/import]

Larry,

No worries! We will still try to answer any questions you might have. When things settle down we will get that dedicated server we were talking about up and running.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 19917 reply_id: 115243[/import]

I’m still glad I paid for my copy, as I was able to make my game have a local multiplayer option, which eliminated my requirement for PubNub. My only issue (not AutoLAN’s) is how to handle old data in a fast-paced action game (by the time the user transmits his position, and by the time the other player receives it, the first player is no longer there).

I tried to implement the 1.2 beta’s Internet server code onto a few hosting sites I found, but I couldn’t get it to either install or run the script. As a last resort, I do have a friend who runs an ISP, so I could possibly give him a decent box to host it on, but I would need to get exact specifics and make sure that the script does actually work before I try to put him through the ringer to implement the whole thing.

[import]uid: 6084 topic_id: 19917 reply_id: 115256[/import]

Hello BeyondtheTech,

Sorry about the delayed emails.

The internet beta indeed does work but currently it only supports peer2peer mode. What this means is that data packets are not actually routed through the servers themselves. While this saves much bandwidth, it will not work in all cases. We tried testing on as many internet setups as possible and at times we were only able to get a 1 way connection for example suggesting some router issue or ISP issue. The only thing left to make the system work in all circumstances is to route the packets through the server itself if a p2p connection does not work. Currently we just do not have the resources to make such a server infrastructure.

As for the php server script. It should not require much setup to get working. The only thing it needs is sockets support (so you will probably need a VPS or something) and json support. The script itself is pretty small and compact so it should be able to run on fairly low memory servers.

We hope that enough people will use AutoLAN at least for local networking for now. The API changes for converting local to internet are transparent (only requires like 2 lines of code.) With enough people interested we will implement the above changes and create a cheap subscription based VPS gaming network.

Regards,
M.Y. Developers [import]uid: 55057 topic_id: 19917 reply_id: 115257[/import]

If I can’t get my own server set up, you can count me in for that subscription-based option!

Thank you for the update and your code. [import]uid: 6084 topic_id: 19917 reply_id: 115264[/import]

Sure thing! Hope it is of use to the community. At the very least you can learn lua sockets and udp broadcasts from it. [import]uid: 55057 topic_id: 19917 reply_id: 115266[/import]

Is the autolan online beta complete or is it still limited to local connections? [import]uid: 120551 topic_id: 19917 reply_id: 135854[/import]

Is the autolan online beta complete or is it still limited to local connections? [import]uid: 120551 topic_id: 19917 reply_id: 135854[/import]

Hi, i believe that i noticed you visited my site so i got
here to return the want?.I’m trying to find things to improve my web site!I assume its good enough to use some of your ideas!!

Look at my web-site - what is options trading [import]uid: 219094 topic_id: 19917 reply_id: 140578[/import]

Hi, i believe that i noticed you visited my site so i got
here to return the want?.I’m trying to find things to improve my web site!I assume its good enough to use some of your ideas!!

Look at my web-site - what is options trading [import]uid: 219094 topic_id: 19917 reply_id: 140578[/import]

Hello there,
I am having a trouble with the library. I am sending some custom broadcast. Then if a server is found then it automatically connects and send a photo, and then disconnects. On the simulators this works, if I try a device and the simulator the simulator gets the photo but the device not. If I test this on two devices then nothing is done. So, the conclusion is that the app is working but on android is not sending the udp through the socket but its sending it. So the port was created.

these are the permission I added on the build.settings:
“android.permission.INTERNET”,
“android.permission.ACCESS_NETWORK_STATE”,
“android.permission.ACCESS_WIFI_STATE”,
“android.permission.CHANGE_NETWORK_STATE”,
“android.permission.CHANGE_WIFI_MULTICAST_STATE”,
“android.permission.CHANGE_WIFI_STATE”,
“android.permission.READ_PHONE_STATE”,

So please enlight me guys…
Thanks again,
Yiannis Demetriades

Hi Yiannis,

I had the problem that the server could not connect to a client on Android due to software installed in my phone by default. See my post above.

Hope that helps

Holger

I can’t run server and client at the same time?

The simulator can receive the photo the device can not. The receiving part is the server, right? On my android device this was blocked by a service running in the background. I thought that might be the case here as well.

@holger
You are correct. The server receives the file. I tried this on two mobiles and on one tablet and is the same thing. I checked for a software its not this the problem.

Anyone experiencing the same problem with autolan on android? What is going wrong? I cant fond it… just help…

Hello there,
I am having a trouble with the library. I am sending some custom broadcast. Then if a server is found then it automatically connects and send a photo, and then disconnects. On the simulators this works, if I try a device and the simulator the simulator gets the photo but the device not. If I test this on two devices then nothing is done. So, the conclusion is that the app is working but on android is not sending the udp through the socket but its sending it. So the port was created.

these are the permission I added on the build.settings:
“android.permission.INTERNET”,
“android.permission.ACCESS_NETWORK_STATE”,
“android.permission.ACCESS_WIFI_STATE”,
“android.permission.CHANGE_NETWORK_STATE”,
“android.permission.CHANGE_WIFI_MULTICAST_STATE”,
“android.permission.CHANGE_WIFI_STATE”,
“android.permission.READ_PHONE_STATE”,

So please enlight me guys…
Thanks again,
Yiannis Demetriades

Hi Yiannis,

I had the problem that the server could not connect to a client on Android due to software installed in my phone by default. See my post above.

Hope that helps

Holger

I can’t run server and client at the same time?

The simulator can receive the photo the device can not. The receiving part is the server, right? On my android device this was blocked by a service running in the background. I thought that might be the case here as well.