Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / MultiSync Handling more than two people?

Author
Message
SFCBias
15
Years of Service
User Offline
Joined: 8th Aug 2009
Location: Hephzibah, GA, USA
Posted: 13th Oct 2009 02:34 Edited at: 13th Oct 2009 02:40
Im using multisync and i cant figure out a method of sorting messages so that the server can sort and send messages for more than two clients heres my code/

NOTE: I know im probably not using the best method of data transfer,so unless thats the problem, i'd rather not change it.

If you notice what i tried to do was have the server send a message that could possibly be used to tell the clients who sent the message in order to position the correct player.

Server


Client(s)


if(You.AddCode.toPost)TGC.Users.CanHelp = true;
else return NoCodeMessage;
SFCBias
15
Years of Service
User Offline
Joined: 8th Aug 2009
Location: Hephzibah, GA, USA
Posted: 15th Oct 2009 00:17
im going to bump this because i still cannot figure out a way

if(You.AddCode.toPost)TGC.Users.CanHelp = true;
else return NoCodeMessage;
Drowneath
15
Years of Service
User Offline
Joined: 22nd Jun 2009
Location: In your eyes
Posted: 15th Oct 2009 08:56
I'd rather make a server timer then send a packet to ALL players containing informations such as players-in-range position and any other updateable informations in a formatted string, then later parse it on the client.

if(asleep) sheep++;
SFCBias
15
Years of Service
User Offline
Joined: 8th Aug 2009
Location: Hephzibah, GA, USA
Posted: 15th Oct 2009 13:47
i understand (sorta) what your saying, but how would i go about this

if(You.AddCode.toPost)TGC.Users.CanHelp = true;
else return NoCodeMessage;

Login to post a reply

Server time is: 2024-10-01 14:41:12
Your offset time is: 2024-10-01 14:41:12