Top Mud Sites Forum

Top Mud Sites Forum (http://www.topmudsites.com/forums/index.php)
-   MUD Coding (http://www.topmudsites.com/forums/forumdisplay.php?f=9)
-   -   Rom 2.4 Mob errors (http://www.topmudsites.com/forums/showthread.php?t=325)

Torren 04-22-2002 08:23 AM

Ok let me know if this has happened to you. I'm having some sort of memory error where a mob dies but it doesn't get removed from the char_list, haven't messed with extract_char. Also I've had occurances where the mobs have ignored pieces of code. Like sleeping mobs wondering when in the code it says if the position is less then fighting continue. and then the wander code starts. Any ideas?

Koryon 04-23-2002 11:08 AM

1) Get Rational Purify, but that's probably not an option...

2) Check things you've changed lately?

3) You DID do a clean compile, right? (rm *.o; make)

4) If all else fails, open up gdb and step through the process of killing a mob and see what happens

Torren 04-23-2002 12:33 PM

Well the problem is it's not always happening I think the mobs not going away is a symptom of a larger problem. I can have it not happen for days or I can have it happen right after the mud reboots. Pain to trace. You check the GDB and it has the mob going through the update_violence check even though it has negative hp and pos_dead. so its by passing all of those checks. its really odd.

Koryon 04-23-2002 03:36 PM

Try doing a code search to see everything that changes position, see if something could be changing it to dead without extract'ing the mob, perhaps a mobprog or some such.

Xanferious 04-23-2002 08:24 PM

if everything keeps failing, get a gun, load it and shoot the computer...that will teach it to fail...

Koryon 04-24-2002 07:21 AM


Torren 04-24-2002 08:14 AM


funkalicious 04-24-2002 10:49 AM

Im sure that if you shoot your computer, it will fail up the yin yang.

visko 05-08-2002 08:58 PM

One of the earlier posts was asking about code changes you have made around the time this bug started popping up. In my (limited) experience, simple code changes with very subtle problems, like writing a check wrong or passing odd data that causes the computer to hiccough, metaphorically speaking, can cause crash bugs that are more annoying and harder to find than anything else in the world.

So...Have you done any code changes that could have affected mobs being taken out of the game/properly killed? It's a pretty easy thing to do, with almost any code change related to fighting and affects.

-Visko


All times are GMT -4. The time now is 10:06 AM.

Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright Top Mud Sites.com 2022