Thread: (Project insanity) Client Cmd)

Results 1 to 8 of 8
  1. #1 (Project insanity) Client Cmd) 
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    Code:
    java.lang.ArrayIndexOutOfBoundsException: 1
            at Class36.methodCustomAnimations(Class36.java:65)
            at Animation.unpackConfig(Animation.java:1711)
            at client.startUp(client.java:7495)
            at RSApplet.run(RSApplet.java:33)
            at client.run(client.java:4688)
            at java.lang.Thread.run(Unknown Source)
    NPC.DAT : 1489108188
    Called method225
    NPC.IDX : 1489126980
    Called method225
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jul 2008
    Posts
    3,163
    Thanks given
    235
    Thanks received
    74
    Rep Power
    209
    go in animation and find this if(j == 7030){
    and delete or comment it out like this


    /*
    if(j == 7030){
    int file = 1765;
    if(FrameStart[file] < 1)
    Class36.methodCustomAnimations(false, file);
    int[] frames = {3,2,0,1,4,0};
    int[] delays = {3,3,3,3,3,0};
    anims[j].anInt352 = frames.length-1;
    anims[j].anIntArray353 = new int[frames.length-1];
    anims[j].anIntArray354 = new int[frames.length-1];
    anims[j].anIntArray355 = new int[frames.length-1];
    for(int i2 = 0; i2 < frames.length-1; i2++){
    anims[j].anIntArray353[i2] = frames[i2]+FrameStart[file];
    anims[j].anIntArray354[i2] = -1;
    anims[j].anIntArray355[i2] = delays[i2];
    }
    }*/
    Reply With Quote  
     

  3. #3  
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    can explain wat wrong with it?

    compile and get this now when running cmd

    Code:
    NPC.DAT : 1489108188
    Called method225
    NPC.IDX : 1489126980
    Called method225

    Code:
    	public byte[] getDataForName(String s)
    	{
    		byte abyte0[] = null; //was a parameter
    		int i = 0;
    		s = s.toUpperCase();
    		for(int j = 0; j < s.length(); j++)
    			i = (i * 61 + s.charAt(j)) - 32;
    		if (s.equalsIgnoreCase("NPC.DAT") || s.equalsIgnoreCase("NPC.IDX"))
    			System.out.println(s + " : " + i);
    
    		for(int k = 0; k < dataSize; k++)
    			if(anIntArray728[k] == i)
    			{
    				if(abyte0 == null)
    					abyte0 = new byte[anIntArray729[k]];
    				if(!aBoolean732)
    				{
    					Class13.method225(abyte0, anIntArray729[k], aByteArray726, anIntArray730[k], anIntArray731[k]);
    					if (s.equalsIgnoreCase("NPC.DAT") || s.equalsIgnoreCase("NPC.IDX"))
    						System.out.println("Called method225");
    				} else
    				{
    					System.arraycopy(aByteArray726, anIntArray731[k], abyte0, 0, anIntArray729[k]);
    				}
    				return abyte0;
    			}
    
    		return null;
    	}
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Jul 2008
    Posts
    3,163
    Thanks given
    235
    Thanks received
    74
    Rep Power
    209
    thats normal loll ,now u have to fix t1 error but dont effect ur client so u cant ignore that t1 error
    gl-add me [email protected]
    Reply With Quote  
     

  5. #5  
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    what do you mean?
    Reply With Quote  
     

  6. #6  
    Registered Member MonsterDev's Avatar
    Join Date
    Mar 2009
    Posts
    503
    Thanks given
    60
    Thanks received
    47
    Rep Power
    21
    Lol who cares, client works doesn't it?
    Retired
    Reply With Quote  
     

  7. #7  
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    Nvm..Fixed.
    Reply With Quote  
     

  8. #8  
    Officially Retired


    Join Date
    Oct 2007
    Age
    30
    Posts
    5,454
    Thanks given
    558
    Thanks received
    122
    Rep Power
    1364
    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

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