Weblobby

Weblobby

Discuss development of lobby clients, server, autohosts and auto-download software.

Moderators: Moderators, Lobby Developers

User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Weblobby

Post by CarRepairer »

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, 07:17, edited 7 times in total.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: New lobby client 'nounce

Post by knorke »

you forgot something!
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: New lobby client 'nounce

Post by CarRepairer »

When?
Soon Now.
Last edited by CarRepairer on 27 Feb 2012, 17:35, edited 1 time in total.
User avatar
KaiserJ
Community Representative
Posts: 3113
Joined: 08 Sep 2008, 22:59

Re: New lobby client 'nounce

Post by KaiserJ »

woohoo
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: New lobby client 'nounce

Post by Masure »

Lobby client in your browser

but you need to host a php server to launch spring
Image
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: New lobby client 'nounce

Post by dansan »

Good idea :)
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.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: New lobby client 'nounce

Post by hoijui »

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.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: New lobby client 'nounce

Post by knorke »

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.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: New lobby client 'nounce

Post by dansan »

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?
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: New lobby client 'nounce

Post by Satirik »

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 ...
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: New lobby client 'nounce

Post by Pxtl »

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.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: New lobby client 'nounce

Post by CarRepairer »

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.
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: New lobby client 'nounce

Post by MidKnight »

Hey car. Can I help you wif the colors? I want to make pretty colors!
luckywaldo7
Posts: 1398
Joined: 17 Sep 2008, 04:36

Re: New lobby client 'nounce

Post by luckywaldo7 »

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
User avatar
Petah
Posts: 426
Joined: 13 Jan 2008, 19:40

Re: New lobby client 'nounce

Post by Petah »

Masure wrote:
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/
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: New lobby client 'nounce

Post by Forboding Angel »

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.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: New lobby client 'nounce

Post by dansan »

A simple java-applet for socket connections and local file access will do just fine.
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: New lobby client 'nounce

Post by Pxtl »

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.
dansan
Server Owner & Developer
Posts: 1203
Joined: 29 May 2010, 23:40

Re: New lobby client 'nounce

Post by dansan »

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)
User avatar
marciolino
Posts: 268
Joined: 06 Sep 2010, 22:59

Re: New lobby client 'nounce

Post by marciolino »

This is a very nice idea! I am a mac user and a web-hosted lobby would be really awesome!!! :lol:
Post Reply

Return to “Lobby Clients & Server”