Thread: Adding 459 Gameframe

Page 2 of 7 FirstFirst 1234 ... LastLast
Results 11 to 20 of 66
  1. #11  
    Banned

    Join Date
    Jul 2008
    Posts
    3,523
    Thanks given
    188
    Thanks received
    696
    Rep Power
    0
    Quote Originally Posted by Infexis View Post
    I though also there was the 317 sprites in the PI cache or something but there wer'nt but its just a plus for these people who are adding this too Galkons Refractored. But for them who uses PI or SlashScape, they have to add them.
    I was talking about the gameframe sprites, all clients have them in the cache.
    Reply With Quote  
     

  2. #12  
    Registered Member Lord Military's Avatar
    Join Date
    Jan 2010
    Posts
    526
    Thanks given
    56
    Thanks received
    5
    Rep Power
    6
    Now do 484 Gameframe


    Reply With Quote  
     

  3. #13  
    If you read this you're gay!
    Infexis's Avatar
    Join Date
    Aug 2009
    Age
    28
    Posts
    4,557
    Thanks given
    1,158
    Thanks received
    1,174
    Rep Power
    2949
    Quote Originally Posted by badger41 View Post
    I was talking about the gameframe sprites, all clients have them in the cache.
    I know, but somehow project insanity doesn't.

    "If you can't explain it simply, you don't understand it well enough." - Albert Einstein
    Reply With Quote  
     

  4. #14  
    Registered Member DestriX's Avatar
    Join Date
    Nov 2008
    Posts
    1,323
    Thanks given
    490
    Thanks received
    152
    Rep Power
    257
    Quote Originally Posted by Infexis View Post
    Hello, I will now be teaching you how to add a 459 gameframe to your refractored client. I hope you will be enjoying it and getting in use with it. If anyone gets any errors it would be your problem, because I have just tryed the tutorial and it worked out perfectly.

    Open up Client.java and find 'drawChannelButtons' once you've found that remove the whole method.
    Once you've removed that you would get one error, by fixing that error search for 'drawChannelButtons();' it should be located in drawChatArea simply remove it from there.

    Find 'void rightClickChatButtons' and remove the whole method.
    Now find 'rightClickChatButtons();' you should see something like this:
    Code:
    		if(super.mouseX > 4 && super.mouseY > 480 && super.mouseX < 516 && super.mouseY < 503)
    			rightClickChatButtons();
    Once you've found that, remove it.

    Find 'chatButtons = new Sprite[4];' and remove it, now find 'private Sprite[] chatButtons;' remove that too, find 'chatButtons = null;' and remove and for the end find:
    Code:
    for(int c1 = 0; c1 <= 3; c1++)
    			chatButtons[c1] = new Sprite(streamLoader_2, "chatbuttons", c1);
    and simply remove that too.

    Now once you login there will be no buttons or fonts in your chatarea. But now it's the time to add them as in a 317 client.

    Now find 'void drawGameScreen' and at the bottom of drawGameScreen replace:
    Code:
    		anInt945 = 0;
    	}
    Replace it with:
    Code:
    			aBoolean1233 = false;
    			aRSImageProducer_1123.initDrawingArea();
    			backBase1.drawBackground(0, 0);
    			aTextDrawingArea_1271.method382(0xffffff, 55, "Public chat", 28, true);
    			if(publicChatMode == 0)
    				aTextDrawingArea_1271.method382(65280, 55, "On", 41, true);
    			if(publicChatMode == 1)
    				aTextDrawingArea_1271.method382(0xffff00, 55, "Friends", 41, true);
    			if(publicChatMode == 2)
    				aTextDrawingArea_1271.method382(0xff0000, 55, "Off", 41, true);
    			if(publicChatMode == 3)
    				aTextDrawingArea_1271.method382(65535, 55, "Hide", 41, true);
    			aTextDrawingArea_1271.method382(0xffffff, 184, "Private chat", 28, true);
    			if(privateChatMode == 0)
    				aTextDrawingArea_1271.method382(65280, 184, "On", 41, true);
    			if(privateChatMode == 1)
    				aTextDrawingArea_1271.method382(0xffff00, 184, "Friends", 41, true);
    			if(privateChatMode == 2)
    				aTextDrawingArea_1271.method382(0xff0000, 184, "Off", 41, true);
    			aTextDrawingArea_1271.method382(0xffffff, 324, "Trade/compete", 28, true);
    			if(tradeMode == 0)
    				aTextDrawingArea_1271.method382(65280, 324, "On", 41, true);
    			if(tradeMode == 1)
    				aTextDrawingArea_1271.method382(0xffff00, 324, "Friends", 41, true);
    			if(tradeMode == 2)
    				aTextDrawingArea_1271.method382(0xff0000, 324, "Off", 41, true);
    			aTextDrawingArea_1271.method382(0xffffff, 458, "Report abuse", 33, true);
    			aRSImageProducer_1123.drawGraphics(451, super.graphics, 0);
    			aRSImageProducer_1165.initDrawingArea();
    		
    		anInt945 = 0;
    	}
    This gives you the 459 chatbuttons with fonts and clicking working but it will still not be working once you login because we have not added the chatbuttons sprites and loading yet.

    Find 'mapBack = null;' and bellow add:
    Code:
    backBase1 = null;
    Find 'mapArea = new Sprite("maparea");' bellow add:
    Code:
    backBase1 = new Background(streamLoader_2, "backbase1", 0);
    Now once you start the client you will get a loading error becuase that we have not loaded the sprite from the cache yet, so that's what we're going to do now.

    Open your cache with Tom's Cache Suite go to View/Edit Image Archives -> Media -> once you're there add a new sprite, it will ask you under what name do you want the sprite and type in backbase1 once it is added add the sprite to backbase1.

    Sprite Download - http://www.upload.ee/image/1004553/backbase1

    Okay, now when the chatbuttons are done, we are going to move on with the chatarea.
    Replace your current chatarea sprite with the one which you can download bellow.

    Sprite ChatArea - http://www.upload.ee/image/1004558/chatarea.png

    Just replace it with your current one in your sprites folder.

    Now we are going to make the chatarea talking 5 lined and to fix things up in it so it looks like a 459 chatarea.

    Find 'void drawChatArea' and replace it with:
    Code:
    	private void drawChatArea() {
    		aRSImageProducer_1166.initDrawingArea();
    		Texture.anIntArray1472 = anIntArray1180;
    		chatArea.drawSprite(0, 0);
    		if(messagePromptRaised) {
    			chatTextDrawingArea.drawText(0, aString1121, 60, 259);
    			chatTextDrawingArea.drawText(128, promptInput + "*", 80, 259);
    		} else if(inputDialogState == 1) {
    			chatTextDrawingArea.drawText(0, "Enter amount:", 60, 259);
    			chatTextDrawingArea.drawText(128, amountOrNameInput + "*", 80, 259);
    		} else if(inputDialogState == 2) {
    			chatTextDrawingArea.drawText(0, "Enter name:", 60, 259);
    			chatTextDrawingArea.drawText(128, amountOrNameInput + "*", 80, 259);
    		} else if(aString844 != null) {
    			chatTextDrawingArea.drawText(0, aString844, 60, 259);
    			chatTextDrawingArea.drawText(128, "Click to continue", 80, 259);
    		} else if(backDialogID != -1) {
    			drawInterface(0, 20, RSInterface.interfaceCache[backDialogID], 20);
    		} else if(dialogID != -1) {
    			drawInterface(0, 20, RSInterface.interfaceCache[dialogID], 20);
    		} else {
    			int j77 = -3;
    			TextDrawingArea textDrawingArea = aTextDrawingArea_1271;
    			int j = 0;
    			DrawingArea.setDrawingArea(92, 0, 463, 20);
    			for(int k = 0; k < 100; k++)
    				if(chatMessages[k] != null)
    				{
    					int l = chatTypes[k];
    					int i1 = (90 - j * 15) + anInt1089;
    					String s1 = chatNames[k];
    					byte byte0 = 0;
    					if(s1 != null && s1.startsWith("@cr1@"))
    					{
    						s1 = s1.substring(5);
    						byte0 = 1;
    					}
    					if(s1 != null && s1.startsWith("@cr2@"))
    					{
    						s1 = s1.substring(5);
    						byte0 = 2;
    					}
    					if(l == 0)
    					{
    						if(i1 > 0 && i1 < 110)
    							textDrawingArea.method385(0, chatMessages[k], i1, 19);
    						j++;
    					}
    					if((l == 1 || l == 2) && (l == 1 || publicChatMode == 0 || publicChatMode == 1 && isFriendOrSelf(s1)))
    					{
    						if(i1 > 0 && i1 < 110)
    						{
    							int j1 = 19;
    							if(byte0 == 1)
    							{
    								modIcons[0].drawBackground(j1, i1 - 12);
    								j1 += 19;
    							}
    							if(byte0 == 2)
    							{
    								modIcons[1].drawBackground(j1, i1 - 12);
    								j1 += 19;
    							}
    							textDrawingArea.method385(0, s1 + ":", i1, j1);
    							j1 += textDrawingArea.getTextWidth(s1) + 8;
    							textDrawingArea.method385(255, chatMessages[k], i1, j1);
    						}
    						j++;
    					}
    					if((l == 3 || l == 7) && splitPrivateChat == 0 && (l == 7 || privateChatMode == 0 || privateChatMode == 1 && isFriendOrSelf(s1)))
    					{
    						if(i1 > 0 && i1 < 110)
    						{
    							int k1 = 4;
    							textDrawingArea.method385(0, "From", i1, k1);
    							k1 += textDrawingArea.getTextWidth("From ");
    							if(byte0 == 1)
    							{
    								modIcons[0].drawBackground(k1, i1 - 12);
    								k1 += 19;
    							}
    							if(byte0 == 2)
    							{
    								modIcons[1].drawBackground(k1, i1 - 12);
    								k1 += 19;
    							}
    							textDrawingArea.method385(0, s1 + ":", i1, k1);
    							k1 += textDrawingArea.getTextWidth(s1) + 8;
    							textDrawingArea.method385(0x800000, chatMessages[k], i1, k1);
    						}
    						j++;
    					}
    					if(l == 4 && (tradeMode == 0 || tradeMode == 1 && isFriendOrSelf(s1)))
    					{
    						if(i1 > 0 && i1 < 110)
    							textDrawingArea.method385(0x800080, s1 + " " + chatMessages[k], i1, 4);
    						j++;
    					}
    					if(l == 5 && splitPrivateChat == 0 && privateChatMode < 2)
    					{
    						if(i1 > 0 && i1 < 110)
    							textDrawingArea.method385(0x800000, chatMessages[k], i1, 4);
    						j++;
    					}
    					if(l == 6 && splitPrivateChat == 0 && privateChatMode < 2)
    					{
    						if(i1 > 0 && i1 < 110)
    						{
    							textDrawingArea.method385(0, "To " + s1 + ":", i1, 4);
    							textDrawingArea.method385(0x800000, chatMessages[k], i1, 12 + textDrawingArea.getTextWidth("To " + s1));
    						}
    						j++;
    					}
    					if(l == 8 && (tradeMode == 0 || tradeMode == 1 && isFriendOrSelf(s1)))
    					{
    						if(i1 > 0 && i1 < 110)
    							textDrawingArea.method385(0x7e3200, s1 + " " + chatMessages[k], i1, 4);
    						j++;
    					}
    				}
    			DrawingArea.defaultDrawingAreaSize();
    			anInt1211 = j * 14 + 7;
    			if(anInt1211 < 77)
    				anInt1211 = 77;
    			drawScrollbar(81, anInt1211 - anInt1089 - 79, 13, 480, anInt1211);
    			String s;
    			if(myPlayer != null && myPlayer.name != null)
    				s = myPlayer.name;
    			else
    				s = TextClass.fixName(myUsername);
    			textDrawingArea.method385(0, s + ":", 110, 19);
    			textDrawingArea.drawChatInput(255, 20 + textDrawingArea.getTextWidth(s + ": "), inputString + "*", 110, false);
    			DrawingArea.method339(94, 0x000000, 479, 17);
    		}
    		if(menuOpen && menuScreenArea == 2) {
    			drawMenu();
    		}
    		aRSImageProducer_1166.drawGraphics(338, super.graphics, 0);
    		aRSImageProducer_1165.initDrawingArea();
    		Texture.anIntArray1472 = anIntArray1182;
    	}
    Time to fix the scrollbar so it doesn't look like a 474 scrollbar.
    Find 'void drawScrollbar' and replace it with this one:
    Code:
    		private void drawScrollbar(int j, int k, int l, int i1, int j1)
    	{
    		scrollBar1.drawSprite(i1, l);
    		scrollBar2.drawSprite(i1, (l + j) - 16);
    		DrawingArea.drawPixels(j - 32, l + 16, i1, anInt1002, 16);
    		int k1 = ((j - 32) * j) / j1;
    		if(k1 < 8)
    			k1 = 8;
    		int l1 = ((j - 32 - k1) * k) / (j1 - j);
    		DrawingArea.drawPixels(k1, l + 16 + l1, i1, barFillColor, 16);
    		DrawingArea.method341(l + 16 + l1, anInt902, k1, i1);
    		DrawingArea.method341(l + 16 + l1, anInt902, k1, i1 + 1);
    		DrawingArea.method339(l + 16 + l1, anInt902, 16, i1);
    		DrawingArea.method339(l + 17 + l1, anInt902, 16, i1);
    		DrawingArea.method341(l + 16 + l1, anInt927, k1, i1 + 15);
    		DrawingArea.method341(l + 17 + l1, anInt927, k1 - 1, i1 + 14);
    		DrawingArea.method339(l + 15 + l1 + k1, anInt927, 16, i1);
    		DrawingArea.method339(l + 14 + l1 + k1, anInt927, 15, i1 + 1);
    	}
    Once again, go to your cache View/Edit Image Archives -> Media -> and find scrollbar.dat click it.. In there are 2 sprites of the scrollbar arrows, replace them with these two bellow..

    Scrollbar 0 - http://www.upload.ee/image/1004564/0
    Scrollbar 1 - http://www.upload.ee/image/1004566/1

    Now to fix the scrollbar and so it isn't being bugged find 'void drawGameScreen' and replace it with:
    Code:
    	private void drawGameScreen()
    	{
    		if (fullscreenInterfaceID != -1 && (loadingStage == 2 || super.fullGameScreen != null)) {
    			if (loadingStage == 2) {
    				method119(anInt945, fullscreenInterfaceID);
    				if (openInterfaceID != -1) {
    					method119(anInt945, openInterfaceID);
    				}
    				anInt945 = 0;
    				resetAllImageProducers();
    				super.fullGameScreen.initDrawingArea();
    				Texture.anIntArray1472 = fullScreenTextureArray;
    				DrawingArea.setAllPixelsToZero();
    				welcomeScreenRaised = true;
    				if (openInterfaceID != -1) {
    					RSInterface rsInterface_1 = RSInterface.interfaceCache[openInterfaceID];
    					if (rsInterface_1.width == 512 && rsInterface_1.height == 334 && rsInterface_1.type == 0) {
    						rsInterface_1.width = 765;
    						rsInterface_1.height = 503;
    					}
    					drawInterface(0, 0, rsInterface_1, 8);
    				}
    				RSInterface rsInterface = RSInterface.interfaceCache[fullscreenInterfaceID];
    				if (rsInterface.width == 512 && rsInterface.height == 334 && rsInterface.type == 0) {
    					rsInterface.width = 765;
    					rsInterface.height = 503;
    				}
    				drawInterface(0, 0, rsInterface, 8);
    
    				if (!menuOpen) {
    					processRightClick();
    					drawTooltip();
    				} else {
    					drawMenu();
    				}
    			}
    			drawCount++;
    			super.fullGameScreen.drawGraphics(0, super.graphics, 0);
    			return;
    		} else {
    			if (drawCount != 0) {
    				resetImageProducers2();
    			}
    		}
    		if(welcomeScreenRaised) {
    			welcomeScreenRaised = false;
    			topFrame.drawGraphics(0, super.graphics, 0);
    			leftFrame.drawGraphics(4, super.graphics, 0);
    			rightFrame.drawGraphics(4, super.graphics, 516);
    			mapEdgeIP.drawGraphics(4, super.graphics, 519);
    			needDrawTabArea = true;
    			inputTaken = true;
    			tabAreaAltered = true;
    			aBoolean1233 = true;
    			if(loadingStage != 2) {
    				aRSImageProducer_1165.drawGraphics(4, super.graphics, 4);
    				aRSImageProducer_1164.drawGraphics(4, super.graphics, 545);
    			}
    		}
    		if(loadingStage == 2)
    			method146();
    		if(menuOpen && menuScreenArea == 1)
    			needDrawTabArea = true;
    		if(invOverlayInterfaceID != -1)
    		{
    			boolean flag1 = method119(anInt945, invOverlayInterfaceID);
    			if(flag1)
    				needDrawTabArea = true;
    		}
    		if(atInventoryInterfaceType == 2)
    			needDrawTabArea = true;
    		if(activeInterfaceType == 2)
    			needDrawTabArea = true;
    		if(needDrawTabArea)
    		{
    			drawTabArea();
    			needDrawTabArea = false;
    		}
    		if(backDialogID == -1)
    		{
    			aClass9_1059.scrollPosition = anInt1211 - anInt1089 - 77;
    			if(super.mouseX > 448 && super.mouseX < 560 && super.mouseY > 332)
    				method65(463, 77, super.mouseX - 17, super.mouseY - 357, aClass9_1059, 0, false, anInt1211);
    			int i = anInt1211 - 77 - aClass9_1059.scrollPosition;
    			if(i < 0)
    				i = 0;
    			if(i > anInt1211 - 77)
    				i = anInt1211 - 77;
    			if(anInt1089 != i)
    			{
    				anInt1089 = i;
    				inputTaken = true;
    			}
    		}
    		if(backDialogID != -1) {
    			boolean flag2 = method119(anInt945, backDialogID);
    			if(flag2)
    				inputTaken = true;
    		}
    		if(atInventoryInterfaceType == 3)
    			inputTaken = true;
    		if(activeInterfaceType == 3)
    			inputTaken = true;
    		if(aString844 != null)
    			inputTaken = true;
    		if(menuOpen && menuScreenArea == 2)
    			inputTaken = true;
    		if(inputTaken) {
    			drawChatArea();
    			inputTaken = false;
    		}
    		if(loadingStage == 2)
    			method146();
    		if(loadingStage == 2) {
    			drawMinimap();
    			aRSImageProducer_1164.drawGraphics(4, super.graphics, 545);
    		}
    		if(anInt1054 != -1)
    			tabAreaAltered = true;
    		if(tabAreaAltered)
    		{
    			if(anInt1054 != -1 && anInt1054 == tabID)
    			{
    				anInt1054 = -1;
    				stream.createFrame(120);
    				stream.writeWordBigEndian(tabID);
    			}
    			tabAreaAltered = false;
    			aRSImageProducer_1125.initDrawingArea();
    			aRSImageProducer_1165.initDrawingArea();
    		}
    
    			aBoolean1233 = false;
    			aRSImageProducer_1123.initDrawingArea();
    			backBase1.drawBackground(0, 0);
    			aTextDrawingArea_1271.method382(0xffffff, 55, "Public chat", 28, true);
    			if(publicChatMode == 0)
    				aTextDrawingArea_1271.method382(65280, 55, "On", 41, true);
    			if(publicChatMode == 1)
    				aTextDrawingArea_1271.method382(0xffff00, 55, "Friends", 41, true);
    			if(publicChatMode == 2)
    				aTextDrawingArea_1271.method382(0xff0000, 55, "Off", 41, true);
    			if(publicChatMode == 3)
    				aTextDrawingArea_1271.method382(65535, 55, "Hide", 41, true);
    			aTextDrawingArea_1271.method382(0xffffff, 184, "Private chat", 28, true);
    			if(privateChatMode == 0)
    				aTextDrawingArea_1271.method382(65280, 184, "On", 41, true);
    			if(privateChatMode == 1)
    				aTextDrawingArea_1271.method382(0xffff00, 184, "Friends", 41, true);
    			if(privateChatMode == 2)
    				aTextDrawingArea_1271.method382(0xff0000, 184, "Off", 41, true);
    			aTextDrawingArea_1271.method382(0xffffff, 324, "Trade/compete", 28, true);
    			if(tradeMode == 0)
    				aTextDrawingArea_1271.method382(65280, 324, "On", 41, true);
    			if(tradeMode == 1)
    				aTextDrawingArea_1271.method382(0xffff00, 324, "Friends", 41, true);
    			if(tradeMode == 2)
    				aTextDrawingArea_1271.method382(0xff0000, 324, "Off", 41, true);
    			aTextDrawingArea_1271.method382(0xffffff, 458, "Report abuse", 33, true);
    			aRSImageProducer_1123.drawGraphics(451, super.graphics, 0);
    			aRSImageProducer_1165.initDrawingArea();
    		
    		anInt945 = 0;
    	}
    Find 'void processChatModeClick' it should look like this:
    Code:
    	private int cButtonHPos;
    	private int cButtonHCPos;
    	private int cButtonCPos;
    
    	private void processChatModeClick() {
    		if(super.mouseX >= 5 && super.mouseX <= 61 && super.mouseY >= 482 && super.mouseY <= 503) {
    			cButtonHPos = 0;
    			aBoolean1233 = true;
    			inputTaken = true;
    		} else if(super.mouseX >= 71 && super.mouseX <= 127 && super.mouseY >= 482 && super.mouseY <= 503) {
    			cButtonHPos = 1;
    			aBoolean1233 = true;
    			inputTaken = true;
    		} else if(super.mouseX >= 137 && super.mouseX <= 193 && super.mouseY >= 482 && super.mouseY <= 503) {
    			cButtonHPos = 2;
    			aBoolean1233 = true;
    			inputTaken = true;
    		} else if(super.mouseX >= 203 && super.mouseX <= 259 && super.mouseY >= 482 && super.mouseY <= 503) {
    			cButtonHPos = 3;
    			aBoolean1233 = true;
    			inputTaken = true;
    		} else if(super.mouseX >= 269 && super.mouseX <= 325 && super.mouseY >= 482 && super.mouseY <= 503) {
    			cButtonHPos = 4;
    			aBoolean1233 = true;
    			inputTaken = true;
    		} else if(super.mouseX >= 335 && super.mouseX <= 391 && super.mouseY >= 482 && super.mouseY <= 503) {
    			cButtonHPos = 5;
    			aBoolean1233 = true;
    			inputTaken = true;
    		} else if(super.mouseX >= 404 && super.mouseX <= 515 && super.mouseY >= 482 && super.mouseY <= 503) {
    			cButtonHPos = 6;
    			aBoolean1233 = true;
    			inputTaken = true;
    		} else {
    			cButtonHPos = -1;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(super.clickMode3 == 1) {
    			if(super.saveClickX >= 5 && super.saveClickX <= 61 && super.saveClickY >= 482 && super.saveClickY <= 505) {
    				cButtonCPos = 0;
    				chatTypeView = 0;
    				aBoolean1233 = true;
    				inputTaken = true;
    			} else if(super.saveClickX >= 71 && super.saveClickX <= 127 && super.saveClickY >= 482 && super.saveClickY <= 505) {
    				cButtonCPos = 1;
    				chatTypeView = 5;
    				aBoolean1233 = true;
    				inputTaken = true;
    			} else if(super.saveClickX >= 137 && super.saveClickX <= 193 && super.saveClickY >= 482 && super.saveClickY <= 505) {
    				cButtonCPos = 2;
    				chatTypeView = 1;
    				aBoolean1233 = true;
    				inputTaken = true;
    			} else if(super.saveClickX >= 203 && super.saveClickX <= 259 && super.saveClickY >= 482 && super.saveClickY <= 505) {
    				cButtonCPos = 3;
    				chatTypeView = 2;
    				aBoolean1233 = true;
    				inputTaken = true;
    			} else if(super.saveClickX >= 269 && super.saveClickX <= 325 && super.saveClickY >= 482 && super.saveClickY <= 505) {
    				cButtonCPos = 4;
    				chatTypeView = 11;
    				aBoolean1233 = true;
    				inputTaken = true;
    			} else if(super.saveClickX >= 335 && super.saveClickX <= 391 && super.saveClickY >= 482 && super.saveClickY <= 505) {
    				cButtonCPos = 5;
    				chatTypeView = 3;
    				aBoolean1233 = true;
    				inputTaken = true;
    			} else if(super.saveClickX >= 404 && super.saveClickX <= 515 && super.saveClickY >= 482 && super.saveClickY <= 505) {
    				if(openInterfaceID == -1) {
    					clearTopInterfaces();
    					reportAbuseInput = "";
    					canMute = false;
    					for(int i = 0; i < RSInterface.interfaceCache.length; i++) {
    						if(RSInterface.interfaceCache[i] == null || RSInterface.interfaceCache[i].contentType != 600)
    							continue;
    						reportAbuseInterfaceID = openInterfaceID = RSInterface.interfaceCache[i].parentID;
    						break;
    					}
    				} else {
    					pushMessage("Please close the interface you have open before using 'report abuse'", 0, "");
    				}
    			}
    		}
    	}
    Replace the 'void processChatModeClick' with:
    Code:
    	private void processChatModeClick()
    	{
    		if(super.clickMode3 == 1)
    		{
    			if(super.saveClickX >= 6 && super.saveClickX <= 106 && super.saveClickY >= 467 && super.saveClickY <= 499)
    			{
    				publicChatMode = (publicChatMode + 1) % 4;
    				aBoolean1233 = true;
    				inputTaken = true;
    				stream.createFrame(95);
    				stream.writeWordBigEndian(publicChatMode);
    				stream.writeWordBigEndian(privateChatMode);
    				stream.writeWordBigEndian(tradeMode);
    			}
    			if(super.saveClickX >= 135 && super.saveClickX <= 235 && super.saveClickY >= 467 && super.saveClickY <= 499)
    			{
    				privateChatMode = (privateChatMode + 1) % 3;
    				aBoolean1233 = true;
    				inputTaken = true;
    				stream.createFrame(95);
    				stream.writeWordBigEndian(publicChatMode);
    				stream.writeWordBigEndian(privateChatMode);
    				stream.writeWordBigEndian(tradeMode);
    			}
    			if(super.saveClickX >= 273 && super.saveClickX <= 373 && super.saveClickY >= 467 && super.saveClickY <= 499)
    			{
    				tradeMode = (tradeMode + 1) % 3;
    				aBoolean1233 = true;
    				inputTaken = true;
    				stream.createFrame(95);
    				stream.writeWordBigEndian(publicChatMode);
    				stream.writeWordBigEndian(privateChatMode);
    				stream.writeWordBigEndian(tradeMode);
    			}
    			if(anInt940 > 1386)
    			{
    				anInt940 = 0;
    				stream.createFrame(165);
    				stream.writeWordBigEndian(0);
    				int j = stream.currentOffset;
    				stream.writeWordBigEndian(139);
    				stream.writeWordBigEndian(150);
    				stream.writeWord(32131);
    				stream.writeWordBigEndian((int)(Math.random() * 256D));
    				stream.writeWord(3250);
    				stream.writeWordBigEndian(177);
    				stream.writeWord(24859);
    				stream.writeWordBigEndian(119);
    				if((int)(Math.random() * 2D) == 0)
    					stream.writeWord(47234);
    				if((int)(Math.random() * 2D) == 0)
    					stream.writeWordBigEndian(21);
    				stream.writeBytes(stream.currentOffset - j);
    			}
    		}
    	}
    Now find 'if(l == 1003) {' and you should see this:
    Code:
    		if(l == 1003) {
    			clanChatMode = 2;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 1002) {
    			clanChatMode = 1;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 1001) {
    			clanChatMode = 0;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 1000) {
    			cButtonCPos = 4;
    			chatTypeView = 11;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 999) {
    			cButtonCPos = 0;
    			chatTypeView = 0;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 998) {
    			cButtonCPos = 1;
    			chatTypeView = 5;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 997) {
    			publicChatMode = 3;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 996) {
    			publicChatMode = 2;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 995) {
    			publicChatMode = 1;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 994) {
    			publicChatMode = 0;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 993) {
    			cButtonCPos = 2;
    			chatTypeView = 1;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 992) {
    			privateChatMode = 2;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 991) {
    			privateChatMode = 1;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 990) {
    			privateChatMode = 0;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 989) {
    			cButtonCPos = 3;
    			chatTypeView = 2;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 987) {
    			tradeMode = 2;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 986) {
    			tradeMode = 1;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 985) {
    			tradeMode = 0;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 984) {
    			cButtonCPos = 5;
    			chatTypeView = 3;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 983) {
    			duelMode = 2;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 982) {
    			duelMode = 1;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 981) {
    			duelMode = 0;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    		if(l == 980) {
    			cButtonCPos = 6;
    			chatTypeView = 4;
    			aBoolean1233 = true;
    			inputTaken = true;
    		}
    Once you found the above, remove all of them to stay without any errors.

    Find 'public client' and remove the:
    Code:
    		cButtonHPos = -1;
    		cButtonHCPos = -1;
    		cButtonCPos = 0;
    Okay, now for the tabarea. Find your tabArea.png in sprites folder and replace it with the one bellow.

    Sprite tabArea - http://www.upload.ee/thumb/1004637/tabarea.png

    Find 'void drawSideIcons' and replace it with:
    Code:
    	public void drawSideIcons(){
    		/* Top sideIcons */
    		if(tabInterfaceIDs[0] != -1)//attack
    			sideIcons[0].drawSprite(27, 7);
    		if(tabInterfaceIDs[1] != -1)//stat
    			sideIcons[1].drawSprite(54, 5);
    		if(tabInterfaceIDs[2] != -1)//quest
    			sideIcons[2].drawSprite(82, 4);
    		if(tabInterfaceIDs[3] != -1)//inventory
    			sideIcons[3].drawSprite(116, 4);
    		if(tabInterfaceIDs[4] != -1)//equipment
    			sideIcons[4].drawSprite(152, 2);
    		if(tabInterfaceIDs[5] != -1)//prayer
    			sideIcons[5].drawSprite(179, 3);
    		if(tabInterfaceIDs[6] != -1)//magic
    			sideIcons[6].drawSprite(207, 6);
    		/* Bottom sideIcons */
    		//if(tabInterfaceIDs[7] != -1)//clan
    		//	sideIcons[7].drawSprite(31, 300);
    		if(tabInterfaceIDs[8] != -1)//friends
    			sideIcons[8].drawSprite(57, 305);
    		if(tabInterfaceIDs[9] != -1)//ignore
    			sideIcons[9].drawSprite(85, 305);
    		if(tabInterfaceIDs[10] != -1)//logout
    			sideIcons[10].drawSprite(121, 302);
    		if(tabInterfaceIDs[11] != -1)//options
    			sideIcons[11].drawSprite(157, 304);
    		if(tabInterfaceIDs[12] != -1)//emotes
    			sideIcons[12].drawSprite(187, 300);
    		if(tabInterfaceIDs[13] != -1)//music
    			sideIcons[13].drawSprite(207, 301);
    	}
    Now you need the 459 sideicons to make everything look as it should. Download the 459 sideicons bellow and replace them with your current ones in the cache.

    Sideicons - UPLOAD.EE - Download sideicons.rar

    Find 'void drawRedStones' and replace it with:
    Code:
    	public void drawRedStones() {
    		if(tabInterfaceIDs[tabID] != -1) {
    			switch(tabID) {
    				case 0:
    					redStones[0].drawSprite(22, 0);
    					break;
    				case 1:
    					redStones[4].drawSprite(54, 1);
    					break;
    				case 2:
    					redStones[4].drawSprite(81, 1);
    					break;
    				case 3:
    					redStones[2].drawSprite(109, 0);
    					break;
    				case 4:
    					redStones[3].drawSprite(154, 1);
    					break;
    				case 5:
    					redStones[3].drawSprite(180, 1);
    					break;
    				case 6:
    					redStones[1].drawSprite(208, 2);
    					break;
    				case 7:
    					redStones[2].drawSprite(9, 297);
    					break;
    				case 8:
    					redStones[3].drawSprite(53, 297);
    					break;
    				case 9:
    					redStones[4].drawSprite(81, 297);
    					break;
    				case 10:
    					redStones[2].drawSprite(109, 299);
    					break;
    				case 11:
    					redStones[4].drawSprite(154, 297);
    					break;
    				case 12:
    					redStones[4].drawSprite(181, 297);
    					break;
    				//case 13:
    				//	redStones[3].drawSprite(213, 297);
    				//	break;
    			}
    		}
    	}
    Replace you current redstones in your sprites folder with these bellow.

    Redstones - UPLOAD.EE - Download redstones.rar

    In 'void drawTabArea' you should see this:
    Code:
    if(invOverlayInterfaceID != -1)
    			drawInterface(0, 28, RSInterface.interfaceCache[invOverlayInterfaceID], 37);
    		else if(tabInterfaceIDs[tabID] != -1)
    			drawInterface(0, 28, RSInterface.interfaceCache[tabInterfaceIDs[tabID]], 37);
    Change the red marked numbers to 38.

    Results:


    Now you have a full 459 gameframe, I really hope you will be enjoying it and rep would be appreicated. Have fun guys!
    Looks good bro will use.
    Attached image
    Reply With Quote  
     

  5. #15  
    Registered Member

    Join Date
    Dec 2007
    Age
    31
    Posts
    1,953
    Thanks given
    114
    Thanks received
    608
    Rep Power
    1094
    Wow... A 13 year old black kid on acid can do better than this shit.
    Reply With Quote  
     

  6. #16  
    HEAD GFX DESIGNER

    Rusko's Avatar
    Join Date
    Aug 2010
    Posts
    3,316
    Thanks given
    645
    Thanks received
    1,199
    Rep Power
    5000
    Quote Originally Posted by Penor View Post
    Wow... A 13 year old black kid on acid can do better than this shit.
    I'd like to see that.
    Reply With Quote  
     

  7. #17  
    If you read this you're gay!
    Infexis's Avatar
    Join Date
    Aug 2009
    Age
    28
    Posts
    4,557
    Thanks given
    1,158
    Thanks received
    1,174
    Rep Power
    2949
    Quote Originally Posted by Penor View Post
    Wow... A 13 year old black kid on acid can do better than this shit.
    Wow, A 13 year old black kid on acid just replied to my thread

    "If you can't explain it simply, you don't understand it well enough." - Albert Einstein
    Reply With Quote  
     

  8. #18  
    Registered Member
    Division's Avatar
    Join Date
    Dec 2009
    Age
    29
    Posts
    2,208
    Thanks given
    41
    Thanks received
    78
    Rep Power
    97
    Thanks man, will try if it works .
    Reply With Quote  
     

  9. #19  
    Registered Member
    Division's Avatar
    Join Date
    Dec 2009
    Age
    29
    Posts
    2,208
    Thanks given
    41
    Thanks received
    78
    Rep Power
    97
    The tab area image is to small...
    Reply With Quote  
     

  10. #20  
    RuneFatality

    Join Date
    May 2009
    Age
    27
    Posts
    2,350
    Thanks given
    1,099
    Thanks received
    388
    Rep Power
    531
    459 is sex, good job
    Reply With Quote  
     

Page 2 of 7 FirstFirst 1234 ... LastLast

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. adding 317 gameframe
    By sigmą in forum Help
    Replies: 0
    Last Post: 07-18-2010, 01:58 PM
  2. adding a new gameframe?
    By ike izzle in forum Help
    Replies: 0
    Last Post: 07-18-2009, 10:51 PM
  3. Help adding a new gameframe please!
    By Tweezy in forum Help
    Replies: 2
    Last Post: 06-27-2009, 01:52 PM
  4. adding new gameframe
    By zedex ranger in forum Help
    Replies: 2
    Last Post: 06-23-2009, 01:10 AM
  5. need help adding a gameframe
    By DSscape™ in forum Help
    Replies: 0
    Last Post: 06-10-2009, 12:33 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •