I hate bringing up such an old thread but I am having the same problem when trying to add a command to the game.
Its an old mapper function i came across.
this function found in act_move.c:
void do_map ( CHAR_DATA * ch, char *argument ) {
i have this in mud.h
DECLARE_DO_FUN( do_map );
commands.dat shows
#COMMAND
Name map~
Code do_map
Position 100
Level 64
Log 0
End
I get this error message when i tried cedit create:
Log: [*****] BUG: Error locating do_map in symbol table. Resource temporarily unavailable
Command added.
Code do_map not found. Set to no code.
I get this error message when booting up the mud:
Sun Jul 3 18:43:52 2011 :: [*****] BUG: Error locating do_map in symbol table. No error
Sun Jul 3 18:43:52 2011 :: [*****] BUG: fread_command: Function do_map not found for map
since making changes I did 'make clean' and 'make' all compiles no problem. What am I missing?
Somehow, I got that sayto function/command to work. I tried to add another new function.......same story as before. I figured, maybe it's the coding again, so I tried yet another function..same. I have absolutely no idea what in the heck is going on. If someone could be so very kind as to look this code over for me and maybe try to compile/run it on their setup, I would be very very appreciative. Here's a link to a zip of the source.
My cygwin is doing this after it makes all the o files
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../1686-pc-cygwin/bin/ld: warning: auto-importing has been activated without --enable-auto-import specified on the command line.
This should work unless it involves constant datat structures referencing symbols from auto-imported DLLs.Info: resolving __timezone by linking to __imp__timezone (auto-import)
I assume that this could cause an issue due to the dynamic linking.
Yeah, I am using Cygwin. I'm 110% sure that I'm using a clean compile, so I really have no idea what is going on here. Could it have anything to do with do_say and do_say_to_char sharing the do_say part? Other than that, I can't think of anything that would be causing an issue.
Amended on Wed 06 Aug 2008 09:38 PM (UTC) by Dbaker84
Message
mud.h:
DECLARE_DO_FUN( do_say_to_char );
cedit:
cedit sayto create do_say_to_char
This is exactly what I'm getting ingame:
Log: Trevlyn: cedit sayto create do_say_to_char
Log: [*****] BUG: Error locating do_say_to_char in symbol table. Resource temporarily unavailable
Command added.
Code do_say_to_char not found. Set to no code.
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.