Materials on server

Requests for assistance and other HOWTOs.

Moderator: Board moderators

Matin
Regular
Posts: 51
Joined: Mon Jul 28, 2003 4:46 pm

Materials on server

Post 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?
I is sexy,ain't I?
Leaf
Forum Aficionado
Posts: 1994
Joined: Tue Apr 29, 2003 5:55 pm
Location: Minnesota, USA
Contact:

Post 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.
Matin
Regular
Posts: 51
Joined: Mon Jul 28, 2003 4:46 pm

Post by Matin »

Ok,can anyone give me a link for a compiling program and tell me what exactly to do after i changed it?
I is sexy,ain't I?
User avatar
hoxu
Senior member
Posts: 330
Joined: Tue Apr 29, 2003 6:10 am

Post 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)?

/* Debian GNU/Linux - rebooting is for adding hardware. */
Post Reply