Search the Community
Showing results for tags 'segmentation fault'.
Hey everyone! I've starting with scripting on a Trinitycore Server and now i'm facing a little bit of a Problem. I've created a custom boss and sometimes when you attack the boss, the whole server crashes and sometimes it doesn't - other than that he works completely fine. So it's just the Problem, that sometimes the Server crashes on pulling him. So i think it has something to do with the Initialize i believe? The Boss is on a custom instance map. This is my first Boss script so i'm sorry when it's a bit messy. Open the Spoiler for more Informations and the Script of the Boss:
Hello, when I try to start my realm I got this Loading Warden Action Overrides... Deleting expired bans... Calculate next daily quest reset time... Calculate next weekly quest reset time... Calculate next monthly quest reset time... Calculate random battleground reset time... Calculate guild limitation(s) reset time... World initialized in 0 minutes 15 seconds TC>TC>Couldn't bind to 127.0.0.1:7878 /home/Lici/ElunaTrinityWotlk/src/server/shared/Networking/SocketMgr.h:35 in ~SocketMgr ASSERTION FAILED: !_threads && !_acceptor && !_threadCount StopNetwork must be called prior to SocketMgr destruction Segmentation fault But I don't know why, I just change a line in ObjectMgr.cpp : itemTemplate.ItemStat.ItemStatValue = int32(fields[29 + i*2].GetInt16()); to itemTemplate.ItemStat.ItemStatValue = int32(fields[29 + i*2].GetInt32());