The Daily Click ::. Forums ::. Klik Coding Help ::. PROBLEMS. MOOOO
 

Post Reply  Post Oekaki 
 

Posted By Message

pixelscope



Registered
  15/02/2002
Points
  486
21st October, 2005 at 08:42:39 -

Yes, problems with MooClick.
I can't be the only one.

I followed the steps taken i Tigerworks tutorial, and yet all I get is a 'Bad Channel Object, you must selecta Channel'. (I get this running his tutorial aswell).

Does the server need to "create" a channel before it can be signed onto? If so, how??

 
No.

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
21st October, 2005 at 09:26:52 -

I had that problem too for some time before i figured it out. The server does NOT need to create a channel before signing on. What you do wrong is that you connect, and then set the name, that's why MooClick gives you that error message. You're supposed to set the name and THEN connect to the server

example:

Start of level:
-MooClick: set name to "Aggggge"
-MooClick: Connect to "lol.com" on port 1203

MooClick: Connect
-Sign on to channel "wheee"

and then you can start sending messages

 
n/a

pixelscope



Registered
  15/02/2002
Points
  486
21st October, 2005 at 14:22:04 -

Oh, but then tigerworks's "tutorial" was misleading.
Thanks! Ill try that

EDIT: Actually, thats what his tutorial does, and still the same problem.

Image Edited by the Author.

 
No.

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
21st October, 2005 at 14:57:01 -

Weird.

Try this, i took it from the code of one of my online games, so it should work:

*Start of level:
-MooClick: set name to [whatever]
-MooClick: Connect to [server] on [port]

*MooClick: Player: Connect
-MooClick: Player: sign on to [channel]

and then when you want to send messages:

*Upon pressing enter:
-MooClick: Channel: send text [whatever] on subchannel [whatever]

and to recieve messages:

*MooClick: Player: On message
* P_OnMessage_GetSubchannel( "MooClick" ) = [subchannel]
-String: Set alterable string to: P_OnMessage_GetText$( "MooClick" )


And that's about all

 
n/a

Joshtek

Administrator
The Archivist

Registered
  02/01/2002
Points
  3723

Game of the Week WinnerHas Donated, Thank You!Mr BallPicture Me This Round 50 Winner!
21st October, 2005 at 17:46:57 -

Note: If you try to send a message to a channel before it has signed on or if you sign on before it has connected it will _not_ buffer the request automatically, so don't just have "connect", "sign on", "send to channel" all in one event in the hope that it will do each one after the other has completed.

Image Edited by the Author.

 
:: Joshtek ::


Oreos? GO! OREOS!
   

Post Reply



 



Advertisement

Worth A Click