Hmm, sorry again to post with a prob. so soon, I thought I had this under control - it would appear not.
I am putting in some code that needs a new object type. It is, ITEM_ATTATCH. As far as I know, all you do is go to MUD.h, then change the ITEM_EMPTY1 to ITEM_ATTATCH. Then, you add it in db.c under the other ITEM_'s. Well, this is what all the other ITEM_'s have. Yet when I compile, and I type oset <item> type attatch, it says, 'type not found'. How do I get around this?
Also - for some reason, the attatch code that I did up doesnt seem to be working. It compiles fine, and I added it in Tables.c and MUD.h, and put the command in commands.dat, though when I make and compile, it doesn't seem to work. Command doesnt seem to be there Whats wrong?
- Mozz
I am putting in some code that needs a new object type. It is, ITEM_ATTATCH. As far as I know, all you do is go to MUD.h, then change the ITEM_EMPTY1 to ITEM_ATTATCH. Then, you add it in db.c under the other ITEM_'s. Well, this is what all the other ITEM_'s have. Yet when I compile, and I type oset <item> type attatch, it says, 'type not found'. How do I get around this?
Also - for some reason, the attatch code that I did up doesnt seem to be working. It compiles fine, and I added it in Tables.c and MUD.h, and put the command in commands.dat, though when I make and compile, it doesn't seem to work. Command doesnt seem to be there Whats wrong?
- Mozz