Hi. I’m thinking of trying an MORPG (not MMORPG, tryin’ to make a Multiplayer Online RPG) :D. Basically, I’m thinking of doing a game where you and your buddies can connect through the Internet to a game you or your friend is hosting. Can Blender handle IP addresses over the Internet? Can Blender handle connecting to multiple computers at once? :spin: Are IP addresses always individual, so that you can’t accidentally connect to a stranger’s IP address? Can Blender tell when Windows (or another OS) gets a request to join (i.e. computer A wants to connect to me, computer B. Allow?) If computer A connects to computer B, does computer B have to connect to computer A as well (like I am thinking, so that you can’t connect to a random IP address)? Is this too much to ask? IS ALL JELLO RED?! . . . Ha.
how mcuh experience do you have with the blender game engine, and how much experience do you have with computer networking?
Well, uh, no experience in networking in programs, but I know how to program in the BGE pretty well.
Here, I do have some experience in networking. I’ll answer your questions to the best of my knowledge.
Can Blender handle IP addresses over the Internet?
I’m sure it can. I think, actually, that blender networking works over the computers hard coded address (MAC not to be confused with mac computers). I’m not sure about that one exactly, you might wanna talk to the guys over at vendara.
Can Blender handle connecting to multiple computers at once?
Yes, I’m very sure. Your not necessarily connecting to the computers. It depends more on how your setting up your network. Networking is not necessarily a code that can just be passed around. You can have different setups based on how the LAN or MAN is structured. MAN is usually connected via a single ‘hub’. LAN is usually based around the single computers, not normally containing a hub.
Are IP addresses always individual, so that you can’t accidentally connect to a stranger’s IP address
IP addresses are assigned by the server, that means, yes they are individual
Can Blender tell when Windows (or another OS) gets a request to join (i.e. computer A wants to connect to me, computer B. Allow?)
normally, this isn’t a problem. Most networks aren’t based on OS (although, there are network operating systems)
If computer A connects to computer B, does computer B have to connect to computer A as well (like I am thinking, so that you can’t connect to a random IP address)?
Yes, I believe so. I still have a limited knowledge of networking, so I can’t necessarily answer the question. Most of the time, you have to create a directory that allows the computer to check which IP addresses are active. It also depends on the type of game your making. If your making an MMORPG, you don’t even have to worry about that anyway.
Is this too much to ask?
You should probably take a course on networking. Programming a network can be quite complicated, or creating a system to work through a network like a LAN or the internet.
IS ALL JELLO RED?!
FINALLY, someone answers me; so all jello ISN’T red! Haha, thanks, you guys. Does anyone know any Blender networking tutorials?
sorry for the ‘non-reaction’. the BA community is more of an artist’s community, so not many people would actually be able to answer your questions.
Any networking you do in blender would have to be python.
I suggest using a pure python server (basically, a .py not a .blend), and having the bge python only handle clients. (server computer runs server AND a client)
This works and I have done it.
If you really want to learn how to do this, (and not just have someone give you an example to modify) you should check out http://www.amk.ca/python/howto/sockets/
Over the internet, (unless you and your friend are connecting your computers directly to the internet:no:) you will be using the ip addresses you get from http://whatismyip.com/ not the “192.168…” local address. You also need to make sure your router is forwarding whatever port(s) you are using to the machine you are on.
Good luck on your project,
OldJim knows a lot about networking with the Blender Game Engine. You can find his thread on the topic here: http://blenderartists.org/forum/showthread.php?t=113438
Also, search the forum for the BZoo project. It is a fully functional online Blender Game Engine tool. (Edit: BZoo is here - http://blenderartists.org/forum/showthread.php?t=109123 )
Edit: More tutorials here - http://blenderartists.org/forum/showthread.php?t=111532
Thanks, everybody! I think I might just go with a MRPG (Multiplayer Role Playing Game, I.E. X-Men Legends, kind of). However, this will certainly help out the other Blenderheads as well as me.
- Your fellow Blaniac, Joeman16