Archived

This topic is now archived and is closed to further replies.

fireking

dp8e_CreatePlayer()

Recommended Posts

directplay8event_createplayer() the sdk says its called when a player is created, yet neither the client or the server has a create player function. so i ask, when is this called? --Fireking Owner/Leader Genetics 3rd Dimension Development

Share this post


Link to post
Share on other sites
quote:
Original post by fireking
directplay8event_createplayer()

the sdk says its called when a player is created, yet neither the client or the server has a create player function.

so i ask, when is this called?



The server generates a call to create player for the local player as soon as you set it up.
Then when clients connect, you get a connect received message, if you return S_OK it will connect and the server gets a create player message. The player info is set on the client with another function

Share this post


Link to post
Share on other sites