BNet UDP Multiplayer Tutorial

BlitzMax Forums/BlitzMax Tutorials/BNet UDP Multiplayer Tutorial

Eikon(Posted 2006) [#1]
BNet UDP Multiplayer Tutorial





Tutorial
Demo + Source
BNet 1.41 (Modified to work with BMax 1.20)




Grisu(Posted 2006) [#2]
and where it is? :)


Eikon(Posted 2006) [#3]
Hi Grisu, sorry about that :)

It's up now. Well, most of it anyway...

I'm thinking of adding fireballs to the next update, then we can have a little deathmatch }:)


Grisu(Posted 2006) [#4]
Nothing to say sorry for.
I was just confused, that's all.

You get A+ from me for the mushroom presentation here alone... :)

Too bad I have to fight bmx bugs all over the place, so no time left to learn mp coding atm... :(

I'm always up for a dm match though. ;)


Eikon(Posted 2006) [#5]
I'm glad that you like the tutorial graphics, Grisu. I tried to come up with some colorful stuff to liven things up a bit.

The tutorial text is complete now. Maybe you can give it a once over when your bug battles are done.

If you read the tutorial and have comments on how it can be made better, or just want to let me know that you enjoyed it, I would love to hear from you!


Booticus(Posted 2006) [#6]
Damn Eikon! That was a great tutorial! I am really appreciative of your hard work in detailing the whole program and all the functions! I"ll see what I can use from your great example and send you anything I do down the road!


Eikon(Posted 2006) [#7]
Thanks Mario!

Comments like yours are why I wrote the tutorial in the first place. It feels good to know when you help another programmer, cheers :)


Regular K(Posted 2006) [#8]
Good tutorial but does BNet have a document?

It feels kinda useless for me if I can't get a document on it.


Eikon(Posted 2006) [#9]
There is no official BNet documentation that I'm aware of. You have the full source to the module, and there are actually very few commands needed to do basic networking. If you study the functions in the module you should be OK. Thanks for taking a look :)


Regular K(Posted 2006) [#10]
I suppose I can always make my own documentation for it :)


TartanTangerine (was Indiepath)(Posted 2006) [#11]
Will this work on Mac also?


bradford6(Posted 2006) [#12]
Top Tutorial. very well done.


Eikon(Posted 2006) [#13]
@Indie: I don't know and have no way to test, but I doubt it.

@Bill: Thank you


TartanTangerine (was Indiepath)(Posted 2006) [#14]
I have not looked at the code specifics but are the win32 API calls galore?


Eikon(Posted 2006) [#15]
My code doesn't, it's the socket stuff in BNet that I'm concerned about.