NANORAY Posted January 20, 2012 Posted January 20, 2012 what will i do to fix this error. i need a guide. Quote
hatedigi Posted January 21, 2012 Posted January 21, 2012 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 Quote
JayPee Posted January 21, 2012 Posted January 21, 2012 try to turn off your firewall in windows or iptable in linux. I think its a port problem Quote
hatedigi Posted January 22, 2012 Posted January 22, 2012 Not a firewall problem, just turned it off and ran it, no server console errors but still couldn't connect to the server. Quote
Judas Posted January 22, 2012 Posted January 22, 2012 post your char_athena and map_athena configs Quote
hatedigi Posted January 25, 2012 Posted January 25, 2012 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. Quote
Lighta Posted January 25, 2012 Posted January 25, 2012 Try with a different map port since this kind of errors it's common when socket already in use. netstat -na Quote
Magnetix Posted January 26, 2012 Posted January 26, 2012 (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 January 26, 2012 by Magnetix Quote
hatedigi Posted January 26, 2012 Posted January 26, 2012 @magnetix will try this ina bit, gotto go to school. Here is a picture of my port forwarding screen Quote
Kanage Posted January 26, 2012 Posted January 26, 2012 i think its your map_ip, try to change it to your lan ip and not the wan ip for you are just in a testing stage. Quote
Magnetix Posted January 26, 2012 Posted January 26, 2012 (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 January 26, 2012 by Magnetix Quote
hatedigi Posted January 26, 2012 Posted January 26, 2012 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. Quote
Magnetix Posted January 27, 2012 Posted January 27, 2012 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. Quote
hatedigi Posted January 27, 2012 Posted January 27, 2012 Wow thanks a lot man, you're a real help! Finally can begin distubiting this to my friends! Quote
Magnetix Posted January 28, 2012 Posted January 28, 2012 Wow thanks a lot man, you're a real help! Finally can begin distubiting this to my friends! Np, glad to help a fellow newbie.. Quote
hatedigi Posted January 29, 2012 Posted January 29, 2012 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. Quote
Question
NANORAY
what will i do to fix this error. i need a guide.
15 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.