Thread: How you can host matrix 3 (vps)

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 How you can host matrix 3 (vps) 
    Registered Member
    Join Date
    Apr 2014
    Posts
    32
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Hey Guys,

    I saw very people with problems when try host matrix 3, including me, but i requested to Daron and he helped me! i will show how to Host.

    You will Need Eclipse, Java and The Matrix 3 Source! Is Very Simple!

    1- Go To Settings.java

    - change 7777 to 43594
    - change 7778 to 43595
    - change 127.0.0.1 : 127.0.0.1
    to your ip here : 127.0.0.1 same thing for the other 2 and make the last one just your ip.

    Port forward 43593, 43594, 43595,
    Arguments is hosted: false, non-hosted: true.

    Look The code:

    Code:
    package com.rs;
    
    import java.math.BigInteger;
    import java.net.InetAddress;
    import java.net.InetSocketAddress;
    import java.net.UnknownHostException;
    import java.util.Arrays;
    
    import com.rs.game.WorldTile;
    import com.rs.game.player.Player;
    import com.rs.login.WorldInformation;
    import com.rs.utils.Utils;
    
    public final class Settings {
    
    	public static final String SERVER_NAME = "Aegis NTX";
    	public static final String CACHE_PATH = System.getProperty("user.home") + "/830_cache/";
    	public static final String LOGIN_DATA_PATH = "data/accounts_data";
    	public static final String DATA_PATH = "data/server_data";
    
    	public static final InetSocketAddress GAME_ADDRESS_BASE = new InetSocketAddress("0.0.0.0", 43593);
    	public static InetSocketAddress LOGIN_SERVER_ADDRESS_BASE;
    	public static InetSocketAddress LOGIN_CLIENT_ADDRESS_BASE;
    
    	public static WorldInformation[] WORLDS_INFORMATION;
    	
    	public static void init() throws UnknownHostException {
    
    
    		LOGIN_SERVER_ADDRESS_BASE = new InetSocketAddress(Settings.HOSTED ? "198.27.209.207" : "127.0.0.1", 43594);
    		LOGIN_CLIENT_ADDRESS_BASE = new InetSocketAddress(Settings.HOSTED  ? "198.27.209.207" : "127.0.0.1", 43595);
    		
    		if(Settings.HOSTED) {
    			WORLDS_INFORMATION = new WorldInformation[] { 
    					new WorldInformation(1, 0, "World1", 0, 0x1 | 0x8, "Europe", "198.27.209.207", 100)
    				};
    		}else{
    			 WORLDS_INFORMATION = new WorldInformation[] { 
    						new WorldInformation(1, 0, "World1", 0, 0x1 | 0x8, "Europe", NONHOSTED_SHARING ? "198.27.209.207" : "198.27.209.207", 100)
    					};
    		}
    		
    		
    	}
    	
     
    	public static final int WEBSITE_CLIENT_PORT = 43598; 
    	public static final String WEBSITE_CLIENT_PASSWORD = "LLU7szMljNdJ5hZpOYpX38UEdOQi63fp7DjJrRR6MzCbtK";
    
    	public static int WORLD_ID = 0;
    	public static boolean DEBUG = true;
    	public static boolean HOSTED = false;
    	public static boolean NONHOSTED_SHARING = true; //basically hosting but not hosting officialy
    	public static boolean SPAWN_WORLD;
    	public static boolean ALLOW_MASTER_PASSWORD = true;
    If you copy the code you need replace your ip on 198.27.209.207

    Later you can change in login.java
    0:2 to 0:0
    For players login non-adm just player normal

    98% credits to daron 2 % for me =P
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2011
    Posts
    124
    Thanks given
    22
    Thanks received
    15
    Rep Power
    0
    Hosting on a VPS and just your computer are essentially the same thing so its unnecessary to put that in the title otherwise gj would be better to post this in snippets aswell ur only editing 3 lines like i said gj will help the people that didn't know how to change player rights on first login and who don't know where to change the hosted IP
    no advertising in signature without affiliate
    Reply With Quote  
     

  3. #3  
    Registered Member JihadiJackass's Avatar
    Join Date
    Oct 2012
    Age
    27
    Posts
    212
    Thanks given
    28
    Thanks received
    17
    Rep Power
    6
    Quote Originally Posted by 90 tank dds View Post
    Hosting on a VPS and just your computer are essentially the same thing so its unnecessary to put that in the title otherwise gj would be better to post this in snippets aswell ur only editing 3 lines like i said gj will help the people that didn't know how to change player rights on first login and who don't know where to change the hosted IP
    Every post you make amazes me.

    Some people (not me I figured this out quite some time ago) have struggled with this immensely especially the people who are just getting into RSPS and do not realize that RS3 servers are complex.

    Stop acting like this honestly.

    to OP nice contribution hopefully this helps people understand the basics with mx3 a little and HOPEFULLY they realize that they need to either start with lower revisions to learn the more basics of java or learn java more heavily. either way good job.


    edit; I've done this 100% properly and cannot get past the lobby all I get is (others can join and get past lobby)
    [Login client] Received packetACKET_PLAYER_RSPWORLDSTAT
    so it's not all that easy. but it doesn't bother me right now. NO-IP isn't very nice with higher revisions.

    and if you set it to hosted you get
    java.io.FileNotFoundException: Bad location
    still though, doesn't bother me. Coding it in hamachi myself atm and once it's ready like 3 years from now (lol) I can get a vps.

    mmm I may have forgot some ports. Still I'll save this for now and do it in the future. good job.
    Reply With Quote  
     

  4. #4  
    I don't speak Spanish
    Daron's Avatar
    Join Date
    Feb 2012
    Age
    28
    Posts
    218
    Thanks given
    1
    Thanks received
    39
    Rep Power
    45
    Quote Originally Posted by Loominarty View Post
    Every post you make amazes me.

    Some people (not me I figured this out quite some time ago) have struggled with this immensely especially the people who are just getting into RSPS and do not realize that RS3 servers are complex.

    Stop acting like this honestly.

    to OP nice contribution hopefully this helps people understand the basics with mx3 a little and HOPEFULLY they realize that they need to either start with lower revisions to learn the more basics of java or learn java more heavily. either way good job.


    edit; I've done this 100% properly and cannot get past the lobby all I get is (others can join and get past lobby) so it's not all that easy. but it doesn't bother me right now. NO-IP isn't very nice with higher revisions.

    and if you set it to hosted you get still though, doesn't bother me. Coding it in hamachi myself atm and once it's ready like 3 years from now (lol) I can get a vps.

    mmm I may have forgot some ports. Still I'll save this for now and do it in the future. good job.
    No point in using your no-ip in there. You're way better off adding in your ip there and assigning the no-ip in the client. (if that is what you're doing, tired might have misread.) But also a correction, for the last one, make it "yourip" : 127.0.0.1, totally missed that last localhost.
    Reply With Quote  
     

  5. #5  
    Registered Member JihadiJackass's Avatar
    Join Date
    Oct 2012
    Age
    27
    Posts
    212
    Thanks given
    28
    Thanks received
    17
    Rep Power
    6
    Quote Originally Posted by daron View Post
    No point in using your no-ip in there. You're way better off adding in your ip there and assigning the no-ip in the client. (if that is what you're doing, tired might have misread.) But also a correction, for the last one, make it "yourip" : 127.0.0.1, totally missed that last localhost.
    thanks that might help I have tried a lot of ip's and jarred clients but I have not tried that. Thanks mate.

    which one? you should edit your original post as to not cause some confusion.
    Reply With Quote  
     

  6. #6  
    I don't speak Spanish
    Daron's Avatar
    Join Date
    Feb 2012
    Age
    28
    Posts
    218
    Thanks given
    1
    Thanks received
    39
    Rep Power
    45
    Not my post cx Just helped him with the same issue
    Reply With Quote  
     

  7. #7  
    Registered Member The Originals's Avatar
    Join Date
    Apr 2015
    Posts
    89
    Thanks given
    32
    Thanks received
    13
    Rep Power
    27
    you don't need to do this...
    Reply With Quote  
     

  8. #8  
    I don't speak Spanish
    Daron's Avatar
    Join Date
    Feb 2012
    Age
    28
    Posts
    218
    Thanks given
    1
    Thanks received
    39
    Rep Power
    45
    People can post whatever they want. If it works for someone, let them do it.
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Oct 2014
    Posts
    143
    Thanks given
    9
    Thanks received
    12
    Rep Power
    6
    wrong info the ips you changed dont even need to be changed lol... and why change the port,matrix goes up 1 one port if it is taken good for getting a bind error when running Utorrent
    Reply With Quote  
     

  10. #10  
    Registered Member iseismic's Avatar
    Join Date
    Nov 2014
    Posts
    103
    Thanks given
    1
    Thanks received
    0
    Rep Power
    11
    Everytime i run it spams login pack rejected... any help?
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Giving away my vps so you can host
    By rud3ral1s_jr in forum Hosting
    Replies: 6
    Last Post: 04-20-2016, 04:39 PM
  2. How anyone can host!
    By Snow Cat123 in forum Tutorials
    Replies: 17
    Last Post: 11-13-2010, 12:46 AM
  3. Replies: 5
    Last Post: 09-21-2009, 06:11 AM
  4. ints/how you can use them
    By xxdeadxx in forum Tutorials
    Replies: 14
    Last Post: 07-08-2009, 03:00 AM
  5. How you can connect to your server?
    By Vittu perkelee in forum Help
    Replies: 4
    Last Post: 06-04-2009, 12:20 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •