Desktop Client for the Chao Island Chatbox
Desktop Client for the Chao Island Chatbox
I am working on a desktop chat client program in Java that works with Chao Island's chatbox.
I have uploaded the GUI version so far! It is by no means finished. There are lots of things missing and/or broken. However, it has enough features to be usable.
Also I uploaded the source code if anyone is interested. You can do whatever you want to with it.
If you have any trouble, just ask!
Screenshots:
This screenshot is updated enough to be the main one for now.
This is the login screen.
The first preview shot I took. As you can see there is a lot missing. There wasn't even an online list yet.
Downloads:
Java Jar Download <-- With the GUI -- Download this one!
Source Code This is the source code for client. You can do what ever you want to with it.
Old Java Jar Download (old and obsolete) This was before the GUI.
Original Python Script Download (old and obsolete) This was my first attempt to connect to the chatbox. It is very messy.
How to run:
First make sure you have Java installed. You probably do, but if not you can download it here.
Then download the Jar with the download link above.
Then double click the jar file and you should be greeted with the login screen!
Todo list:
In the library code:
- the /query command
- the /who command
- multi-channel support
- ignoring
- detecting when you try to private message a non existent user
In the user interface code:
- make the preferences pane
- make hyperlinks clickable
- make messages line wrap
- add links to peoples CI profiles
- add optional sound
- add a chat logging feature
- add a help page
If you have any trouble, questions, or comments please say so!
I have uploaded the GUI version so far! It is by no means finished. There are lots of things missing and/or broken. However, it has enough features to be usable.
Also I uploaded the source code if anyone is interested. You can do whatever you want to with it.
If you have any trouble, just ask!
Screenshots:
This screenshot is updated enough to be the main one for now.
This is the login screen.
The first preview shot I took. As you can see there is a lot missing. There wasn't even an online list yet.
Downloads:
Java Jar Download <-- With the GUI -- Download this one!
Source Code This is the source code for client. You can do what ever you want to with it.
Old Java Jar Download (old and obsolete) This was before the GUI.
Original Python Script Download (old and obsolete) This was my first attempt to connect to the chatbox. It is very messy.
How to run:
First make sure you have Java installed. You probably do, but if not you can download it here.
Then download the Jar with the download link above.
Then double click the jar file and you should be greeted with the login screen!
Todo list:
In the library code:
- the /query command
- the /who command
- multi-channel support
- ignoring
- detecting when you try to private message a non existent user
In the user interface code:
- make the preferences pane
- make hyperlinks clickable
- make messages line wrap
- add links to peoples CI profiles
- add optional sound
- add a chat logging feature
- add a help page
If you have any trouble, questions, or comments please say so!
Last edited by Alo on Mon May 07, 2012 8:22 pm, edited 10 times in total.
- Tails Doll
- Master Chao
- Posts: 965
- Joined: Sat Jan 31, 2009 12:56 am
Re: Desktop Client for the Chao Island Chatbox
...Do I have to compile it myself? Or is the downloadable file an .exe?
Re: Desktop Client for the Chao Island Chatbox
It's a Python script. All you need is Python 2 installed. Then you can just save the code in the link into a .py file and just double click it to open it.
Also, I am working on the Java version now. It will be a .jar file. If you have Java installed (most computers do) then you can just download it and double click it to open it. I don't have Windows myself or I would make it into a .exe. It shouldn't make a difference, though.
Also, I am working on the Java version now. It will be a .jar file. If you have Java installed (most computers do) then you can just download it and double click it to open it. I don't have Windows myself or I would make it into a .exe. It shouldn't make a difference, though.
- Tails Doll
- Master Chao
- Posts: 965
- Joined: Sat Jan 31, 2009 12:56 am
Re: Desktop Client for the Chao Island Chatbox
Okay. I'll check out python see if I'll install it.
Re: Desktop Client for the Chao Island Chatbox
I posted the Java code so far. You can see it in the first post of the thread. There's no GUI yet, but that is my next goal!
- Jeffery Mewtamer
- Advanced Chaos Chao
- Posts: 3234
- Joined: Thu Jun 16, 2011 3:59 pm
- Motto: Sightless Scholar
- Contact:
Re: Desktop Client for the Chao Island Chatbox
The java -jar command works the same in Linux as it does in Windows and OSX, though I must admit this is my first time running a jar directly(I normally run my own java programs from the raw class files).
Anyways, I tested it out, and it works quite nicely from my terminal. Is a bit annoying that new messages from others are displayed in line with what I am typing, though I do not know if there is even a way around that without going for a full GUI(not that a GUI is even remotely necessary). Also, is there a more elegant way to logout or exit the client than pressing ctrl+C?
Anyways, I tested it out, and it works quite nicely from my terminal. Is a bit annoying that new messages from others are displayed in line with what I am typing, though I do not know if there is even a way around that without going for a full GUI(not that a GUI is even remotely necessary). Also, is there a more elegant way to logout or exit the client than pressing ctrl+C?
Re: Desktop Client for the Chao Island Chatbox
Thanks for trying it out! There is a /quit command. The only way I know to get around that would be to create an ANSI interface. However, that isn't compatible with the Windows command prompt, so it wouldn't be a very universal solution.
I should also mention that most of the other chat commands work as well. The ones that I know I haven't implemented yet are /query /ignore and /who.
I should also mention that most of the other chat commands work as well. The ones that I know I haven't implemented yet are /query /ignore and /who.
- Moonstalker
- Chaos Chao
- Posts: 2078
- Joined: Thu Jan 01, 2009 5:12 pm
- Location: Arp arp arp arp
- Contact:
Re: Desktop Client for the Chao Island Chatbox
ITT: computer stuff I don't understand
this looks really cool though, I might check it out in a bit.
this looks really cool though, I might check it out in a bit.
- Coty
- Veteran Chao
- Posts: 1383
- Joined: Wed Dec 09, 2009 10:17 pm
- Location: You currently have 1 Gems
- Contact:
Re: Desktop Client for the Chao Island Chatbox
Ah very nice, I look forward to your GUI version, but do you plan to also leave the cmd line version in tact as well? Would be nice to see lines in different color to break them up...
Jeffery Mewtamer wrote:Is a bit annoying that new messages from others are displayed in line with what I am typing
TURTLES ALL THE WAY DOWN! ☕︎
Re: Desktop Client for the Chao Island Chatbox
Sure, I can keep the command line version going as well. Or perhaps I could have a command line option that disables the GUI. I will look into the colors and fixing the new messages messing up the typing. It may be easier than I thought to do that on Windows. I found a Curses library that claims to work on Windows.
Thanks for trying it!
Thanks for trying it!
Re: Desktop Client for the Chao Island Chatbox
I tried the GUI version. I like it.
hello.
i was 9 or so when i used this account actively.
please disregard anything posted.
i was 9 or so when i used this account actively.
please disregard anything posted.
Re: Desktop Client for the Chao Island Chatbox
Thanks! I worked several days straight programming it with almost no breaks. :P I've never programmed a full GUI before, so it was fun. It's still got a lot of issues and features missing. But I honestly don't know if I will work on it for a while, I'm quite tired of working on it. :P I will probably just make it open source right now.
Also I should note that you can still use the command line with the new version. If you don't want the GUI, just add " nogui" to the end of the command.
Also I should note that you can still use the command line with the new version. If you don't want the GUI, just add " nogui" to the end of the command.
- Pumpkinium
- Expert Chaos Chao
- Posts: 4225
- Joined: Fri Mar 27, 2009 8:37 pm
- Motto: spongebob
- Location: krusty krab
- Contact:
Re: Desktop Client for the Chao Island Chatbox
I downloaded the GUI version but it doesn't seem to be working properly, It allows me to log in but I can't see anything.
It's probably because I'm still chat banned though, huh.
It's probably because I'm still chat banned though, huh.
help me
Re: Desktop Client for the Chao Island Chatbox
If you're banned then I'm sure that's why you can't see anything. :P Thanks for trying it, anyway.
Re: Desktop Client for the Chao Island Chatbox
This is some impressive programming you have here. I'm super jealous! I've been learning C++ for six months and the most I can do still is doing some of the most basic things commonly used behind the scenes in games (I'm currently in the middle of learning how to use references). Can't draw anything on the screen yet, just print. Did you by any chance reuse software?
Avatar by LeafNinja, requested by me. Credit and thanks goes to him.
-
- Master Chaos Chao
- Posts: 5089
- Joined: Tue Mar 29, 2011 8:19 am
- Motto: <- Probably a reference to The Simpsons
- Location: This is Tumblr, right? No pls don't be offended b-baka!!
- Contact:
Re: Desktop Client for the Chao Island Chatbox
Ooh, that looks awesome! I'd get it... if I used the chat more often :P
Re: Desktop Client for the Chao Island Chatbox
Thanks! Just the standard Java libraries. Of course I googled how to do things a ton since I have never actually made a full blown GUI like this before. I don't ever copy and paste stuff, though. I prefer to actually know how to do it.Octavia wrote:Did you by any chance reuse software?