User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 27

Thread: Kicking Players

  1. #1
    No Products Registered

    Join Date
    Oct 2006
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Kicking Players

    I have just completed a chat program, and all that is missing is kicking players. I would really appreciate it if someone could tell me how to do this.
    Thanks!

  2. #2
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Kicking Players

    If you have a list containing all of your players, make it so that it sends a message to that user, or even send a message to everyone and make the message their name. All you have to do is designate a certain subchannel or command to be especially for kicking. For example:

    Server

    +Button Clicked
    -Set message username on subchannel 54

    Client

    +On Server Message
    +Text of server message = my username
    +Subchannel of server message = 54
    -Kick

  3. #3
    No Products Registered

    Join Date
    Oct 2006
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Kicking Players

    I can do that part. The only trouble I am having is getting the list in the server to show the people logged on. I tried having the command:
    + On Sign on
    - send message username on subchannel 11

    On the server:
    + On client message
    - subchannel = 11 (however the code for that looks..)
    - add username to list1

    I thought this would work, but nothing is added to the list.

  4. #4
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Kicking Players

    You are probably using the wrong subchannel command. There are 3 or 4 of them, one for receiving from server, one from the client, and several others. Make sure that yours says:

    SC_OnClientMsg_GetSubchannel( "MooClick" )

    and for adding the username to list:

    Add SC_OnClientMsg_GetText$( "MooClick" ) to list1

    If you use anything besides those, it won't work.

  5. #5
    No Products Registered

    Join Date
    Oct 2006
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Kicking Players

    how do you get those commands...

  6. #6
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Kicking Players

    In the expression editor, click retrieve data from object, right click the mooclick object, and those will be under there. But I posted them above, so you can just copy and paste that and it will work as long as you have a mooclick object with the name MooClick.

  7. #7
    No Products Registered

    Join Date
    Oct 2006
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Kicking Players

    umm, where's the expression editor? What's the command I use to get there? Where it says New condition, what do I click?

  8. #8
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Kicking Players

    The expression editor is the box where you type in the numbers and strings for actions.

  9. #9
    No Products Registered

    Join Date
    Oct 2006
    Posts
    139
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Kicking Players

    Where it says New condition, what do I click to get there?

  10. #10
    No Products Registered

    Join Date
    Dec 2006
    Posts
    1,332
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Kicking Players

    The expression editor is the box with two buttons on the right, one saying "Retrieve data from object" and the other saying "Check current expression". You must have seen this before, it is nearly impossible to make a game in MMF2 or TGF2 without it. If you still don't know what it is, it is the box you use to type in your subchannel for example.

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. Kicking a client (Lacewing)
    By LeoLamas in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th May 2010, 07:37 AM
  2. Me again! Clinging to edges and kicking faces.
    By Bijhan in forum The Games Factory 2 - Technical Support
    Replies: 4
    Last Post: 12th May 2010, 12:10 AM
  3. OINC - Kicking/banning
    By Game_Master in forum Lacewing
    Replies: 36
    Last Post: 1st May 2009, 01:52 PM
  4. Players
    By Noctrama in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 25th December 2008, 06:36 PM
  5. Kicking People Off Of Chat With Mooclick
    By Brandon in forum Multimedia Fusion 2 - Technical Support
    Replies: 14
    Last Post: 30th March 2007, 08:06 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
  •