Forum Multiplayer Connection issues NEED HELP PLEASE!!

Discussion and help relating to the Player.IO Multiplayer API

Connection issues NEED HELP PLEASE!!

Postby lightbeam » December 10th, 2011, 4:46 pm

Hello I'm currently working only on development server and I have those issues that I wish to address.

1. It takes a very long time to load the development server.
2. It frequently gives me the login window even if I logged in 2 minutes ago which is becoming very frustrating.
3. To make matters worse, when I enter my username and password and click enter, it just waits for 10 seconds just for the window to appear again!
4. To make matters further worse, the "Remember password" checkbox doesn't do any thing :cry: .

So I literally need around 10 minutes each time I want to test a server code. I'm not sure if it's because my internet is currently too bad or not, but still even with a bad internet, issue 2,3, and 4 shouldn't happen. Right? I hope the development team looks into that.

There is another issue and that is I want to Broadcast an array of 200 integers. What is the best way to do that? Currently I'm doing a for loop that broadcasts one by one but only to see that every client got disconnected from the game! I reduced this for loop to 100 and there are no issues. I'm guessing 200 is a large number?

I didn't have any of those issues when I was doing my game on nonoba API by the way. Appreciate your assistant.
lightbeam
 
Posts: 21
Joined: November 4th, 2011, 5:57 pm

Re: Connection issues NEED HELP PLEASE!!

Postby Toby » December 14th, 2011, 3:02 am

On the first load of issues, that sounds like your connection. It loads super-fast on my computer, for development.

As to the second part, what are you sending that array for?
User avatar
Toby
 
Posts: 85
Joined: January 14th, 2010, 4:01 pm

Re: Connection issues NEED HELP PLEASE!!

Postby lightbeam » December 14th, 2011, 1:05 pm

Yeah you're right, it's fine now. I was just frustrated at that time and had to speak in the forum about it. Having said though, I don't really think there is any importance to do a login at when debugging the development server... I mean what could ever happen if you run the development server on your computer without providing your password? I don't see any scenario where something malicious could happen.

I wanted to send 200 integers to clients so that an array of words used for typing could be sorted equally for all clients. It seems that sending 200 calls of the same message disconnects the users.. I fixed this by sending 1 bytearray(which I didn't know about until later) instead of a for loop that sends integer by integer.
lightbeam
 
Posts: 21
Joined: November 4th, 2011, 5:57 pm


Return to Multiplayer