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?
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?
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.Originally Posted by grayhuskie53
when I had the subchannel = 1 command, I used the "compare two values" command. This is probably the wrong way..
Originally Posted by grayhuskie53
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.Originally Posted by Brandon
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.
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
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.
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.
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
I did. It confused me with all the check, check2, load, loop... so.. many.. loops
and why are you using the string parser. I thought you said to use SC_OnClientMsg_GetText$( "MooClick" )