bobjob
JGO Ninja    Posts: 646 Medals: 14
David Aaron Muhar
|
 |
«
on:
2010-04-16 19:59:01 » |
|
Hey guys. I wanted to show off my latest project. Its basically a 1 on 1 webcam chat chat roullette clone. Sux with java 6_20 as its gonna be scarry for people with that security popup at the start. I still have a bit of a way to go. but it works considerably well. So far its been a fun project www.have2chat.net

You dont need to make an account, currently I have a temp one: username: blah password: blah Id really appreciate feedback (design, performance, bugs). unlikely your gonna get a real chat going, as there is nobody using it  but you should at least be able to test your webcam through it
|
|
|
|
bobjob
JGO Ninja    Posts: 646 Medals: 14
David Aaron Muhar
|
 |
«
Reply #1 on:
2010-04-16 20:03:58 » |
|
Also:
I havnt tested it on linux.
It doesnt work on solaris.
works fine on Mac
requires a plugin for windows (should be a popup) no longer requires a plugin
|
|
|
|
Karmington
Full Member   Posts: 177 Medals: 1
Co-op Freak
|
 |
«
Reply #2 on:
2010-04-16 20:25:28 » |
|
ok, it needs to state clearly for those who do not know what it is:
this is a 1 to 1 camera conversation lobby ... or something
because i login, and dont know what to expect, dont bother reading all of the first page text just click in, and then have a screen with a black block and this and that on the sides.
1: make sure the user understands the need for a camera 2: remove all extraneous stuff like "have to chat bcsyhavt", if you want ad slogans they should be clearly not part of the gui 3: center the camera zone i reckon, why leave it to the sideline 4: add a feature that allows you to record a greeting message, cache it in the users computer, have it ready to link to any new user : so if you have small amount of users people can preview their choice of conversation
|
|
|
|
Games published by our own members! Go get 'em!
|
|
bobjob
JGO Ninja    Posts: 646 Medals: 14
David Aaron Muhar
|
 |
«
Reply #3 on:
2010-04-16 20:44:40 » |
|
1: make sure the user understands the need for a camera
yeah ill take a photo of my webcam and place into an image on the front page 2: remove all extraneous stuff like "have to chat bcsyhavt", if you want ad slogans they should be clearly not part of the gui
i thought it was sorta neat  Ill see if other people dont like it 3: center the camera zone i reckon, why leave it to the sideline
I need to make room for the text area, in case of no microphone support. 4: add a feature that allows you to record a greeting message, cache it in the users computer, have it ready to link to any new user : so if you have small amount of users people can preview their choice of conversation
I had an earlier version that uploaded an image to my webserver. I might use the profile avatar, as a welcome screen. When you enter a chat there is a dialog with the other users current score in a popup. i might include a little text signature for each user.
|
|
|
|
|
|
bobjob
JGO Ninja    Posts: 646 Medals: 14
David Aaron Muhar
|
 |
«
Reply #5 on:
2010-06-13 19:18:20 » |
|
If anyone has a webcam on linux, could you please test out my site to check if the webcam is detected in java.
|
|
|
|
woogley
JGO Neuromancer     Posts: 1098 Medals: 5
|
 |
«
Reply #6 on:
2010-06-13 22:29:26 » |
|
If anyone has a webcam on linux, could you please test out my site to check if the webcam is detected in java.
@bobjob It's detecting the webcam on my netbook. OS: Ubuntu 10.4 NBR Screenshot attached.
|
|
|
|
|
bobjob
JGO Ninja    Posts: 646 Medals: 14
David Aaron Muhar
|
 |
«
Reply #7 on:
2010-06-13 22:32:52 » |
|
@bobjob
It's detecting the webcam on my netbook. OS: Ubuntu 10.4 NBR
Screenshot attached.
awesome! thanx woogley, appreciate it.
|
|
|
|
CyanPrime
JGO Ninja    Posts: 683 Medals: 7
|
 |
«
Reply #8 on:
2010-08-17 21:19:28 » |
|
On facebook I click dive in and nothing happens. I dunno if it's not working or if no one is on.
|
|
|
|
|
bobjob
JGO Ninja    Posts: 646 Medals: 14
David Aaron Muhar
|
 |
«
Reply #9 on:
2010-08-18 06:19:49 » |
|
sadly no one is on. Ill start advertising soon using google adsense, hopefully the site pics up.
|
|
|
|
Games published by our own members! Go get 'em!
|
|
Riven
« League of Dukes » JGO Kernel      Posts: 5869 Medals: 255
Hand over your head.
|
 |
«
Reply #10 on:
2010-08-18 10:58:18 » |
|
That screenspace hijacking CAPTCHA is massive turn off for me.
|
Hi, appreciate more people! Σ ♥ = ¾ Learn how to award medals... and work your way up the social rankings
|
|
|
CyanPrime
JGO Ninja    Posts: 683 Medals: 7
|
 |
«
Reply #11 on:
2010-08-18 15:42:57 » |
|
sadly no one is on. Ill start advertising soon using google adsense, hopefully the site pics up.
Well I sent it to 40 of my friends. so hopefully that'll help.
|
|
|
|
|
bobjob
JGO Ninja    Posts: 646 Medals: 14
David Aaron Muhar
|
 |
«
Reply #12 on:
2010-08-19 00:09:10 » |
|
Well I sent it to 40 of my friends. so hopefully that'll help.
thanx cyan (just hope it doesnt blow up there computers and cause shrapnel to fly into their eyes). That screenspace hijacking CAPTCHA is massive turn off for me.
Really? I find it looks alot better than forcing a smaller square such as 640x480 (like on the facebook version). Do you have any ideas for a better layout?
|
|
|
|
Riven
« League of Dukes » JGO Kernel      Posts: 5869 Medals: 255
Hand over your head.
|
 |
«
Reply #13 on:
2010-08-19 02:23:21 » |
|
Really? I find it looks alot better than forcing a smaller square such as 640x480 (like on the facebook version). Do you have any ideas for a better layout?
Just make it dynamic, so that it appears when you filled the username. I'd even go as far as to reduce the height of the bottom bar to something like 30-40px, to that people can choose not to use it. Most web-designers wouldn't want their layout to be 'infected' with a big 200px light blue box. (or any other color, for that matter)
|
Hi, appreciate more people! Σ ♥ = ¾ Learn how to award medals... and work your way up the social rankings
|
|
|
|
|
bobjob
JGO Ninja    Posts: 646 Medals: 14
David Aaron Muhar
|
 |
«
Reply #15 on:
2010-08-20 21:52:56 » |
|
Just make it dynamic, so that it appears when you filled the username. I'd even go as far as to reduce the height of the bottom bar to something like 30-40px, to that people can choose not to use it. Most web-designers wouldn't want their layout to be 'infected' with a big 200px light blue box. (or any other color, for that matter)
Ill need to spend a bit more time learning on web design before attempting that. I used to have the video after the login screen before the java update destroyed mixed code signing. If I make it dynamic, ill probably make a non-applet login screen instead (as to avoid a early certificate popup), That old Gui look(buttons) scares me away. It just makes it look like its from the 90's.
added a different look and feel on windows (java 1.5 and 1.6 only) Logo might need improving too.
I really dont know what would be a good logo, I was thinking maybe a coffee cup, just like the facebook app icon. Seems when registering it keeps saying my username or password is invalid
I also need to add a reset password + delete account buttons.
|
|
|
|
zammbi
JGO Strike Force    Posts: 963 Medals: 9
|
 |
«
Reply #16 on:
2010-08-21 09:37:19 » |
|
added a different look and feel on windows (java 1.5 and 1.6 only) Much better.
|
|
|
|
bobjob
JGO Ninja    Posts: 646 Medals: 14
David Aaron Muhar
|
 |
«
Reply #17 on:
2010-10-20 00:09:21 » |
|
Can someone who uses linux please test this again. I have made alot of changes to make Windows and Mac smoother, but im worried that I broke the capture system order on linux.  thanx in advance.
|
|
|
|
bobjob
JGO Ninja    Posts: 646 Medals: 14
David Aaron Muhar
|
 |
«
Reply #18 on:
2011-03-25 02:33:50 » |
|
Fixed a huge bug with Mozilla 4.
Just so everyone knows, Mozilla4 creates 2 instances of an applet, if you use a seperate virtual machine for each applet, when accessing a page using the address bar, while the address bar is active.
you can work around this by running the applet in a iframe.
edit: I noticed this on windows7
|
|
|
|
ra4king
JGO Kernel      Posts: 3155 Medals: 196
I'm the King!
|
 |
«
Reply #19 on:
2011-03-25 14:21:34 » |
|
Fixed a huge bug with Mozilla 4.
Just so everyone knows, Mozilla4 creates 2 instances of an applet, if you use a seperate virtual machine for each applet, when accessing a page using the address bar, while the address bar is active.
you can work around this by running the applet in a iframe.
edit: I noticed this on windows7
What do you mean "when accessing a page using the address bar, while the address bar is active."? Also, remember the code for putting java applets on facebook? 
|
|
|
|
bobjob
JGO Ninja    Posts: 646 Medals: 14
David Aaron Muhar
|
 |
«
Reply #20 on:
2011-03-25 14:48:11 » |
|
What do you mean "when accessing a page using the address bar, while the address bar is active."?
If you click enter on the address bar, after typing the address location, rather than using a hyper link, and if seperate vm tag is used, Mozilla4 on windows7 will create 2 instances of the applet. Strange I know :S Also, remember the code for putting java applets on facebook?  CRAP! totally forgot. And I just put my aquarium in facebook. I should have taken screen shots of the process. GAR! Ill get to it now.
|
|
|
|
ra4king
JGO Kernel      Posts: 3155 Medals: 196
I'm the King!
|
 |
«
Reply #21 on:
2011-03-25 18:35:10 » |
|
What do you mean "when accessing a page using the address bar, while the address bar is active."?
If you click enter on the address bar, after typing the address location, rather than using a hyper link, and if seperate vm tag is used, Mozilla4 on windows7 will create 2 instances of the applet. Strange I know :S Now do you mean Firefox?  And yeah that is very odd. Also, remember the code for putting java applets on facebook?  CRAP! totally forgot. And I just put my aquarium in facebook. I should have taken screen shots of the process. GAR! Ill get to it now. Thanks 
|
|
|
|
bobjob
JGO Ninja    Posts: 646 Medals: 14
David Aaron Muhar
|
 |
«
Reply #22 on:
2011-03-25 18:36:27 » |
|
Also, remember the code for putting java applets on facebook?  There is already a JGO Thread that goes into how to put an applet in facebook A detailed site that gives you all you need is: http://bncapps.com/java-applet-as-a-facebook-app/But Ill also put a clean version with screen shots and such on my site, and post a link in the shared code section.
|
|
|
|
ra4king
JGO Kernel      Posts: 3155 Medals: 196
I'm the King!
|
 |
«
Reply #23 on:
2011-03-25 18:37:57 » |
|
Thanks! For some reason Googling this was a fruitless venture.
|
|
|
|
Riven
« League of Dukes » JGO Kernel      Posts: 5869 Medals: 255
Hand over your head.
|
 |
«
Reply #24 on:
2011-03-25 20:26:00 » |
|
There is a bug in that code, that crashes your app statistically once every 25.6 times: 1 2 3 4 5 6 7
| public static String processMd5(String strtomd5) { String tempmd5 = makeMd5(strtomd5); if (tempmd5.length() < 32) tempmd5 = "0"+tempmd5; return tempmd5; } |
Replace it with: 1 2 3 4 5 6 7
| public static String processMd5(String strtomd5) { String tempmd5 = makeMd5(strtomd5); while (tempmd5.length() < 32) tempmd5 = "0"+tempmd5; return tempmd5; } |
It's basically dirty stupid, to grab the hash from a MessageDigest, put it into a BigInteger and convert it into a variable length hex... and then failing to ensure it becomes 32 chars long again 
|
Hi, appreciate more people! Σ ♥ = ¾ Learn how to award medals... and work your way up the social rankings
|
|
|
bobjob
JGO Ninja    Posts: 646 Medals: 14
David Aaron Muhar
|
 |
«
Reply #25 on:
2011-03-26 03:19:12 » |
|
It's basically dirty stupid, to grab the hash from a MessageDigest, put it into a BigInteger and convert it into a variable length hex... and then failing to ensure it becomes 32 chars long again  sweet. I would never have considered that as an issue. appreciation medal++
|
|
|
|
|