server in blitz3d?

Blitz3D Forums/Blitz3D Programming/server in blitz3d?

Caton(Posted 2014) [#1]
can somebody make a code that can make a 3d game server that will create users from a server? and how do you make a server in blitz?


RemiD(Posted 2014) [#2]
There are already many discussions and examples about this in the forum and in the code archives, you can search like that :

https://www.google.fr/?gws_rd=ssl#q=client+server+with+tcp+ip+site:blitzbasic.com
or
https://www.google.fr/?gws_rd=ssl#q=client+server+with+udp+site:blitzbasic.com


Matty(Posted 2014) [#3]
One of the drawbacks of writing a server in blitz is that blitz is single threaded which makes these things a bit more clunky to write.


Pakz(Posted 2014) [#4]
There used to be a library for networking called blitzplay. But I think it can not be downloaded anymore.


Rroff(Posted 2014) [#5]
@Matty fastpointer gives you threading capabilities if you know what your doing but sadly hasn't been updated to work with B3D versions above 1.106 AFAIK.

Its perfectly feasible to write a server in B3D but you'd be better of creating it with something like max :( or monkey that can be compiled for headless systems and Linux, etc.


Caton(Posted 2014) [#6]
Thanks for the help.


Caton(Posted 2014) [#7]
okay now how do I have any body from any where connect to my game?
Game IP


Matty(Posted 2014) [#8]
There's more to it than simply knowing each of your ip addresses. If one or both of you are behind a router that makes things more difficult....


Caton(Posted 2014) [#9]
how do I do then?


Caton(Posted 2014) [#10]
how do it where if I'm make the server on my computer then on a other computers connects to the server.


Rick Nasher(Posted 2014) [#11]
You'll need to use google translate, but I once managed to have this working on my home network using:

http://www.blitzforum.de/forum/viewtopic.php?t=39561&sid=167267e4514f00f788c2e3a4854d26f8

First link in the list.
Didn't get into it any further just yet, had some other stuff to do first.


Caton(Posted 2014) [#12]
My game is MMORPG
how do I make a server?


Caton(Posted 2014) [#13]
and client.


Caton(Posted 2014) [#14]
and link in that forum does not work.


RGR(Posted 2014) [#15]
Mid wrote

My game is MMORPG
how do I make a server?

and client.


The best idea is: Learn to code! And look into the hundreds of code examples you find on this website - there is more than 12 years of knowledge to discover.

But it seems (all your posts are about the same) you want that someone is writing the complete code for you.
I guess you will not find many stupid users who spent days of their life to write code for you, just for a thank you.
Especially because all code you need is already here ... you should spend time to search for it and understand it, instead of begging for code.


Caton(Posted 2014) [#16]
Thanks.


Rick Nasher(Posted 2014) [#17]
Sorry, you'll need the link on the page where it links to:


"Download: SimpleUDP 3.0 inkl. Masterserver (.rar, ~432Kb groß, hier im Forum hochgeladen)"
which links to:

http://www.blitzforum.de/upload/file.php?id=12554


Caton(Posted 2014) [#18]
Thanks


Caton(Posted 2014) [#19]
has anybody made\added new things\code in blitz basic, sent it is open source?