[Release] How to make your server Non-Hamachi

01/03/2009 13:49 sherwin9#1
What Do we need?
A server, that's already running hamachi, or isn't running...
At least half of a brain cell..

What are we going to do?
We are going to make a server withouth using Hamachi.

Step 1.
If you don't know how to enter your router, please google for it. It should be easy. For linksys users, just type in your localip and you'll have to enter a password. If you haven't changed your password, then only add in the password field: "admin".

Step 2.
So now entered your router. There should be some place where it says: PortForwarding. Or something with ports etc. where you can open ports. These are the ports you have to open:

9958 - 9959 - 9960 //gamesports
5816 //authport
8080 - 80 - 8090 //you can also chose another port, this is just for your appserv
9131 //i'm not sure if this one is needed, i think it's for mysql
3306 //also mysqsl - Note this is your default port for your mysql database, not the same as appserv.

Step 3.
Save all these ports.
If you did everything correctly, you should be able to run your server withouth Hamachi, and other players will be able to connect to your Server.

Step 4.
Enjoy it -



Thanks if it helped you ;)
01/03/2009 14:13 _Emme_#2
Why just not post the release when you are back from shower?<.<
01/03/2009 14:31 ~*NewDuuDe*~#3
This is pointless, its easy to figure this out.
It takes like 2 mins to find a guide, id reccomand [Only registered and activated users can see links. Click Here To Register...]
If that doesnt help you ask on their forum and ull have a solution within a day
01/03/2009 15:41 ph03nixx#4
or just change the Config.ini and the Server.dat in to your normal IP....>.<
01/03/2009 15:47 sherwin9#5
And if you don't have any ports open nuub, how will people connect to your server? your internet will block mysql and appserv so you can't even run one................ It's just that Hamachi automatically lets you acces it...
01/03/2009 16:01 ph03nixx#6
xD with me it doesnt, i changed IP in to my IP and my friend could log in! xD
01/03/2009 16:17 koio#7
Quote:
Originally Posted by sherwin9 View Post

9958 //gameserver
9960 //gameserver
5816 //So other people can connect to you.
8080 - 80 - 8090 //you can also chose another port, this is just for your appserv
9131 //i'm not sure if this one is needed, i think it's for mysql
3306 //also mysqsl - Note this is your default port for your mysql database, not the same as appserv.
lol guy
1st why du u want to open the mysql port? so that everyone can hack u databse or what?
2nd why do u donīt use for web only port 80. i think it is much easyer then using 8080 becaze then u donīt need :8080.
3rd u need only one port the the game server. mostly it is 9958.
01/03/2009 16:18 Zanzibar#8
@ ph03nixx Cuz you got no router and your firewall accepts all ports?
01/03/2009 16:24 sherwin9#9
Quote:
Originally Posted by koio View Post
lol guy
1st why du u want to open the mysql port? so that everyone can hack u databse or what?
2nd why do u donīt use for web only port 80. i think it is much easyer then using 8080 becaze then u donīt need :8080.
3rd u need only one port the the game server. mostly it is 9958.
1st, because else it might block your msql...
2nd because some people have other programs at port 80.....
3rd as you said MOSTLY, not always

NUUB.
01/03/2009 16:30 koio#10
lol
█ but u need only one port for gamserver
█ u can change the port at all other programms and by the way i think there only a few programms usinf port 80 and i know only one :Skype
█ u donīt need to open the mysql port for a non hamachi server because the client donīt need the db and the server is on u own computer
01/03/2009 16:46 sherwin9#11
Omg, are you nuub or something? People have choises omg... Accept it or leave. You are starting nonsence discussions... Of course you can change the ports to other ports, but that doesn't mean everyone wants that???? Or am I the dumb-ass here? And I think the account server needs to acces mysql database to get the accounts and char info and items etc. or am I nuub?
01/03/2009 16:50 koio#12
Quote:
Or am I the dumb-ass here?
Yes.
Quote:
or am I nuub?
Yes.
Quote:
Omg, are you nuub or something?
No i think u are the noob.
Quote:
And I think the account server needs to acces mysql database to get the accounts and char info and items etc.
Yes the server but not the client and the server is on u own computer at not on the computer from u players
01/03/2009 17:30 _Emme_#13
Authport = 9958
Gameport = 5816
You need both of those, 9960 is not needed but I suggestion you open 9958-9960, if you sometime want to play the server alone, you can change from 9958 to 9959 or 9960.
01/03/2009 18:38 tao4229#14
But LOTF automatically redirects you to 5816 for the game server.

It's coded in bytes in the packet lol. You can fix it to allow different ports though.
If you don't get it heres how it goes.....
Client -> Auth Server(Packet 1051) - Auth server authenticates the client, 1051 contains accid and pw, and it will either echo with invalid account ID/pw or it will send back the 1055 packet, which contains the data to connect to the game server(IP, port).
LOTF runs two server sockets in one app, so you need two ports open. If you were running seperate auth/game, you could then run one auth server on one IP, and then it would forward you to a game server on another IP(What TQ does).

You can run any program on any port.... Ports are WORD, so you can use any value from 0 to 0xFFFF(65535).
01/04/2009 01:30 ph03nixx#15
Quote:
Originally Posted by Zanzibar View Post
@ ph03nixx Cuz you got no router and your firewall accepts all ports?
lol no, i just added it to my firewall thingy to accpet thingys
u kno?