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 ➜ MUDs ➜ MUD Design Concepts ➜ help for a mud coding noob

help for a mud coding noob

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


Posted by Schragnasher   (2 posts)  Bio
Date Wed 12 Sep 2007 07:33 PM (UTC)
Message
So i am looking to make a simple mud server in VB .net. mostly because i have a good background in VB (thought it has been a few years as i don't code professionally) and express edition is free :) For my own personal enjoyment and learning.

Iv got some tutorials on simple socket usage and im currently moving through them. But these are based around a specific client/server structure like a simple chat program. Not specific to telnet.

I want the server to be accessed by telnet. What i cant find is an overview of how telnet sends and receives information, and how to interpret said info. What i have gleaned is that its not simply ascii being sent is it? Any info you have about the basics of telnet functionality would be helpful reading. Or even how to write a vb.net telnet client, as i might be able to reverse the concepts. Hopefully i am making sense. :)

Thanks
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Wed 12 Sep 2007 10:31 PM (UTC)
Message
Quote:
What i have gleaned is that its not simply ascii being sent is it?

Well, actually, it basically is. If you want to send "abc" to the server, you literally just send the characters "abc" on the socket. Now, there are more complicated things going on too in telnet, like negotiation protocols to determine whether or not you support such-and-such feature. But to build a basic MUD server, you don't need to worry about that.

It truly is just as simple as accepting characters from a socket, and then just writing characters back.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #2 on Wed 12 Sep 2007 11:58 PM (UTC)
Message
You may want to look at this:

http://www.jaruzel.com/MUD32

That is a MUD server which is written in VB, and is free.

As David says, I wouldn't worry too much about telnet right now. When I make "simple" MUD servers I don't worry about telnet. You can use simple sequences to colour text, as most clients recognize those these days.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Schragnasher   (2 posts)  Bio
Date Reply #3 on Thu 13 Sep 2007 12:48 AM (UTC)
Message
thanks guys, you actually answered my question about the other junk i was reading about telnet. I was totally confused by the 255 codes or somesuch.
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.


13,603 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.