Thread: 718 Grand Exchange buy selection Crash

Results 1 to 3 of 3
  1. #1 718 Grand Exchange buy selection Crash 
    Owner of Zerion/Orvii
    robstever's Avatar
    Join Date
    Jun 2013
    Posts
    154
    Thanks given
    60
    Thanks received
    22
    Rep Power
    45
    Hello fellow users. Today I am reaching out with hopes that someone has some information available to help solve the problem of Grand Exchange Crashing the client upon selecting certain items during BUY.

    When searching for an item in the Grand Exchange, all is as it should be.... Select to buy a "pernix body" or "malevolent greaves"
    the client disconnects.

    the client is throwing this error:

    Code:
    java.lang.ArrayIndexOutOfBoundsException: 15458
        at PacketsDecoder.method4548(PacketsDecoder.java:1912)
        at Class247.method2370(Class247.java:252)
        at Class126.method1407(Class126.java:229)
        at client.method2806(client.java:2994)
        at client.method2773(client.java:636)
        at Class291.method2764(Class291.java:614)
        at Class291.method2759(Class291.java:439)
        at Class291.run(Class291.java:385)
        at java.lang.Thread.run(Unknown Source)
    when i go to line 1912 in PacketsDecoder.jerba, i find " if (Class389.aClass119Array4165[i432] != null) { "
    is where the error is being thrown.
    i432 is seeming to be what is out of bounds, but I cannot seem to trace it..
    the whole packet is below, client sided, as I do not even know what packet this is, server sided, i cannot include it.





    Code:
    if (((Class25) class25).INCOMMING_PACKET == IncommingPacket.aClass202_2227) {
                    int i432 = stream.readUnsignedShort();
                    int i433 = stream.readUnsignedShort();
                    int i434 = stream.readUnsignedShort();
                    Class343.method4162(1555900413);
                    if (Class389.aClass119Array4165[i432] != null) {
                        for (int i435 = i433; i435 < i434; i435++) {
                            int i436 = stream.read24BitUnsignedInteger((byte) -1);
                            if (i435 < (Class389.aClass119Array4165[i432].aClass105Array1405).length && (Class389.aClass119Array4165[i432].aClass105Array1405[i435]) != null)
                                Class389.aClass119Array4165[i432].aClass105Array1405[i435].anInt1141 = i436 * -177949397;
                        }
                    }
                    ((Class25) class25).INCOMMING_PACKET = null;
                    return true;
                }
    If anyone can help me with this ASAP, i would be willing to work something out for your time/service.
    Thank you in advanced!
    Attached image
    Reply With Quote  
     

  2. #2  
    Christ is King

    Makar's Avatar
    Join Date
    Jul 2011
    Age
    29
    Posts
    2,004
    Thanks given
    545
    Thanks received
    965
    Rep Power
    427
    Code:
    } else if (context.currentPacket == ServerPacket.DEBUG_SERVER_TRIGGERS) {
    	int interfaceId = buffer.readUnsignedShort();
    	int fromComponent = buffer.readUnsignedShort();
    	int toComponent = buffer.readUnsignedShort();
    	Class470.method7825();
    	if (CustomCursorsPreference.INTERFACES[interfaceId] != null) {
    		for (int i = fromComponent; i < toComponent; i++) {
    			int debugTrigger = buffer.read24BitUnsignedInteger();
    			if (i < CustomCursorsPreference.INTERFACES[interfaceId].components.length && CustomCursorsPreference.INTERFACES[interfaceId].components[i] != null) {
    				CustomCursorsPreference.INTERFACES[interfaceId].components[i].serverTriggers = debugTrigger;
    			}
    		}
    	}
    	context.currentPacket = null;
    	return true;
    }
    The packet looks very much like that packet. Which is entirely useless from what I can see. So you'd have to give more information on what the server is sending. Either the server is sending some invalid sized packets, or someone edited this packet to do something other than its intended function.
    Attached image
    The best open-source pre-eoc remake project that isn't in its early stages for once
    Darkan Client (727 Client Refactor)
    Darkan World Server
    “It would not be impossible to prove with sufficient repetition and a psychological understanding of the people concerned that a square is in fact a circle. They are mere words, and words can be molded until they clothe ideas and disguise.”
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Owner of Zerion/Orvii
    robstever's Avatar
    Join Date
    Jun 2013
    Posts
    154
    Thanks given
    60
    Thanks received
    22
    Rep Power
    45
    I would be glad to provide more information on what the server is sending, except I have no knowledge of how to trace this particular packet. i know buying/selling isi not allowed, but i would be willing to pay for some more structural knowledge.

    **FIXED**

    seems the packets being sent from the grand exchange extra details were indeed sending invalid values. thank you for pointing me in the right direction!
    Attached image
    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. [718] Grand Exchange Buying Help
    By lucasned in forum Buying
    Replies: 5
    Last Post: 02-16-2014, 12:18 AM
  2. 718 grand exchange check buy/sell
    By helpMe in forum Help
    Replies: 2
    Last Post: 07-11-2013, 03:59 PM
  3. Replies: 13
    Last Post: 05-11-2013, 09:52 PM
  4. Grand Exchange buy/sell intefaces
    By joey. in forum Snippets
    Replies: 58
    Last Post: 05-05-2010, 05:05 AM
  5. Grand Exchange buy/sell intefaces
    By joey. in forum Tutorials
    Replies: 51
    Last Post: 07-07-2009, 07:58 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
  •