halloo.
I'm trying to make smaug so it can run on my computer without having to telnet or connect to it. i've gotten ridden of all the references to port stuffs and now it actually starts up, it hadn't been before because it could never resolve a port,(that's why i'm doing this).
now i just need to find a way to make it so i can play somehow...
do i need to try and make a special kinda command deal to handle and show the text or is there something like that i can butcher out there somewhere?
or have i not been too clear?
You can just "telnet" to localhost. Generally, if you're trying to play single player, you launch the server and then just connect to localhost.
If you want to completely remove all "networktivity", you'll want to use standard input instead of the sockets; however, that's a pretty big project and it's not quite as simple as just stripping out the network stuff. It's a pretty big project. I'd advise to just connect to localhost.
i cannot connect by localhost, telnet or anything. it does not work at all on my computer, and i can't get it fixed, that's why i'm doing this.
so what should i do?
Are you using a different computer to the one you are using to post messages here?
If you have Unix you almost certainly could connect to localhost, if you have Windows it is usually installed too. If not, install TCP/IP protocol. That would be a lot easier than hacking the code away to talk to a single player.
yes i'm posting on a different computer.
my computer runs windows98. it has all the winsock, tcp/ip stuff installed, but none of it works.
when i try to startup the server with the ports it doesn't detect them and it doesn't start. nothing i use for ports works.
Okay.
i try to startup the server but i get this:
"Address family not supported by protocol family"(fairly certain this is what it says)
and it doesn't start. this is the only error i get.
have reinstalled winsock, tcp/ip ...
have yet to reinstall windows, but i can't(don't have disk)
downloaded smaug from the smaug website
i have other programs that have server stuffs and they don't work either, they just tell me they can't startup the server. and i have other muds that say the same thing smaug does that don't work either.
i am still interested in making smaug just talk to one person though. because i have plans, and i don't think my computer has a hope in the world of being saved...
i have client for windows, tcp/ip (i have reinstalled them several times), i have also replaced winsock, all and part, several times, with different versions and all that goodness
and all other network applications don't work either.
i've given up trying to fix it that way, so i just want to make smaug to talk to me, just point me to how
Do you have a precompiled SMAUG executable or do you have the actual source code? If you have source, do you have the area files to go with it? Also for source, what compiler are you using? What is your startup command (and the exact resulting error messages) regardless of version? What is the ip address of your computer?
Just telling us it doesn't work without giving us any real info doesn't give us much chance of helping you solve your problem.
Also, making a mud for single use might not be so much fun, however, if your not aware, descriptor 0 is stdin, you might be able to us that, open a connection to descriptor 0, but I can't guarantee anything.
Do you have a precompiled SMAUG executable or do you have the actual source code? If you have source, do you have the area files to go with it? Also for source, what compiler are you using? What is your startup command (and the exact resulting error messages) regardless of version? What is the ip address of your computer?
i have both the precompiled and source, all the files they need. They've both worked before but for no reason at all it's started this trouble.
cygwin for compiling, ../src/smaug.exe
the error message is 'socket family not supported by protocol'
When you say they worked before, do you mean that they worked with connections and all that?
If so, then you'd be better off trying to find out why they don't work anymore. Things don't just randomly stop working like that; chances are you changed network settings somewhere and broke it.
Can you show exactly where that error message is appearing?
>When you say they worked before, do you mean that they >worked with connections and all that?
yep, everything worked before.
>If so, then you'd be better off trying to find out why >they don't work anymore. Things don't just randomly stop >working like that; chances are you changed network >settings somewhere and broke it.
I didn't change any settings or install anything. i just went to sleep one night with it working fine, and next day it was kaput.
would a program change stuff for no reason at all overnight?
i doubt it...
The error message appears after 'initializing sockets'
So you get the error when you run the server, not when you compile? Is this output from SMAUG? Can you paste the text up until that point? What about the source code that outputs that error? We can't help you unless you're more specific and give more information.
And no, things don't just break overnight for no reason. Not even on Windows.
Chances are that there is something much more broken, and removing all network code - an extremely daunting task in and of itself - may not fix your problem.
and i've removed all network code and it actually starts up and runs. I know it runs because it's showing the reset messages, only now i can't log in, of course.
i'm going to reinstall it with windows 95 cus that's the disk i have, i hope nothing on my computer needed 98 . . .
<sigh>
You could always install Linux. Recent versions have an installer that is as easy to use as the Windows installer, and the MUD will be a lot more reliable.