This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2011-07-01 23:12:44

ironmannn
Scratcher
Registered: 2010-02-20
Posts: 42

Servers? Is this possible?

guys, I just saw a project on M.O.G. (multiplayer online game) servers, I have tried to make a chat server but it takes more than one would expect my first attempt was a half success, it worked but it either wouldn't post anything or would just repeat the chat cache, please give me some tips for impovring the chat engine, and i shall share the bingo prject when its complete

Offline

 

#2 2011-07-02 14:07:40

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Servers? Is this possible?

I would suggest having the client send the message through a variable and broadcasts  or something and all the other clients receive it then display, and have it only do it once per message being sent. That way it doesn't repeat or anything. Though then it wouldn't show the old messages upon connecting. So I'm not sure.

Offline

 

#3 2011-07-02 20:10:19

Paulwe
Scratcher
Registered: 2008-03-06
Posts: 16

Re: Servers? Is this possible?

Yeah, it'd be hard, but you could do it with mesh.  Separate projects for client and server, though.


♬♫ 92% of teens have moved on to rap. If you are part of the 8% who still listen to real music, copy and paste this into your signature. ♫♪

Offline

 

Board footer