Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ SMAUG ➜ SMAUG coding ➜ weird crash

weird crash

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Harsk   USA  (47 posts)  Bio
Date Wed 23 Jan 2002 10:09 AM (UTC)
Message
A rather odd bug was found by one of my team members. He was testing out the preauth area, and the first fight he got into, the mud crashed after about 5 rounds of combat. We all looked at it but couldn't find a solution. Is there something we need to do with the code itself to resolve this? Or is it a problem with the area itself?
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 26 Jan 2002 08:44 PM (UTC)
Message
Sounds strange. I usually get through that area without any problems and you are the first to report that. Sounds like a code bug, however if you changed the area maybe you added a non-existent mob or something.

Try running under the debugger (gdb) to see why it crashed. There are posts about using that elsewhere.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Harsk   USA  (47 posts)  Bio
Date Reply #2 on Sun 27 Jan 2002 09:02 AM (UTC)
Message
Couldn't find the bug, so I tried recreating the area, but useing my own stuff. That should stamp out any odd problems with the preauth. (IF I can find the time that is ;P)
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Sun 27 Jan 2002 09:38 PM (UTC)
Message
Try running the offending area through the "area check" function of my Area Editor - that usually finds missing links etc.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Harsk   USA  (47 posts)  Bio
Date Reply #4 on Mon 28 Jan 2002 10:10 AM (UTC)
Message
Ok, this is what I have from the area check:

Checking area Spectral Gate on Monday, January 28, 2002, 5:13 AM
Author: Brittany
Reset message: A bell rings far above as another passes beyond the Spectral Gates...
Levels: Soft: 0 to 60, Hard: 0 to 0
Repop frequency: default
Mobile vnums 100 to 199
Object vnums 100 to 199
Room vnums 100 to 199

Checking mobs

** Mobile: #101 Act Mob: 1 spelling error: mobi
** Mobile: #101 Act Mob: <act p has entered the game.> object 10311 not in area
** Mobile: #102 Xouwasi: 1 spelling error: dwarven
** Mobile: #105 Act Mob: 1 spelling error: mobii
** Mobile: #107 Act Mob: 1 spelling error: mobiii
** Mobile: #199 a newly created spacermob: 1 spelling error: spacermob

9 mobs
29 mob programs
5 spelling errors

Lowest level mob was level 1
Highest level mob was level 50

There are 5 level 1 mobs, lowest HP = 0, average HP = 0, highest HP = 0
There is 1 level 2 mob, HP = 0
There is 1 level 3 mob (aggressive), HP = 26
There are 2 level 50 mobs, lowest HP = 0, average HP = 0, highest HP = 0

** 6 problems in mobs

Checking rooms

** Room: #101 An Unsettling Reception: 1 spelling error: craftwork
** Room: #102 The Path of Knowledge: 3 spelling errors: exittype, codeword, preceeded
** Room: #103 A Path Divided: <speech p shadowy path> room 21001 not in area
** Room: #103 A Path Divided: <speech p lighted path> room 21001 not in area
** Room: #103 A Path Divided: 2 spelling errors: pkillers, pkill
** Room: #104 Inside the Tree: 1 spelling error: cotten
** Room: #107 The Path of the Deadly: 1 spelling error: pathside
** Room: #110 A Ring of Trees: 1 spelling error: cirle
** Room: #111 Seeing the Forest through the Trees: 1 spelling error: moulding
** Room: #114 Upon a Desolate Hillside: 1 spelling error: boney
** Room: #115 Cresting the Hill: 1 spelling error: dessicated
** Room: #120 Inside a Small Cabin: 1 spelling error: weaved
** Room: #121 Before the Passage: 1 spelling error: bestowments

25 rooms
24 room programs
40 room exits
14 spelling errors
4 exits need a key
** 13 problems in rooms

Checking objects

** Object: #106 a ring of light: 1 spelling error: lightring
** Object: #107 a ring of shadows: 1 spelling error: shadowring
** Object: #108 a piece of meat: 1 spelling error: snakemeat
** Object: #109 a purple feather: 1 spelling error: pkill
** Object: #112 a shield of dragonscales: 1 spelling error: dragonscales
** Object: #113 a thick plate of breast armour: 1 spelling error: armour
** Object: #115 a rope: 1 spelling error: newname
** Object: #119 a flowing white gown: 1 spelling error: gownq
** Object: #120 the sign of the peaceful path: 2 spelling errors: pkill, spam
** Object: #121 the sign of the deadly path: 2 spelling errors: pkillers, spam
** Object: #126 a gleaming adamantium mace: 1 spelling error: adamantium
** Object: #190 a prog container: 2 spelling errors: prog, cont
** Object: #190 a prog container: 2 spelling errors: progs, guilded
** Object: #192 a plaque: 2 spelling errors: you you, newbiechat
** Object: #193 a plaque: 1 spelling error: you you
** Object: #194 the opening: 1 spelling error: thedoor
** Object: #197 the gate: 1 spelling error: thingy

33 objects
3 object programs
22 spelling errors
** 17 problems in objects

Checking resets

26 resets
No problems in resets

-------- Checking everything is used ---------

** Mobile: #107 Act Mob: Not used.
** Mobile: #199 a newly created spacermob: Not used.
** Object: #101 a magical spring: Not used.
** Object: #190 a prog container: Not used.
** Object: #191 a fountain: Not used.
** Object: #193 a plaque: Not used.
** Object: #196 a staircase: Not used.

** 7 items not used

Commands used

cast - 9 times
close - 9 times
config - 6 times
drop - 10 times
emote - 1 time
get - 14 times
give - 20 times
look - 12 times
mea - 2 times
mpapply - 2 times
mpapplyb - 2 times
mpat - 58 times
mpecho - 10 times
mpechoaround - 11 times
mpechoat - 71 times
mpforce - 42 times
mpjunk - 2 times
mpmload - 2 times
mpoload - 27 times
mppkset - 2 times
mppurge - 5 times
mptransfer - 6 times
push - 2 times
put - 7 times
remove - 1 time
sacrifice - 4 times
say - 15 times
south - 2 times
visible - 5 times
wear - 1 time
wield - 3 times

31 (different) MUD program commands used

Socials used

bow - 2 times
smile - 4 times

2 (different) socials used

Spells used in programs

heal - 1 time
refresh - 8 times

2 (different) spells used

Skills used in programs

No skills used in programs.

43 total warnings.

-- Totals --

25 rooms
9 mobiles
33 objects
40 exits
112 programs

End of area check.

Press <Esc> to close this window.


Other than the spelling errors in the mobs section, I don't see where the extra problem is.
Top

Posted by Harsk   USA  (47 posts)  Bio
Date Reply #5 on Mon 28 Jan 2002 10:12 AM (UTC)
Message
Correction, I see where the sixth error is, I just don't see why it is that a new player comeing through this zone ends up crashing the mud after just a few rounds with the serpent. Everything else checks out fine though.
Top

Posted by Harsk   USA  (47 posts)  Bio
Date Reply #6 on Thu 14 Mar 2002 08:32 AM (UTC)
Message
Ok, I found the problem, but since olc doesn't like to work right, I had to fix the problem offline. The problem came up when the mob was about to die, and the money wasn't set up right. Hence, the odd crash. Remember folks, allways check to make sure that items are set prior to alloweing people to go through those areas.
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


18,158 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.