Game Development Community

Different players under multyplayer

by Dimitris Matsouliadis · in Technical Issues · 09/21/2008 (5:52 pm) · 3 replies

Hi all :)
Know any what is the better method that deserve to i use so any client who pass in a myltyplayer
game to have other face (datablock)? ie I need that for connection to server with a client as man character and simultaneus another client as woman character. Exist? and how, with what way?
I am working on a MMORpg game and that is the unique who have unsolved.
Thanks for the time of any:)

#1
09/22/2008 (1:31 am)
You can try the server/game.cs creatplayer function
#2
09/22/2008 (1:32 am)
Use different datablock to create differernt characters
#3
09/22/2008 (4:16 am)
I have this time 8 datablock for players, 4 man characters and 4 woman characters. Dont working properly the switch from body to body. Any time who try a connection with a diferent character all characters make switch to the last character. What i need?
with this method have problem >here is my method...
1. i have a DBStream

//datablock = kod datablock class health craft mount start weight speed rspeed inventory maxInv start town

new ScriptObject(PlayersDB) {

Datablock0 = "10000 playerbody Human 250 0 1000 1 1 1 1 1 0 0 0 0 0 90 0.1 Any Athens";
Datablock1= "10001 femalebody Human 200 0 1001 1 1 1 1 1 0 0 0 0 0 90 0.1 Any Laurio";
............. etc
};

That i need from Datablock[x] = "10000 playerbody... is the 2nd word, the datablock

in player.cs ..............

%player = new Player(){

dataBlock = getword(Datablock[%switch], 1); // %switch become from start qui, 'select a character'
client = %this;

In singlegame start all is ok... i have the character that i have pre-select
The problem is in multyplayer game.

Have connect any different characters simultaneous in a multyplayer game? and how?
Any help to finnish with this please... Thanks