Multiplayer mission

Blitz3D Forums/Blitz3D Programming/Multiplayer mission

D4NM4N(Posted 2004) [#1]
I have written a racing game which is due for imminent release. I really want to have TCP networking. I have written the game with this in mind as far as setting up my player types.

ie:
type multi
field data,data,dabla,blah,blah,blah etc :)
end type

Ive worked out how to create/join a game, but whats a good way of sending this playerdata around the network? Is it a case of using sendmsg receivemsg by means of parsing the string?? the blitz help in this area is a bit shoddy, can anyone supply some client server examples for me to pull apart??


Jeremy Alessi(Posted 2004) [#2]
Check out my FPSNet example (boy I refer people to this a lot).

http://www.blitzbasic.com/codearcs/codearcs.php?code=1149

Of course you can expand on all that ... but it works.


wizzlefish(Posted 2004) [#3]
I remember the day you refered that to me....wait...that was today....