source file: soundmob.dm,53
usr: null
src: /soundmob (/soundmob)
call stack:/soundmob (/soundmob): New(null, 0, null, 1, 0, 100)
Special1 (/mob/players/Special1): Read(players/a/aerproductions.sav (/savefile))
AERProductions (/client): base LoadMob("AERProductions")
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): ChooseCharacterResult("AERProductions")
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): Topic("menu=choosing_character;choice...", /list (/list))
runtime error: C:/Users/root/Documents/BYOND/lib/koil/soundmob/soundmob.dm:85:Assertion Failed: mob.client
proc name: updateListener (/soundmob/proc/updateListener)
source file: soundmob.dm,85
usr: AERProductions (/mob/creating_character)
src: /soundmob (/soundmob)
call stack:/soundmob (/soundmob): updateListener(AERProductions (/mob/creating_character))
AERProductions (/mob/creating_character): updateListeningSoundmobs()
AERProductions (/mob/creating_character): Move(null, 0)
AERProductions (/mob/creating_character): Move(null, 0)
AERProductions (/mob/creating_character): Move(null, 0)
AERProductions (/mob/creating_character): Move(null, 0)
AERProductions (/mob/creating_character): Move(null)
AERProductions (/mob/creating_character): Read(players/a/aerproductions.sav (/savefile))
Special1 (/mob/players/Special1): Read(players/a/aerproductions.sav (/savefile))
AERProductions (/client): base LoadMob("AERProductions")
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): ChooseCharacterResult("AERProductions")
ChoosingCharacter (/mob/BaseCamp/ChoosingCharacter): Topic("menu=choosing_character;choice...", /list (/list))
Problem description: I'm using Koil's Soundmob library to produce sound effects for Pondera. Unfortunately, not being a top notch programmer I am unable to figure out how to delete the sounds/clean them up during save/load/when someone quits and thus I am getting a runtime error. If you could please assist me in this it would be appreciated.
It doesn't seem like Koil's Soundmob library is available anymore, but it looks like all the errors are happening in it, which means you're probably using it wrong; we just have to figure out how.
The second error says an assertion failed on mob.client. This means mob.client doesn't exist. According to the call stack, this is occurring right after you load a mob from a savefile. It's possible that you're calling updateListeningSoundmobs() on your /mob/creating_character when you should instead be calling it on the loaded mob, since your client may have already switched over to it.