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 / anybody know any secrets to multiplayer

Author
Message
relyks
23
Years of Service
User Offline
Joined: 10th Apr 2003
Location:
Posted: 28th Jun 2003 06:23
ive attached my code. all it is, is a simple program to set up a connection (im trying to get an internet connection to work)and make a game. the main loop just checks for current players. i can run two instances on my computer and it works but if i have a friend to to use it when it checks for games none show up.
Stewie
23
Years of Service
User Offline
Joined: 30th Jun 2003
Location:
Posted: 30th Jun 2003 17:42
You and your friend should connect by IP no?
would be more simple


o well hope i helped you

shwuckie
23
Years of Service
User Offline
Joined: 9th May 2003
Location: Australia
Posted: 30th Jun 2003 18:46
are either of u using firewall software ? or are you connecting to the net via a network? these can cause problems, if this isnt the case, all i could suggest is a safer way to setup things rather than using input, and to use the last flag in the command:

CREATE NET GAME Gamename, Playername, Number Of Players, Flag

to set whether ya want peer to peer or host/client , being 1 or 2 respectively

if no joy i can send ya a copy of my netlobby code and media, its about 35k compressed, you have to compile it yaself

optic blast! megablast! have a blast!!

Login to post a reply

Server time is: 2026-07-17 13:57:13
Your offset time is: 2026-07-17 13:57:13