Thread: [Renamed]New 500+ Shops Interface

Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11  
    Banned

    Join Date
    Oct 2007
    Posts
    1,406
    Thanks given
    37
    Thanks received
    79
    Rep Power
    0
    Added non-renamed!
     

  2. #12  
    Community Veteran

    Dust R I P's Avatar
    Join Date
    Jan 2008
    Posts
    2,556
    Thanks given
    183
    Thanks received
    198
    Rep Power
    561
    Where is it then? i dont see it
     

  3. #13  
    Banned

    Join Date
    Oct 2007
    Posts
    1,406
    Thanks given
    37
    Thanks received
    79
    Rep Power
    0
    removed there was a bug our only hope for non-renamed is 2012
     

  4. #14  
    Registered Member
    Join Date
    Sep 2007
    Posts
    107
    Thanks given
    0
    Thanks received
    1
    Rep Power
    4
    Lol I would try to un-name it but i might FAIL EPICLY lol. Only thing I do know is the

    Code:
    aclass44 = streamloader;
    Turns into

    Code:
    aclass44 = class44
    and the

    Code:
    runescapesnewshopsInterface(aClass44, textDrawingAreas);
    turns into

    Code:
    runescapesnewshopsInterface(aclass30_sub2_sub1_sub4);
    I might try un-naming it tomorrow (ATTEMPT) lol but thats like all I know from looking at it lol
     

  5. #15  
    Banned

    Join Date
    Oct 2007
    Posts
    1,406
    Thanks given
    37
    Thanks received
    79
    Rep Power
    0
    ^yeah thanks paper
     

  6. #16  
    Tariq
    Guest
    sweet. ill try make it switch. if i dont make it work out myself then ill just wait for your version.
     

  7. #17  
    Registered Member
    Join Date
    Sep 2007
    Posts
    107
    Thanks given
    0
    Thanks received
    1
    Rep Power
    4
    this is what I have so far...It looks right. (just the beginning)

    Code:
    public static void runescapesnewshopsInterface()
    	{
    		Class9 class9 = addTab(3824);
    		class9.anInt261 = 0;
    		class9.anIntArray240 = new int[7];
    		class9.anIntArray241 = new int[7];
    		class9.anIntArray272 = new int[7];
    		addSprite(22029, 9,"sprite");
    		Tab.children[0] = 22029;
    		Tab.childX[0] = 0;
    		Tab.childY[0] = 0;
    		addButton(3902, 7, "Close","sprite");
    		Tab.children[1] = 3902;
    		Tab.childX[1] = 474;
    		Tab.childY[1] = 30;
    		addText(22030, "null",tda,2,0xFF981F,0,true);
    		Tab.children[2] = 22030;
    		Tab.childX[2] = 260;
    		Tab.childY[2] = 30;
    		addButton(22031, 10, "Main stock","sprite");
    		Tab.children[3] = 22031;
    		Tab.childX[3] = 24;
    		Tab.childY[3] = 60;
    		addButton(22032, 11, "Player stock","sprite");
    		Tab.children[4] = 22032;
    		Tab.childX[4] = 130;
    		Tab.childY[4] = 60;
    		addSprite(22033, 14,"sprite");
    		Tab.children[5] = 22033;
    		Tab.childX[5] = 457;
    		Tab.childY[5] = 56;
    		Tab.children[6] = 3900;
    		Tab.childX[6] = 60;
    		Tab.childY[6] = 88;
    	}
    Oh and heres the addText void

    Code:
    public static void addText(int i, String s, Class30_Sub2_Sub1_Sub4 aclass30_sub2_sub1_sub4[], int j, int k)
        {
            Class9 class9 = addTab(i);
            class9.anInt250 = i;
            class9.anInt236 = i;
            class9.anInt262 = 4;
            class9.anInt217 = 0;
            class9.anInt220 = 174;
            class9.anInt267 = 11;
            class9.anInt214 = 0;
            class9.aByte254 = 0;
            class9.anInt230 = -1;
            class9.aBoolean223 = false;
            class9.aBoolean268 = true;
            class9.aClass30_Sub2_Sub1_Sub4_243 = aclass30_sub2_sub1_sub4[j];
            class9.aString248 = s;
            class9.aString228 = "";
            class9.anInt232 = k;
            class9.anInt219 = 0;
            class9.anInt216 = 0;
            class9.anInt239 = 0;
        }
    Last edited by Dark Zero™; 03-01-2009 at 04:27 AM. Reason: Adding addText Void
     

  8. #18  
    Banned

    Join Date
    Oct 2007
    Posts
    1,406
    Thanks given
    37
    Thanks received
    79
    Rep Power
    0
    Thanks Papper
     

  9. #19  
    Registered Member
    Join Date
    Sep 2007
    Posts
    107
    Thanks given
    0
    Thanks received
    1
    Rep Power
    4
    Im almost done i just get 6 errors when i compile but im half way there

    ---------- Post added at 09:25 PM ---------- Previous post was at 09:04 PM ----------

    Ok. Well I got it but the errors have to do with these lines

    Code:
    addRsShop
    Code:
    addButton
    But here is the code all YOU have to do is fix the errors and please post the right one.

    Put this in your other interfaces

    Code:
    public static void runescapesnewshopsInterface()
    	{
    		Class9 class9 = addTab(3824);
    		class9.anInt261 = 0;
    		class9.anIntArray240 = new int[7];
    		class9.anIntArray241 = new int[7];
    		class9.anIntArray272 = new int[7];
    		addRsShop(22029, 9, 9, "rsShop");
    		class9.anIntArray240[0] = 22029;
    		class9.anIntArray241[0] = 0;
    		class9.anIntArray272[0] = 0;
    		addButton(3902, 7, "Close","rsShop");
    		class9.anIntArray240[1] = 3902;
    		class9.anIntArray241[1] = 474;
    		class9.anIntArray272[1] = 30;
    		addText(22030, "Null", aclass30_sub2_sub1_sub4, 2, 0xff9040);
    		class9.anIntArray240[2] = 22030;
    		class9.anIntArray241[2] = 260;
    		class9.anIntArray272[2] = 30;
    		addButton(22031, 10, "Main stock","rsShop");
    		class9.anIntArray240[3] = 22031;
    		class9.anIntArray241[3] = 24;
    		class9.anIntArray272[3] = 60;
    		addButton(22032, 11, "Player stock","rsShop");
    		class9.anIntArray240[4] = 22032;
    		class9.anIntArray241[4] = 130;
    		class9.anIntArray272[4] = 60;
    		addRsShop(22033, 14, 14, "rsShop");
    		class9.anIntArray240[5] = 22033;
    		class9.anIntArray241[5] = 457;
    		class9.anIntArray272[5] = 56;
    		class9.anIntArray240[6] = 3900;
    		class9.anIntArray241[6] = 60;
    		class9.anIntArray272[6] = 88;
    	}
    Now put this part of the code near the bottom of class9.java

    Code:
    private static Class30_Sub2_Sub1_Sub1 rsShop(int i, boolean flag, Class44 class44, String s)
        {
            long l = (Class50.method585((byte)1, s) << 8) + (long)i;
            if(flag)
                throw new NullPointerException();
            Class30_Sub2_Sub1_Sub1 class30_sub2_sub1_sub1 = (Class30_Sub2_Sub1_Sub1)aClass12_238.method222(l);
            if(class30_sub2_sub1_sub1 != null)
                return class30_sub2_sub1_sub1;
            try
            {
                class30_sub2_sub1_sub1 = new Class30_Sub2_Sub1_Sub1((new 
    
    StringBuilder()).append("./Sprites/Interfaces/").append(s).append(" ").append(i).append(".jag").toString());
                aClass12_238.method223(class30_sub2_sub1_sub1, l, (byte)2);
            }
            catch(Exception exception)
            {
                return null;
            }
            return class30_sub2_sub1_sub1;
        }
    Now put this somewhere

    Code:
    public static void addButton(int i, int j, int k, int width, int height, String s)
        {
            Class9 class9 = aClass9Array210[i] = new Class9();
            class9.anInt250 = i;
            class9.anInt236 = i;
            class9.anInt262 = 5;
            class9.anInt217 = 1;
            class9.anInt214 = 0;
            class9.anInt220 = width;
            class9.anInt267 = height;
            class9.aByte254 = 0;
            class9.anInt230 = 52;
            class9.aString222 = "Close";
    	class9.aClass30_Sub2_Sub1_Sub1_207 = CustomSpriteLoader(j, "rsShop");
            class9.aClass30_Sub2_Sub1_Sub1_260 = CustomSpriteLoader(k, "rsShop");
            class9.aString221 = s;
        }
    NOTE: This gives 6 errors all you have to do is fix them becuase I can't lol
     

  10. #20  
    Banned

    Join Date
    Oct 2007
    Posts
    1,406
    Thanks given
    37
    Thanks received
    79
    Rep Power
    0
    Thanks i hope some one else fixes it
     

Page 2 of 2 FirstFirst 12

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
  •