Jump to content
  • 0

Seemingly random map server disconnects


Question

Posted

One step forward, one step back...

I've managed to get connected to my server, created a character and log in. I can move around, travel through warps.

The issue I'm running into though is randomly when I go to attack a mob my map server disconnects without any error signals shown in the console.

The only information I receive via the console is

[status]: Map-server #0 has disconnected.

[status]: set users eAthena : 0

Further attempts to log in bring up character select but when choosing the character the obvious result happens:

[info]: Connection Closed. No map servers available.

I'm using the latest REAM trunk for this, hosting on a debian 64bit server compiled with SQL. The client is 20110111 and the mmo.h is set to the same for packetver

I'm not running anything custom at the moment, only some alterations to configuration settings.

The crashes themselves seem completely random. Sometimes I can get enough hits in to kill the mob and actually loot its drops. Sometimes I only get one hit in and it crashes.

16 answers to this question

Recommended Posts

  • 0
Posted

No. The message I do receive is:

[Error]: Server received crash signal! Attempting to save all online characters!

Perhaps I am missing a setting somewhere, but is it possible to turn up the console details so I can catch any other error messages?

  • 0
Posted (edited)

I'm not saying 64 bit is buggy or whatever but my suggestion is use 32bit. Especially when using REAM or 3CeAm. But you can always try to check what's crashing your server by using GDB.

Edited by ragnazorg
  • 0
Posted

I'm pretty sure Judas is saying that he gets disconnected with ReAM (I could be wrong).

Which I can see, because the same happened to me. My issue was missing mobs and mob skills in the db.txt files for Renewal.

Does your map server specify any specific issues such as missing mobs?

  • 0
Posted

Actually, yes it does throw a number of errors regarding unknown mob IDs in addition to some prior errors in item scripts and item delay information.

Additionally I am noticing a couple of invalid job ID errors early on as well.

However, all of the mob ID errors seem to be for the newer fields and dungeons (Bifrost, El Discastes, etc).

But it's good to know it wasn't me messing things up if others are experiencing the same crash.

  • 0
Posted

It won't negatively affect things, but you will receive those errors until you have a completed mob_db and mob_skill_db. You may have an outdated SVN, I'm not entirely sure, but we had to manually fix ours. xD

That would be your issue, though. I would either look in to Renewal projects that is up-to-date, or revert.

  • 0
Posted

well the dc error, i read from the ream topic that there are a couple lines to comment out I believe to bypass the dc

Which topic would this be?

And yes, still happening with the latest revision.

  • 0
Posted (edited)
open battle.c and then fine

if(wd.damage || wd.damage2){

wd.damage = battle_calc_random_attack(sd, sc, sstatus, wd.damage, rand_atk, (flag.cri?1:0)|(sd->right_weapon.overrefine?2:0));

if( flag.lh )

wd.damage2 = battle_calc_random_attack(sd, sc, sstatus, wd.damage2, rand_atk2, (flag.cri?1:0)|(sd->left_weapon.overrefine?2:0));

}

and comment it out then recompile tell me if this work

Edited by Judas
  • 0
Posted (edited)

Hah. I found that just a bit after I posted. There's an alteration (missing an sd && apparently). Once I made that the random server crashes are gone!

Thanks for the pointers, everyone.

Edited by babillon

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.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...