Jump to content
  • 0
Sign in to follow this  
Zeiyan

EMERGENCY! Map-server crash

Question

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

8 answers to this question

Recommended Posts

  • 0

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])){ 

Share this post


Link to post
Share on other sites
  • 0

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?

Share this post


Link to post
Share on other sites
  • 0

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

Share this post


Link to post
Share on other sites
  • 0

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"

Share this post


Link to post
Share on other sites
  • 0

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 by ZeiyanRO

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.