networked game questions

Blitz3D Forums/Blitz3D Programming/networked game questions

I checked the forums but could do with a simple step by step overview of using net code.

So assume i have a level model and a player controlled by me running around and able to shoot.

how do I get another player in the game controlled by a different user on a different machine.

I am okay with networking concepts and tcp etc. So this isnt important. More the building blocks to make this happen in blitz.

its a tall order but I could do with a simple tutorial which I can build on.

Maybe a lot to ask I know but the code I have checked out is very elaborate and I could do with an absolute minimum to add to.

I always preferred this:
http://www.krylarskreations.com/knl.shtml
Rock solid, very simple to use and completely free.
It comes with an example for a peer to peer type setup.

Well or u cold just use the blitz 3d own commands ;)

But be warned. its not easy. many holes to fall in deep.

Here is what i do.

1) Program a Chatt

2) Program a dirept IP to IP demo.

3) Build a server that can handle multiple TCP streams.

4) Finial step. Learn the wirtebytes() and readavail() test diferent packet size. and learn from misstakes.


often users say.. "I coded a complete game.. how cold i make it online" LOL. they shold had asked me "I coded a network engine. how to code a Game"

i guess i was thinking this would be a bit easier than i thought. the more i check the more complex it seems.

all i want to start with is a level model loaded and 2 players models to interact on it. even that seems tricky.

Any minimum code examples would be appreciated,

I have some code, but I'll need to test it on the Lan first.
This would be using UDP.

keep me informed please.

Have you tried running the examples from this post ?
http://www.blitzbasic.com/Community/posts.php?topic=71113
They are really basic, however when I tested them, they worked fine.