Thread: Fixing Minimap For Newer Gameframe

Results 1 to 9 of 9
  1. #1 Fixing Minimap For Newer Gameframe 
    Registered Member failz's Avatar
    Join Date
    Jun 2010
    Posts
    119
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Purpose: Updating Minimap For Newer Gameframes.
    Difficulty: 3/10
    Assumed Knowledge: Copy And Paste.
    Classes Modified: Client.Java And Class30_Sub2_Sub1_Sub1.Java.
    Refactored/Non-Refactored?: Non-Refactored.
    Tested On: 317 Deob.

    Step One:
    Put this in Mehtod8 with the others.
    CustomMapback = null
    Add this into Mehotd79 with the others
    CustomMapback.method348(0, 16083, 0);
    Step Two:
    Search for:
    aClass30_Sub2_Sub1_Sub2_1197 = new Class30_Sub2_Sub1_Sub2(class44_2, "mapback", 0);
    Under that add this
    CustomMapback = new Class30_Sub2_Sub1_Sub1(class44_2, "mapback", 0);
    Replace your method141 with this
    public final void method141(Class30_Sub2_Sub1_Sub1 class30_sub2_sub1_sub1, int i, int j, boolean flag)
    {
    int k = anInt1185 + anInt1209 & 0x7ff;
    int l = i * i + j * j;
    if(flag)
    return;
    if(l > 6400)
    return;
    int i1 = Class30_Sub2_Sub4_Sub6.anIntArray1689[k];
    int j1 = Class30_Sub2_Sub4_Sub6.anIntArray1690[k];
    i1 = (i1 * 256) / (anInt1170 + 256);
    j1 = (j1 * 256) / (anInt1170 + 256);
    int k1 = j * i1 + i * j1 >> 16;
    int l1 = j * j1 - i * i1 >> 16;
    if(l > 2500)
    {
    class30_sub2_sub1_sub1.method354(aClass30_Sub2_Sub 1_Sub2_1197, false, 83 - l1 - class30_sub2_sub1_sub1.anInt1445 / 2 - 4, ((94 + k1) - class30_sub2_sub1_sub1.anInt1444 / 2) + 4);
    CustomMapback.method348(0, 16083, 0); //test
    return;
    } else
    {
    class30_sub2_sub1_sub1.method348(((94 + k1) - class30_sub2_sub1_sub1.anInt1444 / 2) + 4, 16083, 83 - l1 - class30_sub2_sub1_sub1.anInt1445 / 2 - 4);
    CustomMapback.method348(0, 16083, 0); //test
    return;
    }
    }
    Step Three:
    Add this at the bottom on Client.Java with the rest
    private Class30_Sub2_Sub1_Sub1 CustomMapback;
    Search for
    Class30_Sub2_Sub1.method336(3, 78, 97, 0xffffff, 3, 0);
    Under that add this
    CustomMapback.method348(0, 16083, 0);
    Step Four:
    Search for
    anIntArray1229
    anIntArray1052
    Replace that with
    for (int x = 0; x < anIntArray1229.length; x++){
    anIntArray1229[x] = 175;
    anIntArray1052[x] = -23;
    Step Five:
    Search this
    if(anInt1023 != 2)
    Until you see something like this
    if(anInt1023 != 2)
    {
    aClass15_1165.method238(4, 23680, super.aGraphics12, 4);
    aClass15_1164.method238(4, 23680, super.aGraphics12, 550);
    }
    Replace it with this
    if(anInt1023 != 2)
    {
    aClass15_1165.method238(4, 23680, super.aGraphics12, 4);
    aClass15_1164.method238(4, 23680, super.aGraphics12, 526);
    }
    Search for
    aClass15_1164.method238
    Replace it with
    aClass15_1164.method238(4, 23680, super.aGraphics12, 526);
    Step Six:
    Search for this in mehtod92
    if(super.anInt26 == 1)
    Replace it with
    if(super.anInt26 == 1)
    {
    int i = super.anInt27 - 25 - 527;
    int j = super.anInt28 - 5 - 4;
    if(i >= 0 && j >= 0 && i < 146 && j < 151)
    Step Seven:
    Find this
    aClass30_Sub2_Sub1_Sub2_1122 = new Class30_Sub2_Sub1_Sub2(class44_2, "compass", 0);
    replace it with
    aClass30_Sub2_Sub1_Sub1_1122 = new Class30_Sub2_Sub1_Sub1(class44_2, "compass", 0);
    Find this
    aClass30_Sub2_Sub1_Sub2_1122 = null;
    replace it with
    aClass30_Sub2_Sub1_Sub1_1122 = null;
    Find this (you should find it twice replace both of them)
    (33, anInt1185, anIntArray1057, 256, anIntArray968, -236, 25, 0, 0, 33, 25);
    Replace it with
    aClass30_Sub2_Sub1_Sub1_1122.method352(33, anInt1185, anIntArray1057, 256, anIntArray968, -236, 25, 3, 1, 33, 25);
    Find this
    private Class30_Sub2_Sub1_Sub2 aClass30_Sub2_Sub1_Sub2_1122;
    Replace it with
    private Class30_Sub2_Sub1_Sub1 aClass30_Sub2_Sub1_Sub1_1122;
    Step Eight:
    Find this
    aClass15_1164 = new Class15
    Replace it with
    aClass15_1164 = new Class15(239, 156, method11(0), 0);
    Find
    backright1
    Delete the whole 3 lines
    Delete this
    aClass15_905 = null;
    And delete this
    aClass15_905.method238
    Also delete this
    private Class15 aClass15_905;
    Step Nine:
    Go into Class30_Sub2_Sub1_Sub1.Java
    Add this somewhere with the rest (make sure you change the paths)
    else if(s.equalsIgnoreCase("compass"))
    {
    try
    {
    Image image40 = Toolkit.getDefaultToolkit().getImage((new StringBuilder()).append(signlink.findcachedir()+"/Sprites/").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.equalsIgnoreCase("mapback") && i >= 0)
    {
    try {
    Image image = Toolkit.getDefaultToolkit().getImage("./cache/Sprites/MAPBACK1 0.PNG");
    anInt1440 = 239;
    anInt1441 = 156;
    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("backvmid1") && i == 0)
    {
    try
    {
    Image image = Toolkit.getDefaultToolkit().getImage("./cache/Sprites/BACKVMID1 0.PNG");
    anInt1440 = 10;
    anInt1441 = 156;
    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)));
    }
    }
    Step Ten:
    Download this and add it into your client
    UppIT - Free File hosting - Minimap.rar
    And delete BACKRIGHT1 0 in your sprites folder if you like.

    End result:

    Perfect Clicking, Perfect Compass.

    Credits:
    Stewie 20%
    Me 75%
    Bluur 5%

    Enjoy
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jun 2010
    Posts
    559
    Thanks given
    105
    Thanks received
    30
    Rep Power
    17
    Ily.
    Reply With Quote  
     

  3. #3  
    Registered Member failz's Avatar
    Join Date
    Jun 2010
    Posts
    119
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    No problem
    Reply With Quote  
     

  4. #4  
    Registered Member
    gamerx's Avatar
    Join Date
    May 2008
    Posts
    310
    Thanks given
    12
    Thanks received
    4
    Rep Power
    355
    doesn't work for me, can you tell me which parts actually change the position of the map, and which parts change the clicking?
    Spoiler for Awesome List:

    • Stewie, You are kick-ass
    • Galkon, FTW < just ftw
    • Shamon King, Thanks for sprites
    • JGMS, im sad you left
    • Avatar Realms, thanks for your help
    • 1337, umm, yeah...
    Reply With Quote  
     

  5. #5  
    Registered Member failz's Avatar
    Join Date
    Jun 2010
    Posts
    119
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Step five and the first bit of step 6 however it won't work unless you do my tutorial this could of been alot shorter if i didn't include the custom mapback and the hardcoding but i didn't what people with out that to complain.
    Reply With Quote  
     

  6. #6  
    Registered Member
    gamerx's Avatar
    Join Date
    May 2008
    Posts
    310
    Thanks given
    12
    Thanks received
    4
    Rep Power
    355
    hmm, i successfully moved the minimap position, but now my dot and the little icons move around when rotating...

    happen to know where the are set?
    Spoiler for Awesome List:

    • Stewie, You are kick-ass
    • Galkon, FTW < just ftw
    • Shamon King, Thanks for sprites
    • JGMS, im sad you left
    • Avatar Realms, thanks for your help
    • 1337, umm, yeah...
    Reply With Quote  
     

  7. #7  
    Ex RSPS-cleaner

    SWAT's Avatar
    Join Date
    Aug 2007
    Age
    30
    Posts
    5,484
    Thanks given
    403
    Thanks received
    599
    Rep Power
    3609
    nice leech? my image + i posted this before
    Reply With Quote  
     

  8. #8  
    Registered Member failz's Avatar
    Join Date
    Jun 2010
    Posts
    119
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    HAHAHA yeah i can remove that image if you like i just typed in Minimap runescape or something on google and it came up so i used it
    Leech?? Link me where you posted
    Last edited by failz; 09-27-2010 at 10:30 AM. Reason: Typo
    Reply With Quote  
     

  9. #9  
    Registered Member failz's Avatar
    Join Date
    Jun 2010
    Posts
    119
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    Bump? And also swat im still looking for that link you said i leeched it from....
    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. Replies: 29
    Last Post: 02-21-2013, 02:16 PM
  2. Replies: 11
    Last Post: 07-21-2010, 10:45 PM
  3. Fixing Menu list Over GameFrame(Basics)
    By SWAT in forum Tutorials
    Replies: 65
    Last Post: 10-25-2009, 01:10 PM
  4. fixing chatbox for new gameframe
    By mige5 in forum Help
    Replies: 0
    Last Post: 04-17-2009, 07:55 PM
  5. newer sig(s)
    By Novalyfeee in forum Showcase
    Replies: 8
    Last Post: 05-15-2007, 03:00 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
  •