Thread: Need help with Zamron | Ateria 718/742 release

Page 1 of 2 12 LastLast
Results 1 to 10 of 20
  1. #1 Need help with Zamron | Ateria 718/742 release 
    Registered Member
    Join Date
    Mar 2012
    Posts
    44
    Thanks given
    0
    Thanks received
    0
    Rep Power
    9
    Hi,

    I cannot seem to get the client working on localhost, I was told that for this server I edit the IP on settings.java



    public class Settings {

    /**
    * @author Chopper
    */

    static String title = "servn";
    private static String local = "127.0.0.1";

    /**
    * Connection settings
    */
    public static final String IP = "127.0.0.1";
    public static final String LOBBY_IP = "127.0.0.1";
    public static final int BUILD = 742;

    public static int SUB_BUILD = 45;

    /**
    }
    I have tried all the possible combination of localhost and tried turning off firewall. PLEASE HELP.
    Reply With Quote  
     

  2. #2  
    Registered Member
    OblivionRSPS's Avatar
    Join Date
    Feb 2015
    Posts
    808
    Thanks given
    223
    Thanks received
    96
    Rep Power
    87
    Change your IP in the client side : loader.java folder.

    Otherwise change all 127.0.0.1 IPs to localhost
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Mar 2012
    Posts
    44
    Thanks given
    0
    Thanks received
    0
    Rep Power
    9
    This is my loader.java:

    import java.applet.Applet;
    import java.awt.BorderLayout;
    import java.awt.Dimension;
    import java.awt.image.BufferedImage;
    import java.net.Inet4Address;
    import java.net.URL;
    import java.net.UnknownHostException;
    import java.util.Properties;

    import javax.imageio.ImageIO;
    import javax.swing.JFrame;
    import javax.swing.JOptionPane;
    import javax.swing.JPanel;

    public class Loader extends Applet {

    private static final long serialVersionUID = 7639088664641445302L;

    public static final Properties client_parameters = new Properties();

    public JFrame client_frame;
    public final JPanel client_panel = new JPanel();

    public static Loader instance;


    private void sendOptions() {
    int option = JOptionPane.showConfirmDialog(null, "Do you want to enable the lobby?",
    "Lobby settings", JOptionPane.YES_NO_OPTION);
    if (option == JOptionPane.YES_OPTION) {
    Settings.LOBBY_ENABLED = true;
    } else {
    Settings.LOBBY_ENABLED = false;
    }
    System.out.print("The lobby has been " + (Settings.LOBBY_ENABLED ? "enabled" : "disabled"));
    openFrame();
    client clnt = new client();
    clnt.supplyApplet(this);
    clnt.init();
    clnt.start();
    MusicChecker.check();
    }

    public static void main(String[] args) {
    Loader loader = instance = new Loader();
    loader.doFrame();
    }

    public void init() {
    instance = this;
    doApplet();
    }

    void doApplet() {
    setParams();
    startClient();
    }

    public void doFrame() {
    setParams();
    if (Settings.LOBBY_TOGGLING) {
    sendOptions();
    }
    startClient();
    }

    void setParams() {
    client_parameters.put("separate_jvm", "true");
    client_parameters.put("boxbgcolor", "black");
    client_parameters.put("image", "https://pbs.twimg.com/profile_images/649569184121118722/A3m-OgD6.jpg");
    client_parameters.put("centerimage", "true");
    client_parameters.put("boxborder", "false");
    client_parameters.put("java_arguments", Settings.JVM_ARGS+ " -Xss2m -Dsun.java2d.noddraw=true -XX:CompileThreshold=1500 -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC");
    client_parameters.put("27", "0");
    client_parameters.put("1", "0");
    client_parameters.put("16", "false");
    client_parameters.put("17", "false");
    client_parameters.put("21", "1"); // WORLD ID
    client_parameters.put("30", "false");
    client_parameters.put("20", Settings.LOBBY_IP);
    client_parameters.put("29", "");
    client_parameters.put("11", "true");
    client_parameters.put("25", "1378752098");
    client_parameters.put("28", "0");
    client_parameters.put("8", ".runescape.com");
    client_parameters.put("23", "false");
    client_parameters.put("32", "0");
    client_parameters.put("15", "wwGlrZHF5gKN6D3mDdihco3oPeYN2KFybL9hUUFqOvk") ;
    client_parameters.put("0", "IjGJjn4L3q5lRpOR9ClzZQ");
    client_parameters.put("2", "");
    client_parameters.put("4", "1"); // WORLD ID
    client_parameters.put("14", "");
    client_parameters.put("5", "8194");
    client_parameters.put("-1", "QlwePyRU5GcnAn1lr035ag");
    client_parameters.put("6", "0");
    client_parameters.put("24", "true,false,0,43,200,18,0,21,354,-15,Verdana,11,0xF4ECE9,candy_bar_middle.gif,candy_ bar_back.gif,candy_bar_outline_left.gif,candy_bar_ outline_right.gif,candy_bar_outline_top.gif,candy_ bar_outline_bottom.gif,loadbar_body_left.gif,loadb ar_body_right.gif,loadbar_body_fill.gif,6");
    client_parameters.put("3", "hAJWGrsaETglRjuwxMwnlA/d5W6EgYWx");
    client_parameters.put("12", "false");
    client_parameters.put("13", "0");
    client_parameters.put("26", "0");
    client_parameters.put("9", "77");
    client_parameters.put("22", "false");
    client_parameters.put("18", "false");
    client_parameters.put("33", "");
    client_parameters.put("haveie6", "false");
    }

    void openFrame() {
    client_frame = new JFrame(Settings.title);
    client_frame.setLayout(new BorderLayout());
    client_panel.setLayout(new BorderLayout());
    client_panel.add(this);
    client_panel.setPreferredSize(new Dimension(765, 503));
    client_frame.getContentPane().add(client_panel, "Center");
    client_frame.setDefaultCloseOperation(JFrame.EXIT_ ON_CLOSE);
    if (Settings.CUSTOM_IMAGE) {
    try {
    URL localURL = new URL(Settings.ICON_URL);
    BufferedImage localBufferedImage = ImageIO.read(localURL);
    client_frame.setIconImage(localBufferedImage);
    } catch (Exception localException) {
    localException.printStackTrace();
    }
    }
    client_frame.pack();
    client_frame.setVisible(true);

    }

    void startClient() {
    try {
    if (Settings.LOBBY_TOGGLING) {
    sendOptions();
    } else {
    openFrame();
    client clnt = new client();
    clnt.supplyApplet(this);
    clnt.init();
    clnt.start();
    MusicChecker.check();
    }
    } catch (Exception exception) {
    exception.printStackTrace();
    }
    }

    public String getParameter(String string) {
    return (String) client_parameters.get(string);
    }

    public URL getDocumentBase() {
    return getCodeBase();
    }

    public URL getCodeBase() {
    try {
    return new URL("http://" + Settings.IP);
    } catch (Exception exception) {
    exception.printStackTrace();
    return null;
    }
    }

    public static String getLocalIP() {
    // TODO Auto-generated method stub
    try {
    return Inet4Address.getLocalHost().getHostAddress();
    } catch (UnknownHostException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }
    return null;
    }

    }
    Bump
    Reply With Quote  
     

  4. #4  
    Registered Member
    OblivionRSPS's Avatar
    Join Date
    Feb 2015
    Posts
    808
    Thanks given
    223
    Thanks received
    96
    Rep Power
    87
    Add this :
    public static String IP = "127.0.0.1";
    under
    public final JPanel client_panel = new JPanel();
    Reply With Quote  
     

  5. #5  
    Donator

    Join Date
    May 2016
    Posts
    83
    Thanks given
    18
    Thanks received
    14
    Rep Power
    3
    Quote Originally Posted by OblivionRSPS View Post
    Add this : under
    No. the file system is setup differently then most.
    Revert all changes back to normal and follow my steps.
    I ran this source for two months.

    in client side you change
    CLASS26.JAVA


    Code:
    /* Class26 - Decompiled by JODE
     * Visit http://jode.sourceforge.net/
     */
    
    public class Class26 {
    	static String aString349;
    	public static String aString350;
    	static String aString351;
    	static String aString352;
    	static String aString353;
    	static String aString354;
    	static String aString355 = "true";
    	static String aString356;
    
    	Class26() throws Throwable {
    		throw new Error();
    	}
    
    	static {
    		aString353 = ",";
    		aString349 = " (";
    		aString352 = ")";
    		aString351 = "->";
    		aString354 = Settings.IP;// "IPHERE";
    		aString350 = "<br>";
    		aString356 = "</col>";
    the next one is located in Settings.Java
    Once again at the top of the file.

    Code:
    
    public class Settings {
    	
    	/**
    	 * @author Chopper
    	 */
    
    	static String title = "SERVERNAME";
    	private static String local = "IPHERE";
    	
    	/**
    	 * Connection settings
    	 */
    	public static final String IP = local;
    	public static final String LOBBY_IP = local;
    	public static final int BUILD = 742;
    	
    	public static int SUB_BUILD = 45;
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Mar 2012
    Posts
    44
    Thanks given
    0
    Thanks received
    0
    Rep Power
    9
    Quote Originally Posted by Revoke_Zero View Post
    No. the file system is setup differently then most.
    Revert all changes back to normal and follow my steps.
    I ran this source for two months.

    in client side you change
    CLASS26.JAVA


    Code:
    /* Class26 - Decompiled by JODE
     * Visit http://jode.sourceforge.net/
     */
    
    public class Class26 {
    	static String aString349;
    	public static String aString350;
    	static String aString351;
    	static String aString352;
    	static String aString353;
    	static String aString354;
    	static String aString355 = "true";
    	static String aString356;
    
    	Class26() throws Throwable {
    		throw new Error();
    	}
    
    	static {
    		aString353 = ",";
    		aString349 = " (";
    		aString352 = ")";
    		aString351 = "->";
    		aString354 = Settings.IP;// "IPHERE";
    		aString350 = "<br>";
    		aString356 = "</col>";
    the next one is located in Settings.Java
    Once again at the top of the file.

    Code:
    
    public class Settings {
    	
    	/**
    	 * @author Chopper
    	 */
    
    	static String title = "SERVERNAME";
    	private static String local = "IPHERE";
    	
    	/**
    	 * Connection settings
    	 */
    	public static final String IP = local;
    	public static final String LOBBY_IP = local;
    	public static final int BUILD = 742;
    	
    	public static int SUB_BUILD = 45;
    I have just attempted this and again i get this error:

    C:\Users\mnbv\Ggge\ggggg\LIVE
    error_game_js5connect
    Reply With Quote  
     

  7. #7  
    GlamourGirl

    Join Date
    Sep 2015
    Age
    21
    Posts
    431
    Thanks given
    57
    Thanks received
    70
    Discord
    View profile
    Rep Power
    69
    Quote Originally Posted by OblivionRSPS View Post
    Add this : under
    So you think adding a static integer named IP will fix it ? Smh
    Reply With Quote  
     

  8. #8  
    Donator

    Join Date
    May 2016
    Posts
    83
    Thanks given
    18
    Thanks received
    14
    Rep Power
    3
    Quote Originally Posted by mnbv View Post
    I have just attempted this and again i get this error:

    C:\Users\mnbv\Ggge\ggggg\LIVE
    error_game_js5connect
    This is literally all it takes to work..
    I tested the process last night after posting this
    Reply With Quote  
     

  9. #9  
    Registered Member
    OblivionRSPS's Avatar
    Join Date
    Feb 2015
    Posts
    808
    Thanks given
    223
    Thanks received
    96
    Rep Power
    87
    Quote Originally Posted by Revoke_Zero View Post
    No. the file system is setup differently then most.
    Revert all changes back to normal and follow my steps.
    I ran this source for two months.

    in client side you change
    CLASS26.JAVA


    Code:
    /* Class26 - Decompiled by JODE
     * Visit http://jode.sourceforge.net/
     */
    
    public class Class26 {
    	static String aString349;
    	public static String aString350;
    	static String aString351;
    	static String aString352;
    	static String aString353;
    	static String aString354;
    	static String aString355 = "true";
    	static String aString356;
    
    	Class26() throws Throwable {
    		throw new Error();
    	}
    
    	static {
    		aString353 = ",";
    		aString349 = " (";
    		aString352 = ")";
    		aString351 = "->";
    		aString354 = Settings.IP;// "IPHERE";
    		aString350 = "<br>";
    		aString356 = "</col>";
    the next one is located in Settings.Java
    Once again at the top of the file.

    Code:
    
    public class Settings {
    	
    	/**
    	 * @author Chopper
    	 */
    
    	static String title = "SERVERNAME";
    	private static String local = "IPHERE";
    	
    	/**
    	 * Connection settings
    	 */
    	public static final String IP = local;
    	public static final String LOBBY_IP = local;
    	public static final int BUILD = 742;
    	
    	public static int SUB_BUILD = 45;
    Ah I didn't know. Thanks for helping him.

    Quote Originally Posted by GlamourGirl View Post
    So you think adding a static integer named IP will fix it ? Smh

    Actually I tried to help him out.

    What did you do? Huh?
    Reply With Quote  
     

  10. #10  
    GlamourGirl

    Join Date
    Sep 2015
    Age
    21
    Posts
    431
    Thanks given
    57
    Thanks received
    70
    Discord
    View profile
    Rep Power
    69
    Quote Originally Posted by OblivionRSPS View Post
    Ah I didn't know. Thanks for helping him.




    Actually I tried to help him out.

    What did you do? Huh?
    Excuse me where is the help you did ? You told him to declare an int in a class that will be never used you probs copied it from your loader thinking it will work for him huh? And i saw someone already gave him a solution so I didn't want to help with the same thing lol
    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. [718] Zamron | Ateria 718/742 release
    By OogleBoogle in forum Downloads
    Replies: 131
    Last Post: 02-18-2019, 11:41 PM
  2. Need help with Zenith 667/718 source!
    By allios in forum Help
    Replies: 2
    Last Post: 07-01-2013, 09:34 PM
  3. Need help with DropEditor (Matrix 718)
    By noah2gamble in forum Help
    Replies: 2
    Last Post: 04-16-2013, 05:12 AM
  4. need help with npc spawning 718
    By yelle60 in forum Help
    Replies: 5
    Last Post: 12-23-2012, 02:24 PM
  5. Need help with trade logs! 718+
    By Ben_U in forum Help
    Replies: 4
    Last Post: 10-21-2012, 12:28 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
  •