PDA

View Full Version : DXPlay Sendmessage problem



Pretz
19-10-2004, 07:48 AM
I am using DelphiX in Delphi6 pro.

I have a database to log all the players' ID cardinal when they added to the session.

When i try to DXPlay.sendmessage to some players just logged off, that mean the ID cardinal is invalid. Then error prompted out.

Is there any method to avoid 'sendmessage' to some invalid cardinal which they just left session?

Is there any method to check the Player.name is still in the session? or avoid error prompt out?

Thanks.

BojZ
04-02-2005, 08:13 PM
Hey!

Sure there is a way to see if the player with the name NAME is still in the session. Check the list of DXPlay1.Players for that particular name and you'll see the presence of certain players.

Hope that helps.

BojZ

P.S. If you know or find out how to send files using DXPlay, plz let me know.