Thread: 377 Item Searching

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1 377 Item Searching 
    Banned

    Join Date
    Sep 2006
    Age
    31
    Posts
    3,019
    Thanks given
    22
    Thanks received
    420
    Rep Power
    0
    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 {
    Still refractoring, but the 377 client has item searching. I wondering as to what for though, I'll post if I figure it out.

    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?
    Reply With Quote  
     

  2. #2  
    Debilitation
    Guest
    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?
    Reply With Quote  
     

  3. #3  
    Member 377 Item Searching Market Banned


    Luke132's Avatar
    Join Date
    Dec 2007
    Age
    35
    Posts
    12,574
    Thanks given
    199
    Thanks received
    7,106
    Rep Power
    5000
    Perhaps something used in construction/construction feature that never entered the game?

    Attached imageAttached image
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Sep 2006
    Age
    31
    Posts
    3,019
    Thanks given
    22
    Thanks received
    420
    Rep Power
    0
    Quote Originally Posted by Debilitation View Post
    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?
    Considering it.
    Reply With Quote  
     

  5. #5  
    Derp.
    BenjaR's Avatar
    Join Date
    May 2008
    Age
    29
    Posts
    2,083
    Thanks given
    167
    Thanks received
    125
    Rep Power
    915
    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
    Reply With Quote  
     

  6. #6  
    Banned

    Join Date
    Sep 2006
    Age
    31
    Posts
    3,019
    Thanks given
    22
    Thanks received
    420
    Rep Power
    0
    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...
    Reply With Quote  
     

  7. #7  
    Debilitation
    Guest
    We've known that for ages pali, it also has yellow hover boxes.
    Reply With Quote  
     

  8. #8  
    Banned

    Join Date
    Sep 2006
    Age
    31
    Posts
    3,019
    Thanks given
    22
    Thanks received
    420
    Rep Power
    0
    Quote Originally Posted by Debilitation View Post
    We've known that for ages pali, it also has yellow hover boxes.
    Yellow hover boxes?
    Reply With Quote  
     

  9. #9  
    Debilitation
    Guest
    you know like them popup things on new prayer interfaces?
    Reply With Quote  
     

  10. #10  
    Banned

    Join Date
    Sep 2006
    Age
    31
    Posts
    3,019
    Thanks given
    22
    Thanks received
    420
    Rep Power
    0
    Quote Originally Posted by Debilitation View Post
    you know like them popup things on new prayer interfaces?
    You sure the 377 client has support for those (I assume you meant it works out the box using the length of some string, not an image like people do for hardcoding)?
    Reply With Quote  
     

Page 1 of 2 12 LastLast

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
  •