Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Reply
 
Thread Tools
Old 10-14-2003, 09:22 PM   #1
gutterzombie
Member
 
Join Date: Mar 2003
Location: Columbia MO
Posts: 43
gutterzombie is on a distinguished road
Send a message via ICQ to gutterzombie
Arrow

I never coded and i want to learn any one want to give me a try...or any sugestions on what i should do??
gutterzombie is offline   Reply With Quote
Old 10-14-2003, 09:56 PM   #2
gutterzombie
Member
 
Join Date: Mar 2003
Location: Columbia MO
Posts: 43
gutterzombie is on a distinguished road
Send a message via ICQ to gutterzombie
heh ok i see
gutterzombie is offline   Reply With Quote
Old 10-15-2003, 01:11 PM   #3
gutterzombie
Member
 
Join Date: Mar 2003
Location: Columbia MO
Posts: 43
gutterzombie is on a distinguished road
Send a message via ICQ to gutterzombie
gutterzombie is offline   Reply With Quote
Old 10-15-2003, 01:26 PM   #4
Brody
Moderator
 
Brody's Avatar
 
Join Date: Apr 2002
Location: North Carolina
Home MUD: OtherSpace
Posts: 1,599
Brody will become famous soon enoughBrody will become famous soon enough
Send a message via Skype™ to Brody
Smile

Uh...we get it. You want to code, and you'll be as annoying as your little hypercaffeinated self must be to maintain any form of attention acquisition for yourself.

This doesn't bode well for anyone who considers hiring you, I'm afraid.
Brody is offline   Reply With Quote
Old 10-15-2003, 01:47 PM   #5
Moridian
New Member
 
Join Date: Sep 2002
Posts: 21
Moridian is on a distinguished road
Best bet for learning to code and being able to code for a mud is to buy a few books on the C programming language and read them cover to cover.  Also, taking a class on programming is a good bet.  Most colleges have plenty of them.  Also being a responsible/respectful player on a mud for a few years (5+) is a good start as well.

I doubt that anyone out there will just say "Sure, here's my code" to someone that they don't know and can't trust.

Again, best bet:  Read, take a class, etc.

-Moridian
Moridian is offline   Reply With Quote
Old 10-15-2003, 01:54 PM   #6
gutterzombie
Member
 
Join Date: Mar 2003
Location: Columbia MO
Posts: 43
gutterzombie is on a distinguished road
Send a message via ICQ to gutterzombie
thanks any sugestions on what books?
gutterzombie is offline   Reply With Quote
Old 10-15-2003, 04:04 PM   #7
wedsaz
New Member
 
Join Date: Jul 2002
Posts: 15
wedsaz is on a distinguished road
"C Primer Plus" By Stephen Prata

You may also want to get knoppix at http://www.knoppix.net/ so you can use a free compiler and learn by yourself.

As for a coder job, keep an eye out on these forums for new muds looking for a coder. They obviously can't expect you to have played there for 5+ years.

Word of warning: learning to code will take months even if that's what you do all day every day. If you go to school and have some kind of social life, then it may take years.
wedsaz is offline   Reply With Quote
Old 10-15-2003, 04:27 PM   #8
Ike
Member
 
Join Date: Apr 2002
Location: Georgia
Posts: 62
Ike is on a distinguished road
Send a message via AIM to Ike
C for Dummies Vol 1 and 2 are two of the best books I have ever purchased. I recommend them.
Ike is offline   Reply With Quote
Old 10-15-2003, 04:44 PM   #9
the_logos
Moderator
 
the_logos's Avatar
 
Join Date: Sep 2002
Location: Mill Valley, California
Posts: 2,301
the_logos will become famous soon enough
Quote:
Originally Posted by (Moridian @ Oct. 15 2003,12:47)
I doubt that anyone out there will just say "Sure, here's my code" to someone that they don't know and can't trust.
Don't be such a curmudgeon! I'm sure Gutterzombie will be an excellent coder and as a show of faith, I hereby offer to let him code on your mud.

--matt
the_logos is offline   Reply With Quote
Old 10-15-2003, 10:06 PM   #10
Delerak
Senior Member
 
Delerak's Avatar
 
Join Date: Apr 2003
Name: Dan
Location: New York
Posts: 706
Delerak is on a distinguished road
Send a message via ICQ to Delerak Send a message via AIM to Delerak Send a message via MSN to Delerak Send a message via Yahoo to Delerak
Get your hands on some code, and look at it. Examine it, rip it apart with your thirst for knowledge. You want to know what a certain thing does THEN go to your books. The way I always learned was by looking at it, trying to figure out why. And some people will tell you don't do that, just accept it and keep learning the commands, which is fine, but I always learned by looking at other people's work and figuring out what that did by reading C books, and stuff.

-Delerak
Delerak is offline   Reply With Quote
Old 10-16-2003, 11:09 AM   #11
gutterzombie
Member
 
Join Date: Mar 2003
Location: Columbia MO
Posts: 43
gutterzombie is on a distinguished road
Send a message via ICQ to gutterzombie
heh yea thats how i learn best also but no one would let me get near code not that i would not blame them donno if i would want a n00b messing with code from my mu* though i think there are ways to limit what one could code... but yea
gutterzombie is offline   Reply With Quote
Old 10-16-2003, 03:30 PM   #12
Eagleon
Member
 
