Connected, but nothing happens?

Everything about the SmartFoxBits UI Components for SmartFoxServer 1.x. Post your questions, suggestions and bug reports.

Moderators: Lapo, Bax

User avatar
Nemesis1337
Posts: 6
Joined: 06 Feb 2011, 21:23
Contact:

Connected, but nothing happens?

Postby Nemesis1337 » 06 Feb 2011, 21:29

Hi i finally builded a chatclient with smartfox Bits and first of all:
ITS GREAT!! :)

My problem is simple:
I type in my Login and password to log into an existing chat.
It says "Connected" but the loginBox doesnt disapears and nothing happen at all.

Screenshot:

Image

Whats the problem?
Do i have to open the 9339 Port on my router to get the files the chat is sending to me?

:) Pls help.
User avatar
Bax
Site Admin
Posts: 4608
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 07 Feb 2011, 08:04

First of all you should check if an error occurs on the client or server side.
For the client side, run your app in the Flash authoring environment and check the console.
FOr the server side, simply check the logs.
Paolo Bax
The SmartFoxServer Team
User avatar
Nemesis1337
Posts: 6
Joined: 06 Feb 2011, 21:23
Contact:

Postby Nemesis1337 » 07 Feb 2011, 08:39

Okay heres the flashlog (i hope you mean this)

Image

I want to connect to an existing Smartfox Pro server of a friend.
I know the Ip, port but i cant check the serverlogs.
User avatar
Bax
Site Admin
Posts: 4608
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 07 Feb 2011, 08:51

It is impossible to say what is going on if you don't check possible errors on the server side.
We suggest you to install SFS locally on your computer.
Paolo Bax
The SmartFoxServer Team
User avatar
Nemesis1337
Posts: 6
Joined: 06 Feb 2011, 21:23
Contact:

Postby Nemesis1337 » 07 Feb 2011, 09:27

Ok, i checked the serverside.

The Chat is implemented into a website of my friend.
If i login to the chat via the client, the connection to the chat on the website gets disconnected with this message:
"A second connection has been established with your username, this connection has been disconnected."

I get a connection to the chat but the Loginbox doesnt disapear and the other components arnt loading... :/
User avatar
Bax
Site Admin
Posts: 4608
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 08 Feb 2011, 07:11

As the error message says, another user logged in with the same username, so you are disconnected immediately. You should investigate the reason.
Paolo Bax
The SmartFoxServer Team
User avatar
Nemesis1337
Posts: 6
Joined: 06 Feb 2011, 21:23
Contact:

Postby Nemesis1337 » 08 Feb 2011, 08:16

:D I am the reason.

See:

There is 1 Chat onto the website of my friend. Normally the users only can log into the chat via login on his website.
Now he gave me the IP and the port to connect to his chat on his website with the Smartfox Bits client.

To see if the Smartfox client gets a connection to the chat on the website:
I logged into the chat on the website via his websitelogin(Like the others). After that, i logged into the same chat via Smartfox client ,which is a swf on my desktop.
And the chat on the website said im disconnected because a second connetion was established with my username.
(Because i cant have the same Chat ID twice, thats why i get disconnected)

So i think this is a proof that ne smartfoxclient connects to the chat on the website which causes the disconnect due second connection.

But the only problem is:
Why does the loginbox doesnt disapear after clicking the "Login" :/
Nothing is loading, like the Userlist or Roomlist.

It will look like the first picture i posted for.. hours!
User avatar
Nemesis1337
Posts: 6
Joined: 06 Feb 2011, 21:23
Contact:

Postby Nemesis1337 » 17 Feb 2011, 12:24

Still the same problem :(
Without any change... im so frustrated.
User avatar
Bax
Site Admin
Posts: 4608
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 17 Feb 2011, 12:33

Again, check if an error occurs on the client or server side.
For the client side, run your app in the Flash authoring environment and check the console. Remember to turn on the SFS debugging.
For the server side, simply check the logs.
Paolo Bax
The SmartFoxServer Team
User avatar
Nemesis1337
Posts: 6
Joined: 06 Feb 2011, 21:23
Contact:

Postby Nemesis1337 » 17 Feb 2011, 18:59

I asked a friend to help me out in this.

He tells me, the loop which is for working with the server packets does block the login gui.

But i dont know how i turn off the loop.

Anyways, theres no problem on the serverside but a problem on the clientside. I think its the loop but i dont know.
User avatar
Bax
Site Admin
Posts: 4608
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Postby Bax » 18 Feb 2011, 07:56

Sorry, I don't understand what "loop" means.
Paolo Bax
The SmartFoxServer Team

Return to “SmartFoxBits for SFS 1.x”

Who is online

Users browsing this forum: No registered users and 4 guests