Video 1

Tutorials on real time browser based mmo/mud
Post Reply
User avatar
hallsofvallhalla
Site Admin
Posts: 12031
Joined: Wed Apr 22, 2009 11:29 pm

Video 1

Post by hallsofvallhalla »

overras
Posts: 91
Joined: Sun Oct 03, 2010 7:25 am

Re: Video 1

Post by overras »

Congrats halls! I really need some knowledges about sockets, mud, generally "real time" things :D :)
User avatar
Xaos
Posts: 946
Joined: Wed Jan 11, 2012 4:01 am

Re: Video 1

Post by Xaos »

What languages are you using?
User avatar
hallsofvallhalla
Site Admin
Posts: 12031
Joined: Wed Apr 22, 2009 11:29 pm

Re: Video 1

Post by hallsofvallhalla »

This will be using and teaching Javascript, HTML5, Nodejs, Jquery, and Twitter Bootstrap.
User avatar
Xaos
Posts: 946
Joined: Wed Jan 11, 2012 4:01 am

Re: Video 1

Post by Xaos »

hallsofvallhalla wrote:This will be using and teaching Javascript, HTML5, Nodejs, Jquery, and Twitter Bootstrap.
Sweet, the things I have been wanting to learn !
Shalafi
Posts: 14
Joined: Tue Oct 01, 2013 1:20 pm

Help with node app.js

Post by Shalafi »

So I am running into an issue. If a click on the index file, after installing socket IO, everything works great.

But if I try localhost:8080 it only shows the text "players online" and the input box, and say button.

Basically after the client authorized for line in the command prompt of node app.js, it only authorized for two things:

debug - client authorized for
debug - websocket writing 1::
debug - websocket 5::("name":"playerlist","args":[["player8735"]]

If I click on the index.html file in windows explorer it works perfect and I Can bring up multiple browsers and chat with myself.

For some reason the server part of it is not allowing data to go through.

I have it online and running now http://grimoirebbs.sytes.net:8080/

You will see the "players online" text and the input box, nothing else.

Edit: Here is a screenshot [https://docs.google.com/file/d/0B6o0hQo ... sp=sharing

EDIT: Issue resolved, I need to go in on port 80 through the webserver, and not port 8080. Works perfect.
User avatar
hallsofvallhalla
Site Admin
Posts: 12031
Joined: Wed Apr 22, 2009 11:29 pm

Re: Video 1

Post by hallsofvallhalla »

i was just thinking that as I was reading your post. You can use the node server as a webhost but you must set things up differently.
User avatar
Verahta
Posts: 441
Joined: Wed Aug 24, 2011 1:50 am

Re: Video 1

Post by Verahta »

FYI, I had an error trying to follow the instructions:
Error: ENOENT, stat 'C:\Users\yourUserName\AppData\Roaming\npm
If you run into the same problem, this post on Stack shows how to simply solve it. It worked for me, I got the same results as Halls in the video now:

http://stackoverflow.com/questions/2507 ... pm-package
"In order to understand recursion, one must first understand recursion".
Post Reply

Return to “Real Time Browser Based MMO”