browserquest / BrowserQuest

Continuing the development of Mozilla BrowserQuest
http://browserquest.herokuapp.com
Other
445 stars 219 forks source link

Problem for Connecting to server #39

Closed ghost closed 11 years ago

ghost commented 11 years ago

I have problem for connecting server.

I completed config files but connecting server to slow. Only show connecting to server... on my screen :(

Please help me ! i really love this game and want customize it for my language.

Thanks so much !!

lzbk commented 11 years ago

Hi, I'm new to github, but I'm not sure "issues" should be "personal issues", I'd tend to think they ought to be issues of the software. In this case, you should post such problem on the dedicated mailing list (see readme file in the code). Now we need more information to solve your issue :

ghost commented 11 years ago

Thanks @lzbk ,

lzbk commented 11 years ago

mmm have never run it on Mac… could you tell me what files (not directories) are in ./server/ ?

ghost commented 11 years ago

I download at Downloads folder on Mac.

./Downloads/BrowserQuest-master/server/.

I think have problem for url is ./server/ .But it don't say url is fail

lzbk commented 11 years ago

could you paste the output to "ls -l" in ~/Downloads/BrowserQuest-master/server/. ?

ghost commented 11 years ago

Thanks @lzbk . I try but not effective I use syntax:

node server/js/main.js

then

This server can be customized by creating a configuration file named: ./server/config.json
This server can be customized by creating a configuration file named: ./server/config_local.json
Server cannot start without any configuration file.

url don't a matter :(

lzbk commented 11 years ago

It is not not effective. It can't as it is not meant to start the server, nor sort the problem. "ls -l" will display all the files & directories in the current directory (here, I'm interested in the "server" directory) and their permissions. But in order to make a diagnosis I would like this information. The node server says you're missing a configuration file, hence my wondering if you have it or not.

lzbk commented 11 years ago

There are config files in the client and others in the server.

ghost commented 11 years ago

Ok ! thanks @lzbk so much . I'll try again

ghost commented 11 years ago

Excuse me ! i try and completed for messages

Warning: Native modules not compiled.  XOR performance will be degraded.
Warning: Native modules not compiled.  UTF-8 validation disabled.
[Mon Apr 22 2013 22:56:26 GMT+0700 (ICT)] INFO Starting BrowserQuest game server...
[Mon Apr 22 2013 22:56:26 GMT+0700 (ICT)] INFO world1 created (capacity: 200 players).
[Mon Apr 22 2013 22:56:26 GMT+0700 (ICT)] INFO world2 created (capacity: 200 players).
[Mon Apr 22 2013 22:56:26 GMT+0700 (ICT)] INFO world3 created (capacity: 200 players).
[Mon Apr 22 2013 22:56:26 GMT+0700 (ICT)] INFO world4 created (capacity: 200 players).
[Mon Apr 22 2013 22:56:26 GMT+0700 (ICT)] INFO world5 created (capacity: 200 players).
[Mon Apr 22 2013 22:56:26 GMT+0700 (ICT)] INFO Server is listening on port 8000

then i using

127.0.0.1:8000

But when running screen on my browser is white.

Please ! help me.

lzbk commented 11 years ago

well congrats your server is running… You could limit yourself to just one world and going into debug level by adding to your server config file : "debug_level": "debug", "nb_worlds": 1, Now you should load the client index file in your browser to connect… or that's how I do it. The client config files should contain as a host the address you use in the address bar of your browser to see the content of your directory.

ghost commented 11 years ago

I using this BrowserQuest repo https://github.com/browserquest/BrowserQuest and completed !!! Thanks you @lzbk so much ! Best for you ^_^

My skype name is: ntluan252, i really want add you to my friend

lzbk commented 11 years ago

Don't have a skype account, but you're most welcome

justinclift commented 11 years ago

@lzbk Good work. :)

@zeroic252 Can this issue be closed?

ghost commented 11 years ago

@justinclift Yes ! i hope this issue my help anyone.

justinclift commented 11 years ago

Cool. :)