Jump to content
  • Advertisement


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



This topic is 6142 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I''m doing a small game using dplay7. When a player gets lost for some reason, maybe a crach or a full hour lag, I destroy that player on the server and send a destroy player msg to the others in the session. But here comes the problem.. When I try to send a guaranteed message from the server to all other players using DPID_ALLPLAYERS after that a player has timedout I get a few seconds delay on the server.. I think it has something to do with that dplay tries to send a guaranteed message to the previously destroyed/timedout player that does no longer exist. If I loop through the players manualy instead of using DPID_ALLPLAYERS the delay disapears I''m using DestroyPlayer(player_id); when removing the timedout player. I get a DP_OK as a result although something is quite wrong. Anyone got a solution? /Herr.O

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!