Module so every server message is followed by Zero Byte?

These are old archives. They are kept for historic purposes only.
Locked
syko
Posts: 4
Joined: Wed Dec 21, 2005 2:43 am

Module so every server message is followed by Zero Byte?

Post by syko »

I have a very good knowledge with scripting, etc. however I am lacking in C even though I know how to fumble my way around.

I would like to know how I could CREATE A MODULE(edit) so that every line sent to clients by the server is followed by another line with nothing on it other than a zero byte.

I am writing a chat client in Flash to use with a server I am creating, but flash requires every line be terminated with a zero byte or else it can't read the line.

Thank you very very much in advance for any help guys. Figuring this out will be a HUGE relief on my part.
- syko -
Insanity is Bliss...
JIVXor
Posts: 134
Joined: Fri Sep 09, 2005 10:53 pm
Location: Cuba

Post by JIVXor »

Another post with the same theme? Dont you know that is an EDIT option? Obvious you must deal with which it does not have to do with modifying sources.
syko
Posts: 4
Joined: Wed Dec 21, 2005 2:43 am

Post by syko »

I obviously did not know it was an EDIT option.. how do I set the EDIT option?
- syko -
Insanity is Bliss...
Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

I don't know how many times I have seen this, and I don't know if it is always the same person that asks...

However, there are flash clients that don't require the zerobyte for line termination. Use google and find a flash IRC client, and there is at least one that is open source IIRC.
JIVXor
Posts: 134
Joined: Fri Sep 09, 2005 10:53 pm
Location: Cuba

Post by JIVXor »

In this URL -->


http://img454.imageshack.us/my.php?image=edit5ti.jpg


you can see your EDIT option.
syko
Posts: 4
Joined: Wed Dec 21, 2005 2:43 am

Post by syko »

JivX, I posted it in 2 different forums in order to hopefully receive extra help, occasionally on forums users will only hover in certain areas. I also felt that my topic fit under both categories.

As for the other guy that posted about IRC Flash Clients that work without the zero byte, that is false as far as I know.. the only ones that I know of that work use gateways in order to do this.

I wouldn't think it would be that tough to create a module that does this, unfortunately I am just not familiar enough with C..

If so many users continue to request it, perhaps it would be a good idea for somebody to make one.
- syko -
Insanity is Bliss...
JIVXor
Posts: 134
Joined: Fri Sep 09, 2005 10:53 pm
Location: Cuba

Post by JIVXor »

syko wrote:I obviously did not know it was an EDIT option.. how do I set the EDIT option?
You ask me, I answered you. On the other hand, I feel that you are wasting your time, in the best sense of the word. I tried several times just like you now, but there is an ethic here that there is to follow. I wish you luck.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

JIVXor wrote:You ask me, I answered you. On the other hand, I feel that you are wasting your time, in the best sense of the word. I tried several times just like you now, but there is an ethic here that there is to follow. I wish you luck.
I really don't appreciate unhelpful, hostile attitudes like this, and other posts I've seen around. Take it in mind ;).
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

This simply cannot be done in a module.

When you think of it, it doesn't make sense either... it's the client that should conform to the IRC protocol (basics), not the other way around.
Nazzy
Posts: 3
Joined: Thu Nov 10, 2005 4:14 am

Post by Nazzy »

What doesn't make sense to me is why flash wants the end to be \n\0 or \n\0\n
bsacco
Posts: 2
Joined: Wed Jan 11, 2006 7:52 pm

XMLsockets

Post by bsacco »

I think that he needs that because the XMLSocket object in ActionScript(flash), needs that.
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

This can't be done, end of discussion.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Locked