Jump to content
  • 0

Seemingly random map server disconnects


babillon

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   2
  • Joined:  11/27/11
  • Last Seen:  

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.

Link to comment
Share on other sites

16 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  250
  • Reputation:   44
  • Joined:  11/13/11
  • Last Seen:  

Did you see

map-server segmentation fault?

If you do install GDB (linux)

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   2
  • Joined:  11/27/11
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  250
  • Reputation:   44
  • Joined:  11/13/11
  • Last Seen:  

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   2
  • Joined:  11/27/11
  • Last Seen:  

I am, yes. I'm running 64bit Debian (and I have compiled with --enable-64bit flag as well).

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  250
  • Reputation:   44
  • Joined:  11/13/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  201
  • Reputation:   47
  • Joined:  11/17/11
  • Last Seen:  

Did you make any server modifications such as new items, source edits or anything that could be relevant?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

no i can confirm that i checked out ream running on my linux crashes to when getting hit or killing a mob

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  250
  • Reputation:   44
  • Joined:  11/13/11
  • Last Seen:  

@Judas - huh?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   8
  • Joined:  11/28/11
  • Last Seen:  

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?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   2
  • Joined:  11/27/11
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  55
  • Reputation:   8
  • Joined:  11/28/11
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.00
  • Content Count:  250
  • Reputation:   44
  • Joined:  11/13/11
  • Last Seen:  

@Aurora, got confused cause the topic starter is babillon then Judas posted the same lol.

@Babillon, the crashing still occurs?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   2
  • Joined:  11/27/11
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  2244
  • Reputation:   182
  • Joined:  11/19/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   2
  • Joined:  11/27/11
  • Last Seen:  

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
Link to comment
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.   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.

×
×
  • Create New...