(gdb) continue
Continuing.
Program received signal SIGINT, Interrupt.
0x40104b36 in recv () from /lib/libc.so.6
(gdb) bt
#0 0x40104b36 in recv () from /lib/libc.so.6
#1 0x0806c44d in imc_read_socket () at imc.c:3370
#2 0x0806c7b0 in imc_loop () at imc.c:3465
#3 0x081288f5 in game_loop () at comm.c:939
#4 0x08127ac2 in main (argc=2, argv=0xbffffb34) at comm.c:551
#5 0x4004254d in __libc_start_main () from /lib/libc.so.6
(gdb) frame 0
#0 0x40104b36 in recv () from /lib/libc.so.6
(gdb) frame 1
#1 0x0806c44d in imc_read_socket () at imc.c:3370
3370 nRead = recv( this_imcmud->desc, this_imcmud->inbuf + iStart, sizeof( this_imcmud->inbuf ) - 10 - iStart, 0 );
(gdb) list
3365
3366 for( ;; )
3367 {
3368 int nRead;
3369
3370 nRead = recv( this_imcmud->desc, this_imcmud->inbuf + iStart, sizeof( this_imcmud->inbuf ) - 10 - iStart, 0 );
3371 iErr = errno;
3372 if( nRead > 0 )
3373 {
3374 iStart += nRead;
(gdb) info locals
nRead = 0
iStart = 37
iErr = 2
begin = 0 '\0'
(gdb) frame 2
#2 0x0806c7b0 in imc_loop () at imc.c:3465
3465 if( !imc_read_socket( ) )
(gdb) list
3460 return;
3461 }
3462
3463 if( FD_ISSET( this_imcmud->desc, &in_set ) )
3464 {
3465 if( !imc_read_socket( ) )
3466 {
3467 if( this_imcmud->inbuf && this_imcmud->inbuf[0] != '\0' )
3468 {
3469 if( imc_read_buffer( ) )
(gdb) info locals
in_set = {__fds_bits = {128, 0 <repeats 31 times>}}
out_set = {__fds_bits = {128, 0 <repeats 31 times>}}
last_time = {tv_sec = 1172187384, tv_usec = 973046}
null_time = {tv_sec = 0, tv_usec = 0}
(gdb)
Thu Feb 22 17:41:15 2007 :: IMC: Loading IMC2 command table…
Thu Feb 22 17:41:15 2007 :: IMC: Loading IMC2 network data…
Thu Feb 22 17:41:15 2007 :: IMC: Loading IMC2 help file…
Thu Feb 22 17:41:15 2007 :: IMC: Loading IMC2 color table…
Thu Feb 22 17:41:15 2007 :: IMC: Loading IMC2 who template…
Thu Feb 22 17:41:15 2007 :: IMC: imcfread_word: EOF encountered on read.
Thu Feb 22 17:41:15 2007 :: IMC: IMC2 network data loaded. Autoconnect not set. IMC2 will need to be connected manually.
Thu Feb 22 17:41:15 2007 :: Malevolent Whispers ready on port 1070.
Thu Feb 22 17:41:16 2007 :: Sock.sinaddr: 99.999.99.999, port 2545.
Thu Feb 22 17:41:16 2007 :: Preloading player data for: Kayle (15K)
Thu Feb 22 17:41:17 2007 :: Loading player data for: Kayle (15K)
Thu Feb 22 17:41:17 2007 :: Kayle (c-99-999-99-999.hsd1.pa.comcast.net) has connected.
Thu Feb 22 17:41:24 2007 :: IMC: Loading IMC2 network data…
Thu Feb 22 17:41:24 2007 :: IMC: IMC2 network data loaded.
Thu Feb 22 17:41:24 2007 :: IMC: IMC2 Network Initializing…
Thu Feb 22 17:41:24 2007 :: IMC: Connecting to server.
Thu Feb 22 17:41:24 2007 :: IMC: Loading channels…
Thu Feb 22 17:41:24 2007 :: IMC: configured Server02:icode as icode
Thu Feb 22 17:41:24 2007 :: IMC: configured Server02:igame as game
Thu Feb 22 17:41:24 2007 :: IMC: configured Server02:i3chat as i3
Thu Feb 22 17:41:24 2007 :: IMC: configured Server02:i2chat as i2
Thu Feb 22 17:41:24 2007 :: IMC: configured Server02:irc as irc
Thu Feb 22 17:41:24 2007 :: IMC: configured Server02:inews as inews
Thu Feb 22 17:41:24 2007 :: IMC: configured Server01:ichat as ichat
Thu Feb 22 17:41:24 2007 :: IMC: configured Server01:pchat as pchat
Thu Feb 22 17:41:24 2007 :: IMC: configured Server01:ibuild as ibuild
Thu Feb 22 17:41:24 2007 :: IMC: Loading ban list…
Thu Feb 22 17:41:24 2007 :: IMC: Loading ucache data…
Program received signal SIGINT, Interrupt.
0x40104b36 in recv () from /lib/libc.so.6
(gdb) k
Kill the program being debugged? (y or n) y
(gdb) quit
if( connect( desc, ( struct sockaddr * )&sa, sizeof( sa ) ) < 0 )
{
if( errno != EINPROGRESS )
{
imclog( "%s: Failed connect: Error %d: %s", __FUNCTION__, errno, strerror( errno ) );
perror( "connect" );
close( desc );
return -1;
}
}
use imcconfig serveraddr <ip number> to change the DNS info to the IP number
hotboot the mud
*may be optional* It didn't auto connect for me, so I used imcconnect
It seems to be working perfectly, now.
Thank you, everyone, for your help.
It seemed to work fine, according to the log, but I can't do anything once it connects. I cannot issue any commands to the mud (and the mud was still running, according to the proccess list). I even tried disabling SHA256, but that didn't seem to help anything. According to the server/client list from IMC (checking from Talon), my mud shows up (smdev. I think I screwed something up because it's on two servers) as having connected last night. I keep trying to rack my brain, and come up with a reason for this, but I can't think of anything.
This is my current imc config file:
$IMCCONFIG
# IMC2 Freedom CL-2.1a SmaugFUSS 1.7 config file.
# This file can now support the use of tildes in your strings.
# This information can be edited online using the 'imcconfig' command.
LocalName smdev
Autoconnect 1
MinPlayerLevel 0
MinImmLevel 0
AdminLevel 65
Implevel 65
InfoName SpellMudDev
InfoHost 66.218.49.114
InfoPort 8800
InfoEmail raistlin.spellmud@yahoo.com
InfoWWW http://spellmud.arthmoor.com
InfoBase SmaugFUSS 1.7
InfoDetails SpellMud is currently in development. More information will be made available at a later date.
# Your server connection information goes here.
# This information should be available from the network you plan to join.
ServerAddr server02.intermud.us
ServerPort 9000
ClientPwd <EDITED OUT>
ServerPwd <EDITED OUT>
#SHA256 auth: 0 = disabled, 1 = enabled
SHA256 0
End
$END
Thank you for any help you can give me.
Edit: Don't post passwords.