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.

Newcomers DBPro Corner / Still understanding multiplayer not right, pls help

Author
Message
pontifex
20
Years of Service
User Offline
Joined: 23rd Sep 2004
Location: Germany
Posted: 30th Sep 2004 04:15
Hi folks,

still playing around with the multiplayer commands and stuck at one point:

if I create a net game, do I have to register my player as player no. 1 ?

The setup already works fine, but if the client joins, it gets a player no. 1, but should have 2?

RTFM says:

Create player: this command will create another player within the net game. This player will be an additional player to the default player created when you created or joined the game...

Hey, ok, but the default player is not no. 0, is it? because I could not send a specific message to player 0... 0 means sending it to all.

Could one of you push me into the right direction, pls?

regards,
P!


It's not my fault... http://www.url-services.de/
Turoid
21
Years of Service
User Offline
Joined: 1st Nov 2003
Location: The Netherlands
Posted: 30th Sep 2004 06:34 Edited at: 30th Sep 2004 06:35
as far as i know.. the creator of the netgame is player 0.. and i think that you've forgot to creat a player for the host. so that's why the player of the client is 1, because theres no other created player.

Do you need a complete FPS,3rdPS engine ?? Or a collision command libary?? well here it is:
http://forum.thegamecreators.com/?m=forum_view&t=38869&b=6&p=0
pontifex
20
Years of Service
User Offline
Joined: 23rd Sep 2004
Location: Germany
Posted: 30th Sep 2004 10:04
ahhhhh... the creator is the highest number in the list...

if you create a net game with 8 players, the creator is number 8

and now I am stuck with sending the string message over... the perform checklist shows me both players... once in a while I send a net message string to the ZERO (=all) ... but it seems to vanish in cyberspace ...

more ideas?

thanks,
P!


It's not my fault... http://www.url-services.de/

Login to post a reply

Server time is: 2024-11-27 10:43:14
Your offset time is: 2024-11-27 10:43:14