[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  Dawn of Time
. -> [Folder]  Configuration
. . -> [Subject]  Ports for DoT
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Ports for DoT

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Viruz   (19 posts)  [Biography] bio
Date Wed 06 Feb 2002 07:47 PM (UTC)  quote  ]
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?
[Go to top] top

Posted by Nick Gammon   Australia  (19,608 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Thu 07 Feb 2002 02:08 AM (UTC)  quote  ]

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
[Go to top] top

Posted by Viruz   (19 posts)  [Biography] bio
Date Reply #2 on Thu 07 Feb 2002 02:44 AM (UTC)  quote  ]

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... :)
[Go to top] top

Posted by Kalahn   United Kingdom  (138 posts)  [Biography] bio   Moderator
Date Reply #3 on Thu 07 Feb 2002 11:49 PM (UTC)  quote  ]
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/
[Go to top] top

Posted by ShadowDragon   (3 posts)  [Biography] bio
Date Reply #4 on Sun 25 Sep 2005 05:27 PM (UTC)  quote  ]
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.
[Go to top] top

Posted by Faris   (1 post)  [Biography] bio
Date Reply #5 on Mon 27 Jan 2014 07:04 AM (UTC)  quote  ]

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.
[Go to top] 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.


5,106 views.

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Web site powered by FutureQuest.Net]