It's wierd how they call items objects in the old clients. Why are you refactoring a 377? Do you plan on switching bspk to 377?
|
Still refractoring, but the 377 client has item searching. I wondering as to what for though, I'll post if I figure it out.Code:chatbackSprite.draw(0, 0); if (aBoolean866) { b12Font.drawString(239, 452, 40, 0, aString937); b12Font.drawString(239, 452, 60, 128, aString1026 + "*"); } else if (anInt1244 == 1) { b12Font.drawString(239, 452, 40, 0, "Enter amount:"); b12Font.drawString(239, 452, 60, 128, inputText + "*"); } else if (anInt1244 == 2) { b12Font.drawString(239, 452, 40, 0, "Enter name:"); b12Font.drawString(239, 452, 60, 128, inputText + "*"); } else if (anInt1244 == 3) { if (inputText != itemSearchInputText) { doItemSearch(inputText, 2); itemSearchInputText = inputText; } Class50_Sub1_Sub1.method446(0, 0, 77, 463, true); for (int i = 0; i < itemSearchResultCount; i++) { int i_483_ = 18 + i * 14 - anInt865; if (i_483_ > 0 && i_483_ < 110) p12Font.drawString(239, 452, i_483_, 0, itemSearchResultNames[i]); } Class50_Sub1_Sub1.method445((byte) 82); if (itemSearchResultCount > 5) drawScrollbar(true, anInt865, 463, 77, itemSearchResultCount * 14 + 7, 0); if (inputText.length() == 0) b12Font.drawString(239, 452, 40, 255, "Enter object name"); else if (itemSearchResultCount == 0) b12Font.drawString(239, 452, 40, 0, "No matching objects found, please shorten search"); p12Font.drawString(239, 452, 90, 0, inputText + "*"); Class50_Sub1_Sub1.method452(0, 0, 77, 479, true); } else if (aString1058 != null) { b12Font.drawString(239, 452, 40, 0, aString1058); b12Font.drawString(239, 452, 60, 128, "Click to continue"); } else if (anInt988 != -1) method142(0, 0, GameInterface.get(anInt988), 0, 8); else if (anInt1191 != -1) method142(0, 0, GameInterface.get(anInt1191), 0, 8); else {
It resembles the GE item searching too btw, it searches for items as you type a word, not once you finish.
EDIT:
Just went through the client, anInt1244 never gets set to 3. Maybe it was a prematurely added feature?
It's wierd how they call items objects in the old clients. Why are you refactoring a 377? Do you plan on switching bspk to 377?
Could have easily been a premature update like you said.. There's been models of Iron(h#) armour and Skillcapes etc which were never released to the game but exist in the cache, makes it seem that Jagex like to mess around
Oh look, fullscreen interface drawing (317 does NOT have this, only what's in the else statement):
Code:if (anInt1053 != -1 && (anInt1071 == 2 || aGameImage_15 != null)) { if (anInt1071 == 2) { method88(anInt951, anInt1053, (byte) 5); if (anInt960 != -1) method88(anInt951, anInt960, (byte) 5); anInt951 = 0; method147(anInt1140); aGameImage_15.set(false); Textures.anIntArray1538 = anIntArray1003; Class50_Sub1_Sub1.method447(4); aBoolean1046 = true; GameInterface gameInterface = GameInterface.get(anInt1053); if (gameInterface.width == 512 && gameInterface.height == 334 && gameInterface.type == 0) { gameInterface.width = 765; gameInterface.height = 503; } drawGameInterface(0, 0, gameInterface, 0, 8); if (anInt960 != -1) { gameInterface = GameInterface.get(anInt960); if (gameInterface.width == 512 && gameInterface.height == 334 && gameInterface.type == 0) { gameInterface.width = 765; gameInterface.height = 503; } drawGameInterface(0, 0, gameInterface, 0, 8); } if (!aBoolean1065) { method91(-521); method34((byte) -79); } else method128(false); } aGameImage_15.draw(0, 0, aGraphics14, aBoolean1074); } else { do normal drawing...
We've known that for ages pali, it also has yellow hover boxes.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |