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.

Author
Message
Legionare
23
Years of Service
User Offline
Joined: 6th Apr 2003
Location:
Posted: 16th Aug 2003 04:11
Hey,

Ive just finished my single player FPS game and now im going to add multiplayer features. I looked at the tutorials and technical documents for multiplayer games and succesfully create a lobby + chat room for my game. As far as actual multiplayer gameplay, i managed to get peir to peir working.

Now i want to make it so that 10 ppl can play, 1 Host, 9 Clients

Ive been trying for days now and still cant even get the players to move on each others screen.

I need to know
Who should send packets to who? - at the moment its set up so that the clients send 1 packet to the host and the host sends 1 packet back containing all of the other clients info

How should i seperate each variable/string from the 1 packet?
Im using "*" dividers like it suggested in the technical documents, then 1 by 1 taking the characters of the packet out and forming the needed info

if their is more effecient ways of doing this task then plz post it here

Any help or code is greatly apprieciated
ICERGB
23
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Canada
Posted: 16th Aug 2003 16:07 Edited at: 16th Aug 2003 16:29
peer to peer

uh hem

---

In peer to peer, their is not really a host.
Technicaly there is a host when you sucessfully log on to peer to peer with each other in patch 4.1
But the host disapears in peer to peer mode if the host logs off.(Then what do you do?).

I would suggest creating a chat room to answer your questions...
Then you might understand that along with the signal identity signature you would then add (somewhere) if that command was special from that person and how to deal with it.

But now it iis difficult because you need to add the basic communication between one player and another/all players

I would also submit here that
of the
[PERFORM CHECKLIST FOR NET PLAYERS] IN PATCH 4.1
IS NOT RELIABLE except

[checklist string(0)]

You must therefore distinguish your players by a computer rule that you have set...(which I cannot remember at this time)


"I think",

what do you think?


I would guess that one of the easiest ways of doing this is
marking the first player online
the first packet/string is priority from the first player online.

This is a raw guess as I have been experimenting with new ideas

Login to post a reply

Server time is: 2026-07-22 18:54:07
Your offset time is: 2026-07-22 18:54:07