Jump to content
  • 0

rAthena connecting problems


Question

Posted (edited)

I set my rAthena as most guides does , but when i try to connect the server it says : attempt to connect to char server please wait.

ERROR make_connection :connect failed socket #2 error 10061.

can anyone help me please x___x

Edited by Mentalist

20 answers to this question

Recommended Posts

Posted · Hidden by Joseph, October 20, 2012 - Double posted.
Hidden by Joseph, October 20, 2012 - Double posted.

Maybe it's a usually topic , but i dunno how to solve it.

Posted

I'm using a localhost , anyway i tryed every type of ip. localhost ,wan,lan everything but nothing ..

now i 'll try to portforward hoping for something good

BTW , this is my char and map conf

----------------------------------------------------

// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
login_ip: 79.51.118.82

// The character server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1

// Login Server Port
login_port: 6900

// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: 79.51.118.82

// Character Server Port
char_port: 6121

-------------------------------------------------------------------------

// Character Server IP
// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
char_ip: 79.51.118.82

// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1

// Character Server Port
char_port: 6121

// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
map_ip: 79.51.118.82

// Map Server Port
map_port: 5121

I tryed portforwarding but it does the same problem..

Any solution?

Posted

Hi Mentalist,

If you are just trying to run a test server and not allow outside connections, then you would use '127.0.0.1' as jordan stated. And if you correctly portforwarded your ports for your LAN IP, it should have worked just fine. I'd recommend checking if you have the correct WAN IP set in your conf files; most Internet Service Providers provide you with a dynamic IP, meaning it changes every 12/24hrs.

Posted

Your user s1/p1 is incorrect, check it.

char_athena.conf / map_athena.conf

// Server Communication username and password.

userid: s1

passwd: p1

At your login table of your mysql, check if the first account is "s1/p1" too.

Posted

Hi Mentalist,

Keops provided a good reminder;

At your login table of your mysql, check if the first account is "s1/p1" too.

rAthena does not allow you to have s1 / p1 as the username and password combo for the server. You MUST change it in order for rAthena to work.

Posted

@keops

the map server already clearly stated WHERE and WHY ......

your LOGIN table in your SQL ( MySQL / PhpMyAdmin ) ...

your Username / Password / Gender are using incorrect value / data .....

make sure you provide the correct information in this file....

trunk/conf/map_athena.conf

// Interserver communication passwords, set in account.txt (or equiv.)
userid: s1
passwd: p1

// Character Server IP
// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
//char_ip: 127.0.0.1

// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1

// Character Server Port
char_port: 6121

// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
//map_ip: 127.0.0.1

spend your valuable time..and read this in detail....

SQL_Installation

Posted (edited)

Lol, I'm logged at the server with s1/p1.

login-serv, char and map, all of them are working as well.

6svof7.jpg

Check your informations...

Edited by Keops
Posted

Ok guys i re-compiled my id and password. Now if i want to login in on my server it says "rejected frome server" what pass and id i have to use? the one i used for char_athena or something else?

(Anyway now my server is working) now the problem is the reject from server xD

Posted

@Mentalist

The most common cause of "Rejected from Server" error is that you are not using the proper client. What I mean with the word 'proper' is that, you have to edit the client date (the client exe you are using) on src/common/mmo.hthen re-compile.

On src/common/mmo.h, find:

#ifndef PACKETVER
#define PACKETVER 20120410
//#define PACKETVER 20111116
#endif

Edit the:

#define PACKETVER 20120410

with the client exe you are using OR use 2012-04-10 Ragexe.

You can get that on here. Credits to Emistry.

Hope that helps.

Posted

Mh i edit my client as you said , but now it says <[string "buf"]: 10: attempt to call a global "Iter_getTable" ( a nil value)>

I almost did it, this is my last step xD i followed sharpeniero guide on tube but it doesn't help with this x__x

Mh now i followed a guide on this forum and when i start my EXE , it runs the setup for ragnarok on loop lol..

[20/10]

I re-do my gravity folder.. no errors but it still rejecting me away from server.

On cmd it says : authentication of the account 1 refused . ip : 127.0.0.1

Anyway thx for all to all for the answers

SOLVED thanks to all

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