Jump to content
  • 0

Unknown Cause of Server Crashing


nicoscene

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  154
  • Reputation:   6
  • Joined:  04/26/12
  • Last Seen:  

Can someone help me decipher this? (this is eAthena emulator btw, not rAthena)

 

G4tyNR6.png

Edited by nicoscene
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  351
  • Reputation:   263
  • Joined:  09/08/13
  • Last Seen:  

Open ../src/common/socket.c and before:

fd_set readfds;

add:

#ifndef MSG_NOSIGNAL
	#define MSG_NOSIGNAL 0
#endif

In the function send_from_fifo change:

len = sSend(fd, (const char *) session[fd]->wdata, (int)session[fd]->wdata_size, 0);

to:

len = sSend(fd, (const char *) session[fd]->wdata, (int)session[fd]->wdata_size, MSG_NOSIGNAL);

After that you have to save changes and recompile the server.

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...