Hello. I have attempted to add a new wearloc that functions similar to the neck and wrist.
The code compiles fine, and the fReplace part of the code (the part that replaces a worn object with something else) works fine. But the problem is when I 'look' at myself when wearing objects with this wearloc the mud crashes.
I've added the WhereName to the race file, and the const where_name at the beginning of act_info.c. However.
When these items are worn they do not show up when the 'equipment' command is used.
Also, when I 'look' at myself the mud will not crash if I am wearing only ONE of the items that go into this wearloc. But when I wear another (the wearlock is to work similar to neck/wrist in which you can wear more than one) and look at myself the mud crashes.
If anyone can tell me what code I need to paste in here so they can look at it that would be nice. Thank you.
The code compiles fine, and the fReplace part of the code (the part that replaces a worn object with something else) works fine. But the problem is when I 'look' at myself when wearing objects with this wearloc the mud crashes.
I've added the WhereName to the race file, and the const where_name at the beginning of act_info.c. However.
When these items are worn they do not show up when the 'equipment' command is used.
Also, when I 'look' at myself the mud will not crash if I am wearing only ONE of the items that go into this wearloc. But when I wear another (the wearlock is to work similar to neck/wrist in which you can wear more than one) and look at myself the mud crashes.
If anyone can tell me what code I need to paste in here so they can look at it that would be nice. Thank you.