#83194 - Dan2552 - Sun May 14, 2006 1:49 am
Is there anything (other than the wifi lib being a bit buggy) that prevents you to create a DS app which communicates with a LAN PC, so it sends a message to your pc (for example) at 192.168.0.2 - which then talks over the internet to a friends PC, and then sends the message to their DS (when they have the same DS app running)?
I was just thinking, as this would serve quite a good simple method for multiplayer online homebrew games.
Last edited by Dan2552 on Sun May 14, 2006 2:08 am; edited 1 time in total
#83196 - tepples - Sun May 14, 2006 1:58 am
Why not just have one DS contact the other PC directly? Does it have something to do with firewalls?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#83198 - Dan2552 - Sun May 14, 2006 2:07 am
well my method would help with firewalls I guess, maybe cause some extra problems if they have software firewalls
i'm not too sure how DS communicates so I don't know how easy it is to setup a P2P from one DS to another
#83201 - tepples - Sun May 14, 2006 2:22 am
Provided there is an access point available, and the firewalls allow the connection, opening a connection from a DS to another DS should be no different from opening a connection from a DS to a PC.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#83203 - Dan2552 - Sun May 14, 2006 2:26 am
Well I guess using PC you can find each other easier (no need for IP having to put in each others IP in the DS)
#83209 - tepples - Sun May 14, 2006 2:56 am
Unless all players enter the hostname of the PC that is hosting the game.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#83213 - Dan2552 - Sun May 14, 2006 3:17 am
but then if the host dies, you'd have to script a thing to give host to a 2nd person (which is confusing imo)
using PCs between could even use a lightly modded IRC server (basically one which doesn't kick for flooding :p and it would have to be kept away from normal IRC clients) as the game server
#83222 - tepples - Sun May 14, 2006 7:34 am
Dan2552 wrote: |
but then if the host dies |
Then you have two-hour lines for connecting to World of Warcrack ;-)
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#83391 - dexter0 - Tue May 16, 2006 2:31 am
I have noticed in MKDS, all the DS send and receive data to/from all other DS involved in the race. Probably not the best use of bandwidth but its faster than using a relay server and probably is the best way of fault tolerance. As for finding other opponents, build a lobby program that runs on a dedicated pc server connected to the internet and hard code its address into your game.