What about a Java NetClient ?

You think of something which could be added to TA3D post here! /
Vous pensez à quelque chose que l'on pourrait ajouter à TA3D, postez ici!
Post Reply
User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

What about a Java NetClient ?

Post by zuzuf » Mon Aug 17, 2009 5:42 pm

What do you think about a Java NetClient that could be used within your web browser ? Of course it could only use chat features (you don't imagine running TA3D in Java in your web browser :P ).
With a special status for chat only clients, we could allow a chat connection and a game lobby connection at the same time on the same account (so you can still chat with others while playing or when you configure your server before starting a game).

What do you think about it ?
=>;-D Penguin Powered

User avatar
Balthazar
Moderator
Posts: 2055
Joined: Wed Nov 01, 2006 4:31 pm
Location: Russian Federation
Contact:

Re: What about a Java NetClient ?

Post by Balthazar » Mon Aug 17, 2009 8:58 pm

I think that it can be really a great idea... a little later... :lol:

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Re: What about a Java NetClient ?

Post by milipili » Tue Aug 18, 2009 7:53 am

For this, a cgi or php/ruby/javascript web site will be good enough, and much lighter (you may see CGI::Irc). It would remove a dependency for playing to ta3d. Java is not installed by default except on OS X and it could be annoying for some player to have to install several softwares. Perhaps a custom IRC front-end would be a good idea (by reducing [performance] issues to fix, already solved by existing irc servers), with special features dedicated to ta3d.
Damien Gerard
Ta3d & Yuni Developer

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: What about a Java NetClient ?

Post by zuzuf » Tue Aug 18, 2009 8:04 am

This would not be a dependency to play TA3D :), only another client for NetServer service (only chat stuffs) that would be available from your web browser (on a web page like www.ta3d.org/chat.php or something like that).

Also I've been looking for javascript sockets to run such a chat client but I didn't find anything interesting :(, I don't want a page that refreshes too often, it's not very efficient for that kind of stuffs.

My idea was to have an alternative client to see who is online and willing to play a game without having to start TA3D and suspend your other activities :). Of course an IRC client would do the chat job but it wouldn't allow you to see what's happening on NetServer network.
=>;-D Penguin Powered

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Re: What about a Java NetClient ?

Post by milipili » Tue Aug 18, 2009 12:58 pm

You can make your custom commands.
For example, unrealircd http://modules.unrealircd.com/ and http://cvs.unrealircd.com/cgi/viewcvs.c ... cvs-markup
Damien Gerard
Ta3d & Yuni Developer

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: What about a Java NetClient ?

Post by zuzuf » Tue Aug 18, 2009 5:02 pm

which is more or less equivalent to coding a new NetClient, excepts I'd need to learn how to interface it with IRC ...
=>;-D Penguin Powered

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: What about a Java NetClient ?

Post by zuzuf » Tue Aug 18, 2009 8:20 pm

Finally I've made one :P
You can test it there:
http://www.ta3d.org/chat.php

It's also available from the website menus (in Medias).

Beware that this is my first Java applet directly included into a web page so it may not work for everyone (and you need a Java VM :P).
=>;-D Penguin Powered

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Re: What about a Java NetClient ?

Post by milipili » Tue Aug 18, 2009 9:15 pm

Sorry but it does not work on OS X / Safari ("applet main notinited")
Damien Gerard
Ta3d & Yuni Developer

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: What about a Java NetClient ?

Post by zuzuf » Tue Aug 18, 2009 9:18 pm

arf, I managed to run it successfully with konqueror and firefox (3.0, don't know why my 3.5 freeze when I start it :/).
Does someone know about a crossplatform way to include a Java applet in a web browser ?
=>;-D Penguin Powered

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Re: What about a Java NetClient ?

Post by milipili » Tue Aug 18, 2009 9:30 pm

Welcome to the Java world :cry:
Damien Gerard
Ta3d & Yuni Developer

milipili
Posts: 545
Joined: Thu Nov 02, 2006 8:52 am
Location: Paris (France)
Contact:

Re: What about a Java NetClient ?

Post by milipili » Tue Aug 18, 2009 11:21 pm

You should publish or send the source code :)
Damien Gerard
Ta3d & Yuni Developer

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: What about a Java NetClient ?

Post by zuzuf » Wed Aug 19, 2009 7:58 am

I'll add it to svn as soon as I get home :) (I don't have the source on my laptop :oops: )

PS: in the mean time, I connected to NetServer with this applet (works on Fedora 11 and Firefox 3.5 :mrgreen: )
=>;-D Penguin Powered

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: What about a Java NetClient ?

Post by zuzuf » Wed Aug 19, 2009 9:47 am

has anyone managed to run the applet ?
=>;-D Penguin Powered

Loom
Posts: 5
Joined: Tue Jun 02, 2009 2:56 pm

Re: What about a Java NetClient ?

Post by Loom » Wed Aug 19, 2009 12:18 pm

I've managed to run it with WinXP + Firefox 3.0.13.
However, I could not login (I do not have a login yet). I tried to register but it did not seem to do much... so my testing stopped there.
Bruno Borri
Yuni Developer

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: What about a Java NetClient ?

Post by zuzuf » Wed Aug 19, 2009 12:20 pm

You can register with one of the last 0.6 alpha package ...
that's interesting because I forgot to test the register button :oops:
=>;-D Penguin Powered

User avatar
zuzuf
Administrateur - Site Admin
Posts: 3281
Joined: Mon Oct 30, 2006 8:49 pm
Location: Toulouse, France
Contact:

Re: What about a Java NetClient ?

Post by zuzuf » Wed Aug 19, 2009 4:52 pm

after some tests, registering works. What may have happened is that you didn't see the window prompting you for a login and password. This window should appear in your task bar as "register".
=>;-D Penguin Powered

xpoy
Posts: 669
Joined: Mon Sep 22, 2008 3:55 am

Re: What about a Java NetClient ?

Post by xpoy » Fri Sep 11, 2009 12:41 pm

I had try that on some day and said somethings, lol
But the javaM really hold too much CPU so just delete it /:^|

Post Reply

Who is online

Users browsing this forum: No registered users and 16 guests