![]() |
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 |
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.
|
Increase the MAX_KEY_HASH
thats one bug i know of that causes that to happen. |
All times are GMT -4. The time now is 09:55 PM. |
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright Top Mud Sites.com 2022