Does anyone know how I can make it so that I can have enemies spawning when a player enters a spawning area & everyone see the same enemy, same animation, same health, & such. Making it possable for people to be able to go againced the same enemy at rates such as 3 vs 1 & such? I just cant for some reasion get it!
Assault Andy Administrator
I make other people create vaporware
Registered 29/07/2002
Points 5686
19th September, 2004 at 08:13:24 -
Well, you have a 'data' file. And when a person enters the area the server sends the player the information telling that player where every monster is and it's health. For instance:
Player enters:
server > Send ini to player(getfromid)
You should develop a server side client basically that controls all the NPC's in the game. That client has to verify itself with the server first, then it is allowed to send coordinates on a subchannle, any other client sends coordinates on that channel they get booted.