Jump to content
  • 0

rAthena connecting problems


Mentalist

Question


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   1
  • Joined:  09/23/12
  • Last Seen:  

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

20 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   1
  • Joined:  09/23/12
  • Last Seen:  

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.

Link to comment

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   1
  • Joined:  09/23/12
  • Last Seen:  

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

post-8076-0-23560600-1350411779_thumb.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

Can you show us the map_athena.conf, char_athena.conf and login_athena.conf? Only the IP part.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

Is this your computer or you have a VPS? if that is your computer you can use localhost for your IP

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi Mentalist,

You will need to portforward the ports for the map/char/login servers (6900, 6121, 5121). You can use this site to learn how to portforward for your router: http://portforward.com/

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   1
  • Joined:  09/23/12
  • Last Seen:  

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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  350
  • Reputation:   43
  • Joined:  09/07/12
  • Last Seen:  

in char_athena change the login ip to 127.0.0.1

in map_athena change the char ip to 127.0.0.1

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

oh, you're the one from the previous thread that has an attachment with peoples as the wallpaper. okay, answers will be written there.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   1
  • Joined:  09/23/12
  • Last Seen:  

I've done my portforwarding and nothing changes

Then i tryed this (image)

i dunno what to do. there's something am i missing?

post-8076-0-81687800-1350473909_thumb.jpg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   29
  • Joined:  10/11/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   1
  • Joined:  09/23/12
  • Last Seen:  

Yeah i know, but the curious fact is that the id is : username and pass : password

i can't undestand.. i tryed everything

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   29
  • Joined:  10/11/12
  • Last Seen:  

I use and I didn't changed.

2utkmjc.jpg

See... normal.

Edited by Keops
Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

@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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  95
  • Reputation:   29
  • Joined:  10/11/12
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  271
  • Reputation:   7
  • Joined:  01/06/12
  • Last Seen:  

but your settings are not recommended if you will host it on a VPS because it would be easy to hack your server

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   1
  • Joined:  09/23/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  68
  • Reputation:   12
  • Joined:  09/05/12
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  67
  • Reputation:   1
  • Joined:  09/23/12
  • Last Seen:  

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

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