Search found 7 matches

by doublefelix
Sun Aug 11, 2013 6:30 pm
Forum: HTML5/Web Engines
Topic: HTML5 MMO Engine
Replies: -1
Views: 4307

Re: HTML5 MMO Engine

Author of CC3 got back to me with the following: Here's a version dump from the working cobaltcalibur.net server: tlhunter@pandora:~/cobalt-calibur$ npm ls Cobalt-Calibur-3@0.0.1 /home/tlhunter/cobalt-calibur +-- colors@0.6.0-1 +-- express@3.1.0 ¦ +-- buffer-crc32@0.1.1 ¦ +-- commander@0.6.1 ¦ +-- c...
by doublefelix
Wed Jul 31, 2013 5:25 am
Forum: HTML5/Web Engines
Topic: HTML5 MMO Engine
Replies: -1
Views: 4307

Re: HTML5 MMO Engine

I'm not really sure how long ago it was, as mongoClient was already in it when I first tried it out (about 2 months ago). I also tried outputting my "db" object from my project to the console, and it was quite different. Maybe an older version before mongoClient was added could do the tri...
by doublefelix
Sun Jul 28, 2013 4:14 pm
Forum: HTML5/Web Engines
Topic: HTML5 MMO Engine
Replies: -1
Views: 4307

Re: HTML5 MMO Engine

I tried downloading the engine and got the same error as you. I have never seen this usage of the MongoDB official driver: new mongodb.Db(mongo_collection, mongoServer, {safe:false}).open(function(err, db) { Apparently this is how you used to connect before it updated to connecting with mongoClient...
by doublefelix
Sat Jul 27, 2013 7:45 am
Forum: HTML5/Web Engines
Topic: HTML5 MMO Engine
Replies: -1
Views: 4307

Re: HTML5 MMO Engine

MongoDB The map in Mongo is null This stuck out to me. You might want to make sure there is data to build the map with, I was looking at that, too, but figured that was output before the error since it was in the same format as the Express initialization output. I have never seen that before. It wa...
by doublefelix
Fri Jul 26, 2013 9:34 pm
Forum: HTML5/Web Engines
Topic: HTML5 MMO Engine
Replies: -1
Views: 4307

Re: HTML5 MMO Engine

I threw that into the top of the buildMap function, like this: function buildMap(db) { console.log(db); logger("MongoDB".blue, "Attempting to build the database"); var fileContents = fs.readFileSync('map.json','utf8'); var mapData = JSON.parse(fileContents); db.collection('maps',...
by doublefelix
Fri Jul 26, 2013 7:03 pm
Forum: HTML5/Web Engines
Topic: HTML5 MMO Engine
Replies: -1
Views: 4307

Re: HTML5 MMO Engine

Line 395 in server.js is line 5 in this function, starting "db.collection...": function buildMap(db) { logger("MongoDB".blue, "Attempting to build the database"); var fileContents = fs.readFileSync('map.json','utf8'); var mapData = JSON.parse(fileContents); db.collectio...
by doublefelix
Thu Jul 25, 2013 4:04 am
Forum: HTML5/Web Engines
Topic: HTML5 MMO Engine
Replies: -1
Views: 4307

Re: HTML5 MMO Engine

As a very first step into learning what I need to make a small scale 2D minecraftish multiplayer world, I was very interested in running and modifying my own Cobalt Calibur 3 server. Unfortunately, the darn thing won't start for me, and I can find absolutely no one online who has any idea what the p...

Go to advanced search