Jump to content
  • 0

map server, char server socket #2


Question

15 answers to this question

Recommended Posts

Posted

I have a similar error, but with 3CeAM. It seems quite a few people have this problem, i don't know what the cause is, i have port forwarded, have mysql up and running and have modified the subnet, map and char conf files, as well as the clientinfo in my data folder. When i try to connect it just says failed to connect. Can anyone explain or give a solution?

Thanks

Posted

Still having the problem, don't know why though.

Here are screenies of my map_athena, char_athena, subnet_athena and clientinfo

The first 3 are the only 3 files i have edited serverside.

post-1344-0-66533700-1327520772_thumb.jpg

post-1344-0-99390500-1327520775_thumb.png

post-1344-0-29021300-1327520785_thumb.jpg

post-1344-0-25555900-1327520790_thumb.jpg

post-1344-0-34775300-1327520796_thumb.jpg

Posted (edited)

Please use the following first and then tell us if this worked.

conf/char_athena.conf

login_ip: 127.0.0.1
char_ip: 127.0.0.1

conf/map_athena.conf

char_ip: 127.0.0.1
map_ip: 127.0.0.1

conf/login_athena.conf

// SQL
account.sql.db_hostname: 127.0.0.1
account.sql.db_port: 3306
account.sql.db_username: <Your DB ID>
account.sql.db_password: <Your DB Pass>
account.sql.db_database: <Your DB>
//account.sql.codepage:
account.sql.case_sensitive: no
account.sql.account_db: login
//account.sql.accreg_db: global_reg_value

search your clientinfo.xml and replace with these values

<address>127.0.0.1</address>

and see if everything will work as intended. IF it did work change these values.

conf/char_athena.conf

login_ip: 127.0.0.1
char_ip: WAN IP/No-IP

conf/map_athena.conf

char_ip: 127.0.0.1
map_ip: WAN IP/No-IP

Make sure after you do the port forward thingy, reboot your router PROPERLY else the changes

will be undone and reverted back.

Edited by Magnetix
Posted (edited)

No,no. You got it wrong... For your local IP address, it is wrong to use your Router's Address.. It should be

the IP of the machine itself... Open your command prompt and type ipconfig and then use the ip from IP Address.

usually its 192.168.1.2 or 192.168.0.2

and btw try the configs I posted above.

Edited by Magnetix
Posted

Just did it with your first settings, all good. Gotta try it with the second one. If it doesn't work i'll try changing the local ip address on the port forward settings.

Update: Amazing! When i changed my settings to what you said it worked magically! Got to check whether it works on a different machine, which shouldnt be a problem as its on a usb drive. Although do i need to change anything when i distribute the cleint files?

Thanks for all your help!

Update 2: Just experimented putting my WAN ip into the clientinfo.xml instead of using 127.0.0.1 Once again couldn't connect. Going to try changing those port forward setting around.

Posted

When you're playing on a same machine with your server, you should use 127.0.0.1 in clientinfo, else you won't be able to connect.

Now if the machine is in the same network as the server use LAN/WAN, and for people who are outside your network, use WAN.

In port forward, local IP should ALWAYS contain the LAN IP of the machine your server running.

Posted

Unfortuanatley i have ran across another problem. My IP keeps changing, so i've made an acount and host thing on no-ip and have downloaded the program, but i don't know what i should type in my conf files to replace the WAN IP. My username is hatedigi and the domain name i picked was no-ip.info

Thanks in advance

Update: solved, managed to find the answer through google.

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