User Tag List

Results 1 to 5 of 5

Thread: Simple Chat Tut question

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simple Chat Tut question

    I was looking at the instant messanger tutorial and it works great but i had 2 questions:

    How do you get the Rich edit box to auto scroll when a new line is added so you dont have to manually scroll down.


    2 Is there a way to create a login system instead of just typing your name.

    Please and thanks.

    Especially to Jeff who made the tut.

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Simple Chat Tut question

    On the rich edit under control you can find the scrolling commands.

    For a log in system - you need to connect it to a PHP (or other) scripting language on your webserver using Live Reciever or MooSock. That is what Gwerdy uses to attach/check the accounts on the forum to allow log in on the chat.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export Module
    ZayLong's Avatar
    Join Date
    Jun 2008
    Location
    USA
    Posts
    276
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Simple Chat Tut question

    I see, could you elaborate a bit more on the log in part?

  4. #4
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Simple Chat Tut question

    You need to know a scripting language like PHP.

    Then using an object to communicate with your server like MOOSock or Live Reciever you send your username and password to your server.

    The script on your server checks the username/password against your list of valid users and returns the results to via the object to MMF2. This result would be if the log in was good or bad.

    If a good result was returned the player is validated and can log in. If a bad result is returned the player would not be able to continue.

    Here is a link to a very simple example where various objects return your current IP address.

    http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=40119

    Its the same basic thing --
    - Data is sent via these objects to your server
    - This data checked by the script on your server,
    - Other Data is returned for MMF2 for you to evaluate and take the actions you wish to take.

    If you search in the file archive I thought I remember some very old example files for this type of thing.

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    Merseyside, UK
    Posts
    398
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Simple Chat Tut question

    Note it should be your Moo Server that checks passwords and not the client otherwise people can easily change the domain DNS to another location and return a password okay message for any request. (Also they could bypass the security completely with a custom or modified client)

Similar Threads

  1. Simple Chat Room
    By Rockdude in forum The Games Factory 2 - Technical Support
    Replies: 0
    Last Post: 26th March 2009, 04:57 AM
  2. Help with Simple Chat?
    By Nicolyto77 in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 5th August 2008, 10:33 AM
  3. SImple Chat help
    By bobobo in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 28th October 2007, 01:43 AM
  4. Simple Chat Problem
    By senihnoskcaj in forum Multimedia Fusion 2 - Technical Support
    Replies: 7
    Last Post: 15th February 2007, 09:54 PM
  5. Question about the Simple Chat tutorial
    By Strider in forum File Archive
    Replies: 2
    Last Post: 5th February 2007, 03:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •