View topic - Weblobby



All times are UTC + 1 hour


Post new topic Reply to topic  [ 81 posts ]  Go to page 1, 2, 3, 4, 5  Next
Author Message
 Post subject: Weblobby
PostPosted: 07 Jul 2011, 15:54 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
Lobby client in a webpage.

Image

Image

FAQ

What?
Lobby client in your browser.

Where?
http://weblobby.springrts.com/

How?
Javascript, Dojo, Java.

Why?
So that Windows, Linux and Mac can live as one.

Huh?
I was bored.

Please help by testing it out.

Thanks to Licho, det, sheep, MidKnight and his colors, hoijui, cheesecan, abma.


Last edited by CarRepairer on 15 May 2012, 06:17, edited 7 times in total.

Top
 Offline Profile  
 
PostPosted: 07 Jul 2011, 16:34 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
you forgot something!


Top
 Offline Profile  
 
PostPosted: 07 Jul 2011, 17:22 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
When?
Soon Now.


Last edited by CarRepairer on 27 Feb 2012, 17:35, edited 1 time in total.

Top
 Offline Profile  
 
PostPosted: 07 Jul 2011, 17:28 
Community Representative
User avatar

Joined: 08 Sep 2008, 21:59
Location: small cars
woohoo


Top
 Offline Profile  
 
PostPosted: 07 Jul 2011, 18:09 

Joined: 30 Jan 2007, 15:23
Quote:
Lobby client in your browser

but you need to host a php server to launch spring


Image


Top
 Offline Profile  
 
PostPosted: 07 Jul 2011, 19:46 

Joined: 29 May 2010, 22:40
Good idea :)

Quote:
but you need to host a php server to launch spring

Nope - just produce the script.txt with a dedicated mime-type (to be sure also use a dedicated file extension) and let the browser start a "helper-app" --> "spring[.exe]" (like spring-installer does now) - that's all.

I'm a little worried about ppl following links that lead to mock-ups of this site and they enter their password there. Ofc every site has this problem... actually it's a user problem :)
Anyway... I think if this lobby should become real, a paid (not self-signed) SSL certificate "lobby.springrts.com" (or similar) should be used, to not make it to cheap to imitate the site.

@CarRepairer: PM me if you need a dedi (web)server (spring[1,2].admin-box.com) for testing purpose, I'd be happy to help.


Top
 Offline Profile  
 
PostPosted: 07 Jul 2011, 19:57 
Spring Developer
User avatar

Joined: 22 Sep 2007, 08:51
you should not use the same password for spring and your online banking or similar. and even though of course, there are people doing that, it is not springs duty to care for that. we'd end up with shit like in the US, where they have to label coffe caps with text explaining that it is hot and dangerous and might kill you if you do not use it correctly.


Top
 Offline Profile  
 
PostPosted: 07 Jul 2011, 20:36 
Moderator
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
the problem is not stealing of online banking password but stealing lobby accounts for trolling or whatever.
though i think/hope that will not be a problem.


Top
 Offline Profile  
 
PostPosted: 07 Jul 2011, 21:30 

Joined: 29 May 2010, 22:40
hoijui wrote:
you should not use the same password for spring and your online banking or similar. and even though of course, there are people doing that, it is not springs duty to care for that.
Ofc it's not the duty to protect from themselves, and nobody expects it. But IMO it's the duty of every site owner to protect its users from the simplest attacks that can be done technically, and that is something that can be expected.

hoijui wrote:
we'd end up with shit like in the US, where they have to label coffe caps with text explaining that it is hot and dangerous and might kill you if you do not use it correctly.
That has nothing to do with this. They have strong consumer rights combined with a law where the height of financial punishment depends on "how much it hurts". Much better against corp. than for ex. in Germany where it depends solely on the "damage done to someone/thing", which is often to low to really punish a corp. So - what does this have to do with trying to protect your users from the simplest fraud?


Top
 Offline Profile  
 
PostPosted: 07 Jul 2011, 21:47 
Lobby Developer

Joined: 16 Mar 2007, 18:27
this is just stoopid !

either you make a java lobby to make a multiplatform lobby, but SL is already multiplatform, so it's useless, either you're trying to make a proxy lobby, which is just stoopid, just make a web:80 -> springrts.com:8200 redirector and people will be able to use the lobby they want ...


Top
 Offline Profile  
 
