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.
mud ports
Posted by Proto-6 on Sun 13 Apr 2003 03:04 AM — 10 posts, 35,118 views.
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.
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.
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
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
BTW, if you have the smaug sources and know what you're doing, the port is set in comm.c
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.
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.
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.
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
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
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
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?
..\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?
hmm no maybe not lol