I downloaded a pretitle snippet and I installed it succesfully... it compiled with one error but that was an easy fix so I compiled it again and I got no errors this time. Then I started up the mud and everything went fine, I got no bug messages. I type in my name and password, right after I type in my pass it crashes. Heres what it told me:
Tue Jun 15 00:21:38 2004 :: Sock.sinaddr: 127.0.0.1, port 4726.
Tue Jun 15 00:21:39 2004 :: [*****] BUG: Auth_check: exception found for (unknow
n)@127.0.0.1.
Tue Jun 15 00:21:40 2004 :: Preloading player data for: Anavel (9K)
Tue Jun 15 00:21:40 2004 :: Creating area entry for Anavel
Segmentation fault (core dumped)
Any clues? Heres some of the code if you need it...
1. Act_info.c
Need to drop this function into the file, it is the actual
command for setting pretitle.
/* Orginal done by Azalin for ???
Converted to Smaug by Xerves 8/2/99 */
void do_pretitle( CHAR_DATA *ch, char *argument )
{
char buf[MAX_STRING_LENGTH];
int value;
if ( IS_NPC(ch) )
{
send_to_char( "Not on NPC's.\n\r", ch );
return;
}
/* Used the notitle flag to ban abuse of the command, if you want to make
your own flags and put them in, you can -- Xerves */
if ( IS_SET( ch->pcdata->flags, PCFLAG_NOTITLE ))
{
set_char_color( AT_IMMORT, ch );
send_to_char( "The Gods prohibit you from changing your title or pretitle.\n\r", ch );
return;
}
if ( ch->pcdata->pretit == '\0' )
ch->pcdata->pretit = "&G"; /* Hard-coded Color part here, change if needed -- Xerves */
if ( !str_cmp( argument, "show" ) )
{
sprintf(buf, "Your current pretitle is '%s&g'.\n\r",ch->pcdata->pretit);
send_to_char(buf,ch);/* Above is hard-coded also -- Xerves */
return;
}
if ( !str_cmp( argument, "clear" ) )
{
ch->pcdata->pretit = "&G"; /* Hard-coded Color -- Xerves */
send_to_char("Pretitle Removed.\n\r",ch);
return;
}
/* Will only allow for 25 characters in the pretitle, color code included
If you want to have a longer pretitle (or shorter) change the number below
and change the number in the arrays to match -- Xerves */
if ( strlen(argument) > 25 )
{
argument[25] = '&'; /* Hard-coded Color again */
argument[26] = 'G';
argument[27] = '\0';
}
else
{
value = strlen(argument);
argument[value] = '&';
argument[value+1] = 'G'; /* Color again */
argument[value+2] = '\0';
}
(NOTE ON ABOVE: My mud has a fun time with the &w color, so I use
&c&w for the &w code. Again, this is hard coded, and if you want
to remove the color, remove that one also)
(NOTE: The above will check to see if there is an . , ! ? in the pretitle, if
one is found, it will not save the pretitle, remove this if you want, or
feel free to add on to it )
Lastly, down about a few pages, there should be a bunch of checks to see if
titles/bios/etc exsist, it looks like this
if (!ch->pcdata->bestowments)
ch->pcdata->bestowments = str_dup( "" );
if (!ch->pcdata->title)
ch->pcdata->title = STRALLOC( "" );
You need to add right after that
if (!ch->pcdata->pretit)
ch->pcdata->pretit = str_dup( "" );
5. (Optional, if you have finger.c (the finger command) in your code)
If you still have the finger function in finger.c, you will probably want
to add pretitle support there also, if you moved the finger code, or have
your own, you might want to find it again, and add this to it.
This is what the code I have looks like, again the &c&w is used to for &w in
my code. Anyway, you will probably want to add the Pretitle right below that
Hmmm... that could be a problem... I don't know how to use gdb, I'll just search for the guide thats some where in this forum. Oh and I typed this yesterday if it helps any:
$ ulimit -a
core file size (blocks, -c) unlimited
data seg size (kbytes, -d) unlimited
I remember someone saying to make the core file size around 163514 or somewhere around there, so that could be the problem...
Tue Jun 15 17:04:20 2004 :: Preloading player data for: Anavel (9K)
Program received signal SIGSEGV, Segmentation fault.
free_char (ch=0x10384b30) at db.c:2869
2869 next = temp->next;
(gdb) bt
#0 free_char (ch=0x10384b30) at db.c:2869
#1 0x004b4053 in nanny (d=0x1038a3d8, argument=0x22f8d0 "L#900")
at comm.c:1687
#2 0x004b1073 in game_loop () at comm.c:629
#3 0x004b0686 in main (argc=1, argv=0x10021540) at comm.c:286
Lol, I just did what the snippet told me and it compiled without any errors... and I change quite a few things to some files... so I can't post them all here cause it will spam the thread. :p
Quote: downloaded a pretitle snippet and I installed it succesfully... it compiled with one error but that was an easy fix so I compiled it again and I got no errors this time. Then I started up the mud and everything went fine, I got no bug messages.
That, plus any changes in static variables or changes to a .h file need to be changed in all files that reference them. If you change a variable from char to int, for example, in the object structure, and only compile one .c file, all the others will still think its a char.
Most makefiles have a "make clean" option to help out
Hello ... i installed the same snippet on smaug1.4a FUSS
and got some errors...after fixing a few of them listed here, I did a make clean and then a make smaug.....here is what i got
Bill@DDKXK661 ~/smaug/src
$ make clean
rm -f o/*.o smaug.exe *~
Hello agian... yeah..I found the error..mud_comm.c was really named mud_comm.c.o Fixed it, and it compiled. However, now after I login..(it actually takes in the password).. I belive the pfile is corrupt..Any ideas on just what is happening??
From gdb
Bill@DDKXK661 ~
$ cd smaug/area
Bill@DDKXK661 ~/smaug/area
$ gdb ../src/smaug.exe
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) run
Sun Feb 13 01:38:03 2005 :: IMC: IMC2Sun Feb 13 01:38:00 2005 :: [*****] BOOT: ---------------------[ Boot Log ]-----
---------------
Sun Feb 13 01:38:00 2005 :: Loading commands
Sun Feb 13 01:38:00 2005 :: Loading sysdata configuration...
Sun Feb 13 01:38:00 2005 :: Loading socials
Sun Feb 13 01:38:00 2005 :: Loading skill table
Sun Feb 13 01:38:00 2005 :: Sorting skill table...
Sun Feb 13 01:38:00 2005 :: Remapping slots to sns
Sun Feb 13 01:38:00 2005 :: Loading classes
Sun Feb 13 01:38:00 2005 :: Loading races
Sun Feb 13 01:38:00 2005 :: Loading herb table
Sun Feb 13 01:38:00 2005 :: Loading tongues
Sun Feb 13 01:38:00 2005 :: Making wizlist
Sun Feb 13 01:38:00 2005 :: Initializing random number generator
Sun Feb 13 01:38:00 2005 :: Setting time and weather
Sun Feb 13 01:38:00 2005 :: Assigning gsn's
Sun Feb 13 01:38:00 2005 :: Reading in area files...
(help.are)
gods.are : Rooms: 1200 - 1203 Objs: 1200 - 1203 Mobs: 1200 - 1200
limbo.are : Rooms: 2 - 99 Objs: 2 - 99 Mobs: 1 - 99
newacad.are : Rooms: 10300 - 10499 Objs: 10300 - 10499 Mobs: 10300 - 10499
newgate.are : Rooms: 100 - 199 Objs: 100 - 199 Mobs: 100 - 199
newdark.are : Rooms: 21000 - 21499 Objs: 21000 - 21435 Mobs: 21000 - 21499
Sun Feb 13 01:38:00 2005 :: Fixing exits
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Get_room_index: bad vnum 9850.
Sun Feb 13 01:38:00 2005 :: [*****] BOOT: Fix_exits: room 21019, exit north lead
s to bad vnum (9850)
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Deleting north exit in room 21019
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Get_room_index: bad vnum 24800.
Sun Feb 13 01:38:00 2005 :: [*****] BOOT: Fix_exits: room 21021, exit north lead
s to bad vnum (24800)
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Deleting north exit in room 21021
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Get_room_index: bad vnum 3504.
Sun Feb 13 01:38:00 2005 :: [*****] BOOT: Fix_exits: room 21075, exit south lead
s to bad vnum (3504)
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Deleting south exit in room 21075
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Get_room_index: bad vnum 7030.
Sun Feb 13 01:38:00 2005 :: [*****] BOOT: Fix_exits: room 21075, exit down leads
to bad vnum (7030)
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Deleting down exit in room 21075
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Get_room_index: bad vnum 6000.
Sun Feb 13 01:38:00 2005 :: [*****] BOOT: Fix_exits: room 21087, exit west leads
to bad vnum (6000)
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Deleting west exit in room 21087
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Get_room_index: bad vnum 3503.
Sun Feb 13 01:38:00 2005 :: [*****] BOOT: Fix_exits: room 21112, exit east leads
to bad vnum (3503)
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Deleting east exit in room 21112
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Get_room_index: bad vnum 7914.
Sun Feb 13 01:38:00 2005 :: [*****] BOOT: Fix_exits: room 21291, exit up leads t
o bad vnum (7914)
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Deleting up exit in room 21291
Sun Feb 13 01:38:00 2005 :: [*****] BUG: Get_room_index: bad vnum 3600.
Sun Feb 13 01:38:00 2005 :: [*****] BOOT: Fix_exits: room 21293, exit south lead
s to bad vnum (3600 network data loaded. Autoconnect not set.
IMC2 will need to be connected manually.
Sun Feb 13 01:38:00 2005 :: Keldar ready at address DDKXK661 on port 4000.
Sun Feb 13 01:38:08 2005 :: Sock.sinaddr: 127.0.0.1, port 1200.
Sun Feb 13 01:38:11 2005 :: EOF encountered on read.
Sun Feb 13 01:38:19 2005 :: Sock.sinaddr: 127.0.0.1, port 1203.
Sun Feb 13 01:38:21 2005 :: Preloading player data for: Rakon (9K)
Sun Feb 13 01:38:23 2005 :: Loading player data for: Rakon (9K)
Sun Feb 13 01:38:23 2005 :: Rakon (127.0.0.1) has connected.
Sun Feb 13 01:39:30 2005 :: Rakon has quit (Room 1201).
Program received signal SIGSEGV, Segmentation fault.
0x610b4704 in random () from /usr/bin/cygwin1.dll
(gdb)
Type [MORE] or [C] to continue. <-------Pager thing going of the hizzy
Press [ENTER]
Welcome to Keldar...
Before a gigantic wooden door
A huge oak door serves as the entrance to the most magnificent palace you've
ever seen. A blue orb hovers near the door.
You see exits leading: none.
(Hidden) (Buried) A key of diamond glistens.
<Type HELP START><------- Immortal prompt shouldn't be this
<Type HELP START>
help start
Help level: 1
If you are new to the Realms, here are a few help files that will help you
get acquainted with our world. Please remember that during peak times
we host upwards of 300 players online, so we have tried to make the help
Type [MORE] or [C] to continue.
system as detailed as possible for everyone's benefit:
GUIDE - Will help you learn to use your Adventurers Guide Book.
RULES - Will lead you through the laws of the land.
Type [MORE] or [C] to continue.
SPAM - Will explain what spam is, and why you should not do it.
CONFIG - Will teach you about our configuration menu.
SCORE - Will tell you about your character's personal score sheet.
MOVEMENT - Will teach you various commands for moving about the Realms.
Type [MORE] or [C] to continue.
OBJECTS - Will teach you various commands to use your equipment.
CONTAINER - Will teach you about using containers to hold belongings.
CHANNELS - Will teach you about communication with other players.
GROUP - Will help you with grouping with other adventurers.
Type [MORE] or [C] to continue.
COMBAT - Will teach you how to choose, start and stop a fight.
DEATH - Will tell you about the death experience in the Realms.
PRACTICE - Will teach you about training spells, skills, and weapons.
INFORMATION - Will cover ways to find certain types of information.
Type [MORE] or [C] to continue.
To use these files, type HELP <topic>. Type 'help' for general commands.
<Type HELP START>
<Type HELP START>
score
Score for Rakon,Immortal of Justice.
You are trusted at level 51.<---------- Eh...why?? Rakon's level 65..why how did trust get to 51?
----------------------------------------------------------------------------
Type [MORE] or [C] to continue.
LEVEL: 65 Race : Dwarf Played: 2784 hours
YEARS: 1409 Class: Warrior Log In: Sun Feb 13 01:38:23 2005
STR : 17(17) HitRoll: 3 Saved: no save this session
INT : 13(13) DamRoll: 3 Time: Sun Feb 13 01:38:39 2005
Type [MORE] or [C] to continue.
WIS : 15(15) Armor: 0100, improper for adventure
DEX : 13(13) Align: +0000, neutral Items: 00002 (max 10200)
CON : 12(12) Pos'n: standing Weight: 00003 (max 1000000)
CHA : 12(12) Wimpy: 0 Style: standard
Type [MORE] or [C] to continue.
LCK : 13(13)
Glory: 0000(0000)
PRACT: 100 Hitpoints: 4000 of 4000 Pager: (X) 0 AutoExit(X)
XP : 2000 MKills: 00000 AutoLoot( )
Type [MORE] or [C] to continue.
You are drunk.<---------- --------------See below **
You are in danger of dehydrating.<--- How did these semptons get here? was fine before**
You feel fine.<-----------------See above **
Type [MORE] or [C] to continue.
You are bestowed with the command(s): (null).<--------- Never bestowed a thing an PC **
----------------------------------------------------------------------------
IMMORTAL DATA: Wizinvis [ ] Wizlevel (0)
Type [MORE] or [C] to continue.
Bamfin:
Bamfout:
<Type HELP START>
<Type HELP START>
You drool on yourself.
--------------------------------------
Any advice on why this is happening? or what might remedy it? I've tried adding an ifcheck to see if pretit was null but that wouldnt let me log in that way..... Also added the ch->pcdata->pretit in the save.c function however I think its messing up. Thanks in advance
If you have any more questions about any information I' ve failed to give you..please gmail me <penquincoder at gmail dot com> or reply here..Thanks!
Sun Feb 13 01:38:11 2005 :: EOF encountered on read.
Sun Feb 13 01:38:19 2005 :: Sock.sinaddr: 127.0.0.1, port 1203.
Sun Feb 13 01:38:21 2005 :: Preloading player data for: Rakon (9K)
Sun Feb 13 01:38:23 2005 :: Loading player data for: Rakon (9K)
Sun Feb 13 01:38:23 2005 :: Rakon (127.0.0.1) has connected.
Sun Feb 13 01:39:30 2005 :: Rakon has quit (Room 1201).
Program received signal SIGSEGV, Segmentation fault.
0x610b4704 in random () from /usr/bin/cygwin1.dll
(gdb) q
The program is running. Exit anyway? (y or n) y
Bill@DDKXK661 ~/smaug/area
$ gdb ../src/smaug.exe
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...
(gdb) run
Starting program: /home/Bill/smaug/src/smaug.exe
...
Blah
...
Sun Feb 13 02:03:37 2005 :: Sock.sinaddr: 127.0.0.1, port 1278.
Sun Feb 13 02:03:39 2005 :: Preloading player data for: Rakon (9K)
Sun Feb 13 02:03:40 2005 :: Loading player data for: Rakon (9K)
Sun Feb 13 02:03:40 2005 :: Creating area entry for Rakon<---- Need to know why here..no vnums assigned.
Sun Feb 13 02:03:40 2005 :: Rakon (127.0.0.1) has connected.
<connected and played here Did only what was in log, Below>
Sun Feb 13 02:03:58 2005 :: Log Rakon: mset self drunk 0
Sun Feb 13 02:04:06 2005 :: Log Rakon: mset self full 100
Sun Feb 13 02:04:20 2005 :: Rakon has quit (Room 1201).
<tried to reconnect>
Program received signal SIGSEGV, Segmentation fault.
0x610b4704 in random () from /usr/bin/cygwin1.dll
(gdb) bt
#0 0x610b4704 in random () from /usr/bin/cygwin1.dll
#1 0x610b51d5 in random () from /usr/bin/cygwin1.dll
#2 0x6105bc88 in dll_entry@12 () from /usr/bin/cygwin1.dll
#3 0x61001e89 in getprogname () from /usr/bin/cygwin1.dll
#4 0x6108a90c in cygwin1!aclcheck () from /usr/bin/cygwin1.dll
#5 0x61087436 in cygwin1!aclcheck () from /usr/bin/cygwin1.dll
#6 0x61086dbb in cygwin1!aclcheck () from /usr/bin/cygwin1.dll
#7 0x61062cf8 in inet_makeaddr () from /usr/bin/cygwin1.dll
#8 0x6108e1ef in cygwin1!aclcheck () from /usr/bin/cygwin1.dll
#9 0x004a9c05 in accept_new (ctrl=5) at comm.c:541
#10 0x004a9c6e in game_loop () at comm.c:564
#11 0x004a9542 in main (argc=1, argv=0xa0519c8) at comm.c:309
(gdb)
I went to the post you listed, but when I do a make clean, then make... I get the following
Bill@DDKXK661 ~/smaug/area
$ cd ../src
Bill@DDKXK661 ~/smaug/src
$ make clean
rm -f o/*.o smaug.exe *~
Bill@DDKXK661 ~/smaug/src
$ make
make -s smaug
Compiling o/imc.o....
cc1: warning: -Wuninitialized is not supported without -O
...
<Goes through compling with the same message for each file>
Done compiling mud.
Bill@DDKXK661 ~/smaug/src
$
attached gdb to smaug via
~/smaug/area
$gdb ../src/smaug.exe
run
...
blah
...
Agian the commands below are all i did while connected.
Sun Feb 13 02:22:10 2005 :: Sock.sinaddr: 127.0.0.1, port 1338.
Sun Feb 13 02:22:13 2005 :: Preloading player data for: Rakon (9K)
Sun Feb 13 02:22:14 2005 :: Loading player data for: Rakon (9K)
Sun Feb 13 02:22:14 2005 :: Rakon (127.0.0.1) has connected.
Sun Feb 13 02:22:29 2005 :: Log Rakon: cedit pretitle create
Sun Feb 13 02:22:55 2005 :: Rakon has quit (Room 1201).
Here i attempted to reconnect and when i put my password in --------->|
|
Sun Feb 13 02:22:56 2005 :: Sock.sinaddr: 127.0.0.1, port 1342. |
Sun Feb 13 02:22:58 2005 :: Preloading player data for: Rakon (9K) |
<-------------------------------------------------------|
Program received signal SIGSEGV, Segmentation fault. <problem.... i cannot find SIGSEGV anywhere>
0x610b4d71 in random () from /usr/bin/cygwin1.dll
(gdb) c
Continuing.
6 [main] smaug 3732 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
1337 [main] smaug 3732 open_stackdumpfile: Dumping stack trace to smaug.exe.s
tackdump
Program exited with code 0305400.
(gdb) q
Bill@DDKXK661 ~/smaug/area
$ ls -li core*
ls: core*: No such file or directory
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"..."/home/Bill/smaug/area/smaug.exe.s
tackdump": not in executable format: File format not recognized<----- Not a core file maybe??
(gdb) run
Starting program:
No executable specified, use `target exec'.
This is what I got. FWIW I can log in now, however if i log out. and try to log back in... the mud crashes
Bill@DDKXK661 ~/smaug/area
$ gbd ../area/smaug.exe smaug.exe.stackdump
bash: gbd: command not found
Bill@DDKXK661 ~/smaug/area
$ gdb ../area/smaug.exe smaug.exe.stackdump
GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-cygwin"...../area/smaug.exe: No such file or
directory.
"/home/Bill/smaug/area/smaug.exe.stackdump" is not a core dump: File format not
recognized
(gdb)q
--------
File format not regonized.....rather..in the last post... ok ran gdb *sigh* did all the info stack and other stuff..heres what it listed
The following is what gdb spat out..Any insights?
Sun Feb 13 02:52:31 2005 :: Keldar ready at address DDKXK661 on port 4000.
Sun Feb 13 02:52:36 2005 :: Sock.sinaddr: 127.0.0.1, port 1423.
Sun Feb 13 02:52:38 2005 :: Preloading player data for: Rakon (9K)
Sun Feb 13 02:52:40 2005 :: Loading player data for: Rakon (9K)
Sun Feb 13 02:52:40 2005 :: Rakon (127.0.0.1) has connected.
Sun Feb 13 02:53:31 2005 :: Rakon has quit (Room 1201).
Sun Feb 13 02:53:32 2005 :: Sock.sinaddr: 127.0.0.1, port 1427.
Sun Feb 13 02:53:35 2005 :: Preloading player data for: Rakon (9K)
Program received signal SIGSEGV, Segmentation fault.
0x610b4d71 in random () from /usr/bin/cygwin1.dll
(gdb) bt
#0 0x610b4d71 in random () from /usr/bin/cygwin1.dll
#1 0x610b4b07 in random () from /usr/bin/cygwin1.dll
#2 0x610b51d5 in random () from /usr/bin/cygwin1.dll
#3 0x6105bc88 in dll_entry@12 () from /usr/bin/cygwin1.dll
#4 0x6108e1ef in cygwin1!aclcheck () from /usr/bin/cygwin1.dll
#5 0x004ac824 in nanny (d=0xa234420, argument=0x22eab0 "Cyco1")<-------arg shows password???
at comm.c:1736
#6 0x004aa0c3 in game_loop () at comm.c:649
#7 0x004a9582 in main (argc=1, argv=0xa0519d0) at comm.c:309
(gdb) info w32
List of info w32 subcommands:
(gdb) list
152 #ifdef IMC
153 int imcsocket = -1;
154 #endif
155
156 /*
157 * Memory debugging if needed.
158 */
159 #if defined(MALLOC_DEBUG)
160 malloc_debug( 2 );
161 #endif
(gdb) list
162
163 DONT_UPPER = FALSE;
164 num_descriptors = 0;
165 first_descriptor = NULL;
166 last_descriptor = NULL;
167 sysdata.NO_NAME_RESOLVING = TRUE;
168 sysdata.WAIT_FOR_AUTH = TRUE;
169
170 /*
171 * Init time.
(gdb) list
172 */
173 gettimeofday( &now_time, NULL );
174 current_time = (time_t) now_time.tv_sec;
175 /* gettimeofday( &boot_time, NULL); okay, so it's kludgy, sue me :) *
/
176 boot_time = time(0); /* <-- I think this is what you wanted
*/
177 strcpy( str_boot_time, ctime( ¤t_time ) );
178
179 /*
180 * Init boot time.
181 */
(gdb) list
-------------
man... What is happing to the code??? :>
As far as I know, Cygwin cannot generate core dumps that work in GDB. That is why it was not recognizing the files.
As for your problem, you need to show us the code being run in your code:
#5 0x004ac824 in nanny (d=0xa234420, argument=0x22eab0 "Cyco1")<-------arg shows password???
at comm.c:1736
That line and its surrounding lines is what you need to show us. Typing in 'list' without going to the right stack frame isn't very useful. :)
I just took out the pretitle for now but hopefully I'll figure it out. Now theres a couple more errors. When an Imm character switches into a Mob, and does any command that calls act_info. such as who, whois, where, the game crashes. Thanks for your help.