[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]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  making game portless/internetless
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

making game portless/internetless

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


Pages: 1 2  

Posted by Swimming   (20 posts)  [Biography] bio
Date Thu 05 Feb 2004 01:09 AM (UTC)  quote  ]
Message
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?

thankee~~
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #1 on Thu 05 Feb 2004 01:36 AM (UTC)  quote  ]
Message
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.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Swimming   (20 posts)  [Biography] bio
Date Reply #2 on Thu 05 Feb 2004 01:41 AM (UTC)  quote  ]
Message
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?

thankee~~
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #3 on Thu 05 Feb 2004 01:43 AM (UTC)  quote  ]
Message
How can you not connect to localhost? If the port opens, you can always connect to localhost, assuming you have winsock and stuff installed.

What kind of setup do you have?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Nick Gammon   Australia  (19,625 posts)  [Biography] bio   Forum Administrator
Date Reply #4 on Thu 05 Feb 2004 07:21 AM (UTC)  quote  ]
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Swimming   (20 posts)  [Biography] bio
Date Reply #5 on Thu 05 Feb 2004 10:38 PM (UTC)  quote  ]
Message
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.

. . .
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #6 on Fri 06 Feb 2004 01:53 AM (UTC)  quote  ]
Message
What do you mean by the server doesn't detect the ports? And what doesn't start, the server?

Chances are it's not at all a networking issue, but something else entirely... where did you get your version of SMAUG?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] bio
Date Reply #7 on Fri 06 Feb 2004 03:33 AM (UTC)  quote  ]
Message
If you could post some of the errors that your getting, it would make a big difference in trying to help you.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
[Go to top] top

Posted by Swimming   (20 posts)  [Biography] bio
Date Reply #8 on Sat 07 Feb 2004 08:29 PM (UTC)  quote  ]
Message
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...

~~swimming~~
[Go to top] top

Posted by Nick Gammon   Australia  (19,625 posts)  [Biography] bio   Forum Administrator
Date Reply #9 on Sat 07 Feb 2004 08:55 PM (UTC)  quote  ]
Message
Doing a search on your error message reveals some suggestions:

Make sure you...


  1. have "Client for Microsoft Networks"
  2. install the Microsoft version of "TCP/IP"
  3. you're logged in and have a current IP address. You can use "winipcfg" from the Start\Run command.
  4. test other network applications for proper operability


Another site suggests "The problem is that the winsock.dll file in the Windows directory is the wrong version and needs to be replaced. ".

Also there is a suggestion that Trumpet Winsock (some versions) may cause this. Are you using that?



- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Swimming   (20 posts)  [Biography] bio
Date Reply #10 on Tue 10 Feb 2004 12:56 AM (UTC)  quote  ]
Message
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

~~
[Go to top] top

Posted by Meerclar   USA  (600 posts)  [Biography] bio
Date Reply #11 on Tue 10 Feb 2004 06:01 AM (UTC)  quote  ]

Amended on Tue 10 Feb 2004 06:03 AM (UTC) by Meerclar

Message
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.

Meerclar - Lord of Cats
Coder, Builder, and Tormenter of Mortals
Stormbringer: Rebirth
storm-bringer.org:4500
www.storm-bringer.org
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] bio
Date Reply #12 on Tue 10 Feb 2004 07:27 AM (UTC)  quote  ]
Message
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.

Nobody ever expects the spanish inquisition!

darkwarriors.net:4848
http://darkwarriors.net
[Go to top] top

Posted by Swimming   (20 posts)  [Biography] bio
Date Reply #13 on Wed 11 Feb 2004 01:45 AM (UTC)  quote  ]
Message
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'

meh~~
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] bio   Moderator
Date Reply #14 on Wed 11 Feb 2004 02:35 AM (UTC)  quote  ]
Message
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?

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
[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,645 views.

This is page 1, subject is 2 pages long: 1 2  [Next page]

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]