PostPosted: 07 Jul 2011, 21:54 
User avatar

Joined: 23 Oct 2004, 00:43
Could the script.txt be kept (or compressed) into under 2000 characters?

In that case, the Spring installer could set Spring up as an URL handler. So your lobby would do the launch by offering the user a link of the form

<a href="spring:myreallylongscript.txtcontents">Start Game</a>

Windows provides the means for an installer to provide a new URL handler, although on Linux it's handled by the desktop environment and I've only ever seen it done on Gnome-based desktops.

See this article:

http://kb.mozillazine.org/Register_protocol

Now, I don't know if you can do a Javascript redirect to a non-HTTP url, so you might require manual intervention there...

but if Spring registered an URL handler, you'd be in awesome shape for a weblobby.

Edit: Dansan's idea of a script.txt with a dedicated mim-type is better.

Registering a mime-type file association to launch an app is much easier than registering an URL handler.


Top
 Offline Profile  
 
PostPosted: 07 Jul 2011, 22:00 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
I don't think SL works on a mac. It only took me a few days. Satirik please stay out of this thread, and subforum.

Whether I ajaxphp it or try another way (great suggestions so far) to run spring I am happy even with just chat which I can use on a smartphone. I had fun in the process.


Top
 Offline Profile  
 
PostPosted: 08 Jul 2011, 05:34 
Zero-K Developer
User avatar

Joined: 10 Sep 2008, 02:11
Location: In search for TheTruth (TM)
Hey car. Can I help you wif the colors? I want to make pretty colors!


Top
 Offline Profile  
 
PostPosted: 10 Jul 2011, 00:32 

Joined: 17 Sep 2008, 03:36
Location: your imagination
Brilliant work imho.

I am no expert but given recent trends, moving as much as possible to web is a great move. So much easier for cross-platform, no worries about dependency changes breaking things (with my wxwidgets version SL is barely usable, qtlobby stopped compiling after qt update), and no worries about finding testers or packagers for all those flavors of unix.

Not to mention, website updates mean instant updates for all users with no downloading or installing required, users can get help in chat without having to install anything, and people will have a chance to see that there are games happening, that there is an active community rather larger than pretty much any other free RTS out there.

I hope you stay motivated enough to make a full-featured web lobby a reality. :D


Top
 Offline Profile  
 
PostPosted: 11 Jul 2011, 02:05 
User avatar

Joined: 13 Jan 2008, 19:40
Location: New Zealand
Masure wrote:
Quote:
Lobby client in your browser

but you need to host a php server to launch spring


Image

Well technically you could bundle it together with a portable web stack and Mozilla Prism browser

http://www.google.com/search?q=portable+php+server
http://prism.mozillalabs.com/


Top
 Offline Profile  
 
PostPosted: 11 Jul 2011, 13:41 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Yeah I was thinking the exact same thing as petah. Portable web stack should do just fine, and prism can put on the nice final touches.


Top
 Offline Profile  
 
PostPosted: 11 Jul 2011, 21:32 

Joined: 29 May 2010, 22:40
A simple java-applet for socket connections and local file access will do just fine.


Top
 Offline Profile  
 
PostPosted: 11 Jul 2011, 21:35 
User avatar

Joined: 23 Oct 2004, 00:43
dansan wrote:
A simple java-applet for socket connections and local file access will do just fine.


If that's possible, then Java's security is nightmarishly bad.


Top
 Offline Profile  
 
PostPosted: 12 Jul 2011, 00:04 

Joined: 29 May 2010, 22:40
Pxtl wrote:
dansan wrote:
A simple java-applet for socket connections and local file access will do just fine.
If that's possible, then Java's security is nightmarishly bad.
Sorry - forgot to write "a signed java-applet"...
You can sign them yourself, then the user needs to accept it. Like with self-signed SSL certificates.
And yes - very good to know this: when you allow a signed java app to run in your browser, you allow it to do everything outside the sandbox!
(there are sec-profiles to reduce permissions, but noone uses them)


Top
 Offline Profile  
 
PostPosted: 12 Jul 2011, 21:09 
User avatar

Joined: 06 Sep 2010, 21:59
This is a very nice idea! I am a mac user and a web-hosted lobby would be really awesome!!! :lol:


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 81 posts ]  Go to page 1, 2, 3, 4, 5  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.