User Tag List

Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 27

Thread: Kicking Players

  1. #11
    No Products Registered

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

    Re: Kicking Players

    I know what it is, but how do you make a command with just that as an event? I know how to set a subchannel, or compare two general values, but how do you set it alone? You click New condition, then what?

  2. #12
    No Products Registered

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

    Re: Kicking Players

    Quote Originally Posted by grayhuskie53
    On the server:
    + On client message
    - subchannel = 11 (however the code for that looks..)
    - add username to list1
    The line that says "- subchannel = 11 (however the code for that looks..)" is what is wrong. You have to use the commands that I posted earlier because they are the commands that go with on client message. The other problem is the add username. I don't know how you are retrieving the username. I'm guessing that you are just sending the client's username from the client and adding it to the list, but you would use the expression called Get Text I posted earlier instead of username.

  3. #13
    No Products Registered

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

    Re: Kicking Players

    when I had the subchannel = 1 command, I used the "compare two values" command. This is probably the wrong way..

  4. #14
    No Products Registered

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

    Re: Kicking Players

    Quote Originally Posted by grayhuskie53
    when I had the subchannel = 1 command, I used the "compare two values" command. This is probably the wrong way..
    Quote Originally Posted by Brandon
    SC_OnClientMsg_GetSubchannel( "MooClick" )

    SC_OnClientMsg_GetText$( "MooClick" )
    Instead of the word "subchannel" you are going to place in the first expression from my quote in this post. For adding to the list, use the second expression in my quote from this post.

    So the event should look something like:

    SC_OnClientMsg_GetSubchannel( "MooClick" ) = 24

    except 24 probably won't be your subchannel, that was just an example.

  5. #15
    No Products Registered

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

    Re: Kicking Players

    argh. It still doesn't work. Here's my client and server. The game sends the message in the last frame.

    http://www.mediafire.com/?cvxjnazgmem

    http://www.mediafire.com/?2mcxpxb1l9b

  6. #16
    No Products Registered

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

    Re: Kicking Players

    Your code confuses me in an unexplainable amount of ways. First of all, you connect to an ip address and you kick someone on a message from the server on receiving a message from the client. Also, when you get kicked, for some reason you connect to the sphax server which makes absolutley zero sense to me. And that is cocodrillo's server example, not yours.

  7. #17
    No Products Registered

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

    Re: Kicking Players

    I altered it. This is what it does: it connects to my server to log on. Then it disconnects and joins sphax for the chat. (I'm going to change this later). Also, ignore all the kicking stuff. I'm trying to get the name on the server list before I fix sending the kciking messege.

  8. #18
    No Products Registered

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

    Re: Kicking Players

    I can't help you. I really don't feel like sorting through all of the code to find all of the multiple reasons it isn't working. The only advice I can give you is that I made an example a couple weeks ago on a log in and out system, and it may come in handy for helping you solve your problem. Here is the link to it:

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

  9. #19
    No Products Registered

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

    Re: Kicking Players

    I did. It confused me with all the check, check2, load, loop... so.. many.. loops

  10. #20
    No Products Registered

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

    Re: Kicking Players

    and why are you using the string parser. I thought you said to use SC_OnClientMsg_GetText$( "MooClick" )

Page 2 of 3 FirstFirst 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
  •