Thread: New Animation Header(All Files Work)

Page 1 of 31 12311 ... LastLast
Results 1 to 10 of 303
  1. #1 New Animation Header(All Files Work) 
    Ex RSPS-cleaner

    SWAT's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    5,484
    Thanks given
    403
    Thanks received
    599
    Rep Power
    3609
    Purpose: This header is not the same as the 474 header. its my own header as close as the real one,
    but soon ill release 525 anims as well all i got to do is rename some things.
    i released this because i quit rsps and ppl are now going crazy because some client was released.
    Difficulty: 1/10
    Assumed Knowledge: C&P
    Classes Modified: Class36 & Class18
    Refactored/Non-Refactored?: non refactored

    In Class36 replace this method.
    Code:
        public static void method529(byte abyte0[], boolean flag)
        {
    
            Class30_Sub2_Sub2 class30_sub2_sub2 = new Class30_Sub2_Sub2(abyte0);
            class30_sub2_sub2.anInt1406 = abyte0.length - 12;
            int i = class30_sub2_sub2.method413();
            int j = class30_sub2_sub2.method413();
            int k = class30_sub2_sub2.method413();
            int i1 = 0;
            Class30_Sub2_Sub2 class30_sub2_sub2_1 = new Class30_Sub2_Sub2(abyte0);
            class30_sub2_sub2_1.anInt1406 = i1;
            i1 += i + 4;
            Class30_Sub2_Sub2 class30_sub2_sub2_2 = new Class30_Sub2_Sub2(abyte0);
            class30_sub2_sub2_2.anInt1406 = i1;
            i1 += j;
            Class30_Sub2_Sub2 class30_sub2_sub2_3 = new Class30_Sub2_Sub2(abyte0);
            class30_sub2_sub2_3.anInt1406 = i1;
            i1 += k-16;
            Class30_Sub2_Sub2 class30_sub2_sub2_4 = new Class30_Sub2_Sub2(abyte0);
            class30_sub2_sub2_4.anInt1406 = i1;
    
            Class18 class18 = new Class18(class30_sub2_sub2_4);
            int k1 = class30_sub2_sub2_1.method413();
            int ai[] = new int[500];
            int ai1[] = new int[500];
            int ai2[] = new int[500];
            int ai3[] = new int[500];
            for(int l1 = 0; l1 < k1; l1++)
            {
                int i2 = class30_sub2_sub2_1.method413();
                Class36 class36 = aClass36Array635[i2] = new Class36();
                class36.aClass18_637 = class18;
                int j2 = class30_sub2_sub2_1.method408();
                int k2 = -1;
                int l2 = 0;
                for(int i3 = 0; i3 < j2; i3++)
                {
                    int j3 = class30_sub2_sub2_2.method408();
                    if(j3 > 0)
                    {
                        if(class18.anIntArray342[i3] != 0)
                        {
                            for(int l3 = i3 - 1; l3 > k2; l3--)
                            {
                                if(class18.anIntArray342[l3] != 0)
                                    continue;
                                ai[l2] = l3;
                                ai1[l2] = 0;
                                ai2[l2] = 0;
                                ai3[l2] = 0;
                                l2++;
                                break;
                            }
    
                        }
                        ai[l2] = i3;
                        char c = '\0';
                        if(class18.anIntArray342[i3] == 3)
                            c = '\200';
                        if((j3 & 1) != 0)
                            ai1[l2] = class30_sub2_sub2_3.method421();
                        else
                            ai1[l2] = c;
                        if((j3 & 2) != 0)
                            ai2[l2] = class30_sub2_sub2_3.method421();
                        else
                            ai2[l2] = c;
                        if((j3 & 4) != 0)
                            ai3[l2] = class30_sub2_sub2_3.method421();
                        else
                            ai3[l2] = c;
                        k2 = i3;
                        l2++;
                	}
    	}
    
                class36.anInt638 = l2;
                class36.anIntArray639 = new int[l2];
                class36.anIntArray640 = new int[l2];
                class36.anIntArray641 = new int[l2];
                class36.anIntArray642 = new int[l2];
                for(int k3 = 0; k3 < l2; k3++)
                {
                    class36.anIntArray639[k3] = ai[k3];
                    class36.anIntArray640[k3] = ai1[k3];
                    class36.anIntArray641[k3] = ai2[k3];
                    class36.anIntArray642[k3] = ai3[k3];
                }
    
            }
    
        }

    And in class18 add this method.

    Code:
        public Class18(Class30_Sub2_Sub2 class30_sub2_sub2)
        {
            int anInt341 = class30_sub2_sub2.method408();
            anIntArray342 = new int[anInt341];
            anIntArrayArray343 = new int[anInt341][];
            for(int j = 0; j < anInt341; j++)
                anIntArray342[j] = class30_sub2_sub2.method408();
    
    	for(int j = 0; j < anInt341; j++)
    	    anIntArrayArray343[j] = new int[class30_sub2_sub2.method408()];
    
            for(int j = 0; j < anInt341; j++)
    		for (int l = 0; l < anIntArrayArray343[j].length; l++)
    			anIntArrayArray343[j][l] = class30_sub2_sub2.method408();
    
        }
    And in class Class30_Sub2_Sub2 add this:
    Code:
        public Class30_Sub2_Sub2(byte abyte0[])
    	{
                aByteArray1405 = abyte0;
                anInt1406 = 0;
    
        }


    NOTE: This will make the current 317 files unreadable. or make 2 methods, or just replace the files in the cache.



    Here are the files : Downloading - anim.rar @ UppIT


    there was a small anti leech-
    [Today 11:15 PM] Mr FlameBox: While the max is like 1750 of skillcapes xD
    [Today 11:15 PM] Mr FlameBox: Since those anims require maybe like frame id 3000
    [Today 11:14 PM] Mr FlameBox: Yes
    [Today 11:14 PM] Josh: So me having the blank stand anim would be normal then?
    [Today 11:14 PM] Mr FlameBox: Over and over and over
    [Today 11:14 PM] Mr FlameBox: So all files are loaded in like only 2000frames xD
    [Today 11:13 PM] Mr FlameBox: Lol i had a small anti leech turns out everyone was to stupid or couldn't care, there isnt a frame list all frames have the id of the frame id in the file
    [Today 11:13 PM] Josh: Nope lol, gave up. couldn't be arsed trying again.
    [Today 11:12 PM] Mr FlameBox: Still havent got the anims to work?
     

  2. Thankful users:


  3. #2  
    Respected Member


    George's Avatar
    Join Date
    Mar 2009
    Posts
    7,099
    Thanks given
    2,226
    Thanks received
    3,146
    Rep Power
    5000
    What is this?
    Attached image

    Spoiler for Spoilers!:
    Attached image
    Attached image
    Attached image
    Attached image
     

  4. #3  
    Registered Member
    Nathan R's Avatar
    Join Date
    Jul 2007
    Age
    31
    Posts
    771
    Thanks given
    0
    Thanks received
    18
    Rep Power
    85
    Thanks for the release swat really appreciate your contributions to the community keep up the good work

    got a few errors but ill work them out
     

  5. #4  
    Registered Member
    Join Date
    Nov 2009
    Posts
    3,052
    Thanks given
    112
    Thanks received
    838
    Rep Power
    740
    Awesome, but your missing a bracket at the end of method529 or that ur anti leech? and theres also somethig with ur class18 code
    Edit:
    loaderror requesting animation 65 i need to replace all the anim files first D: thats gnna be a hell of work
     

  6. #5  
    Ex RSPS-cleaner

    SWAT's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    5,484
    Thanks given
    403
    Thanks received
    599
    Rep Power
    3609
    Quote Originally Posted by owner blade View Post
    Awesome, but your missing a bracket at the end of method529 or that ur anti leech? and theres also somethig with ur class18 code
    do you ppl even read the damn thread or just copy and leave

    read the note at the bottom
     

  7. #6  
    Registered Member
    Join Date
    Nov 2009
    Posts
    3,052
    Thanks given
    112
    Thanks received
    838
    Rep Power
    740
    Yes ive read it, but i dont know how i wud replace all those files. maybe make a method for it? ?
     

  8. #7  
    Registered Member
    Join Date
    Nov 2009
    Posts
    3,052
    Thanks given
    112
    Thanks received
    838
    Rep Power
    740
    Sorry for double post*
    ok i packed all files into my cache idx2 right?
    But my client wont load now, it doesnt give errors, but doesnt load either, it just doesnt load any fruther then models
     

  9. #8  
    Registered Member

    Join Date
    Oct 2009
    Posts
    1,595
    Thanks given
    100
    Thanks received
    50
    Rep Power
    232
    Nice,

     

  10. #9  
    Community Veteran

    mige5's Avatar
    Join Date
    Aug 2008
    Posts
    5,528
    Thanks given
    573
    Thanks received
    1,410
    Rep Power
    2114
    If this doesnt have the file size limitation like the other methods do, then nice (i mean like, if this can load kbd anims etc.)
    Number of page #1 releases with most views & posts: (Updated: 2023)
    RS2 server section: 1
    RS2 client section: 2
     

  11. #10  
    Ex RSPS-cleaner

    SWAT's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    5,484
    Thanks given
    403
    Thanks received
    599
    Rep Power
    3609
    yes this loads all files without errors including skillcapes and dragons etc
     

Page 1 of 31 12311 ... 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
  •