Thread: Rsps Server Ip Change Confiused so much ips help please

Results 1 to 7 of 7
  1. #1 Rsps Server Ip Change Confiused so much ips help please 
    Registered Member
    Join Date
    Mar 2017
    Posts
    29
    Thanks given
    1
    Thanks received
    5
    Rep Power
    26
    first post

    hey guys i set my rsps server up and it works with localhost.
    now i wanna get it online for other players but it dont connects to the server

    in the client.java file are this codes i copie it in here

    public Sprite magicAuto;
    public boolean autoCast = false;
    private int autocastId = 0;
    public int MapX, MapY;
    public static int spellID = 0;
    public static String defaultserverip = "omegascape.ddns.net"; <--- i changed here my ip is this right?
    public static String serverip = ""+defaultserverip+"";
    <--- must i set here my ip??
    public static int port = 43594;

    and this

    }
    public void WhatWorldIsWhatIp () {
    if(world == 1){
    serverip = "0.0.0.0";
    port = 43594;
    } else {
    if(world == 2){
    serverip = "0.0.0.0";
    port = 43594;
    }
    }
    }

    and this

    if(world > 1){ // Makes sure you can only go to 2 worlds.
    world = 1;
    }else{
    world += 1;
    }
    if(world == 2){
    serverip = "0.0.0.0";
    port = 43594;
    spec =" Regular World";
    signlink.setuid();
    } else {
    if(world == 1){
    serverip = "0.0.0.0";
    port = 43594;
    signlink.setuid();
    spec =" @red@Developers World";
    }
    }
    if(world < 0 || world > 7)
    spec = " Invalid world";

    and this

    //handleStupidWorldSwitch();
    world = 1;
    spec =" Regular World";
    serverip = "0.0.0.0";
    port = 43594;
    signlink.setuid();

    i dont know what i must type in all of these in ((

    please help me
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Nov 2014
    Posts
    611
    Thanks given
    180
    Thanks received
    156
    Rep Power
    0
    Did you portforward?
    Is your firewall blocking the connection? (Add an exception)
    Virus scanner? (Try disabling)
    Reply With Quote  
     

  3. #3  
    Extreme Donator

    woof woof bish's Avatar
    Join Date
    May 2011
    Age
    26
    Posts
    2,444
    Thanks given
    2,212
    Thanks received
    1,019
    Rep Power
    5000
    change "serverip = "0.0.0.0";" to your servers ip -> serverip = "omegascape.ddns.net" (replace all 0.0.0.0 with omegascape.ddns.net) and compile it

    then make sure portforwarded correctly, should you have questions pm me
    Reply With Quote  
     

  4. #4  
    Ask me how I'm doing

    .NF.'s Avatar
    Join Date
    Aug 2015
    Age
    30
    Posts
    2,174
    Thanks given
    293
    Thanks received
    619
    Rep Power
    567
    use the
    Code:
     {code} --- {/code} tags pls
    Attached image
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Mar 2017
    Posts
    29
    Thanks given
    1
    Thanks received
    5
    Rep Power
    26
    @ thrallx
    ye i called telekom and i have the port installed and telekom said thats ok how i did that.
    but canyouseeme.org or other tools say the port is closed
    i tryed do stop windows defender and antivirus but the port is closed

    @ champagne can i send u the orginal java client file from the base and u put in the ips?
    i put it on mediafire the client.java
    client

    @i am live
    where do it put the code?

    when i wanna compile the clientin eclipse it says

    javac: file not found: src\*.java
    Usage: javac <options> <source files>
    use -help for a list of possible options
    Drücken Sie eine beliebige Taste . . .
    Reply With Quote  
     

  6. #6  
    Registered Member pofroze's Avatar
    Join Date
    Jan 2012
    Posts
    282
    Thanks given
    22
    Thanks received
    20
    Rep Power
    50
    Don't forget your firewall can block connections, so disable it or make exception.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Mar 2017
    Posts
    29
    Thanks given
    1
    Thanks received
    5
    Rep Power
    26
    i gave the port 43594 an exception in windows defender
    i portforwarded the router
    and i changed all 0.0.0.0 ips in client to my no-ip

    but always dont connect (((

    i got this error in source starting by eclipse

    [07.03.17 20:11]: Exception in thread "main" [07.03.17 20:11]: org.jboss.netty.channel.ChannelException: Failed to bind to: 0.0.0.0/0.0.0.0:43594
    [07.03.17 20:11]: at org.jboss.netty.bootstrap.ServerBootstrap.bind(Ser verBootstrap.java:303)
    [07.03.17 20:11]: at server.Server.bind(Server.java:160)
    [07.03.17 20:11]: at server.Server.main(Server.java:215)
    [07.03.17 20:11]: Caused by: java.net.BindException: Address already in use: bind
    [07.03.17 20:11]: at sun.nio.ch.Net.bind0(Native Method)
    [07.03.17 20:11]: at sun.nio.ch.Net.bind(Unknown Source)
    [07.03.17 20:11]: at sun.nio.ch.Net.bind(Unknown Source)
    [07.03.17 20:11]: at sun.nio.ch.ServerSocketChannelImpl.bind(Unknown Source)
    [07.03.17 20:11]: at sun.nio.ch.ServerSocketAdaptor.bind(Unknown Source)
    [07.03.17 20:11]: at org.jboss.netty.channel.socket.nio.NioServerSocket PipelineSink.bind(NioServerSocketPipelineSink.java :148)
    [07.03.17 20:11]: at org.jboss.netty.channel.socket.nio.NioServerSocket PipelineSink.handleServerSocket(NioServerSocketPip elineSink.java:100)
    [07.03.17 20:11]: at org.jboss.netty.channel.socket.nio.NioServerSocket PipelineSink.eventSunk(NioServerSocketPipelineSink .java:74)
    [07.03.17 20:11]: at org.jboss.netty.channel.Channels.bind(Channels.jav a:468)
    [07.03.17 20:11]: at org.jboss.netty.channel.AbstractChannel.bind(Abstr actChannel.java:192)
    [07.03.17 20:11]: at org.jboss.netty.bootstrap.ServerBootstrap$Binder.c hannelOpen(ServerBootstrap.java:348)
    [07.03.17 20:11]: at org.jboss.netty.channel.Channels.fireChannelOpen(C hannels.java:176)
    [07.03.17 20:11]: at org.jboss.netty.channel.socket.nio.NioServerSocket Channel.<init>(NioServerSocketChannel.java:85)
    [07.03.17 20:11]: at org.jboss.netty.channel.socket.nio.NioServerSocket ChannelFactory.newChannel(NioServerSocketChannelFa ctory.java:142)
    [07.03.17 20:11]: at org.jboss.netty.channel.socket.nio.NioServerSocket ChannelFactory.newChannel(NioServerSocketChannelFa ctory.java:90)
    [07.03.17 20:11]: at org.jboss.netty.bootstrap.ServerBootstrap.bind(Ser verBootstrap.java:282)
    [07.03.17 20:11]: ... 2 more

    or can be the client coded only for localhost? why the client i downloaded was called localhost v5.1
    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: 1
    Last Post: 08-11-2014, 01:22 PM
  2. Replies: 5
    Last Post: 09-24-2013, 12:31 AM
  3. [PI] Server side IP change
    By killzoz in forum Help
    Replies: 4
    Last Post: 12-05-2012, 11:27 PM
  4. Replies: 21
    Last Post: 12-05-2012, 09:19 PM
  5. Server and ip change ! HELP
    By piratenpyro in forum Help
    Replies: 7
    Last Post: 10-12-2010, 12:26 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
  •