![]() |
#1 |
New Member
|
![]() I'm experiencing some problems on my mud where someone connects to the mud, but does not login, then immediately disconnects. This causes the mud to crash. The thing that puzzles me is that it only happens one in five times.
Using GDB on the mud did not provide any useful data - nothing that had anything to do with the connection code; only ingame commands (i know these commands wont cause it, as there were no players on the mud, when i crashed it). Any ideas? I've searched and searched through the new_descriptor, close_socket and close_socket2 functions, but I could not find anything in there that would cause the mud to crash (I compared it with a stock version of the code). The codebase is Dystopia 1.2.3 Thanks, Skorpian of Immortal Conflict |
![]() |
![]() |
![]() |
#2 |
New Member
Join Date: Apr 2002
Posts: 28
![]() |
Whats more then likely happening is you have a message going to all the players on the mud using the descriptor_list. bascily then arn't fully created, aka descripotr->character == NULL. gdb should show you what function is casuing the crash. What you'll more then likely need to do is add or add to the if statment d->connection == CON_PLAYING, or something like that I'm just guess based on how Rom works.
|
![]() |
![]() |
![]() |
#3 |
New Member
Join Date: Apr 2002
Posts: 10
![]() |
Increase the MAX_KEY_HASH
thats one bug i know of that causes that to happen. |
![]() |
![]() |
![]() |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need suggestions on how to connect. | Kendron | Newbie Help | 5 | 05-08-2004 07:31 AM |
Problems compiling SMAUG | dalalphabet | MUD Administration | 2 | 02-17-2004 09:34 PM |
File I/O problems | visko | MUD Coding | 11 | 01-17-2003 12:46 AM |
problems with smaug 1.4 objects | Shao_Long | MUD Builders and Areas | 5 | 07-05-2002 01:16 PM |
|
|