NANORAY Posted January 20, 2012 Group: Members Topic Count: 95 Topics Per Day: 0.02 Content Count: 210 Reputation: 3 Joined: 12/20/11 Last Seen: March 1, 2019 Share Posted January 20, 2012 what will i do to fix this error. i need a guide. Quote Link to comment Share on other sites More sharing options...
hatedigi Posted January 21, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 18 Reputation: 0 Joined: 01/07/12 Last Seen: December 27, 2020 Share 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 Link to comment Share on other sites More sharing options...
JayPee Posted January 21, 2012 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 633 Reputation: 78 Joined: 11/14/11 Last Seen: September 20, 2017 Share Posted January 21, 2012 try to turn off your firewall in windows or iptable in linux. I think its a port problem Quote Link to comment Share on other sites More sharing options...
hatedigi Posted January 22, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 18 Reputation: 0 Joined: 01/07/12 Last Seen: December 27, 2020 Share 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 Link to comment Share on other sites More sharing options...
Judas Posted January 22, 2012 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 2244 Reputation: 182 Joined: 11/19/11 Last Seen: September 15, 2024 Share Posted January 22, 2012 post your char_athena and map_athena configs Quote Link to comment Share on other sites More sharing options...
hatedigi Posted January 25, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 18 Reputation: 0 Joined: 01/07/12 Last Seen: December 27, 2020 Share 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 Link to comment Share on other sites More sharing options...
Lighta Posted January 25, 2012 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 737 Reputation: 216 Joined: 11/29/11 Last Seen: December 20, 2020 Share 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 Link to comment Share on other sites More sharing options...
Magnetix Posted January 26, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 446 Reputation: 30 Joined: 12/08/11 Last Seen: October 13, 2024 Share 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 Link to comment Share on other sites More sharing options...
hatedigi Posted January 26, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 18 Reputation: 0 Joined: 01/07/12 Last Seen: December 27, 2020 Share Posted January 26, 2012 @magnetix will try this ina bit, gotto go to school. Here is a picture of my port forwarding screen Quote Link to comment Share on other sites More sharing options...
Kanage Posted January 26, 2012 Group: Members Topic Count: 33 Topics Per Day: 0.01 Content Count: 162 Reputation: 3 Joined: 01/23/12 Last Seen: October 8, 2012 Share 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 Link to comment Share on other sites More sharing options...
Magnetix Posted January 26, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 446 Reputation: 30 Joined: 12/08/11 Last Seen: October 13, 2024 Share 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 Link to comment Share on other sites More sharing options...
hatedigi Posted January 26, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 18 Reputation: 0 Joined: 01/07/12 Last Seen: December 27, 2020 Share 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 Link to comment Share on other sites More sharing options...
Magnetix Posted January 27, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 446 Reputation: 30 Joined: 12/08/11 Last Seen: October 13, 2024 Share 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 Link to comment Share on other sites More sharing options...
hatedigi Posted January 27, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 18 Reputation: 0 Joined: 01/07/12 Last Seen: December 27, 2020 Share Posted January 27, 2012 Wow thanks a lot man, you're a real help! Finally can begin distubiting this to my friends! Quote Link to comment Share on other sites More sharing options...
Magnetix Posted January 28, 2012 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 446 Reputation: 30 Joined: 12/08/11 Last Seen: October 13, 2024 Share 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 Link to comment Share on other sites More sharing options...
hatedigi Posted January 29, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 18 Reputation: 0 Joined: 01/07/12 Last Seen: December 27, 2020 Share 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 Link to comment Share on other sites More sharing options...
Question
NANORAY
what will i do to fix this error. i need a guide.
Link to comment
Share on other sites
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.