Popular Post RangeR.. Posted July 9, 2014 Popular Post Share Posted July 9, 2014 (edited) Hi all, I've decided to make a tutorial for the people who want to host a server on their PC's. It will make your server online . And you can search for it in Master Server List, It may appear in 24 hours (Mine Takes 5 to 10 mins to appear in Master Server List) IMPORTANT NOTE: This tutorial is for Windows. So, let's start. Follow the steps below:- PART I 1. Go where your MTA:SA is installed (Default C:/Program Files/Multi Theft Auto 1.3) 2. Go To server/mods/deathmatch 3. Here you will see a file named "mtaserver.conf". Open the file with wordpad or notepad. 4. Enter your server name here Default MTA Server Remember: Enter the server name between ><. Example: My Server 5. Then look down, here you'll find 32. This field is required if you want more slots (More people to enter in your server) You can change it the same way you changed the server name but the maxplayers should be in digits. Maximum Amount of slots are 4096 6. Now Go down and see 1 1 Means that server will be online in sometime after starting it. 7. Now close the file and save it. 8. Now open file "acl.xml" with Notepad or Wordpad.(Directory: server>mods>deathmatch) 9. See the file, here you'll find Here Copy This and paste into acl.xml after NOTE: DO NOT REMOVE "user" here because it is required to scan the username, Enter Your Account at "user.youraccount" Example: 10. Close the file and save it. [ YOUR LOCAL SERVER IS READY ] Now we have to make it online. See the PART II if you want your server to be online + FTP for your Server Follow the PART II:- PART II 1. Open your browser and go to http://192.168.1.1 2. Enter login details (default are:- username : admin, password : admin) If you don't know about your username and password then contact your ISP. 3. Now Go To Advanced Settings > NAT > Virtual Servers ( Mine ISP is PTCL, You can search for it in your settings too) Or if you didn't find anything related to it, You can go http://www.portforwarding.com. It contains information of opening ports. 4. Now Click on "Add" to add New Ports. 5. Add 22003 for UDP ( Port Start: 22003 , Port End: 22003) 6. Add 22126 for UDP ( Port Start: 22126 , Port End: 22126) 7. Add 22005 for TCP ( Port Start: 22005 , Port End: 22005) 8. Add 44003 for UDP/TCP ( Port Start: 44003 , Port End: 44003) 9. Now minimize the window and go to start and search for cmd. 10. You'll find Command Prompt, Open it then a window will appear shortly. 11. Type "ipconfig" there and note your IPV4 Address. 12. Now return to browser and enter your IPV4 Address here. 13. Click on Add and close the browser. Ports are successfully opened now. You need to static your IP if you want your server ip not to be changed again and again. And you don't need to open ports again and again (This Field is required if you are using Wi-Fi connection) 14. Go to your windows control panel. 15. Here You'll Find Network and sharing Center. 16. Click the network and sharing center and now on the left side you'll see a control panel explorer. 17. Click on "Change Adapter Settings" 18. Minimize the Control Panel Window and type ipconfig/all in the command prompt window. Here The Required Fields Are IPV4 Address, SubNet Mask, Default Gateway and DNS Servers. Note the Required Fields and now open the control panel window again. 19. Now right click on wifi and click on properties. 20. Wifi Properties will appear now. 21. Here You'll Find Internet Protocol Version 4 (TCP/IPV4) 22. Left Click On it once and click on properties. 23. Now Entered The Required Fields Which You've noted from the command prompt. 24. But Leave Alternate DNS As it is. 25. And Click Ok. 26. Now Your server ip won't be changed again and again. 27. Now you need to download and install FileZilla FTP Client and FileZilla Server. You can google it. 28. After downloading and installing it, Open FileZilla Server and Enter IP 127.0.0.1 and port 14147. Administration Password as you wish. 29. It will connect to the server after you click Connect. 30. Now click on Edit > Users. 31. On the right side, You'll see Add Button. Click on it. 32. Enter username now and click add. 33. If you want to add password to FTP then click on your username and click "Password" here a memo box will appear, enter your FTP Password and save it. 34. On The Right side ,There's A Explorer named as "Page:" 35. Click On Shared Folder And Now click on Add 36. Here you need to choose the mta sa server direcrory C:/Program Files/Multi Theft Auto/server and then click ok. 37. Now Open FileZilla Client And Enter your IPV4 Address in Host, enter the username you created and enter the password of the username you registered. Enter Port 21 and then click ok. 38. Now You Are Ready Creating FTP 39. Now go to MTA/Server/mtaserver.exe and after the server loads type openports. The ports will successfully be opened and your server will be successfully Online. Enjoy! MORE PICS SOON Edited July 10, 2014 by Guest 4 Link to comment
John Smith Posted July 10, 2014 Share Posted July 10, 2014 Nice tutorial! Maximum Amount of slots are 1024 Actually max is 4096 Link to comment
RangeR.. Posted July 10, 2014 Author Share Posted July 10, 2014 Oh ty, It's fixed now Link to comment
tosfera Posted July 10, 2014 Share Posted July 10, 2014 Oh ty,It's fixed now You should also note that everyone their modem/router is different. If they are using a different modem/router, let them go to http://portforward.com/english/routers/port_forwarding/ Link to comment
RangeR.. Posted July 11, 2014 Author Share Posted July 11, 2014 Oh ty,It's fixed now You should also note that everyone their modem/router is different. If they are using a different modem/router, let them go to http://portforward.com/english/routers/port_forwarding/ I added it already, See the post carefully 3. Now Go To Advanced Settings > NAT > Virtual Servers ( Mine ISP is PTCL, You can search for it in your settings too) Or if you didn't find anything related to it, You can go http://www.portforwarding.com. It contains information of every router for opening ports. Link to comment
tosfera Posted July 11, 2014 Share Posted July 11, 2014 Oh ty,It's fixed now You should also note that everyone their modem/router is different. If they are using a different modem/router, let them go to http://portforward.com/english/routers/port_forwarding/ I added it already, See the post carefully 3. Now Go To Advanced Settings > NAT > Virtual Servers ( Mine ISP is PTCL, You can search for it in your settings too) Or if you didn't find anything related to it, You can go http://www.portforwarding.com. It contains information of every router for opening ports. Ohh, whoops! My bad, great tutorial then! ^^ Link to comment
spoty Posted October 2, 2014 Share Posted October 2, 2014 nice tut but i cant connect to 127.0.0.1:14147 with fillezilla.. how can i conect to my local computer? Link to comment
RangeR.. Posted November 2, 2014 Author Share Posted November 2, 2014 maybe your connection problem. Link to comment
Woovie Posted November 3, 2014 Share Posted November 3, 2014 nice tut but i cant connect to 127.0.0.1:14147 with fillezilla..how can i conect to my local computer? FTP uses 21 and 22. Link to comment
TheSmart Posted November 5, 2014 Share Posted November 5, 2014 Is that true we can host server in PC and it online 24/7? Link to comment
Jaysds1 Posted November 8, 2014 Share Posted November 8, 2014 Ya, but you would need to leave your PC on which will make it slow after 2-3 days. Link to comment
Mr_Moose Posted November 30, 2014 Share Posted November 30, 2014 You can host 24/7 on your own PC without any issues, just don't use your own client machine for that because they aren't made to run 24/7, basically any hardware works, just make sure it has a proper cooling system, is quiet and doesn't use much power and you'll be just fine. I usually build my servers in full tower cases with lots of large fans running at low speed and low power consumption. On the software side it's important to use a proper server OS like Linux Debian without GUI or maybe Windows server (if you aren't used to terminals and can afford it). You should also virtualize as much as possible and make sure you spread backups wisely over your network. A fast network is also preferable, at least 10mbt/s and fiber cable, do not use a wireless connection for a server because that will affect the ping. Link to comment
Generalissimo Posted January 8, 2017 Share Posted January 8, 2017 No matter how hard i try, i just can't seem to log into the http://192.168.1.1/ ''The most common router user names passwords are: User: "admin" pass: "admin", User: "admin" pass: "password", User: "admin" Pass: "<your isp name>". run "ipconfig /flushdns" then run "ipconfig /renew". if you still cannot connect to your router then open internet explorer Options > Advanced tab > click reset and follow instructions, before doing that: right click the network connection icon on the taskbar and click "Diagnose and repair". Also make sure that you do not have any infections and clear all cookies and temporary internet files. '' I tried all of this things, but it just WONT let me IN. I even tried, multiple times typing my own ISP name and ISP password ( same as Wi-Fi, if i am correct ?) Do you have any ideas ? Link to comment
Generalissimo Posted January 9, 2017 Share Posted January 9, 2017 2 days later, i finally :OING solved the issue. The problem was, that whole world as username uses ''admin'' and password ''admin'', but :Oing Telekom Serbia, wants to be too smart, so they decided to change password from ''admin'' to tzpktpl. I guess that it was my mistake at first for not checking out with ISP, instead of blindly roaming around internet, but wow, :Oing idiots, tzpktpl, wow. Link to comment
Mr_Moose Posted January 10, 2017 Share Posted January 10, 2017 17 hours ago, Generalissimo said: 2 days later, i finally :OING solved the issue. The problem was, that whole world as username uses ''admin'' and password ''admin'', but :Oing Telekom Serbia, wants to be too smart, so they decided to change password from ''admin'' to ***. I guess that it was my mistake at first for not checking out with ISP, instead of blindly roaming around internet, but wow, :Oing idiots, ***, wow. You should change your router password now, as soon your server is up your public IP is exposed to the world and anyone who paste that IP into a browser can connect to your network on port 80 which goes directly to your router (unless you have a web server at home). 1 Link to comment
Generalissimo Posted January 10, 2017 Share Posted January 10, 2017 17 minutes ago, Mr_Moose said: You should change your router password now, as soon your server is up your public IP is exposed to the world and anyone who paste that IP into a browser can connect to your network on port 80 which goes directly to your router (unless you have a web server at home). Thanks for your suggestion. I surely will do that, when i manage to get my server online, if at all, but thanks for advise, i surely would've left it on default (because i am an idiot). Link to comment
ChromeMTA Posted June 23, 2018 Share Posted June 23, 2018 Hello, Thank you for tutorial but, I have a problem in Mta server. https://imgur.com/a/qrlVihQ thanks in advance! Link to comment
Storm-Hanma Posted June 24, 2018 Share Posted June 24, 2018 Ports r not opened ,why you r trying for local server? When you can get free MTA sa servers from pirateshosting.com with 200 slots have a check on it Link to comment
Sisqo0 Posted July 27, 2018 Share Posted July 27, 2018 (edited) is this problem or no ? the red sentence http://www.mediafire.com/view/2zsbz0m2m81aim1/Untitled.png Edited July 27, 2018 by Sisqo0 Link to comment
FlyingSpoon Posted July 27, 2018 Share Posted July 27, 2018 3 hours ago, Sisqo0 said: is this problem or no ? the red sentence http://www.mediafire.com/view/2zsbz0m2m81aim1/Untitled.png It's not really, but it would be better to enable TLS. You can search more about it on Google. Link to comment
Sisqo0 Posted August 4, 2018 Share Posted August 4, 2018 I did that but when i shut down my pc.. It's gone.. How i can make it online always ? Link to comment
Storm-Hanma Posted August 4, 2018 Share Posted August 4, 2018 You need to open ports did you ? Link to comment
danieli werediani Posted September 6, 2018 Share Posted September 6, 2018 On 10/07/2014 at 01:38, RangeR.. said: Add 22005 for TCP ( Port Start: 22005 , Port End: 22005) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now