The Daily Click ::. Forums ::. Klik Coding Help ::. CommunityChat - Help !
 

Post Reply  Post Oekaki 
 

Posted By Message

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
14th June, 2004 at 02:00:47 -

Hello again.. I seem to be posting here quite a lot..
Well anyway. Recently I went to the Clickteam extension list website and downloaded an example called CommunityChat - and it shows you how to make it so that people can register a name, login, then move their character around and chat to people.

So I downloaded it, as I thought of making it more extensive, with new graphics and things to do .etc. Yet online things arn't a big strong point for me..

The game uses MooSock AND MooClick (I think). Now I downloaded the example, all I needed to do was change the events so that it connects to my server (as the register and login service uses cgi scripts that I had to upload). So I put in all the stuff I needed too and yet for some reason it still wont login/signin. I asked the person who made it and did what he said, but still it doesnt work (whereas it worked when his host info was put in). So if anybody can help me, I have put the file here:

http://www.opix.org/flava/chat.cca

My host is www.opix.org and directory is obviously flava. The guy told me to use port 80 (port 21 is just ftp port )

Would be great if somebody could edit the file to work - but I guess telling me how to fix it would be fine.

Cheers.

 
This is a signature. Have this one on me.

Crystal Clear (H.E.S)

Possibly Insane

Registered
  06/10/2002
Points
  2548
14th June, 2004 at 04:36:50 -

hmmm.. ill check it out, Note to all clickers: the current MOO Servers seems to be down

 
HES homepage:
http://www.distinctiv-efair.com/heretic/studios
Crystal Clear Productions: http://www.distinctiv-efair.com/heretic/crystalclear

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
14th June, 2004 at 13:11:51 -

It's hardly surprising when you haven't set the CGI script up correctly :/ Check the path to perl is correct, and that you have set the file permissions (CHMOD) to 755.

 
n/a

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
14th June, 2004 at 13:30:21 -

Permissions are now set to 755 and Im pretty sure the path to perl is correct..
Well now you can sign up, but it wont login :S

 
This is a signature. Have this one on me.

Flava



Registered
  30/07/2002
Points
  684

Has Donated, Thank You!Code MonkeyVIP MemberThe Cake is a LieThe Spinster
14th June, 2004 at 14:28:15 -

Ok I really want this to work, and it isnt.
Probably through a fault of my own, so dont get angry with me

Here are the events I have changed:

- Login Clicked
+ Connect to opix.org on port 80 (MOOSOCK)

- Signup clicked
+ Connect to opix.org on port 80 (MOOSOCK)

- On Connect (MOOSOCK Login)
+ Send text line "GET flava/communitychat/login.cgi?username=" + Edittext$( "Username" ) + "&password=" + Edittext$( "Password" ) + " HTTP/1.0"
+ Send text line "From: flava@opix.org"
+ Send text line "Host: opix.org:80"

- On Connect (MOOSOCK Signup)
+ Send text line "GET flava/communitychat/login.cgi?username=" + Edittext$( "Username" ) + "&password=" + Edittext$( "Password" ) + " HTTP/1.0"
+ Send text line "From: flava@opix.org"
+ Send text line "Host: opix.org:80"

I uploaded all the CGI scripts to the following directory:
http://www.opix.org/flava/communitychat/admin.dat
http://www.opix.org/flava/communitychat/login.cgi
http://www.opix.org/flava/communitychat/signup.cgi
http://www.opix.org/flava/communitychat/users.dat
http://www.opix.org/flava/communitychat/Digest/Perl/MD5.PM

I have set the file permissions of everything to 755 and I think everything is correct.. I don't seem to know what the problem is. If I haven't put perl in the right path, can you tell me what the right path is please because im not very experienced with Perl or CGI scripts.

I have uploaded what I have done: http://www.opix.org/flava/flava.cca

I hope you can help
Thanks,

- Joe


 
This is a signature. Have this one on me.

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
14th June, 2004 at 16:25:22 -

You have to find that out from the company that hosts your website.

 
n/a
   

Post Reply



 



Advertisement

Worth A Click