Thread: Sprites in 317 Deob Client

Results 1 to 7 of 7
  1. #1 Sprites in 317 Deob Client 
    Zederation
    Guest
    Hello Rune-Server,

    I have been wondering how to add sprites to a 317 deob for quite some time now and would really appreciate it if someone could help me out.

    I have tried getting the code for sprite adding out of other clients but im not sure which bits of the code i need.

    Thanks
     

  2. #2  
    GinGee
    Guest
    do meanz tut and ull be able to
     

  3. #3  
    Zederation
    Guest
    I need a tutorial on how to do this.
     

  4. #4  
    I'm Back

    Stewie's Avatar
    Join Date
    Jul 2008
    Age
    26
    Posts
    7,989
    Thanks given
    1,877
    Thanks received
    1,491
    Rep Power
    5000
    Stephen, he doesn't need the sprite loading code. He needs the the If-Else sprite codes for whatever Type of client he has.


    [Only registered and activated users can see links. ]
     

  5. #5  
    Zederation
    Guest
    I have a 317 deob
     

  6. #6  
    GinGee
    Guest
    that will load the 377 icons on to it

    When you have download the 317 deob client, you will need to load the 377 icons to do this you will need to go into Class30_Sub2_Sub1_Sub1, and put this in there;

    Code:
    if(s.equalsIgnoreCase("compass"))
    {
    try
    {
    Image image40 = Toolkit.getDefaultToolkit().getImage((new StringBuilder()).append("./Stephen/Spirts/").append(s).append(" ").append(i).append(".png").toString());
    anIntArray1439 = new int[anInt1440 * anInt1441];
    PixelGrabber pixelgrabber40 = new PixelGrabber(image40, 0, 0, anInt1440, anInt1441, anIntArray1439, 0, anInt1440);
    pixelgrabber40.grabPixels();
    }
    catch(Exception exception40)
    {
    System.out.println(exception40);
    }
    }
    else if (s.startsWith("sideicon"))
    {
    try
    {
    Image image = Toolkit.getDefaultToolkit().getImage("./Stephen/Spirts/"+s+" "+i+".png");
    anInt1440 = 100;
    anInt1441 = 100;
    anIntArray1439 = new int[anInt1440 * anInt1441];
    PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, anInt1440, anInt1441, anIntArray1439, 0, anInt1440);
    pixelgrabber.grabPixels();


    }
    catch (Exception exception)
    {
    System.out.println(((Object) (exception)));
    }
    }
    else if (s.startsWith("staticons"))
    {
    try
    {
    Image image = Toolkit.getDefaultToolkit().getImage("./Stephen/Spirts/"+s+" "+i+".png");
    anInt1440 = 28;
    anInt1441 = 28;
    anIntArray1439 = new int[anInt1440 * anInt1441];
    PixelGrabber pixelgrabber = new PixelGrabber(image, 0, 0, anInt1440, anInt1441, anIntArray1439, 0, anInt1440);
    pixelgrabber.grabPixels();

    }
    catch (Exception exception)
    {
    System.out.println(((Object) (exception)));
    }
    }
    Now open Client.Java and look for;
    Code:
    aClass30_Sub2_Sub1_Sub1Array947
    Untill you find somthing like this;
    Code:
    if(anIntArray1130[0] != -1 && (anInt1054 != 0 || anInt1161 % 20 < 10))
    aClass30_Sub2_Sub1_Sub2Array947[0].method361(29, 16083, 13);
    if(anIntArray1130[1] != -1 && (anInt1054 != 1 || anInt1161 % 20 < 10))
    aClass30_Sub2_Sub1_Sub2Array947[1].method361(53, 16083, 11);
    if(anIntArray1130[2] != -1 && (anInt1054 != 2 || anInt1161 % 20 < 10))
    aClass30_Sub2_Sub1_Sub2Array947[2].method361(82, 16083, 11);
    if(anIntArray1130[3] != -1 && (anInt1054 != 3 || anInt1161 % 20 < 10))
    aClass30_Sub2_Sub1_Sub2Array947[3].method361(115, 16083, 12);
    if(anIntArray1130[4] != -1 && (anInt1054 != 4 || anInt1161 % 20 < 10))
    aClass30_Sub2_Sub1_Sub2Array947[4].method361(153, 16083, 13);
    if(anIntArray1130[5] != -1 && (anInt1054 != 5 || anInt1161 % 20 < 10))
    aClass30_Sub2_Sub1_Sub2Array947[5].method361(180, 16083, 11);
    if(anIntArray1130[6] != -1 && (anInt1054 != 6 || anInt1161 % 20 < 10))
    aClass30_Sub2_Sub1_Sub2Array947[6].method361(208, 16083, 13);
    }
    Then you will need to keep finding somthing like that and changed it all to this;

    Code:
    if(anIntArray1130[0] != -1 && anInt1054 == 0)
    if(anInt1161 % 20 >= 10);
    aClass30_Sub2_Sub1_Sub1Array947[0].method348(29, 16083, 13);
    if(anIntArray1130[1] != -1 && anInt1054 == 1)
    if(anInt1161 % 20 >= 10);
    aClass30_Sub2_Sub1_Sub1Array947[1].method348(53, 16083, 11);
    if(anIntArray1130[2] != -1 && anInt1054 == 2)
    if(anInt1161 % 20 >= 10);
    aClass30_Sub2_Sub1_Sub1Array947[2].method348(82, 16083, 11);
    if(anIntArray1130[3] != -1 && anInt1054 == 3)
    if(anInt1161 % 20 >= 10);
    aClass30_Sub2_Sub1_Sub1Array947[3].method348(115, 16083, 12);
    if(anIntArray1130[4] != -1 && anInt1054 == 4)
    if(anInt1161 % 20 >= 10);
    aClass30_Sub2_Sub1_Sub1Array947[4].method348(153, 16083, 13);
    if(anIntArray1130[5] != -1 && anInt1054 == 5)
    if(anInt1161 % 20 >= 10);
    aClass30_Sub2_Sub1_Sub1Array947[5].method348(180, 16083, 11);
    if(anIntArray1130[6] != -1 && anInt1054 == 6)
    if(anInt1161 % 20 >= 10);
    aClass30_Sub2_Sub1_Sub1Array947[6].method348(208, 16083, 13);
    }
    aClass15_1125.method238(160, 23680, super.aGraphics12, 516);
    aClass15_1124.method237(0);
    aClass30_Sub2_Sub1_Sub2_1028.method361(0, 16083, 0);
    if(anInt1189 == -1)
    {
    if(anIntArray1130[anInt1221] != -1)
    {
    if(anInt1221 == 7)
    aClass30_Sub2_Sub1_Sub2_865.method361(42, 16083, 0);
    if(anInt1221 == 8)
    aClass30_Sub2_Sub1_Sub2_866.method361(74, 16083, 0);
    if(anInt1221 == 9)
    aClass30_Sub2_Sub1_Sub2_866.method361(102, 16083, 0);
    if(anInt1221 == 10)
    aClass30_Sub2_Sub1_Sub2_867.method361(130, 16083, 1);
    if(anInt1221 == 11)
    aClass30_Sub2_Sub1_Sub2_869.method361(173, 16083, 0);
    if(anInt1221 == 12)
    aClass30_Sub2_Sub1_Sub2_869.method361(201, 16083, 0);
    if(anInt1221 == 13)
    aClass30_Sub2_Sub1_Sub2_868.method361(229, 16083, 0);
    }
    if(anIntArray1130[8] != -1 && anInt1054 == 8)
    if(anInt1161 % 20 >= 10);
    aClass30_Sub2_Sub1_Sub1Array947[7].method348(74, 16083, 2);
    if(anIntArray1130[9] != -1 && anInt1054 == 9)
    if(anInt1161 % 20 >= 10);
    aClass30_Sub2_Sub1_Sub1Array947[8].method348(102, 16083, 3);
    if(anIntArray1130[10] != -1 && anInt1054 == 10)
    if(anInt1161 % 20 >= 10);
    aClass30_Sub2_Sub1_Sub1Array947[9].method348(137, 16083, 4);
    if(anIntArray1130[11] != -1 && anInt1054 == 11)
    if(anInt1161 % 20 >= 10);
    aClass30_Sub2_Sub1_Sub1Array947[10].method348(174, 16083, 2);
    if(anIntArray1130[12] != -1 && anInt1054 == 12)
    if(anInt1161 % 20 >= 10);
    aClass30_Sub2_Sub1_Sub1Array947[11].method348(201, 16083, 2);
    if(anIntArray1130[13] != -1 && anInt1054 == 13)
    if(anInt1161 % 20 >= 10);
    aClass30_Sub2_Sub1_Sub1Array947[12].method348(226, 16083, 2);
    }
     

  7. #7  
    Zederation
    Guest
    Thanks mate, Rep++
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Tags for this Thread

View Tag Cloud

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