-
Member
Elysium Core 1.12 Repack - Broke My Server - RESOLVED
Hey Guys,
TLDR can i run mangosd.exe in debug? How?
I am new and not new to emu scene. I have setup private wow servers several times over the years to play arround with friends and most recently with my kids who are finally coming of age to play WOW and such.
I spawned a couple of dragons to have them attack my kids and in doing so seems I killed my server.
Command used eg.
.npc add 6109
Dragon popped up, I had it follow me a bit to where my kids were playing. Then I .die the beast after it destroyed my son. LOL was pretty funny.
Anyways shortly after that I spawned a couple of other dragons in the same manner. I always .npc delete after I am done with them
During on the of the spawns Mangosd.exe became non responsive
SQL seems to load up fine but when I run mangosd.exe it gets to
>>load 3 battlegrounds
starting zonescripts
loading transports
zonescriptmgr : 1 scripts on the map 1.
then mangosd.exe has stopped working.
I am not sure if there is a function before or after that is causing the crash. Hoping debug can help out with this except I do not know how to engage debug. Can instruct me on how to run this in Debug mode of a sort to attempt to fix the issue.
I do have a backup of this from two weeks ago, of course learning to fix it is my goal here.
Any ideas or help would be appreciated.
Regards,
Chris aka Horton
Last edited by Horton2006; 06-23-2018 at 10:51 AM.
-
Elite User
You spawned a creature that accesses an instance script in the wrong zone. So as soon as the AI is constructed, you get a segmentation fault. You need to delete the spawn from the `creature` table in the database.
-
Post Thanks / Like - 1 Thanks
Horton2006 (1 members gave Thanks to brotalnia for this useful post)
-
Member
Hi Brotalnia,
First off, thank your very much for this repack, my entire family thanks you.
After your reply last night I went looking for the spawns I created in the creature table. That was a task, let me tell you. I gave up and ended up exporting from backup the creature table that was in good health and importing it back into the broken table. Worked like a charm.
Along this topic, is there a way to identify which creatures have scripts (such as something in the database I can search for) and which do not, so that I can continue to spawn in bosses that won't break the server in this manner?
Thanks again for your quick reply on this!
-
Elite User
If the `ScriptName` column in `creature_template` is empty then it does not use a hardcoded script and won't crash the server.