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 04-01-2004, 09:34 PM   #1
Asalyt
Member
 
Join Date: Jul 2003
Posts: 35
Asalyt is on a distinguished road
Unhappy

Hello, I'm a person with absolutely no clue about coding who would like to learn how to code or...whatever I need to do to make a MUD. If anybody could point me to a site or something that can help me learn, I'd really appreciate it.

Sincerely,
Asalyt
Asalyt is offline   Reply With Quote
Old 04-09-2004, 05:51 AM   #2
Dre
Member
 
Join Date: Jun 2002
Location: the Netherlands
Posts: 65
Dre is on a distinguished road
Coding is easy, it's just writing cryptic sentences in a special order and with lots of strange symbols like {, ;, ] etc.

When you are done writing you push the code through a special program and it makes zero's and ones out of it for the computer.

We'd all be done faster if we just started writing zero's end ones at the start. Much easier to understand.

For the real answer:
Click search: fill in learning to code or starting a mud and I am sure you'll find some useful hints about books etc.
Or if you want to learn to code you could go to google and look for school/university programming and hit enter

Perhaps I sound not very helpful but learning to code only requires one thing: Try and fail and do it over again. Pick up a book and go for it. If you wanna do it the easy way, then download jde and take a few online tutorials. But you could also download a compiler for c or c++ and start there.

Too many options, so if you search you find plenty of ways to start.
Dre is offline   Reply With Quote
Old 04-09-2004, 01:35 PM   #3
lckychrmsrr
New Member
 
Join Date: Nov 2003
Posts: 9
lckychrmsrr is on a distinguished road
Exclamation

It seem like every month someone new asks this question. THen a whole bunch of people reply with all their various tips and wisdom. Here's how you learn to code. You have a few options available to you.

1) You take a class. HS or college.

2) You buy a book and learn on your own.

If you are too cheap to buy a book there are lots of free "tutorials" on the web. Trust me when I tell you that you will be much better off with buying a book. Take your book, go page by page through it working every single problem. Rewrite every examply program they provide and do every practice problem at the end of the chapters. By the end of the book you'll have a solid grasp of what ever language it is you wish to learn. To actually get reaally good at coding you have to play around with it. Spend hours upon hours in front of your computer trying out new stuff. You -WILL NOT- learn how to code in a week.

Of all the languages I prefer JAVA. Even though it may take some extra lines of code to get the simplest of things done, the structure is the easiest to understand. It is also widely used throughout the business world and on the web. Although if you're wanting to learn for muds, you should try either C or C++. C++ compiliers all still run C just so you know. So anything you write in C can be run by any program that wants C++ (as a general rule anyway).
lckychrmsrr is offline   Reply With Quote
Old 04-09-2004, 09:21 PM   #4
Raith
 
Posts: n/a
Honestly, there are many ways to learn. You have way more options than you think.


I remember I was in your shoes like 6 months ago, and I decided to search the web for good tutorials. In the end, I found that there weren't really many out there. A friend of mine pointed me into the direction of one, which was more like an online book, as opposed to a tutorial and it might be very helpful if I do the same for you.

http://www-h.eng.cam.ac.uk/help...._c.html

Now, that's a tutorial, but you still need other tools, and there are other resources that explain that. In fact, I think the first couple of sections of that book explains it. It's a very in-depth book, helps you grasp some concepts. It gets confusing, but you absolutely have to stick with it. Patience is also key, if all you really want to program are MUDs, then you'll be itching to do that, but you probably won't have the right "tools" until you get in the later chapters. However, I stopped around chapter 9 and just jumped to online tutorials explaining some of the more essential things I needed to know and got cracking at a codebase. Honestly, that's where the reading comes in handy. I'm still going back and forth between the book and the codebase, because ####..I'm still kind of terrible.

Have fun and Stick with it.
  Reply With Quote
Old 04-21-2004, 12:32 AM   #5
Luthien
New Member
 
Join Date: Apr 2004
Home MUD: The Sea of Storms
Posts: 18
Luthien is on a distinguished road
Talking

I think something worth mentioning is that to get started, you don't necessarily need tutorials and such.

If you have a basic knowledge of C/C++ (or some derivative of C), then you can start to learn. Get yourself a copy of some source code, and start working with it. I'm still a beginning coder really, but I learned by getting myself some background in C/C++ and then starting to tinker with a copy of the code for the MUD I'm an Imm at.

Granted, it would go faster if our Head Coder was around more to ask questions of...but I've made some pretty big strides just myself.

Cheers,
-Luthien
tsos.rarcoa.com
Luthien is offline   Reply With Quote
Old 04-21-2004, 08:20 AM   #6
gth
Member
 
Join Date: Nov 2003
Posts: 50
gth is on a distinguished road
You may want to head to the official site for that 'Thinking in C++' link posted above - it's a bit more up to date, and you can download the whole thing to your local hard drive and view it from there...

http://mindview.net/Books....TheBook
gth is offline   Reply With Quote
Old 04-21-2004, 03:52 PM   #7
Realedazed
Member
 
Realedazed's Avatar
 
Join Date: May 2002
Location: AZ
Home MUD: Armageddon
Home MUD: Harshlands
Home MUD: DartMUD
Posts: 157
Realedazed is on a distinguished road
Send a message via AIM to Realedazed Send a message via Yahoo to Realedazed
I have Beginning Programming for Dummies and C++ for Dummies. So far I'm doing good.  

