aquilina Posted January 14, 2015 Report Posted January 14, 2015 sorry i wasnt sure where to put this, but i posted it on the unity forum and believe i would get a better response here, i wanted to connect ativism to a Hamachi just temporarily i have attempted this but didnt manage to get it to work i was wondering if anyone was able to assist me with this, or know of a free way to get it online for free, Hamachi was really just a free way i was looking for, only interested in having less than 10 people online at once for testing purposes. Quote
Chasle Posted January 14, 2015 Report Posted January 14, 2015 I don't understand the reason why you want to use Hamachi? You can do port forward on your router and then use a free DDNS service. You can start the server on your own machine. Quote
aquilina Posted January 14, 2015 Author Report Posted January 14, 2015 im sorry but i havent worked with this before, would you have an available material online for me to go through to set this up. Quote
Chasle Posted January 14, 2015 Report Posted January 14, 2015 If you mean for port fowarding check on youtube. Type down your router information and port fowarding you will surely find a video telling you how to forward your ports. As for the port you will need to forward: Server Ports To allow remote connections to the server the following ports need to be opened: 5040-5060 5090 9005-9010 They should be opened for both UDP and TCP connections. Also a great place to start is to check out the wiki: http://atavismonline.com/wiki/doku.php?id=setting_up_the_server Also if you install it on your own pc, make sure to add open the ports in your firewall. Quote
aquilina Posted January 15, 2015 Author Report Posted January 15, 2015 i had opened the ports 5040-5060 5090 9005-9010 i believe i may have done it right i will link an image i configured the content_admin_connection.ini Auth.properties world.properties but unsure if i did it correctly i used a DDNS Name for my IP which is what i put in there instead of my IP it self. still not workign when i try to log in says Unable to log in. and yes i did restart the server and start it back up again. Open Ports image https://www.dropbox.com/s/kw3do9nb8vb99wd/Open Ports.png?dl=0 File Configuration content_admin_connection.ini Auth.properties world.properties https://www.dropbox.com/s/gn1ox8zmbyykyvc/File%20Configurations.png?dl=0 Quote
Chasle Posted January 15, 2015 Report Posted January 15, 2015 Have you in unity, on the login scene, on the atavism core change the Master Server for your ddns (under the Client API Script). Also have you change it also in the database? under DB Master->Table World? Quote
aquilina Posted January 15, 2015 Author Report Posted January 15, 2015 yes i have done that for both and still same result Quote
Chasle Posted January 15, 2015 Report Posted January 15, 2015 Just notice your MySQL port is not opened Port 3306. When you start the server you have a message saying ready to login? after starting the auth.sh and world.sh? Also you might try to turn off your pc firewall to test it out...! Here is my list of opened ports for Atavism Server: 5040, 5041, 5050, 5051, 5067, 5090, 9005, 9010, 20377 Quote
aquilina Posted January 15, 2015 Author Report Posted January 15, 2015 ok i done that, opened up the extra ports, turned off my firewall and still nothing unable to login Quote
Chasle Posted January 15, 2015 Report Posted January 15, 2015 You have started the Server on your own machine? in the Cygwin windows, what do you see? after starting auth.sh and world.sh. Also, under your server oyu have a log folder. there is a file called error.out, copy and paste the last couple of line in here. Quote
aquilina Posted January 15, 2015 Author Report Posted January 15, 2015 Starting domain server: SUCCESS Atavism server version 2.2.0 0 (- -) Starting wmgr_1 ... SUCCESS Starting combat server: SUCCESS Starting instance server: SUCCESS Starting object manager: SUCCESS Starting login manager: SUCCESS Starting proxy_1 ... SUCCESS Starting mob server: SUCCESS Starting arena server: SUCCESS Starting builder server: SUCCESS Wait for finished initializing msg... when i was testing on my own with local ip it worked fine and said ready to log in but not anymore since i tried to get it running online, under ativism_server_v2 logs there are 2 folders master & world which file did you want me to copy the last few lines out of Quote
aquilina Posted January 15, 2015 Author Report Posted January 15, 2015 Found the file, these seem like relevant error's ERROR [2015-01-15 14:51:48,370] MessageIO Duplicate agent name 'mobserver', exiting ERROR [2015-01-15 14:51:48,755] MessageIO Duplicate agent name 'arena', exiting ERROR [2015-01-15 14:51:48,765] MessageIO Duplicate agent name 'builder', exiting ERROR [2015-01-15 14:55:51,200] main DomainServer listener java.lang.RuntimeException: TcpServer contructor bind failed at atavism.server.network.TcpServer.(TcpServer.java:22) at atavism.msgsys.DomainServer.start(DomainServer.java:248) at atavism.msgsys.DomainServer.main(DomainServer.java:135) Caused by: java.net.BindException: Address already in use: bind at sun.nio.ch.Net.bind0(Native Method) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.Net.bind(Unknown Source) at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source) at atavism.server.network.TcpServer.bind(TcpServer.java:59) at atavism.server.network.TcpServer.bind(TcpServer.java:38) at atavism.server.network.TcpServer.(TcpServer.java:19) at atavism.msgsys.DomainServer.start(DomainServer.java:248) at atavism.msgsys.DomainServer.main(DomainServer.java:135) ERROR [2015-01-15 14:55:56,505] MessageIO Duplicate agent name 'wmgr_1', exiting ERROR [2015-01-15 14:55:56,541] MessageIO Duplicate agent name 'combat', exiting ERROR [2015-01-15 14:55:56,882] MessageIO Duplicate agent name 'instance', exiting ERROR [2015-01-15 14:55:58,024] MessageIO Duplicate agent name 'objmgr', exiting ERROR [2015-01-15 14:55:58,449] MessageIO Duplicate agent name 'login_manager', exiting ERROR [2015-01-15 14:55:59,569] MessageIO Duplicate agent name 'proxy_1', exiting ERROR [2015-01-15 14:55:59,888] MessageIO Duplicate agent name 'mobserver', exiting ERROR [2015-01-15 14:56:01,098] MessageIO Duplicate agent name 'builder', exiting ERROR [2015-01-15 14:56:01,100] MessageIO Duplicate agent name 'arena', exiting Quote
Chasle Posted January 15, 2015 Report Posted January 15, 2015 Check out this post for your error: http://forum.atavismonline.com/topic/247-setting-up-server/ You have the server running twice I think. Might want to reboot your pc and restart the server. Quote
aquilina Posted January 15, 2015 Author Report Posted January 15, 2015 hi i reboot PC and started server again and im getting the same error again auth is just stuck on avism.logs=../logs/master" Starting authentication server: SUCCESS Wait for finished initializing msg... ERROR [2015-01-15 15:33:45,684] main MasterServer.main caught exception atavism.server.util.AORuntimeException: could not connect to database: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.net.ConnectException: Connection refused: connect that was the only error in the log everythign else was Debug Quote
Chasle Posted January 15, 2015 Report Posted January 15, 2015 Has your sql server started upon pc bootup (can you connect to mysql?). When you installed mysql did you say you wanted it to auto start? Quote
aquilina Posted January 15, 2015 Author Report Posted January 15, 2015 no i manually start Xamp to run it. Quote
aquilina Posted January 15, 2015 Author Report Posted January 15, 2015 Failed to connect to login server at localhost:9005 - System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it. found out this is hats causing the error, it will let me create new accounts but not log in. tested with my phone tethered to my laptop I also have my firewall turned off for this on my main PC I think its my auth server I don't think it starts up properly. Quote
Chasle Posted January 15, 2015 Report Posted January 15, 2015 Make sure that you have the correct informations in the 3 files you need to change. I could'nt say wich one, but one of them you did not change the value from localhost to oyu DDNS... Quote
aquilina Posted January 15, 2015 Author Report Posted January 15, 2015 fixed the issues will post how i fixed them. Quote
wibo Posted February 28, 2015 Report Posted February 28, 2015 Hi Aquilina, Im having the same problem at this moment, can you post how you solved this? Thanks in advance, ~Wibo Quote
Chasle Posted February 28, 2015 Report Posted February 28, 2015 Hi, Here is a playlist ofr all the steps needed to install the server and the client. Hope it helps! Quote
wibo Posted March 1, 2015 Report Posted March 1, 2015 thanks Chasle, Awesome tutorials, it fixed this for me, Thanks! Quote
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.