adding a command to SWRFUSS

Posted by Jason on Wed 06 Jun 2012 02:40 AM — 3 posts, 14,478 views.

#0
I am upgrading my mud to SWRFUSS and I am having an issue installing new commands. I put in a changes command snippet, compiled the server, hotbooted, and when i try to make the command in the game this is what i get


Log: Koumintang: cedit addchange code do_addchange
Log: [*****] BUG: Error locating do_addchange in symbol table. swreality: undefined symbol: do_addchange
Code not found.



Am i forgetting to put something in? I'm new to the FUSS code, but i have but i have been working with SWR for a about 6 years now.
#1
P.S. This On a RHEL system not windows running cygwin
#2
ok I have found the answer for all of you who are having trouble getting commands to go into the FUSS code bases... I have not seen the answer to this question on Gammon at all so here is a possible solution!!!!


IF YOUR COMMAND YOU ARE TRYING TO ADD HAS THE FOLLOWING IN THE FUNCTION LINE: , char *argument ) CHANGE IT TO THIS , const char *argument)

As much as i would like to take credit for this solution i cannot. I found this solution at the following website

http://www.smaugmuds.org/index.php?a=topic&t=4558&p=21840#p21840

It took me two days to find this so hopefully someone else will find this.