Command Tables Troubles

Posted by Lothios on Wed 28 Aug 2002 09:11 AM — 3 posts, 14,055 views.

USA #0
I add new commands to the source, declaring them in mud.h, and the usual if checks in tables.c. I create them using cedit <command> <code> and it finds the code and the command works like it should. But when I save the command table (or even before I save it) and look at the command again for its code it has something like this: (00401EA1)
On the next reboot the command doesnt work (Huh?) and I have to cedit again. I tried manually putting it in commands.dat with a text editor but still I come up with the same result. Anyone have any ideas?




Lothios
USA #1
Nevermind I figured it out, I hate it when you miss the little things. I guess thats what you get for coding so late.



Lothios
#2
Just out of curiosity, what was the 'little thing' that you found? I am having this exact same trouble.