smaugfuss help

Posted by Darzeth on Mon 19 Jun 2006 03:01 PM — 6 posts, 25,865 views.

#0

smaug fuss and alot of snippets ask me to Add do_namehere to tables.c and mud.h
but i ntoiced tables.c doesnt have a Do list or anytihng liek that and some snippets just ask me to add the correct entry to tables.c I dont get that either. I dont know what to put or how to put do_namehere into tables.c is this different in fuss or soetmhing?
USA #1
Smaugfuss is different you just have to put the do_fun in mud.h and thats it I believe.
#2
lets hope so lol. so when it askes me to add the currect blah blah to tables.c i jsut add it to just mud.h and when it says ad a do_namehere its a do fun to mud.h?
Amended on Mon 19 Jun 2006 03:10 PM by Darzeth
USA #3
DECLARE_DO_FUN( do_radio ); -- this is something I was refering too. Of course this is just an example.
USA #4
The newest version of SmaugFUSS (version 1.7) no longer does it that way. Smaug and SmaugFUSS 1.4-1.6 all did, most of the snippets you're going to find were written before that change came about to SmaugFUSS or are written by people like me who still use SmaugFUSS 1.6, you just have to adapt the snippets to take advantage of the dlsym snippet that's installed in your copy of SmaugFUSS 1.7 instead.
USA #5
And with how dlsym works you don't even need the DECLARE_DO_FUN part. You just install the function and forget about it.