- Feb 8, 2004
- 1,529
- 1
- 184
Guide: Hosting over the Internet and LAN 1.9
Apparently there is no working guide on how to do this on 1.9 and i figured this out a couple of days ago, there are a few ways to set this up it all depends on how you plan to host. This guide will explain how to set it up so you can play on the same PC or over a LAN, i will also explain how to set up a no ip service for people who have a dynamic ip.
First of all you will need to set up your network to have a static ip, if your not sure how to do this research it or ask help in another thread (by network i mean your conection to the router and/or your LAN)
Once that is done here comes the fun part, at this point there are a few options.
Hosting over the internet and playing on the same machine:
Go through all your ip's and make sure they are all set to 127.0.0.1
Hosting over the internet with a router and playing on another pc conected to the same router:
Set all your ip's in your files (except for anything to do with the reg server) to the ip address your computer uses on the network.
Hosting over the internet with a router but playing over a seperate LAN:
Set all your files (excpet for the reg server) to your second networks ip address (may begin with somthing like 169.254.xxx.xxx).
This next part looks at setting up a no ip service for use with dynamic ip internet conections, if you have a static ip internet skip to the next part.
Firstly go to This address and sign up there for your no ip account, once signed up log in.
Now you will need to add a new service, on the left of the screen you will see an area labled "Hosts/Redirects" click on add. The next screen is where you set a name for your service, try to keep it short since problem can occur with long names (if you can shorten the begining of the host name to 4 or 5 characters)
Once this is set up go into the downloads section and get the no ip dynamic ip client and install it. Once installed you need to give it some information, set it up with the e-mail address and password you used to create your no ip account, once opend you should see the host service you created infront of you, click the tick box for it to update the the ip address constanntly (set intervals)
Once this is done go into the option and set it to run as a system service, this way it reloads and updates the ip every time you reboot your pc, you can also set the interval in the options, i would recomend an interval of 15 mins.
The next section goes into setting up the server with the no ip address, if you have a static ip internet use your internet ip inplace where the guide says.
Go into the DBServer and load up !serverinfo.txt it will look somthing like this
127.0.0.1 127.0.0.1 7200
change the second ip address with the no ip address you just made (example
127.0.0.1 tevo.no-ip.org 7200 ) save and close that.
Now go into your Login Server and load up !addrtable.txt it should look somthing like this
Foundation Foundation 127.0.0.1 127.0.0.1 127.0.0.1:7100
change the second and third ips with the no ip service you created (example
Foundation Foundation 127.0.0.1 tevo.no-ip.org tevo.no-ip.org:7100 ) save and close that.
Now go into your mir200 folder and load up !runaddr.txt it should look like this
127.0.0.1
change it to the no ip service you made (example
tevo.no-ip.org ) save and close that.
The next part looks at hexing your client manualy in order for it to use the no ip service (the ledu ip changer will not work) if you have a static ip for your internet use the ledu ip changer, for people setting up the no ip hex i would recomend using the ledu ip changer first and set your server name correctly and the ip as 127.0.0.1
Now open your exe in your prefered hex editor, this example shows it in Hex Workshop. Search the exe for a text string as your server name (eg search for Foundation) it should look somthing like this:
The red circled "09" is the length of the string, if you are not familiar with hexing here is a little tip. As you can see the string length is 9 characters long (127.0.0.1) and your thinking a 10 length string is set as "10"? nope, Hexing uses letters A - F aswell so if the string was 10 long it would be "0A", setting it as 10 will make it think the string is 16 characters long.
Hex the ip manualy with your no ip address you made (example tevo.no-ip.org) and set the apropiate length, save and close that. this exe is for any 1 conecting to your server over the internet, for you to play over a lan you will need a seperate exe with the ip set to the ip address of the PC hosting over the network. Then you will need to use MirConfig to bind the exe to your dll, load up mirconfig, choose the exe and dll and set the password (more than likley pie) and click save.
This final section applies the final changes needed to make everythng effective. Load up your DB server, you will see 3 buttons at the bottom click on the far right one you will then get a screen looking somthing like this
you will need to set the ip how it is set in your server files in the highlighted area below
click apply and close then close your db server.
next load up your login server and double click in the white area at the top, you should get a screen like this
copy the text highlighted into the box below and change the ip to how it is set in your server files (be careful, it should looklike " serverip:7100") and check the box next to it save then close that.
Now your server should be set up correctly to be accessed over the internet and LAN if you have a friend that nice enough to test it over the internet go ahead and trial it over the LAN at the same time, if you have any problems i will try my best to help you out.
/Anon
Requests stickie ^^
Apparently there is no working guide on how to do this on 1.9 and i figured this out a couple of days ago, there are a few ways to set this up it all depends on how you plan to host. This guide will explain how to set it up so you can play on the same PC or over a LAN, i will also explain how to set up a no ip service for people who have a dynamic ip.
First of all you will need to set up your network to have a static ip, if your not sure how to do this research it or ask help in another thread (by network i mean your conection to the router and/or your LAN)
Once that is done here comes the fun part, at this point there are a few options.
Hosting over the internet and playing on the same machine:
Go through all your ip's and make sure they are all set to 127.0.0.1
Hosting over the internet with a router and playing on another pc conected to the same router:
Set all your ip's in your files (except for anything to do with the reg server) to the ip address your computer uses on the network.
Hosting over the internet with a router but playing over a seperate LAN:
Set all your files (excpet for the reg server) to your second networks ip address (may begin with somthing like 169.254.xxx.xxx).
This next part looks at setting up a no ip service for use with dynamic ip internet conections, if you have a static ip internet skip to the next part.
Firstly go to This address and sign up there for your no ip account, once signed up log in.
Now you will need to add a new service, on the left of the screen you will see an area labled "Hosts/Redirects" click on add. The next screen is where you set a name for your service, try to keep it short since problem can occur with long names (if you can shorten the begining of the host name to 4 or 5 characters)
Once this is set up go into the downloads section and get the no ip dynamic ip client and install it. Once installed you need to give it some information, set it up with the e-mail address and password you used to create your no ip account, once opend you should see the host service you created infront of you, click the tick box for it to update the the ip address constanntly (set intervals)
Once this is done go into the option and set it to run as a system service, this way it reloads and updates the ip every time you reboot your pc, you can also set the interval in the options, i would recomend an interval of 15 mins.
The next section goes into setting up the server with the no ip address, if you have a static ip internet use your internet ip inplace where the guide says.
Go into the DBServer and load up !serverinfo.txt it will look somthing like this
127.0.0.1 127.0.0.1 7200
change the second ip address with the no ip address you just made (example
127.0.0.1 tevo.no-ip.org 7200 ) save and close that.
Now go into your Login Server and load up !addrtable.txt it should look somthing like this
Foundation Foundation 127.0.0.1 127.0.0.1 127.0.0.1:7100
change the second and third ips with the no ip service you created (example
Foundation Foundation 127.0.0.1 tevo.no-ip.org tevo.no-ip.org:7100 ) save and close that.
Now go into your mir200 folder and load up !runaddr.txt it should look like this
127.0.0.1
change it to the no ip service you made (example
tevo.no-ip.org ) save and close that.
The next part looks at hexing your client manualy in order for it to use the no ip service (the ledu ip changer will not work) if you have a static ip for your internet use the ledu ip changer, for people setting up the no ip hex i would recomend using the ledu ip changer first and set your server name correctly and the ip as 127.0.0.1
Now open your exe in your prefered hex editor, this example shows it in Hex Workshop. Search the exe for a text string as your server name (eg search for Foundation) it should look somthing like this:
The red circled "09" is the length of the string, if you are not familiar with hexing here is a little tip. As you can see the string length is 9 characters long (127.0.0.1) and your thinking a 10 length string is set as "10"? nope, Hexing uses letters A - F aswell so if the string was 10 long it would be "0A", setting it as 10 will make it think the string is 16 characters long.
Hex the ip manualy with your no ip address you made (example tevo.no-ip.org) and set the apropiate length, save and close that. this exe is for any 1 conecting to your server over the internet, for you to play over a lan you will need a seperate exe with the ip set to the ip address of the PC hosting over the network. Then you will need to use MirConfig to bind the exe to your dll, load up mirconfig, choose the exe and dll and set the password (more than likley pie) and click save.
This final section applies the final changes needed to make everythng effective. Load up your DB server, you will see 3 buttons at the bottom click on the far right one you will then get a screen looking somthing like this
you will need to set the ip how it is set in your server files in the highlighted area below
click apply and close then close your db server.
next load up your login server and double click in the white area at the top, you should get a screen like this
copy the text highlighted into the box below and change the ip to how it is set in your server files (be careful, it should looklike " serverip:7100") and check the box next to it save then close that.
Now your server should be set up correctly to be accessed over the internet and LAN if you have a friend that nice enough to test it over the internet go ahead and trial it over the LAN at the same time, if you have any problems i will try my best to help you out.
/Anon
Requests stickie ^^
Last edited: