Top Mud Sites Forum Return to TopMudSites.com
Go Back   Top Mud Sites Forum > Mud Development and Administration > MUD Coding
Click here to Register

Reply
 
Thread Tools
Old 04-22-2002, 08:23 AM   #1
Torren
New Member
 
Join Date: Apr 2002
Posts: 28
Torren is on a distinguished road
Talking

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?
Torren is offline   Reply With Quote
Old 04-23-2002, 11:08 AM   #2
Koryon
Member
 
Join Date: Apr 2002
Location: Canada
Posts: 50
Koryon is on a distinguished road
Send a message via ICQ to Koryon Send a message via MSN to Koryon
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
Koryon is offline   Reply With Quote
Old 04-23-2002, 12:33 PM   #3
Torren
New Member
 
Join Date: Apr 2002
Posts: 28
Torren is on a distinguished road
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.
Torren is offline   Reply With Quote
Old 04-23-2002, 03:36 PM   #4
Koryon
Member
 
Join Date: Apr 2002
Location: Canada
Posts: 50
Koryon is on a distinguished road
Send a message via ICQ to Koryon Send a message via MSN to Koryon
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.
Koryon is offline   Reply With Quote
Old 04-23-2002, 08:24 PM   #5
Xanferious
Senior Member
 
Join Date: Apr 2002
Location: The Void
Posts: 490
Xanferious is on a distinguished road
Send a message via AIM to Xanferious
if everything keeps failing, get a gun, load it and shoot the computer...that will teach it to fail...
Xanferious is offline   Reply With Quote
Old 04-24-2002, 07:21 AM   #6
Koryon
Member
 
Join Date: Apr 2002
Location: Canada
Posts: 50
Koryon is on a distinguished road
Send a message via ICQ to Koryon Send a message via MSN to Koryon
Koryon is offline   Reply With Quote
Old 04-24-2002, 08:14 AM   #7
Torren
New Member
 
Join Date: Apr 2002
Posts: 28
Torren is on a distinguished road
Arrow

Torren is offline   Reply With Quote
Old 04-24-2002, 10:49 AM   #8
funkalicious
Member
 
Join Date: Apr 2002
Location: US of A
Posts: 38
funkalicious is on a distinguished road
Send a message via AIM to funkalicious Send a message via MSN to funkalicious
Im sure that if you shoot your computer, it will fail up the yin yang.
funkalicious is offline   Reply With Quote
Old 05-08-2002, 08:58 PM   #9
visko
Member
 
Join Date: May 2002
Posts: 98
visko is on a distinguished road
Send a message via ICQ to visko Send a message via AIM to visko
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
visko is offline   Reply With Quote
Reply


Thread Tools


Rom 2.4 Mob errors - Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors crashing compile Sevoric MUD Coding 24 04-28-2002 12:37 PM
Circle - Death Gate make errors Eagleon MUD Coding 11 04-20-2002 10:43 AM

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

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


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2022