Thread: Matrix 3, all clients crash when using a bar on an anvil. Need help.

Page 1 of 3 123 LastLast
Results 1 to 10 of 30
  1. #1 Matrix 3, all clients crash when using a bar on an anvil. Need help. 
    Registered Member
    Join Date
    Jan 2016
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Code:
    Error: game.Class83.method1256 game.Class512.method6083 game.Class603.method7145 game.Class550.method6532 game.client.method6932 game.Class584.method6918 game.Class584.method6898 game.Class584.run java.lang.Thread.run:745 | java.lang.ArrayIndexOutOfBoundsException: 17 |  3136,3376,104,104 0,3187,3426 3 0 2 784,561 1 2 2 1 0 0 3631 1 16334 0irU8SxE4on1Tl9/y7sxdiPtbP2kt8WC
    java.io.FileNotFoundException: http://xx.xxx.xx.xxx/clienterror.ws?c=831&cs=1&u=Curtis&v1=Oracle+Corporation&v2=1.8.0_73&e=game.Class83.method1256+game.Class512.method6083+game.Class603.method7145+game.Class550.method6532+game.client.method6932+game.Class584.method6918+game.Class584.method6898+game.Class584.run+java.lang.Thread.run%3A745+%7C+java.lang.ArrayIndexOutOfBoundsException%3A+17+%7C++3136%2C3376%2C104%2C104+0%2C3187%2C3426+3+0+2+784%2C561+1+2+2+1+0+0+3631+1+16334+0irU8SxE4on1Tl9%2Fy7sxdiPtbP2kt8WC
    error_game_crash
    	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)
    	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
    	at java.net.URL.openStream(URL.java:1045)
    	at game.Class640.method7592(Unknown Source)
    	at game.Class584.run(Unknown Source)
    	at java.lang.Thread.run(Thread.java:745)
    This is an example of the client crash as reported in eclipse directly after using a bar on an anvil.
    As far as I can tell there is no crash information on the server side. The screen just goes black and forces you to close the client manually.
    I've been over all of the smithing.java and interface code, I have no idea what the problem is.
    Anyone else experience this?
    Reply With Quote  
     

  2. #2  
    Donator

    Join Date
    Oct 2010
    Posts
    685
    Thanks given
    49
    Thanks received
    67
    Rep Power
    63
    Works fine in both Legacy and Evolution of Combat interface styles. Try to get a fresh client.


    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Jan 2016
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Using the client from here: http://www.rune-server.org/runescape...l-release.html
    Just downloaded fresh, swapped the IP's in RS3Applet and still the black screen on anvil use.
    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 CurtisAHenson View Post
    Using the client from here: http://www.rune-server.org/runescape...l-release.html
    Just downloaded fresh, swapped the IP's in RS3Applet and still the black screen on anvil use.
    Post the new error you're getting. Idk the first client but I have matrix's one.
    Project thread
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jan 2016
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by clem585 View Post
    Post the new error you're getting. Idk the first client but I have matrix's one.
    Code:
    Error: game.Class83.method1256 game.Class512.method6083 game.Class603.method7145 game.Class550.method6532 game.client.method6932 game.Class584.method6918 game.Class584.method6898 game.Class584.run java.lang.Thread.run:745 | java.lang.ArrayIndexOutOfBoundsException: 17 |  3136,3376,104,104 0,3187,3426 3 0 2 784,561 1 2 2 1 0 0 3631 1 16334 0irU8SxE4on1Tl9/y7sxdiPtbP2kt8WC
    java.io.FileNotFoundException: http://curtisahenson.com/clienterror.ws?c=831&cs=1&u=Curtis&v1=Oracle+Corporation&v2=1.8.0_73&e=game.Class83.method1256+game.Class512.method6083+game.Class603.method7145+game.Class550.method6532+game.client.method6932+game.Class584.method6918+game.Class584.method6898+game.Class584.run+java.lang.Thread.run%3A745+%7C+java.lang.ArrayIndexOutOfBoundsException%3A+17+%7C++3136%2C3376%2C104%2C104+0%2C3187%2C3426+3+0+2+784%2C561+1+2+2+1+0+0+3631+1+16334+0irU8SxE4on1Tl9%2Fy7sxdiPtbP2kt8WC
    	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1836)
    	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
    error_game_crash
    	at java.net.URL.openStream(URL.java:1045)
    	at game.Class640.method7592(Unknown Source)
    	at game.Class584.run(Unknown Source)
    	at java.lang.Thread.run(Thread.java:745)
    Pretty sure its the same error.

    Quick update, fresh source / client with IP's changed only and the issue still occurs. Grabbed from the release post here: http://www.rune-server.org/runescape...l-release.html
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Oct 2014
    Posts
    135
    Thanks given
    2
    Thanks received
    9
    Rep Power
    12
    I am having this problem also, desperate for a fix.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Jan 2016
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by djmicallef20 View Post
    I am having this problem also, desperate for a fix.
    I have been working on this issue now for 3 days straight, if there is a fix it's definitely outside of my ability to fix without some guidance.
    Hoping for someone with more experience to come in and lend a hand so I can fix issues like this in the future. Let me know if you find anything?
    Reply With Quote  
     

  8. #8  
    Contributor

    clem585's Avatar
    Join Date
    Sep 2013
    Posts
    3,788
    Thanks given
    706
    Thanks received
    702
    Rep Power
    570
    Quote Originally Posted by CurtisAHenson View Post
    I have been working on this issue now for 3 days straight, if there is a fix it's definitely outside of my ability to fix without some guidance.
    Hoping for someone with more experience to come in and lend a hand so I can fix issues like this in the future. Let me know if you find anything?
    It's trying to acess component 17 for the interface. I'm guessing the interface now has only 16- components so you need to edit what's sent with the smithing interface.
    Project thread
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Oct 2014
    Posts
    135
    Thanks given
    2
    Thanks received
    9
    Rep Power
    12
    mind being a little more specific as to where the problem may be originating from?
    Reply With Quote  
     

  10. #10  
    Registered Member
    Join Date
    Jan 2016
    Posts
    13
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    In Smithing.java, a section of code causing the problem here:
    Code:
    public static void sendForgingInterface(Player player, int type, boolean dungeoneering) {
    		int baseLevel = BASE_LEVEL[dungeoneering ? 1 : 0][type];
    		int currentLevel = player.getSkills().getLevel(Skills.SMITHING);
    		if (currentLevel < baseLevel) {
    			player.getDialogueManager().startDialogue("SimpleMessage", "You need a Smithing level of " + baseLevel + " to forge this bar.");
    			return;
    		} /*else if (!player.getInventory().containsItemToolBelt(dungeoneering ? Smithing.DUNG_HAMMER : Smithing.HAMMER)) {
    			player.getDialogueManager().startDialogue("SimpleMessage", "You need a hammer to work the metal with.");
    			return;
    		}*/
    		player.getTemporaryAttributtes().put(Key.FORGE_TYPE, type);
    
    		/*for (int index = 0; index < BUILDS[type + (dungeoneering ? 6 : 0)].length; index++) {
    			int componentBase = COMPONENTS[dungeoneering ? 1 : 0][index];
    			int build = BUILDS[type + (dungeoneering ? 6 : 0)][index];
    			if (build == -1) {
    				continue;
    			}
    			if (dungeoneering) {
    				int componentId = index == 0 ? 22 : index == 1 ? 23 : (14 + index * 5);
    
    				player.getPackets().sendUnlockIComponentOptionSlots(DUNG_INTERFACE, componentId, 0, 5, 0, 1, 2, 3);
    				player.getPackets().sendInterSetItemsOptionsScript(DUNG_INTERFACE, componentId, 143 + index, 4, 5, "Make-1", "Make-5", "Make-X", "Make-All");
    
    				player.getPackets().sendHideIComponent(DUNG_INTERFACE, componentBase - (index >= 11 ? 2 : 0), true);
    				player.getPackets().sendItems(143 + index, new Item[]
    				{ new Item(build, getForgedAmount(index, true)) });
    
    				player.getPackets().sendIComponentText(DUNG_INTERFACE, componentBase - (index >= 11 ? 1 : 2), (currentLevel >= LEVEL_INCREMENT[1][index] + baseLevel ? "<col=FFFFFF>" : "") + NAMES[1][index]);
    				player.getPackets().sendIComponentText(DUNG_INTERFACE, componentBase - (index >= 11 ? 0 : 1), (player.getInventory().getAmountOf(BARS[1][type]) >= BAR_DEPLETION[1][index] ? "<col=00FF00>" : "") + BAR_DEPLETION[1][index] + " Bars");
    			} else {
    				setComponents(player, componentBase, dungeoneering);
    				player.getPackets().sendItemOnIComponent(FORGING_INTERFACE, componentBase, build, getForgedAmount(index, false));
    				player.getPackets().sendIComponentText(FORGING_INTERFACE, componentBase + 1, (currentLevel >= LEVEL_INCREMENT[0][index] + baseLevel ? "<col=FFFFFF>" : "") + NAMES[0][index]);
    				player.getPackets().sendIComponentText(FORGING_INTERFACE, componentBase + 2, (player.getInventory().getAmountOf(BARS[0][type]) >= BAR_DEPLETION[0][index] ? "<col=00FF00>" : "") + BAR_DEPLETION[dungeoneering ? 1 : 0][index] + " Bars");
    			}
    		}
    		if (!dungeoneering)
    			player.getPackets().sendIComponentText(FORGING_INTERFACE, 14, ItemDefinitions.getItemDefinitions(BARS[0][type]).getName().replace(" bar", "") + " Smithing");
    		player.getInterfaceManager().sendCentralInterface(dungeoneering ? DUNG_INTERFACE : FORGING_INTERFACE);*/
    	}
    
    	private static void setComponents(Player player, int componentBase, boolean dungeoneering) {
    		for (int i = -1; i < 7; i++) {
    			player.getPackets().sendHideIComponent(dungeoneering ? DUNG_INTERFACE : FORGING_INTERFACE, componentBase + i, false);
    
    		}
    	}
    @Line 181

    I commented out the for loop section which fixes the crash but obviously doesn't show the smithing interface, trying to iron out which line is causing the issue specifically.
    Part of the problem is I'm not really sure where we're going out of bounds at.
    Reply With Quote  
     

Page 1 of 3 123 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. Replies: 34
    Last Post: 07-26-2011, 10:35 PM
  2. Replies: 18
    Last Post: 06-15-2011, 05:04 PM
  3. Client crashes when clicking objects
    By Zombiedevice in forum Help
    Replies: 0
    Last Post: 08-20-2009, 05:55 AM
  4. All Clients Crash
    By Uncleysh in forum Help
    Replies: 1
    Last Post: 08-08-2009, 09:32 AM
  5. Replies: 1
    Last Post: 12-05-2008, 02:59 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
  •