Java Job - IRC

Discussion about the creation of websites in general, HTML, PHP, Java.

Java Job - IRC

Postby Tim on Mon Jul 04, 2005 2:12 pm

Ok, this is simple enough...well it might not be, I'm not sure thats upto you guys to decide.

Heres what I want in the java applet:
    Ok in short its a livechat system intergrated into IRC purely for my benefit and convienience, all of my staff use IRC and it saves alot of time.

    When the person first opens the applet it connects to the server and joins a specified channel while displaying to the user that they are currently in a support queue and to please wait patiently.

    In that waiting channel, staff should be able to use commands such as !check username which instructs the client to reply with various information that it gathers before it connects from post data.

    While in the waiting channel if a staff member chooses !accept username then the user should part the waiting channel and join #chan2-username as should the staff member (though it is up the staff member to work that out). In this area the conversation can take place.

    During conversations the customer should be shown the staff members user information which is to be gathered from a mysql database.

    Thats all I can think of right now to put here for you but I know there is some more stuff I can go into detail about.

Ok, anyone who can successfully complete this to my satisfaction will receive a domain for 1 year and hosting on one of my servers (not falcon) for the same period of time. I know this isn't much but I'm not making an awful lot of money out of Phoenix am I?

If your interested in this project please contact me on IRC or MSN:
MSN: [email protected]
IRC: irc.anoxs.net #anoxs
IRC: irc.shellsnet.org #phoenix

Tim
User avatar
Tim
root
root
 
Posts: 736
Joined: Thu Mar 10, 2005 6:31 am
Location: Australia

Postby pugrit on Mon Jul 04, 2005 11:00 pm

i had similar idea back then..like integrated tools..but since im not really good in progrmming (yesteray i just failed an exam in C, i though it was just a review exam but hell no one complete program that enocdes a string to numbers and corresponding keypress, just like how a cellfone keypad works then prints it..atleast 4 functions or so)

anyways back to the topic:

what i had is firefox with irc plugin (and also other plugins/extensions i find useful), connects to the #channel with bot that has scripts which i find useful too. that was my my simple solution.

btw i also tried making something like this in VB and so far i havent finish it yet..im a lazy ass.. :lol:
pugrit
Phoenix Veteran
Phoenix Veteran
 
Posts: 293
Joined: Thu Mar 10, 2005 1:06 pm
Location: /home/pugrit

Postby Tim on Tue Jul 05, 2005 2:42 am

I don't want the customer to have any idea that hes currently connected to an IRC network, the only reason I want IRC is because its really convienient.
User avatar
Tim
root
root
 
Posts: 736
Joined: Thu Mar 10, 2005 6:31 am
Location: Australia

Postby Kevo on Tue Jul 05, 2005 3:25 am

I could find a source online(since I don't know much javascript), and tear it apart and make it to what you want. though, it'd be for free, since it'd give me something to do :\.
Kevo
Contributer
Contributer
 
Posts: 45
Joined: Thu Jun 30, 2005 5:56 am
Location: Michigan

Postby Tim on Tue Jul 05, 2005 5:45 am

Java Applet not javascript Wink
User avatar
Tim
root
root
 
Posts: 736
Joined: Thu Mar 10, 2005 6:31 am
Location: Australia

Postby al_tyranny on Tue Jul 05, 2005 7:17 am

Sounds interesting, but I'm not sure too many of us know Java Mad . Are we allowed to take an existing open-source project and modify it? (I think I'd take DarkerICE or something similiar).

You also say that you need the applet to do custom commands like "!accept" and "!check" (are those custom? I'm an IRC newbie =P); isn't that a server-side thing though?

Maybe I misunderstand what you're asking for, sorry.

P.S. Have 2 Java books, might be willing to travel Cool .

Edit: fixed link
Last edited by al_tyranny on Thu Jul 07, 2005 6:05 pm, edited 1 time in total.
mm_freak wrote:Slackware users are dreamers. Sorry to say.
al_tyranny
Phoenix Veteran
Phoenix Veteran
 
Posts: 294
Joined: Tue May 17, 2005 3:18 am
Location: Greater Boston Area

Postby Tim on Tue Jul 05, 2005 9:00 am

When you start the chat session you will need to fill in a few fields which eventually be used to choose your nick but it will also include some other info and when a staff member sends !check username to the channel the client of "username" will reply with the info gathered at the start. !accept just makes the client part one channel and join another.

I don't care how you do this, I'm not about to redistribute it or anything I just need a decent support system tailored to my liking Very Happy
User avatar
Tim
root
root
 
Posts: 736
Joined: Thu Mar 10, 2005 6:31 am
Location: Australia

Postby Strafe on Wed Jul 06, 2005 12:53 pm

@al_tyranny
You could do them as custom commands, but then you'd have to modify the whole IRC server. You can "instruct" the java IRC applet (client-side) to respond to custom commands, but i don't know how much information you can receive from the connected user (other than version, ping, time...).
@Tim
I think !check is useless, you can do /whois and get the same information.

In conclusion, you need an IRC java applet with mIRC's scripting capabilities. Sounds like hard work Smile And i think you'll need two different versions: server (staff) and client (customer).
Strafe
Valued Member
Valued Member
 
Posts: 195
Joined: Fri Jun 17, 2005 8:19 am

Postby Kevo on Wed Jul 06, 2005 1:08 pm

I could rip apart mirc, and change it to look like customer support software with aliases, and make it connect to irc here and #phoenix, change icons, etc. but you'd still have to download it :\
Image
Kevo
Contributer
Contributer
 
Posts: 45
Joined: Thu Jun 30, 2005 5:56 am
Location: Michigan

Postby Strafe on Wed Jul 06, 2005 1:40 pm

To do something like that with mIRC is easy, but you need something you can insert in a webpage.
Conclusion: drop the idea Very Happy
Strafe
Valued Member
Valued Member
 
Posts: 195
Joined: Fri Jun 17, 2005 8:19 am

Postby funman on Thu Jul 07, 2005 1:24 am

What is needed is a javaapplet on the website, that saves the entered userinfo in variables, and checks the string when staff talks, so if they do !check <name>, THE JAVA APPLET WILL CHECK IF <NAME> CORRESPONDS TO ITSELF, AND THEN RETURN THE STORED INFO FROM THE VARIABLE, AND OF COURSE BLOCK IT SO NOBODY CAN SEE THE TEXT.
funman
Contributer
Contributer
 
Posts: 61
Joined: Sat May 28, 2005 10:20 am
Location: Stavanger, Norway

Postby Strafe on Thu Jul 07, 2005 12:30 pm

But what kind of information can be displayed using !check ? And what's the point of all that ?! I don't understand, this is very weird Wink

You can't really get any useful information. I mean, the user can simply enter "sex" as his phone number or something.
Strafe
Valued Member
Valued Member
 
Posts: 195
Joined: Fri Jun 17, 2005 8:19 am

Postby al_tyranny on Thu Jul 07, 2005 8:50 pm

Well, Strafe, I don't think he's going to drop the idea anytime soon; and if I break this down, the idea doesn't seem too complicated ...

In that waiting channel, staff should be able to use commands such as !check username which instructs the client to reply with various information that it gathers before it connects from post data.


"!check" relays info from customer to the staff, probably stored in some varaiable like "String wtfIsWrongYouN00bCustomer".

While in the waiting channel if a staff member chooses !accept username then the user should part the waiting channel and join #chan2-username as should the staff member (though it is up the staff member to work that out). In this area the conversation can take place.


"!accept" moves the user and the staff member to a separate channel; just saying that when the staff sends "!accept" to the user, the program automatically does "/join chan2-<usrname>"; for both the staff and the customer.

Code: Select all
Seems to come down to:
-= Connect to IRC
-= "Please wait, all our trouble-shooters are busy"
-= !check newb1337
    -> whisper customer info
-= !accept newb1337
    -> /join private channel, staff comes too
-= staff leaves; program sees the "has left" and does an auto "/quit"


----------

You can't really get any useful information. I mean, the user can simply enter "sex" as his phone number or something.


So? Looks like doofus won't get to the front of the line anytime soon ^^.

----------

What is needed is a javaapplet on the website, that saves the entered userinfo in variables, and checks the string when staff talks, so if they do !check <name>, THE JAVA APPLET WILL CHECK IF <NAME> CORRESPONDS TO ITSELF, AND THEN RETURN THE STORED INFO FROM THE VARIABLE, AND OF COURSE BLOCK IT SO NOBODY CAN SEE THE TEXT.


Wow, I completely overlooked that one, that's a brilliant idea, funman! I was thinking that doing "!accept" or "!check" would be like doing a server-side "/whatever" where only the server sees it, but I like your idea; the client program whispers back the info ... great idea!
mm_freak wrote:Slackware users are dreamers. Sorry to say.
al_tyranny
Phoenix Veteran
Phoenix Veteran
 
Posts: 294
Joined: Tue May 17, 2005 3:18 am
Location: Greater Boston Area

Postby Strafe on Fri Jul 08, 2005 10:40 am

Allright, i'm shutting up for now Smile
I still don't think it's a useful thing.
THE END Very Happy
Strafe
Valued Member
Valued Member
 
Posts: 195
Joined: Fri Jun 17, 2005 8:19 am

Postby Tim on Sat Jul 09, 2005 10:15 am

Unless you actually help with the project I doubt anyone here will ever see it implemented as its something me and funman are working on however we have very limited (ie. little to no) knowlege of java. It may sound useless but I guarantee it isn't for what we need it for, we can leave it there with that though.

Anyone able to do something like this or knows someone who can?
User avatar
Tim
root
root
 
Posts: 736
Joined: Thu Mar 10, 2005 6:31 am
Location: Australia

Next

Return to General Webmastering

Who is online

Users browsing this forum: No registered users and 1 guest

cron