Thread: Making battlescape server work on port 43594 client and server help.

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Making battlescape server work on port 43594 client and server help. 
    Registered Member
    Join Date
    Feb 2010
    Posts
    46
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    Well i was having a problem with this and finally found it out so i thought this would help out a lot of new users using battlescape source (sometimes even experienced users seems how tons of people i asked couldnt find it out.

    Ok instead of using the port that comes with it (43676)
    You can be using port 43594
    Ok first of all open up the source
    Click Server.java (the notepad that said Server)
    Hold down Ctrl(button on the south west on your keyboard) and f at the same time
    in the search bar type
    Code:
        public final int SERVER_PORT =
    you should see port 43676 after that equal sign
    Replace it with 43594
    Congratulations server sided port changing done.

    Time for the client side.

    Ok first up open the Client
    And go to client.java (the notepad that sais client and under it java file)
    hold down the button ctrl (button on the South west of the keyboard) and f (at the same time)
    Type:
    Code:
    return new URL
    Press Ok
    you should see a line similar to this
    Code:
    return new URL("http://127.0.0.1:" + (80));
    (the 127.0.0.1 can be varyied depending on whose battlescape source you are using.
    replace it with
    Code:
                    return new URL("http://TYPE YOUR SERVER HERE!:");
    And where it sais type your server here change it with your server.
    Thanks hope this helps and if it did help click the button that sais Reputation
    And click yes. Thanks for reading my first snippit
    Reply With Quote  
     

  2. #2  
    Donator

    Join Date
    Jul 2009
    Posts
    1,453
    Thanks given
    27
    Thanks received
    13
    Rep Power
    69
    Aww man. This was explained 500 times by Pali because people were having trouble.. It's really just a search away ..
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Feb 2010
    Posts
    46
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    Yeah but i made mine super noob friendly imo
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Feb 2010
    Posts
    46
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    Bump
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Feb 2010
    Posts
    46
    Thanks given
    0
    Thanks received
    0
    Rep Power
    2
    Its original
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Apr 2010
    Posts
    29
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Good snippet for noobs, but it's somewhat easy to find. :/
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Feb 2010
    Posts
    79
    Thanks given
    1
    Thanks received
    0
    Rep Power
    4
    umm i try to connect but it dont even log in? says error connecting with this change..? do i gotta put a port in...??????? cause of that 80 or what idk..help?
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Sep 2009
    Posts
    7
    Thanks given
    0
    Thanks received
    2
    Rep Power
    0


    I did everything right.
    Code:
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Dec 2009
    Posts
    12
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Quote Originally Posted by extra View Post


    I did everything right.
    You need to be running your source , if you are, I don't know.
    Thanks to:Exgram.
    You are awesome.
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Sep 2009
    Posts
    7
    Thanks given
    0
    Thanks received
    2
    Rep Power
    0
    Quote Originally Posted by Teh Epic Claws View Post
    You need to be running your source , if you are, I don't know.

    Im running my source and the no-ip....
    Code:
    [Only registered and activated users can see links. ]
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •