The Daily Click ::. Forums ::. Klik Coding Help ::. Chat application for the wordy - man strings why you gotta be like that?

Post Reply  Post Oekaki 

Posted By Message


31st December, 2011 at 11:32:54 -

I'd like to create a chat program in which I can send and recieve large chunks of text all at once. Like, larger than mooclick's send-a-string stuff allows. What would be the best way to go about doing this thing?

For great justice, and indeed pie.


31st December, 2011 at 19:17:46 -

Use LaceWing. There is an example by LB on the Clickteam forums.


458 MMF2 & CTF 2.5 examples and games


Nordanrikets konung


VIP Member
1st January, 2012 at 21:43:24 -

Use ftp.

This forum is full of trolls and disinfo agents.


At least I'm not Circy


VIP MemberStarSnow
22nd January, 2012 at 08:03:19 -

If there's a limit to MooClick's "send-a-string" limit, then why not just break your string into pieces and send them through? I would imagine the limit is 255 characters, so throw three or four edit boxes to the side of the frame and use your Len, Right$, and Left$ to figure it out.

The first 255 are easy.
Left$(Text$("text box")), 255)
^^Send that sucker through MooClick.

The next chunk is a little tougher.
Right$(Text$("text box"),(Len(Text$("text box"))-255)
^^Dump the result back into your text box.
Left$(Text$("text box")), 255) through mooclick.

If you set a counter to Len(Text$("text box")) / 255, +1 to a second counter every time you pull out and push a chunk of text until both counters match, then it's EOF (end of file). Or, you know... I could be in the middle of a highly complex brainfart, in which case please ignore everything I've said.

ChrisD> Employer: Say, wanna see a magic trick?
ChrisD> Employee: Uhh… sure, boss.
ChrisD> Employer: Your job! It just disappeared! Pack your things and leave! Pretty good trick, huh?


27th January, 2012 at 02:52:50 -

I thought about doing something like your suggestion, The_Antisony. Buuuuut I'm not sure how to find out what the character limit is, exactly.

For great justice, and indeed pie.

Post Reply



Worth A Click