[Home] [Downloads] [Search] [Help/forum]

Gammon Forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUDs
. -> [Folder]  MUD Design Concepts
. . -> [Subject]  help for a mud coding noob
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

help for a mud coding noob

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


Posted by Schragnasher   (2 posts)  [Biography] 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
[Go to top] top

Posted by David Haley   USA  (3,881 posts)  [Biography] 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
[Go to top] top

Posted by Nick Gammon   Australia  (21,648 posts)  [Biography] 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
[Go to top] top

Posted by Schragnasher   (2 posts)  [Biography] 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.
[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.


4,505 views.

It is now over 60 days since the last post. This thread is closed.     [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.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at FutureQuest]