Board index » delphi » Troubles thinking in INDY...
Erick Engelhardt
![]() Delphi Developer |
Erick Engelhardt
![]() Delphi Developer |
Troubles thinking in INDY...2004-06-30 01:25:10 PM delphi118 i am a newbie here! :P here ie the problem... i am making a multiplayer game. in this, 8 computers connects in to one, and all the informatioon they send to the server must me reflected to all of them. so, how may i do this??? i can send the messages to the server... but how to send from server do the 8 clients??? please help me!!! Erick Engelhardt from Brazil |
Atle Smelvær
![]() Delphi Developer |
2004-06-30 02:32:11 PM
Re:Troubles thinking in INDY...
Just send changes to all, using threadlist to get the threads and then the
connection object where you can send your data. Use UDP server, to make sure that the send delay is as low as it can get. You could loose packets, but it will only be seen on the clients as lagging. Remember to make all computations for hits etc. on the server. -Atle |
Erick Engelhardt
![]() Delphi Developer |
2004-06-30 11:31:34 PM
Re:Troubles thinking in INDY...
sorry man, but i couldnt understand... can u send me some demos? or some
site? i cant find it... i am tirad of searching... thanks man,,,, "Atle Smelvær" <XXXX@XXXXX.COM>writes QuoteJust send changes to all, using threadlist to get the threads and then the |