Thread: Help with getting server online

Results 1 to 5 of 5
  1. #1 Help with getting server online 
    Registered Member
    Join Date
    Feb 2018
    Posts
    14
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    hello I am using eclipse, and in the client config. java file ive changed the string HOST and the JAGGRAB HOST ip address to my VPS ip adres, I went to export and when to java - jar file. then I went and added the client in and the class for the client, I export and I put it on drop box and it loads the client / cache, but it says error connecting to server? am I missing a step or am I missing an ipadress change or a value change some where?? please help

    Code:
    package com.arlania;
    public class Configuration {
    	
    	public final static String HOST = " insert IP";
    	//public final static String HOST = "http://www.Morytania.org";//Local	
    	
    	public final static String JAGGRAB_HOST = "insert IP"; //dev
    
    	
    	public final static int PORT = 43594; // dev 13376    /13377
    	public final static String CLIENT_VERSION = "1.0";
    	public final static String CLIENT_NAME = "Morytania";
    	
    	
    	/**
    	 * The NPC bits.
    	 * 12 = 317/377
    	 * 14 = 474+
    	 * 16 = 600+
    	 */
    	public final static int NPC_BITS = 18;
    	
    	
    	/*
    	 * Update-server enabled?
    	 * 
    	 */
    	public static final boolean JAGCACHED_ENABLED = false;
    	
    	public static int[] ITEMS_WITH_BLACK = {
    		1277, 560, 559, 1077, 1089, 1125, 1149, 1153, 1155, 1157, 1159, 1161, 1163,
    		1165, 1279, 1313, 1327, 2349, 2351, 2353, 2355, 2357, 2359,
    		2361, 2363, 2619, 2627, 2657, 2665, 2673, 3140, 3486, 6568, 11335, 12158, 1261, 
    		12162, 12163, 12164, 12165, 12166, 12167, 12168, 15332, 15333, 15334, 15335,
    		13675, 14479, 18510, 19337, 19342, 19347, 19407, 19437, 9921, 9922, 9923, 9924, 9925
    	};
    
    	public static int FOG_BEGIN_DEPTH = 3200;
    	
    	public static int FOG_END_DEPTH = 3800;
    	
    	public static final int[] packetSizes = {
    			0, 0, 0, 1, 6, 0, 0, 0, 4, 0, //0
    	        0, 2, -1, 1, 1, -1, 1, 0, 0, 0, // 10
    	        0, 0, 0, 0, 1, 0, 0, -1, 1, 1, //20
    	        0, 0, 0, 0, -2, 4, 3, 0, 2, 0, //30
    	        0, 0, 0, 0, 5, 8, 0, 6, 0, 0, //40
    	        9, 0, 0, -2, 0, 0, 0, 0, 0, 0, //50
    	        -2, 1, 0, 0, 2, -2, 0, 0, 0, 0, //60
    	        6, 3, 2, 4, 2, 4, 0, 0, 0, 4, //70
    	        0, -2, 0, 0, 7, 2, 1, 6, 6, 0, //80
    	        0, 0, 0, 0, 0, 0, 0, 2, 0, 1, //90
    	        2, 2, 0, 1, -1, 4, 1, 0, 1, 0, //100
    	        1, 1, 1, 1, 2, 1, 0, 15, 0, 0, //110
    	        0, 4, 4, -1, 9, 0, -2, 1, 0, 0, //120 // 9
    	        -1, 0, 0, 0, 9, 0, 0, 0, 0, 0, // 130
    	        3, 10, 2, 0, 0, 0, 0, 14, 0, 0, //140
    	        0, 4, 5, 3, 0, 0, 3, 0, 0, 0, //150
    	        4, 5, 0, 0, 2, 0, 6, 0, 0, 0, //160
    	        //0, 3, /*0*/ -1, 0, 5, 7, 10, 6, 5, 1, //170
    	        0, 3, -2, -2, 5, 5, 10, 6, 5, -2, // 170
    	        0, 0, 0, 0, 0, 2, 0, -1, 0, 0, //180
    	        0, 0, 0, 0, 0, 2, -1, 0, -1, 0, //190
    	        4, 0, 0, 0, 0, -1, 3, 6, 4, 4,  //200
    	        0, 0, 0, 0, -1, 7, 0, -2, 2, 0, //210
    	        0, 1, -2, -2, 0, 0, 0, 0, 0, 0, // 220
    	        8, 0, 0, 0, 0, 0, 0, 0, 0, 0,//230
    	        2, -2, 0, 0, -1, 0, 6, 0, 4, 3,//240
    	        -1, 0, 0, -1, 6, 0, 0//250
    			
    		};
    	public static  boolean upscaling = true;
    }
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2017
    Posts
    84
    Thanks given
    0
    Thanks received
    19
    Rep Power
    36
    The OP is trying to get his server online for other to connect on.

    He has a vps, changed the IP to the vps IP in configurations.java, jarred the client correctly using eclipse, and uploaded to dropbox.
    But for some strange reason it is displaying an "Error connection to the server." We are unsure as to why it isn't working. The client opens and cache downloads just fine.

    Are we missing a step? Do we have to do something with firewall/vps settings? Port forwarding? What could the problem be?

    Any help appreciated/repped.
    Reply With Quote  
     

  3. #3  
    Renown Programmer
    Greg's Avatar
    Join Date
    Jun 2010
    Posts
    1,179
    Thanks given
    260
    Thanks received
    1,012
    Rep Power
    2003
    Yes you will need to add tcp port 43594 to the firewall

    https://www.parallels.com/blogs/ras/...-2x-solutions/
    Attached imageAttached image
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    May 2017
    Posts
    84
    Thanks given
    0
    Thanks received
    19
    Rep Power
    36
    Quote Originally Posted by Greg View Post
    Yes you will need to add tcp port 43594 to the firewall

    https://www.parallels.com/blogs/ras/...-2x-solutions/
    That was the key to the treasure. Tyvm!
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Apr 2018
    Posts
    62
    Thanks given
    9
    Thanks received
    0
    Rep Power
    38
    wanker u looking to start a server
    Reply With Quote  
     


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. Replies: 9
    Last Post: 03-08-2013, 06:33 AM
  2. Replies: 1
    Last Post: 02-15-2013, 12:52 AM
  3. Need help making Client.jar
    By SwagDaddy in forum Help
    Replies: 2
    Last Post: 11-13-2012, 05:32 AM
  4. [PI]Need help making a JAR
    By sdaehrevo in forum Help
    Replies: 2
    Last Post: 10-31-2012, 12:00 AM
  5. Need help making a .jar please!
    By Fluffys in forum Help
    Replies: 0
    Last Post: 03-29-2012, 05:54 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
  •