From apsillers at gmail.com Tue Apr 3 16:34:11 2012 From: apsillers at gmail.com (Andrew Sillers) Date: Tue, 3 Apr 2012 17:34:11 -0400 Subject: [netrek-dev] HTML5 Netrek, pre-alpha In-Reply-To: References: Message-ID: All, Just to let you know, I've been working on the browser-based Netrek client, and I have a proof-of-concept up and running on Nodester. It connects you to continuum.us.netrek.org as a guest; right now you can do basic dogfighting with torps (and phasers -- phaser-fire events are sent to the server but they aren't currently rendered visually on the client). It's incredible sparse at the moment: when you die, you'll need to refresh the page to get a new ship. The demo is at http://trekproxy.nodester.com/. If you can't join by clicking on a race, try refreshing. It runs pretty slow, but Nodester is a free (but awesome) service that probably isn't providing the same level of bandwidth I'd get from a commercial host (if multiple people follow that link at the same time, expect it to be exceptionally slow). I also plan to improve rendering speed, so that might improve things a bit as well. The code is also up on Github: https://github.com/apsillers/html5-netrek/. So, it's not much to look at right now, but it's a start! Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: From sven at sven.de Wed Apr 4 03:26:27 2012 From: sven at sven.de (Sven Neuhaus) Date: Wed, 4 Apr 2012 10:26:27 +0200 Subject: [netrek-dev] HTML5 Netrek, pre-alpha In-Reply-To: References: Message-ID: <00ADA582-72DB-4364-9B40-A71972A8ED44@sven.de> Andrew, interesting project, I'll definitely have a look! I see that you are using Socket.io - is it fast enough? You may be better off requiring web sockets in the browser and using the "ws" library: http://einaros.github.com/ws/ Also, I think in the long run we should add support for websockets to the netrek server directly? anyone feel like doing that? :-) Btw the demo is not working at the moment. -Sven Am 03.04.2012 um 23:34 schrieb Andrew Sillers: > > Just to let you know, I've been working on the browser-based Netrek client, and I have a proof-of-concept up and running on Nodester. It connects you to continuum.us.netrek.org as a guest; right now you can do basic dogfighting with torps (and phasers -- phaser-fire events are sent to the server but they aren't currently rendered visually on the client). It's incredible sparse at the moment: when you die, you'll need to refresh the page to get a new ship. > > The demo is at http://trekproxy.nodester.com/. If you can't join by clicking on a race, try refreshing. > > It runs pretty slow, but Nodester is a free (but awesome) service that probably isn't providing the same level of bandwidth I'd get from a commercial host (if multiple people follow that link at the same time, expect it to be exceptionally slow). I also plan to improve rendering speed, so that might improve things a bit as well. > > The code is also up on Github: https://github.com/apsillers/html5-netrek/. > > So, it's not much to look at right now, but it's a start! -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4304 bytes Desc: not available URL: From quozl at us.netrek.org Wed Apr 4 04:09:41 2012 From: quozl at us.netrek.org (James Cameron) Date: Wed, 4 Apr 2012 19:09:41 +1000 Subject: [netrek-dev] HTML5 Netrek, pre-alpha In-Reply-To: <00ADA582-72DB-4364-9B40-A71972A8ED44@sven.de> References: <00ADA582-72DB-4364-9B40-A71972A8ED44@sven.de> Message-ID: <20120404090941.GB10912@us.netrek.org> I've reviewde the code in git, I like it, well done. I see how it derives from some of my work on Gytha. I'm interested in hearing more, do keep us informed. -- James Cameron http://quozl.linux.org.au/ From apsillers at gmail.com Wed Apr 4 09:36:31 2012 From: apsillers at gmail.com (Andrew Sillers) Date: Wed, 4 Apr 2012 10:36:31 -0400 Subject: [netrek-dev] HTML5 Netrek, pre-alpha In-Reply-To: <20120404090941.GB10912@us.netrek.org> References: <00ADA582-72DB-4364-9B40-A71972A8ED44@sven.de> <20120404090941.GB10912@us.netrek.org> Message-ID: @Sven: I just realized I pushed some Chrome-specific code to the demo server. I've revised it, so the demo should now run correctly in up-to-date Firefox and Chrome. I don't have access to a Windows machine right now, so I can't test in IE. I have no excuse for not testing in Opera, though. Socket.io uses the best possible connection channel available in the browser (Websockets, then Flash sockets, then long-poll), so it should use Websockets automatically if they're available. However, anything less than a Websocket connection will be far too slow to be playable, so perhaps I should just switch to ws. I'll run some tests and see what the best option is. @James: I did indeed lift the architecture of the networking code directly from Gytha. I was fortunate that there is a Javascript implementation of the Python struct packing library, so I needed to change very little. For the SP_ and CP_ message objects, I actually wrote a regular expression that rewrites the Python code into Javascript syntax. (I'll be sure to mention you in my copyright docs as soon as I put up a license on the Git repo!) Thanks again for your advice and very readable Gytha code. I definitely wouldn't be nearly as far as I am without it! I'll send out another notice when I've improved the cosmetics, done some performance improvements, and added a feature or two (chat and army transportation are high on the list). Andrew On Wed, Apr 4, 2012 at 5:09 AM, James Cameron wrote: > I've reviewde the code in git, I like it, well done. I see how it > derives from some of my work on Gytha. > > I'm interested in hearing more, do keep us informed. > > -- > James Cameron > http://quozl.linux.org.au/ > _______________________________________________ > netrek-dev mailing list > netrek-dev at us.netrek.org > http://mailman.us.netrek.org/mailman/listinfo/netrek-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: From netrek at gmail.com Fri Apr 6 02:00:31 2012 From: netrek at gmail.com (Zachary Uram) Date: Fri, 6 Apr 2012 03:00:31 -0400 Subject: [netrek-dev] HTML5 Netrek, pre-alpha In-Reply-To: References: Message-ID: Good job. Can you add phasers (middle mouse button), det, shield toggle, cloak toggle, show ship's current speed. Zach On Tue, Apr 3, 2012 at 5:34 PM, Andrew Sillers wrote: > All, > > Just to let you know, I've been working on the browser-based Netrek client, > and I have a proof-of-concept up and running on Nodester. ?It connects you > to continuum.us.netrek.org as a guest; right now you can do basic > dogfighting with torps (and phasers -- phaser-fire events are sent to the > server but they aren't currently rendered visually on the client). ?It's > incredible sparse at the moment: when you die, you'll need to refresh the > page to get a new ship. > > The demo is at?http://trekproxy.nodester.com/.? If you can't join by > clicking on a race, try refreshing. > > It runs pretty slow, but Nodester is a free (but awesome) service that > probably isn't providing the same level of bandwidth I'd get from a > commercial host?(if multiple people follow that link at the same time, > expect it to be exceptionally slow). ?I also plan to improve rendering > speed, so that might improve things a bit as well. > > The code is also up on Github:?https://github.com/apsillers/html5-netrek/. > > So, it's not much to look at right now, but it's a start! > > Andrew > > > _______________________________________________ > netrek-dev mailing list > netrek-dev at us.netrek.org > http://mailman.us.netrek.org/mailman/listinfo/netrek-dev > -- http://www.fidei.org From chris.lukassen at gmail.com Sun Apr 29 15:29:49 2012 From: chris.lukassen at gmail.com (Chris Lukassen) Date: Sun, 29 Apr 2012 22:29:49 +0200 Subject: [netrek-dev] Gytha for OS X In-Reply-To: References: Message-ID: <9C787ED2-3D84-4C43-BD6C-FEFDC90FCAEA@gmail.com> Hi I would like to run Gytha on OS X but seem to fail all the time. Anyone that knows how to set that up? Regards Chris