Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Peer to peer games

Author
Message
hookkshot
19
Years of Service
User Offline
Joined: 12th Apr 2007
Location: Adelaide, Aus
Posted: 30th Jan 2011 10:17
How can this be achieved. ive been trying to work it out and have gotten no where.

basicly i want people to be able to play online and lan. with no need for hosting using another program

2.0Gh AM2 Processor, 9800GT, 2Gb Ram
ShaunRW
DBPro Developer
18
Years of Service
User Offline
Joined: 7th Jan 2008
Location: Brisbane, Australia
Posted: 30th Jan 2011 11:37
When a player wants to host, there game acts as the server at the same time.

I'm not sure, but doesn't FPSC do this? You could have a look at the source.

Benjamin
23
Years of Service
User Offline
Joined: 24th Nov 2002
Location: France
Posted: 30th Jan 2011 11:57
It's not really a good idea these days, since you have the problem of firewalls and routers, as well as trying to manage synchronization between all players and preventing cheating. You're much better off just integrating the server into the game, so that a player can host while playing.
hookkshot
19
Years of Service
User Offline
Joined: 12th Apr 2007
Location: Adelaide, Aus
Posted: 30th Jan 2011 12:31
fair enough. how can i make it so people can play online while hosting and such

2.0Gh AM2 Processor, 9800GT, 2Gb Ram

Login to post a reply

Server time is: 2026-07-16 12:19:30
Your offset time is: 2026-07-16 12:19:30