ID:157688
 
Code:


Problem description:
Hi everybody, I'm back with a really awesome problem... D:
So I've been coding away at a game, and mapped a pretty sweet map, making a lot of progress on a small game of mine. "Oh shoot" I think to myself, "I should add some mobs". Now, I create a few, with no errors in the code at all. I go to place mobs on the map for the first time, and when I click mob in the map maker, it completely crashes my DM. Running the game works fine, character creation, saving, loading, ect... I can place objs turfs areas on the map... but when I go to place mobs, boom crash. I have looked through the forum already, and found nothing, so don't think I didn't try D:.
Okay, thanks for reading and helping if you do!
~Yurokei

*This just in, I can however place mobs in other environments - that is all*

Can you show us what you have in each New() that is associated with the mob that crashes?

ts
This sounds like an issue that should be reported in the bug tracker. I recommend distilling your project down to a demo that shows the problem, and posting that demo along with complete details inthe bug tracker.

If you can't get a demo project to show the problem, you can zip up the source and send it to me at [email protected] and I'll take a look.

Lummox JR
In response to Tsfreaks
Thanks, because of what your said, I began looking at was New()s that went with my mobs. Turns out none of them were the problem, it was my sound fading! It's all paperclips and chewing gum, but the way that I did it was frequently updating the sound to a different volume. Here's what i mean:
mob
var
sound
Titlemusic = sound("Dearly Beloved.mid", volume=2, repeat=1, channel=1, wait=0)
proc
DiminishSound()
spawn(10)
Titlemusic.volume=9
Titlemusic.status |= SOUND_UPDATE
src<<Titlemusic
Titlemusic.status &= ~SOUND_UPDATE
spawn(10)
Titlemusic.volume=6
Titlemusic.status |= SOUND_UPDATE
src<<Titlemusic
Titlemusic.status &= ~SOUND_UPDATE
spawn(10)
Titlemusic.volume=3
Titlemusic.status |= SOUND_UPDATE
src<<Titlemusic
Titlemusic.status &= ~SOUND_UPDATE
spawn(10)
src << sound(null)


I also use it when Im making the sound increase, which is used in my title sequence. So yeah, I take this out, and I can place mobs, with it, I can't. Think you have any idea what might be wrong?