Page 1 of 1

Materials on server

Posted: Thu May 06, 2004 9:20 am
by Matin
Well I want to activate the material script on my server,which gives items random materials,eg copper shield,gold shield,platinum shield ,ect.
But i have no idea how to activate it,can anyone help?

Posted: Thu May 06, 2004 5:45 pm
by Leaf
Locate the config.h file within Crossfire.

Look for the following:

Code: Select all

/* Enable the new material code - it needs some work.  You can
 * enable this, and things will work, just you'll see a whole
 * bunch more materials show up, and thus a whole bunch more materials
 * in your inventory, and the sorting for them isn't really good.
 */

/*
#define NEW_MATERIAL_CODE
*/
Make a change like so:
(Remove the comment tags, /* and */)

Code: Select all

#define NEW_MATERIAL_CODE
Use the necessary make/recompile commands to rebuild the server.

Posted: Thu May 06, 2004 5:54 pm
by Matin
Ok,can anyone give me a link for a compiling program and tell me what exactly to do after i changed it?

Posted: Sun May 09, 2004 11:35 am
by hoxu
Matin wrote:Ok,can anyone give me a link for a compiling program and tell me what exactly to do after i changed it?
What platform are you on (operating system)?