Join Date: Apr 2002
Location: Milwaukee, WI
Posts: 147
Eagleon is on a distinguished road
Send a message via ICQ to Eagleon Send a message via Yahoo to Eagleon
You can download your own codebase, you don't need to code on someone else's MUD. Not to make a playable MUD, but just to be able to do what you want with it. You'll need something that you can compile, first off, and hopefully something you're familiar with. Look around.
Eagleon is offline   Reply With Quote
Old 11-12-2003, 11:29 AM   #13
visko
Member
 
Join Date: May 2002
Posts: 98
visko is on a distinguished road
Send a message via ICQ to visko Send a message via AIM to visko
ftp.game.org

I'm hoping you already know a little about ftp, but if not let's take this from the top:

1) Get for yourself either a linux box you can run from home or an account on a linux box somewhere out on the internet. (Linux because most MUDs are written around the Linux OS and porting them to Windows is not the best way to start a life od MUD coding. Or any kind of life at all.)
2) From that linux account, type ftp ftp.game.org. It will ask you to login (type anonymous) and then password (your email address). I'm stepping ahead of myself a little - before you can do this, familiarize yourself a little bit with basic UNIX commands: ls, cd, pwd, ~, mv, cp, vi, pico, emacs, ., .., /, etc.
3) Browse around ftp.game.org until you find the code base you're most comfortable with (the one you've been playing up until now, which has given you your new-found interest in coding) and type bin <return> get <filename - the entire string> <return>. Depending on connection speeds, you'll have your new MUD in all its shining glory within a few seconds.
4) Familiarize yourself with tar and gzip, and unpack your MUD. Look through the directory structure of the MUD, and get a general sense of what is located where. Go to the <mud>/doc (hopefully there will be a <mud>/doc directory in there somewhere) and read the README and LOOKATTHISFIRSTPLEASE notes that previous coders have left behind to give you some preliminary information about the game.
5) Familiarize yourself with gcc and make, and compile your MUD.
6) Learn about (for merc-based and I think pretty much diku-based MUDS) ../src/<executable> <port> & and put your new MUD up.
7) Log into your MUD, learn how to edit your pfile to make yourself an imp, and start playing with imm commands.
8) Go back to your linux account, and look around in the <mud>/src directory, start looking at the code. Get very confused. Get aforementioned books. Read online tutorials and TMS/TMC articles relating to the code you are viewing. Become less confused. Experiment a bit. Crash the MUD a few thousand times, and then get it running again with a new feature.
9) Repeat process 8 about 21349087349634 times.
10) Go tell M$ what you did and they'll probably hire you

-Visko
visko is offline   Reply With Quote
Old 11-13-2003, 03:52 AM   #14
karlan
Member
 
Join Date: Apr 2002
Location: Brisbane Australia
Posts: 74
karlan is on a distinguished road
Depending on the codebase you do not need to do the linux thing... DO NOT get me wrong I prefer linux, and would recommend a *NIX box for if you open it, but if you are interested in seeing and experimenting for yourself, do it on an OS you are comfortable with, with tools you are comfortable with. Don't try and learn, C, linux, how makefiles work, what arguments are needed with gnu cpp and the rest. No matter what OS you are working on the MU provides the same (kind of) services.

It is a TCP server application, supporting multiple clients, and maintaining a database. If you are keen to learn linux as well, go for it, if you aren't ready yet, stick to what you know until you are. If you are planning on later opening it to the world, then you can learn to write platform independant code at the same time.

have a look at Mud Connector it has links to a few codebases, choose one, download it, and as said before, modify, test, modify test... and so on.
karlan is offline   Reply With Quote
Old 11-13-2003, 09:02 AM   #15
Iluvatar
Member
 
Join Date: May 2002
Location: Mississippi USA
Posts: 142
Iluvatar is on a distinguished road
Gets a premonition this guy will be the master coder for The_Logos in 2 years.
Iluvatar is offline   Reply With Quote
Old 11-14-2003, 01:08 AM   #16
Spazmatic
Member
 
Join Date: Mar 2003
Posts: 103
Spazmatic is on a distinguished road
Advantages to Delerak's technique:
-> You start being able to do basic things a lot faster.
-> You learn real, applicable things.
-> You get used to real styles.
-> You get experienced with mud code, in particular, at the same time as you're learning about code in general.
-> You don't have to read as much long, long text, often obfsucated and dull.
-> Raw experience.
-> You learn hacks.

Disadvantages:
-> You learn hacks.
-> You often miss critical information about things... There are a LOT of details out there, no one in the world remembers them all.
-> You get next to no theory, something that is vital to creative generation (especially of algorithms).
-> You're heavily rooted to one codebase, one language.
-> You miss out on good programming style, software engineering techniques, etc...
-> You learn the original coders problems/deficiencies.

It's hard to say which is the better approach... Some people propose that everyone learns to code in a language like Scheme, which is clean, algorithmically purty, and hard to create hacks with, but is also fast, and completely unlike any popular language. Some people say everyone should learn C, C, and C. Some people recommend all book learning. Some people recommend reading code, hacking at it, and using other sources as support.

Your choice of book will be strongly influenced by choices like that...
Spazmatic is offline   Reply With Quote
Reply


Thread Tools


I wanna code - Similar Threads
Thread Thread Starter Forum Replies Last Post
um..how do I code? Asalyt MUD Coding 12 05-26-2004 06:03 AM
Skilled at MOO Code? RedCorn Advertising for Staff 2 11-26-2003 05:55 PM
Smaug Code Help Please Klered MUD Coding 2 07-12-2002 10:42 PM
Gun Code Shadow MUD Coding 1 07-10-2002 06:17 PM
I would like to code! Zellius Advertising for Staff 1 07-03-2002 09:59 AM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

All times are GMT -4. The time now is 04:39 AM.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2014