Try your local library,too. No need to buy a book you can get for free. (Unless you are me and rack up on late fees)
Realedazed is offline   Reply With Quote
Old 05-06-2004, 04:26 AM   #8
Zaroth
New Member
 
Join Date: Aug 2002
Posts: 6
Zaroth is on a distinguished road
I agree with everything that has been mentioned to this point...unless you only learn one way efficiently, that being hands on.  Most coders I know of are analytical, and over-analyse things to death which poses a bit of a problem when they take a simple function, and add 10x too many lines, then optimize it in assembly or something of the sort.  

As was mentioned above, I would recommend a download of the e-book, TICPP ver.2 - nice start to C++,  - if you get lost, you can bookmark sections in the .pdf for easy searching and recovery of the information you want without having to page/scroll/click 200 times. I learned to code by opening up the files, one by one and examining how they are pieced together, it gives a basic structure to work with.  Another thing that I didn't see mentioned in this, especially for old and newbie coders alike.. the use of GDB - it's a debugger that'll allow you to monitor changes as the code is running so you can see what's going goofy where, and help pinpoint the issue - most look at the code they added and say "it crashed, but where and why?" where with GDB, you can force commands into it, and it'll give detailed output of anything you tell it to give you - quite the handy tool when you're paging through 500 lines of newly added stuff, and it compiles without a single warning whatsoever but still dumps.  My suggestion is to start with a compiler on your computer, and tinker with the basics there while going through the TICPP book - the book is free to d/l, and if you're running windows I would recommend Bloodshed Dev-C++, falls under GPL(free == good), has all the goodies, and always new packages to add for further functionality - it handles C and C++ quite nicely.  It also runs on any Windows OS, 95-XP, so if you are diehard Windows 95 due to stability reasons, it'll still work without any issues.  I really cannot thing of anything else to throw into it at this time, and I hope this bit of information helps some.

  Zaroth-
Zaroth is offline   Reply With Quote
Old 05-06-2004, 08:37 AM   #9
Hardestadt
Member
 
Join Date: Sep 2003
Posts: 84
Hardestadt is on a distinguished road
One thing you may notice from the posts above. Coding and learning to code takes a very large amount of time. You will fail, but you need to get up and keep going with it to achieve a good understanding.

Good luck.

Leigh
CTO
Persistent Realms LLC
Hardestadt is offline   Reply With Quote
Old 05-08-2004, 06:37 AM   #10
Geras
Member
 
Join Date: Aug 2003
Posts: 36
Geras is on a distinguished road
A rule of thumb I use here in university is the easier a language is to program in, the less efficient it is, so it's kind of a trade off between time to learn a language and time to make money to pay for the extra resources.
Geras is offline   Reply With Quote
Old 05-08-2004, 07:30 PM   #11
Asalyt
Member
 
Join Date: Jul 2003
Posts: 35
Asalyt is on a distinguished road
Arrow

K, I'm going to download the book, then read it...then download the codebase the person mentioned...then I'm finally going to go the library and pick up C++ for dummies and such, and then I'm going to try coding and fail. Then try and fail. Does that about sum it up? Any more suggestions, I'm still listening. And thanks to everybody who answered. Now...time to go to the library...wee, late fees!
Asalyt is offline   Reply With Quote
Old 05-10-2004, 05:19 PM   #12
Raith
 
Posts: n/a
If I haven't emphasized it, I'm going to now.

Patience is absolutely essential.
  Reply With Quote
Old 05-26-2004, 06:03 AM   #13
frumbert
New Member
 
Join Date: May 2004
Posts: 2
frumbert is on a distinguished road
Smile

The way I got into coding is sneered at by most people - I started in BASIC (around 1985 through 1990) by reading other peoples programs and trying out stuff. I never had a manual and was the only person I knew who was "into it", but reading lots and lots of code (tens of thousands of lines) and checking out a whole score of different types of programs like games, databases, word processors and graphics programs, I got a feel for how to structure an application: where to take a function, how to optimise, how to store and retrieve structured data, etc. From here i was able to advance into assembler and C and the languages of power.
I was always interested in games, and MUDs because I love reading and the interaction was a bonus. I just practiced writing components of IF games in BASIC because it's really simple to program in - and that's actually important. You don't want to have to learn a whole language as powerful as C or Pascall to find out that what you're trying to achieve just won't work the way you want it to. Playing around with a simple language (these days vbscript & javascript) to try out an idea is a great way to start on a project. I regularly code up a basic structure or program in vbscript (still programming in basic !! to see it it would work - e.g. a text parser is a huge part of a modern MUD, but you can try out the basic functional interaction - splitting, identifying & requalifying phrases, hashing, etc all without much fuss in a quick language, work out what you need to do, and then use C or Perl or whatever to actually do your real work in.
I'd agree with the other threads here: get yourself a decent book to learn the language that you need and go through everything over and over until it makes sense, but don't limit yourself to that thinking/language/advice Different languages and/or development tools have their strengths and weaknesses. Expose yorself to them, even if only to try out Hello World apps.
frumbert is offline   Reply With Quote
Reply


Thread Tools


um..how do I code? - Similar Threads
Thread Thread Starter Forum Replies Last Post
mprog src code Titania MUD Coding 0 04-12-2003 09:02 PM
Paradox Code Jayl MUD Coding 0 07-20-2002 01:31 AM
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
Code Problem Keljorian MUD Coding 1 06-02-2002 12:11 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 05:04 PM.


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