Jump to content
  • 0
noobsee

char-server.exe crashed

Question

Hi, 

 

I am running in:

- Windows 8.1 64bit

- XAMPP with MySQL 14

 

My database issue is (probably) fixed,

But I right now I run with other issue, which is:

Everytime user login to character selection, my char-server.exe crashes with these log:

 

 

 

 

From char-server.exe:
 

[info]: Attempt to connect to login-server...
[status]: Connecting to xxxxxxxxxx
[status]: Connected to login-server (connection #2).
[status]: Awaiting maps from map-server.
[status]: Map-Server 0 connected: 875 maps, from IP xxxxxxxxxx port xxxx.
[status]: Map-server 0 loading complete.
[info]: request connect - account_id:2000000/login_id1:1860998339/login_id2:3532
65264
[info]: Loading Char Data (2000000)
 
Char-Server has crashed!
Restarting in 15 seconds, press Ctrl+C to cancel.

 

and

 

 from map-server.exe:
 

[status]: Connecting to 127.0.0.1:881
[Error]: make_connection: connect failed (socket #2, error 10061: No connection
could be made because the target machine actively refused it.
)!
[status]: Connecting to 127.0.0.1:881
[Error]: make_connection: connect failed (socket #2, error 10061: No connection
could be made because the target machine actively refused it.
)!
[status]: Connecting to 127.0.0.1:881
[Error]: make_connection: connect failed (socket #2, error 10061: No connection
could be made because the target machine actively refused it.
)!
[status]: Connecting to 127.0.0.1:881
[status]: Logging in to char server...
[status]: Successfully logged on to Char Server (Connection: '2').
[status]: Sending maps to char server...
[status]: Event 'OnInterIfInit' executed with '0' NPCs.
[status]: Map Server is now online.
[info]: Received Fame List of '0' characters.

 

and

 

 

from login-server.exe
 
[status]: The login-server is ready (Server is listening on the port 6900).
 
[info]: Connection request of the char-server 'JOGRO-Hercules' @ xxxxxxxxxxx
 (account: 's1', pass: 'ec6ef230f1828039ee794566b9c58adc', ip: 'xxxxxxxxxxx')
[Notice]: Authentication accepted (account: s1, id: 1, ip: xxxxxxxxxxxxxx)
[status]: Connection of the char-server 'JOGRO-Hercules' accepted.
[status]: Request for connection of noobsee_m (ip: xxxxxxxxxxxxxxx).
[Notice]: Account creation (account noobsee, id: 2000000, pass: 48dc8d29308eb256
edc76f25def07251, sex: M)
[Notice]: Authentication accepted (account: noobsee, id: 2000000, ip: 10.212.8.2
28)
[status]: Connection of the account 'noobsee' accepted.
[info]: Closed connection from 'xxxxxxxxxxxx'.
[status]: Char-server 'JOGRO-Hercules' has disconnected.
[info]: Connection request of the char-server 'JOGRO-Hercules' @ xxxxxxxxxxxxx
 (account: 's1', pass: 'ec6ef230f1828039ee794566b9c58adc', ip: 'xxxxxxxxxxxxxx')
[Notice]: Authentication accepted (account: s1, id: 1, ip: xxxxxxxxxxxxxxx)
[status]: Connection of the char-server 'JOGRO-Hercules' accepted.
[status]: Request for connection of noobsee_m (ip: xxxxxxxxxxxxxxxx).
[Notice]: Attempt of creation of an already existing account (account: noobsee_M
, pass: 48dc8d29308eb256edc76f25def07251, received pass: 48dc8d29308eb256edc76f2
5def07251)
[info]: Closed connection from 'xxxxxxxxxx'.
[status]: Request for connection of noobsee (ip: xxxxxxxxxxxx).
[Notice]: Authentication accepted (account: noobsee, id: 2000000, ip: xxxxxxxx)
[status]: Connection of the account 'noobsee' accepted.
[info]: Closed connection from 'xxxxxxxxxxx'.
[status]: Char-server 'JOGRO-Hercules' has disconnected.
[info]: Connection request of the char-server 'JOGRO-Hercules' @ xxxxxxxxxxxx
 (account: 's1', pass: 'ec6ef230f1828039ee794566b9c58adc', ip: 'xxxxxxxxxxx')
[Notice]: Authentication accepted (account: s1, id: 1, ip: xxxxxxxxxxxxx)
[status]: Connection of the char-server 'JOGRO-Hercules' accepted.

 

 

 

The servers were all running fine until user try to get into the character selection (screen after selecting the server).

Anyone can help me?

 

UPDATE:

After debugging the char-server.exe I got the error pointed to this line:

 

 /trunk/src/char/char.c
 
//----------------------------------------
// Function to send characters to a player
//----------------------------------------
int char_mmo_char_send_characters(int fd, struct char_session_data* sd)
{
int j, offset = 0;
nullpo_ret(sd);
#if PACKETVER >= 20100413
offset += 3;
#endif
if (save_log)
ShowInfo("Loading Char Data ("CL_BOLD"%d"CL_RESET")n",sd->account_id);
 
j = 24 + offset; // offset
WFIFOHEAD(fd,j + MAX_CHARS*MAX_CHAR_BUF);
WFIFOW(fd,0) = 0x6b;
#if PACKETVER >= 20100413
WFIFOB(fd,4) = MAX_CHARS; // Max slots.
WFIFOB(fd,5) = sd->char_slots; // Available slots. (aka PremiumStartSlot)
WFIFOB(fd,6) = MAX_CHARS; // Premium slots. AKA any existent chars past sd->char_slots but within MAX_CHARS will show a 'Premium Service' in red
#endif
memset(WFIFOP(fd,4 + offset), 0, 20); // unknown bytes
j+=chr->mmo_chars_fromsql(sd, WFIFOP(fd,j)); //  HERE IS THE BREAK POINTER
WFIFOW(fd,2) = j; // packet len
WFIFOSET(fd,j);
 
return 0;
}
 

But I stil ldon't know what to do... :unsure:

Thank you

Edited by noobsee

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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

×
×
  • Create New...

Important Information

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