Register forum user name Search FAQ

Gammon Forum

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.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ mud ports

mud ports

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Proto-6   Canada  (26 posts)  Bio
Date Sun 13 Apr 2003 03:04 AM (UTC)
Message
Ok me and my mom both shar a comp in witch we both run muds on but latly people have been getting confused and going to the wrong mud because we have the same Ip and port # so I was wunderign how do I chang the port so the right people get on the right mud.
Top

Posted by Boborak   USA  (228 posts)  Bio
Date Reply #1 on Sun 13 Apr 2003 03:12 AM (UTC)
Message
How do you start the muds? If you're using linux or cygwin and use a startup script you can set the port on startup.

For example:
./startup 4050

If you're using the windows version I'm not exactly sure how you go about changing the port without a recompile, I think I know but I don't want to steer you wrong.

Give these forums a search, I'm sure your question has been asked before.
Top

Posted by Proto-6   Canada  (26 posts)  Bio
Date Reply #2 on Mon 14 Apr 2003 10:37 PM (UTC)
Message
yep im using a windows version and I dident find any thin I serched for a good half an hour I know I shuld have gone longer but if the port is in one of the files then I can change it I just need to find it ;) so thanx
Top

Posted by Boborak   USA  (228 posts)  Bio
Date Reply #3 on Mon 14 Apr 2003 11:02 PM (UTC)
Message
The windows version is set to port 4000. I believe the only way you can change that, is via a recompile. Otherwise I'd look into setting up Cygwin. Check the SMAUG FAQ on this site for help with that.

BTW, if you have the smaug sources and know what you're doing, the port is set in comm.c
Top

Posted by Pihhan   Czech Republic  (3 posts)  Bio
Date Reply #4 on Tue 15 Apr 2003 11:35 AM (UTC)
Message
I am not really sure, but have you tried simple
smaug.exe 4005 ?
I think it doesnt rely on Cygwin, it should work on windows smaug too.
If you run it manually, you may create shortcut and append port number to program path.

Creator of Zeme Prizraku
telnet://zeme-prizraku.mudy.cz:8000
Jabber: pihhan@jabber.cz
Top

Posted by Boborak   USA  (228 posts)  Bio
Date Reply #5 on Tue 15 Apr 2003 01:49 PM (UTC)
Message
It really depends on the version you have. I know this site has a precompiled windows version that is designed to be run as a service, and changing the port is all but impossible without a recompile.
Top

Posted by Proto-6   Canada  (26 posts)  Bio
Date Reply #6 on Tue 15 Apr 2003 06:58 PM (UTC)
Message
wow thanx this is great now I know what file it is in too :) and as for compioling im fine with that ive done it several times I just need to rip out the buggy code I was installing
Top

Posted by Goblin   (39 posts)  Bio
Date Reply #7 on Sun 06 Jul 2003 10:42 PM (UTC)
Message
ok ive mpw got a bad head trying to figure this one out.

basically i have a smaug running on port 4000 using the windows precompiled version. works great and i have a batch file that runs it auto.

now........i have another smaug ive put on port 6000.

i need a batch file to run it cos im sick of using cygwin to get to it and run it from there.

can someone give me the correct lines of code i need for a .bat file to auto run it on port 6000 please?

im loosing hair owver this lol
Top

Posted by Goblin   (39 posts)  Bio
Date Reply #8 on Mon 07 Jul 2003 12:01 AM (UTC)
Message
that was amazing - i got a simple batch file working with the cygwin version of smaug.

..\src\smaug.exe 4000


it would work to start with until i copied the file :

cygwin1.dll

from my cygwin bin folder to the area folder.

strange dont you think?
Top

Posted by Goblin   (39 posts)  Bio
Date Reply #9 on Mon 07 Jul 2003 12:20 AM (UTC)
Message
hmm no maybe not lol
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.


30,045 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.