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 / What can I do to automatically assign IP?

Author
Message
Lord Danath
22
Years of Service
User Offline
Joined: 29th Aug 2003
Location:
Posted: 4th Nov 2003 16:22
When I create a game in multiplayer, if I choose TCP/IP, the program ask me for the IP. Is there a way to search and use the computer´s own IP?

It is time to say hello...
HELLO
heartbone
23
Years of Service
User Offline
Joined: 9th Nov 2002
Location:
Posted: 4th Nov 2003 17:07
When you create a game in DarkBASIC the syntax is:

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

There is no provision to specify IP.

The only provision for IP is when you issue the command:

SET NET CONNECTION Connection Number, Address Data

For that command the Address Data field could contain an IP, but you'd never need that for a game hosted on your computer as you are already connected.

The more you see, the more you know.
The more you know, the more you see.
Lord Danath
22
Years of Service
User Offline
Joined: 29th Aug 2003
Location:
Posted: 4th Nov 2003 17:42
Hmmm...it still asks me for the IP. It isn´t Dark Basic, it is Windows. Ok, is there a way to search and assign the IP of the PC to a variable??

It is time to say hello...
HELLO
Inkybro
23
Years of Service
User Offline
Joined: 31st Dec 2002
Location: Where I live :)
Posted: 4th Nov 2003 17:48
If you're wanting an IP to use till you have a host, use 127.0.0 (i think that's it). Try that

Mussi
23
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 4th Nov 2003 17:52
it's 127.0.0.1

Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb ddr sdram
Inkybro
23
Years of Service
User Offline
Joined: 31st Dec 2002
Location: Where I live :)
Posted: 4th Nov 2003 17:53
So close lol.

Dank je, Mussi :-p Je zijn goed

Mussi
23
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 4th Nov 2003 18:18
better next time

ach, 't is maar wat je goed noemt

Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb ddr sdram
Inkybro
23
Years of Service
User Offline
Joined: 31st Dec 2002
Location: Where I live :)
Posted: 4th Nov 2003 18:30
Ik snap het niet, ik ben leren Nederlands.

Inkybro
23
Years of Service
User Offline
Joined: 31st Dec 2002
Location: Where I live :)
Posted: 4th Nov 2003 18:31
Je heeft AIM, MSN, or een Yahoo username?

Login to post a reply

Server time is: 2026-07-26 16:04:02
Your offset time is: 2026-07-26 16:04:02