| Message |
No C programming guide will tell you how to do exactly what you want to do for SMAUG. You will not find a guide that tells you how to change an arbitrary SMAUG feature. That's kind of like reading a book to teach you a foreign language, and to expect it to tell you how to write every sentence you want to say. Rather, you have to learn the concepts and the language independently, and then use those tools to say what you want to say.
The point is that if you cannot express what you want to do exactly in English, there is no way you will be able to get the program to do it. You need to understand the basic concepts before you can build bigger blocks with them. Start simple, then move on.
For instance, Zeno said that you would need to have a new variable in the character that would be stored in the pfile. You need to understand what that means: what it means to add a member variable to a structure, what a structure is in the first place, where that structure information gets saved, and so forth.
So the C programming guide is worth your time to read even if it doesn't solve your immediate problem, because it will teach you how to solve many more problems in the long term. You just need to take it slow. :-) |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | top |
|