6 registered members (AndrewAMD, Ayumi, degenerate_762, 7th_zorro, VoroneTZ, HoopyDerFrood),
1,268
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: How to start an internet server
[Re: fastlane69]
#131667
05/25/07 03:53
05/25/07 03:53
|
Joined: Mar 2003
Posts: 4,427 Japan
A.Russell
Expert
|
Expert
Joined: Mar 2003
Posts: 4,427
Japan
|
You need to configure your router. I am not certain how to do this, since last time I did it was with a friend who is a network engineer. Firstly you go into your router with your web browser (check your router's manual for how to do this). Once inside I'm a bit vague on what we did, but if you look around in there you might find what you need. If I remeber correctly, we set a static IP for the machine we used as a server (otherwise the router might give it a different IP each time it is started) then we used .....ummmm what was it called... some acronym like for "demilitarized zone" [edit: DMZ -that's the one!] and set that to the static IP. You could then access the server from the web using the outside IP. To find your outside IP, search for "what's my IP" on Google.
I hope that was at least a little bit helpful.
Last edited by A.Russell; 05/25/07 03:55.
|
|
|
Re: How to start an internet server
[Re: TSG_Torsten]
#131669
05/25/07 16:14
05/25/07 16:14
|
Joined: Jan 2003
Posts: 517 Illinois
giorgi3
User
|
User
Joined: Jan 2003
Posts: 517
Illinois
|
The default port range is 2300-2400. It uses both TCP and UDP (but mostly UDP). You can change it with: Quote:
-port number Through this command line option, a port address for TCP/IP client/server communication can be given. Valid ports are in the range 2300..2400. If no port is given, a default port address is assigned. A port address can only be given for the server - the client will connect to the right port automatically.
So set port forwarding to send these through your router to the server.
As far as the client goes, you have to specify the IP address via -IP
Quote:
-ip name Through the -IP command line option the server name, the server's machine name, domain name or IP address can be given when starting a client in multiplayer mode. Example:
acknex office -cl -ip 169.254.73.28
connects to the server with the given IP address on the network or internet. The given name or address is available during gameplay in the predefined server_name string. If this command line option is not given, the server will be searched on the local network.
If you are trying to get the game to display the internet IP vs the Local IP, I don't know that it can be done.
Last edited by giorgi3; 05/25/07 16:18.
Giorgi3
10,000 parts flying in a close formation does not constitute an airplane. Some assembly is required.
|
|
|
Re: How to start an internet server
[Re: TSG_Torsten]
#131672
05/28/07 12:57
05/28/07 12:57
|
Joined: Aug 2004
Posts: 2,215
ISG
Expert
|
Expert
Joined: Aug 2004
Posts: 2,215
|
Get your IP Address, go to www.my-ip.com or some website that will tell you what your IPAddress is (unless you know where you can find it on your computer). That's the IP you will have others connect to. 1) Send them your Open Source Files and Levels now. 2) Open the Main level up 3) Hit Run 4) Server enter "-sv -cl" and hit RUN 5) Client enter "-cl -ip 000.00.00.000" and hit RUN 6) Ta da...should be running together. This is all assuming your code is prepared for Multiplayer gaming, otherwise the story could end up differently.
|
|
|
Re: How to start an internet server
[Re: TSG_Torsten]
#131674
05/29/07 00:17
05/29/07 00:17
|
Joined: Aug 2003
Posts: 7,439 Red Dwarf
Michael_Schwarz
Senior Expert
|
Senior Expert
Joined: Aug 2003
Posts: 7,439
Red Dwarf
|
In case that you are trying to connect to your own server from the same PC you work on, you have to conect to localhost (127.0.0.1) NOT to yor internet-IP, this is only for other users. You cannot connect to your own Internet-IP, you would need a special kind of router, to avoid a so called "callback" or "loopback" - dont remember the name.
"Sometimes JCL reminds me of Notch, but more competent" ~ Kiyaku
|
|
|
|