CEDIT and the Command.dat File

Posted by Bcappella on Mon 20 Jun 2005 09:55 PM — 2 posts, 9,494 views.

#0
Hi there,

I am certain that this has been experienced, solved, and old news for almost everyone, but I can't seem to find an answer on this:

I've taken a few snippets of code off this site, let's take immgive for example, implemented it into the tables.c, mud.h, and commands.dat file.

All was great until I did a cedit on the command and then saved and then the command would not work after a hotboot.

Looking at the Commands.dat file the command has this now:
#COMMAND
Name immgive~
Code (0x819dad0)
Position 100
Level 65
Log 1
End

Now once I go back into the commands.dat table and change the (0x819dad0) to do_immgive it persists through reboots... Am I missing something? I am quite nervous about using cedit if its going to be such a process... Any suggestions, and I apologize in advance if this a complete noob problem, but I would love any advice...

Thanks,
Brooks
USA #1
Did you add the 1 reference in mud.h and the 2 in tables.c? Could you post the lines here?