On Sat, 31 May 1998, Pheonix Shadowflame wrote: ->See? Any hints on how to do this? Hmm, well, first, there is one great resource where you can obtain whatever code (for your MUD or for anything) you want: it's called a book on C. Once you learn and try for yourself, you'll be amazed that whenever you want code to do something, you can get it[1]. With the Daniel Koepke Get Code Fast system you will find that in a matter of months you have doubled the amount of code you can add to your MUD, and even add some bit of truth behind that, "Heavily modified," tag that has become obligatory for all boring stock DIKUs in this day and age. Even further, you can avoid people saying that you are "mindlessly" adding code you can't hope to understand! And, you'll receive fewer and fewer of these annoying parodies of infomercials from Daniel Koepke _daily_. The benefits increase exponentially as time goes on! The Daniel Koepke Get Code Fast system is not only proven to aid you in creating a better MUD, but it has helped millions of people with a variety of other things. Martha Stewart[2] of California reports that she learned to cook, clean, and make worthless crap out of worthless crap as a direct result of the Get Code Fast system. A fellow named Gandhi[3] reports that the Get Code Fast system aided him in anger management. Buddhist monks from all around the world report that the Get Code Fast system is the ultimate in Zen resources, allowing them to understand the nature of life. And one Jesus H. Christ[4] reports that the Get Code Fast allowed him to feed countless men with a single loaf of bread! There is simply no beating the Get Code Fast system -- and what's the price? Is it $200? No, of course not! $150? No! $100? Not even! $60? No! If you act now you can get the Daniel Koepke Get Code Fast system for 4 _easy_ payments of $15. It's an amazing deal for an amazing product! Get your today. (Sorry, no COD.) Here's a free sample of what the Get Code Fast system will enable you to obtain! Remember, you haven't even purchased the system yet, and it's already working for you! (Isn't that remarkable?!) Add an "int try_other" to the argument list of perform_wear. This argument will be used to prevent, "wear cloak neck," commands from trying other wear positions of the cloak (so, only "wear cloak" will attempt it). Locate in perform_wear, if (GET_EQ(ch, where)) { send_to_char(already_wearing[where], ch); return; } and change to, if (GET_EQ(ch, where)) { if (try_other) { int i; for (i = 0; i < NUM_WEARS; i++) { if (CAN_WEAR(obj, wear_bitvectors[i]) && !GET_EQ(ch, i)) { perform_wear(ch, obj, i, 0); return; } } } send_to_char(already_wearing[where], ch); return; } Change other calls to perform_wear() to account for the new fourth argument. There are six calls to perform_wear() in stock Circle bpl12. Only the first two should have a fourth argument of 1, the others should have 0. Remember, this is untested Mailer Code(tm), and in no-one indicative of the quality of the Daniel Koepke Get Code Fast system. -dak : Perhaps I am a smart ass... [1] by writing it, [2] Martha Stewart Jacobs, [3] Bob Gandhi, [4] That's Jesus (hay-sus) from Mexico City, Mexico. +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST