Jump to content

Recommended Posts

Posted

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.

Posted

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.

Posted

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.

Posted

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

Posted

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?

Posted

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

Posted

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.

Posted

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

Posted

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

Posted

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

Posted

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.

Posted

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

  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

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

Loading...
  • Recommended Cloud Solution


    ksweb.net

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.