Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Entire forum
➜ Dawn of Time
➜ Configuration
➜ Ports for DoT
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Viruz
(19 posts) Bio
|
Date
| Wed 06 Feb 2002 07:47 PM (UTC) |
Message
| I can't seem to find where the default ports for the servers are on , specifically the webserver and the mud itself
Now I am quite sure they can be passed by using arguments, but what I am looking for is where it is actualy defined.
either it is put in a config file where I cant seem to find the reference to it, or it is set somewhere in a header or cpp file which I can't find in grep.
so simple question ... where are these set? | Top |
|
Posted by
| Nick Gammon
Australia (23,121 posts) Bio
Forum Administrator |
Date
| Reply #1 on Thu 07 Feb 2002 02:08 AM (UTC) Amended on Thu 07 Feb 2002 02:11 AM (UTC) by Nick Gammon
|
Message
| In comm.cpp, at lines 284 onwards are the following ...
// set default bootup parameters
fBootTestOnly = false;
port = 4000;
The web port seems to be port+5, irc port seems to be port+1, and the mudftp port is port+6. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
Posted by
| Viruz
(19 posts) Bio
|
Date
| Reply #2 on Thu 07 Feb 2002 02:44 AM (UTC) Amended on Thu 07 Feb 2002 06:27 PM (UTC) by Viruz
|
Message
| Thanks Nick,
If Kalahn just happens to pop by and read this , just a quick suggestion for a next release.
Can ya add the ports in a #define somewhere possibly dawn.h
just would make life a tad easier, specially for someone test a few muds all around the same port range
#define port 4000
#define irc_port 4001
#define webport 4005
etc... :) | Top |
|
Posted by
| Kalahn
United Kingdom (138 posts) Bio
|
Date
| Reply #3 on Thu 07 Feb 2002 11:49 PM (UTC) |
Message
| Will do, I am in the process of moving to the UK (from New Zealand), in the next release in a few months a lot of changes will be included - such as this.
- Kal |
Kalahn
Developer of the Dawn of Time codebase
http://www.dawnoftime.org/ | Top |
|
Posted by
| ShadowDragon
(3 posts) Bio
|
Date
| Reply #4 on Sun 25 Sep 2005 05:27 PM (UTC) |
Message
| =============================================================
Posted by Viruz (19 posts) [Biography] bio
Date Thu 07 Feb 2002 02:44 AM (UTC)
Amended on Thu 07 Feb 2002 06:27 PM (UTC) by Viruz
Message
Thanks Nick,
If Kalahn just happens to pop by and read this , just a quick suggestion for a next release.
Can ya add the ports in a #define somewhere possibly dawn.h
just would make life a tad easier, specially for someone test a few muds all around the same port range
#define port 4000
#define irc_port 4001
#define webport 4005
etc... :)
========================================================
Did that ever get done? Since I'm playing with DOT right now and like it. I wouldn't mind seeing what the web stuff does. Tho the IRC one makes me wonder but hey anything is worth a peek.
| Top |
|
Posted by
| Faris
(1 post) Bio
|
Date
| Reply #5 on Mon 27 Jan 2014 07:04 AM (UTC) Amended on Thu 04 Sep 2014 06:59 AM (UTC) by Faris
|
Message
| In the code, you'll want to look for a function called 'do_look', which is what is called when players look at their surroundings. In there, there will be a line that displays the room name followed by the room description -- that's where you'll want to add the code that will output a dotted line. | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
23,313 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top