TCP network

Blitz3D Forums/Blitz3D Beginners Area/TCP network

LedgerARC(Posted 2008) [#1]
ok, I have this thing I've been trying to make. It's a simple multi-player game and I have no idea how to use a TCP, I looked at the code archives, and they didn't help. Well they did, but I still have almost no understanding of the code. I figured out that it works by sending simple text and numbers to the players, but plain and simple, when I tried it myself, I screwed up my whole game, now you can't even move around anymore.

A simple code with every line explained Would be more than helpfull, but even a very simple code that works would be awsome.

Thanks for all your help already, I know there will be some

Andrew


Lykaestria(Posted 2008) [#2]
I highly recommend this one from the code archives:

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

It helped me immensely, I'm sure it can do the same for you. I first adapted the code to suit my needs - changing a little at a time, and then gradually pasted in all of my code from my previous multiplayer project, piece by piece until I eventually had something that networked far better than my original project.


Moraldi(Posted 2008) [#3]
Lykaestria@Out off topic, but your nick is very strange... :)


LedgerARC(Posted 2008) [#4]
Thanks for the help! Now I can finally get ny best game working!