Zeiyan 4 Posted November 12, 2013 Good day hercules. I'm sorry but this is urgent i hope someone can help. I came from rathena and migrated my emulator to hercules. I did everything right i think (i got a fresh hercules folder and edited all the src edits manually to make sure no errors occur) I updated my SQL to fit hercules properly. No errors whatsoever the problem is after 10mins, 20mins or 30mins (randomly) my map server will crash and will leave no error message just this. [Error]: Server received crash signal! Attempting to save all online characters! Please help me. My players are kind of impatient. Please please please Quote Share this post Link to post Share on other sites
0 ossi0110 200 Posted November 12, 2013 (edited) if you running on Linux you should run the server in debug mode(GDB mode) and post the crashlog you can read more about the GDB here http://herc.ws/wiki/GDB Edited November 12, 2013 by ossi0110 Quote Share this post Link to post Share on other sites
0 Zeiyan 4 Posted November 12, 2013 Okay sir thankyou i will do that now and post it in a few minutes. Quote Share this post Link to post Share on other sites
0 Zeiyan 4 Posted November 12, 2013 it says no such directory as map-server.core. Quote Share this post Link to post Share on other sites
0 Zeiyan 4 Posted November 12, 2013 for more information i don't know if it helps but i first downloaded the hercules on my desktop (windows 8) then once i was done editing i transfered it to my VPS (asurahosting) which runs linux centos. does that make any difference? Quote Share this post Link to post Share on other sites
0 ossi0110 200 Posted November 12, 2013 did you added it into the trunk folder? on the desktop from asura ? if yes when you compile the server he is automatic in GDB mode. then you just have to rightclick in the trunk folder and use Open Terminal from here, and write gdb map-server core and then bt full 1 Zeiyan reacted to this Quote Share this post Link to post Share on other sites
0 Zeiyan 4 Posted November 12, 2013 it says: desktop/trunk/core: No file or directory then i type "bt full" (regardless of no file or directory message) then is came out as "no stack" Quote Share this post Link to post Share on other sites
0 Zeiyan 4 Posted November 12, 2013 (edited) I downloaded a fresh hercules folder then replaced the following folders with my own: npc db src conf but the results are still the same. with the gdb thing i'm very sorry but im not very familliar with it but im willing to try just help me please. thankyou so much and sorry for the trouble EDIT: when i tried to debug again (with fresh hercules folder but replaced the folders mentioned above i found the line i needed to debug) it's the code i added to make reflect shield and item reflect don't reflect when SC_SAFETYWALL is on Edited November 12, 2013 by ZeiyanRO Quote Share this post Link to post Share on other sites
0 Zeiyan 4 Posted November 12, 2013 Solved: Thankyou Sir ossi0110. Turns out this code i added is making my map-server crash: battle.c 5187: if(( flag & BF_SHORT)&& !(sc->data[sC_SAFETYWALL])) {//Bounces back part of the damage. battle.c 5224: if ((sd && sd->bonus.long_weapon_damage_return) && (!sc->data[sC_PNEUMA])){ Quote Share this post Link to post Share on other sites
Good day hercules. I'm sorry but this is urgent i hope someone can help. I came from rathena and migrated my emulator to hercules.
I did everything right i think (i got a fresh hercules folder and edited all the src edits manually to make sure no errors occur)
I updated my SQL to fit hercules properly. No errors whatsoever the problem is after 10mins, 20mins or 30mins (randomly)
my map server will crash and will leave no error message just this.
[Error]: Server received crash signal! Attempting to save all online characters!
Please help me. My players are kind of impatient. Please please please
Share this post
Link to post
Share on other sites