Thread: Help with setting up Matrix 3

Results 1 to 4 of 4
  1. #1 Help with setting up Matrix 3 
    Registered Member
    Join Date
    Jan 2017
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Receiving an error, Game_error_js5connect on running the 'run local.bat' file in client.

    Any tutorial out there on setting up Rs3 private server?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Oct 2012
    Posts
    223
    Thanks given
    21
    Thanks received
    24
    Rep Power
    16
    Quote Originally Posted by Vandersz View Post
    Any tutorial out there on setting up Rs3 private server?
    Actually quite a bunch, I'd have to take a look but you might find it easier than me as I'm on my phone right now.
    Search for 'run error tutorial' and also use a matrix 3 tag.

    You could also browse the matrix 3 original 830 thread or a more recent one where Terrowin even explains using pictures - on the kagani download thread.

    And o yeah, on a little side note: STOP spamming download threads with your questions, all you have to do is either look or use the search bar... Mindblown, right?!
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2017
    Posts
    10
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Ahaha much Thanks, I've just set my server up, and I need help with just the player.java (tried making myself admin), but after inserting the
    Code:
    Code:
    if (username.equalsIgnoreCase("USERNAME")) { rights = 7;
    }


    I keep receiving this error in run_game.bat (server) on trying to login:

    [Launcher] Game Server took 8373 milli seconds to launch.
    [Login client] Received packetACKET_CONSOLEMSG
    [Login server] Hello there from login!
    [LoginPacketsDecoder]
    [Login client] Received packetACKET_LOGINRSP
    java.lang.Error: Unresolved compilation problem:
    Syntax error, insert ";" to complete BlockStatements

    at com.rs.game.player.Player.init(Player.java:510)
    at com.rs.executor.PlayerHandlerThread.initPlayer(Pla yerHandlerThread.java:202)
    at com.rs.executor.PlayerHandlerThread.processLoginSe ssion(PlayerHandlerThread.java:149)
    at com.rs.executor.PlayerHandlerThread.run(PlayerHand lerThread.java:63)






    I've looked at my player.java code, line 510 where I made the aforesaid insertion of code (to make myself owner), take a look:

    Code:
    if (!lobby) {
    setDirection(Utils.getAngle(0, -1));
    logicPackets = new ConcurrentLinkedQueue<LogicPacket>();
    switchItemCache = Collections.synchronizedList(new ArrayList<Integer>());
    World.addPlayer(this);
    World.updateEntityRegion(this);
    } else {
    World.addLobbyPlayer(this);
    }
    if (Settings.DEBUG)
    Logger.log(this, "Initiated player: " + username);
    }





    I've done the same for the PlayerHandlerThread:

    line 61 to 65
    Code:
    Iterator<Map.Entry<Integer, LoginDetails>> it$ = waitingLoginSessions.entrySet().iterator();
    					while (it$.hasNext()) {
    						if (processLoginSession(it$.next().getValue()))
    							it$.remove();
    					}
    143 to 147
    Code:
    if (details.response_status == 255) { // we need to wait bit more and then retry
    				details.waitTime = Utils.currentTimeMillis() + Settings.LOGIN_SERVER_RETRY_DELAY;
    				details.step = 3;
    			}
    200 to 203
    Code:
    private final void initPlayer(Player player, LoginDetails details) {
    		try {
    			player.init(details.session, details.lobby, details.username, details.displayName, details.macAddress, details.email, details.rights, details.messageIcon, details.masterLogin, details.donator, details.extremeDonator, details.support, details.gfxDesigner, details.muted, details.lastVote, details.displayMode, details.screenWidth, details.screenHeight, details.machineInfo, new IsaacKeyPair(details.sessionKeys));
    			if (details.lobby) {
    Also, someone told me I don't need to edit the player.java file to become owner, and that I can just "use the settings".. where exactly are those settings?

    Thanks a lot again!

    P.S., I was talking about Mx3 all the while.
    Reply With Quote  
     

  4. #4  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by Vandersz View Post
    Ahaha much Thanks, I've just set my server up, and I need help with just the player.java (tried making myself admin), but after inserting the
    Code:
    Code:
    if (username.equalsIgnoreCase("USERNAME")) { rights = 7;
    }


    I keep receiving this error in run_game.bat (server) on trying to login:

    [Launcher] Game Server took 8373 milli seconds to launch.
    [Login client] Received packetACKET_CONSOLEMSG
    [Login server] Hello there from login!
    [LoginPacketsDecoder]
    [Login client] Received packetACKET_LOGINRSP
    java.lang.Error: Unresolved compilation problem:
    Syntax error, insert ";" to complete BlockStatements

    at com.rs.game.player.Player.init(Player.java:510)
    at com.rs.executor.PlayerHandlerThread.initPlayer(Pla yerHandlerThread.java:202)
    at com.rs.executor.PlayerHandlerThread.processLoginSe ssion(PlayerHandlerThread.java:149)
    at com.rs.executor.PlayerHandlerThread.run(PlayerHand lerThread.java:63)






    I've looked at my player.java code, line 510 where I made the aforesaid insertion of code (to make myself owner), take a look:

    Code:
    if (!lobby) {
    setDirection(Utils.getAngle(0, -1));
    logicPackets = new ConcurrentLinkedQueue<LogicPacket>();
    switchItemCache = Collections.synchronizedList(new ArrayList<Integer>());
    World.addPlayer(this);
    World.updateEntityRegion(this);
    } else {
    World.addLobbyPlayer(this);
    }
    if (Settings.DEBUG)
    Logger.log(this, "Initiated player: " + username);
    }





    I've done the same for the PlayerHandlerThread:

    line 61 to 65
    Code:
    Iterator<Map.Entry<Integer, LoginDetails>> it$ = waitingLoginSessions.entrySet().iterator();
    					while (it$.hasNext()) {
    						if (processLoginSession(it$.next().getValue()))
    							it$.remove();
    					}
    143 to 147
    Code:
    if (details.response_status == 255) { // we need to wait bit more and then retry
    				details.waitTime = Utils.currentTimeMillis() + Settings.LOGIN_SERVER_RETRY_DELAY;
    				details.step = 3;
    			}
    200 to 203
    Code:
    private final void initPlayer(Player player, LoginDetails details) {
    		try {
    			player.init(details.session, details.lobby, details.username, details.displayName, details.macAddress, details.email, details.rights, details.messageIcon, details.masterLogin, details.donator, details.extremeDonator, details.support, details.gfxDesigner, details.muted, details.lastVote, details.displayMode, details.screenWidth, details.screenHeight, details.machineInfo, new IsaacKeyPair(details.sessionKeys));
    			if (details.lobby) {
    Also, someone told me I don't need to edit the player.java file to become owner, and that I can just "use the settings".. where exactly are those settings?

    Thanks a lot again!

    P.S., I was talking about Mx3 all the while.
    Says you have a ";" missing. Can you post the whole init (at com.rs.game.player.Player.init(Player.java:510)) method if you're still getting that error?
    Project thread
    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: 12-13-2015, 12:36 PM
  2. Help with setting up an IDE
    By Nty Life in forum Help
    Replies: 3
    Last Post: 08-01-2012, 12:27 AM
  3. Need help with setting up SMF!
    By Eoin in forum Application Development
    Replies: 2
    Last Post: 03-09-2011, 02:57 PM
  4. Need help with setting up my Vbulletin
    By lostscape in forum Application Development
    Replies: 3
    Last Post: 10-11-2009, 01:54 PM
  5. Need Help With Setting up Vps!
    By Engarde in forum Hosting
    Replies: 1
    Last Post: 02-12-2009, 05:47 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •