Thread: Decompiled Grand Exchange Search box script

Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1 Decompiled Grand Exchange Search box script 
    Reverse engineering enthousiast
    peterbjornx's Avatar
    Join Date
    Feb 2008
    Age
    29
    Posts
    1,910
    Thanks given
    88
    Thanks received
    539
    Rep Power
    1307
    [Java] Grand Exchange search box function - Pastebin.com

    Code:
    		 		
    
    1. string aLocalString0@0 int aLocalInt1@0 int aLocalInt2@1 int aLocalInt3@2 int aLocalInt4@3 int aLocalInt5@4 {int[0], string[0], long[0]} function577(string aLocalString0,){ //Look for all object (item) types containing aLocalString0 in their name aLocalInt1 = findObjType(aLocalString0,1); //Get the width of the parent interface aLocalInt2 = (interfaces[25493508].getRenderWidth()); //Calculate the width of the new child interface aLocalInt3 = (aLocalInt2-8); if ((aLocalInt1==-1)) { //More than 250 results were found, error (-1) //Create type 4 (text) interface at index 0 (interfaceB=(interfaces[25493508].createChildInterface(4,0))); //Set absolute position (interfaceB.setPosition(0,48,0,0)); //Set absolute size (interfaceB.setSize(aLocalInt2,16,0,0)); //Set font 494 (interfaceB.setFont(494)); (interfaceB.setText("Too many results. Please refine your search.")); (interfaceB.setTextAlignment(1,1,0)); (interfaceB.setColour(10508800)); (interfaceB.setShaded(0 == 1)); (interfaces[25493508].setScrollSize(0,15)); //Call function578 function578(); return {{}, {}, {}}; }; label0: if (aLocalInt1== 0) { (interfaceB=(interfaces[25493508].createChildInterface(4,0))); (interfaceB.setPosition(0,48,0,0)); (interfaceB.setSize(aLocalInt2,16,0,0)); (interfaceB.setFont(494)); (interfaceB.setText("No matching items found.")); (interfaceB.setTextAlignment(1,1,0)); (interfaceB.setColour(10508800)); (interfaceB.setShaded(0 == 1)); (interfaces[25493508].setScrollSize(0,15)); function578(); return {{}, {}, {}}; }; label1: aLocalInt4 = 1; aLocalInt5 = getNextSearchResult(); (interfaceB=(interfaces[25493508].createChildInterface(3,0))); while ((aLocalInt5!=-1)) { (interfaceB=(interfaces[25493508].createChildInterface(4,aLocalInt4))); (interfaceB.setPosition(4,(15*(aLocalInt4-1)),0,0)); (interfaceB.setSize(aLocalInt3,15,0,0)); (interfaceB.setColour(10508800)); (interfaceB.setText((getObjType(aLocalInt5).getName()))); (interfaceB.setFont(495)); (interfaceB.setShaded(0 == 1)); (interfaceB.setEvent("MouseEntered",579,aLocalInt4,aLocalInt5)); (interfaceB.setEvent("MousePressed",580,aLocalInt5)); aLocalInt5 = getNextSearchResult(); aLocalInt4 = (aLocalInt4+1); }; label2: (interfaces[25493508].setScrollSize(0,(15*(aLocalInt4-1)))); function578(); return {{}, {}, {}}; } //578 int aLocalInt0@0 int aLocalInt1@1 int aLocalInt2@2 int aLocalInt3@3 {int[0], string[0], long[0]} function578(){ aLocalInt0 = (interfaces[25493508].getRenderHeight()); aLocalInt1 = (interfaces[25493508].getScrollHeight()); if ((aLocalInt1<15)) { aLocalInt1 = 15; (interfaces[25493508].setScrollSize(0,15)); }; label0: aLocalInt2 = (aLocalInt1-aLocalInt0); if ((aLocalInt2<0)) { aLocalInt2 = 0; }; label1: aLocalInt3 = (interfaces[25493508].getScrollY()); if ((aLocalInt3>aLocalInt2)) { aLocalInt3 = aLocalInt2; }; label2: function72(25493512,25493508,aLocalInt3); return {{}, {}, {}}; }
    Reply With Quote  
     

  2. Thankful users:


  3. #2  
    *breaks walking*

    Cody_'s Avatar
    Join Date
    Dec 2010
    Posts
    732
    Thanks given
    219
    Thanks received
    203
    Rep Power
    286
    Nice. How do you even go about doing shit like this? Haven't looked at client scripts.
    Reply With Quote  
     

  4. #3  
    Renown Programmer


    Join Date
    Jul 2009
    Posts
    1,846
    Thanks given
    69
    Thanks received
    1,113
    Rep Power
    3170
    Reply With Quote  
     

  5. Thankful user:


  6. #4  
    *breaks walking*

    Cody_'s Avatar
    Join Date
    Dec 2010
    Posts
    732
    Thanks given
    219
    Thanks received
    203
    Rep Power
    286
    I've looked over these before. I understand some things, but don't understand most. I mean how do you decompile the scripts?
    Reply With Quote  
     

  7. #5  
    Registered Member
    Polish Civil's Avatar
    Join Date
    May 2010
    Age
    28
    Posts
    1,345
    Thanks given
    484
    Thanks received
    191
    Rep Power
    463
    Quote Originally Posted by Codykins View Post
    I've looked over these before. I understand some things, but don't understand most. I mean how do you decompile the scripts?
    Rs have own script language, and inside client there is engine that runs thoose scripts. To be more clear for you its something like you can run java classes on jvm. So to decompile thoose scripts you need to know instructions and generally how does engine handle them.

    http://www.rune-server.org/runescape...efactored.html


    Reply With Quote  
     

  8. Thankful user:


  9. #6  
    Banned

    Join Date
    Jan 2012
    Age
    25
    Posts
    2,703
    Thanks given
    906
    Thanks received
    630
    Rep Power
    0
    This is quite interesting, worth a show-off.
    Reply With Quote  
     

  10. #7  
    Banned

    Join Date
    Jun 2012
    Posts
    234
    Thanks given
    10
    Thanks received
    150
    Rep Power
    0
    Why do people do this? Oh hey, you just did something cool let me show you what I did "better". No one gives a fuck.

    I like your syntax man, good work.

    Inb4 sku11 dereps because hes a canc...oh you know the rest
    Reply With Quote  
     

  11. #8  
    Renown Programmer


    Join Date
    Jul 2009
    Posts
    1,846
    Thanks given
    69
    Thanks received
    1,113
    Rep Power
    3170
    Quote Originally Posted by _js5 View Post
    Why do people do this? Oh hey, you just did something cool let me show you what I did "better". No one gives a fuck.

    I like your syntax man, good work.

    Inb4 sku11 dereps because hes a canc...oh you know the rest
    Maybe because it's a show-off section?
    On a serious note, I just wanted people who are intrested in clientscripts to see those threads if they haven't yet.
    Reply With Quote  
     

  12. #9  
    Quality over quantity


    Join Date
    Dec 2011
    Age
    28
    Posts
    1,318
    Thanks given
    74
    Thanks received
    157
    Rep Power
    110
    Quote Originally Posted by mgi125 View Post
    Maybe because it's a show-off section?
    On a serious note, I just wanted people who are intrested in clientscripts to see those threads if they haven't yet.
    Like myself hadn't seen them yet. What's his problem? lol
    Reply With Quote  
     

  13. #10  
    Banned

    Join Date
    Dec 2011
    Age
    26
    Posts
    2,303
    Thanks given
    471
    Thanks received
    764
    Rep Power
    0
    cool
    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

Similar Threads

  1. Rs Grand exchange search script
    By Polish Civil in forum Help
    Replies: 0
    Last Post: 02-23-2011, 09:05 PM
  2. Grand Exchange searching
    By Robin Spud in forum Show-off
    Replies: 24
    Last Post: 04-22-2010, 11:22 PM
  3. Remove Grand Exchange Search Interface
    By 'Connor in forum Help
    Replies: 0
    Last Post: 11-03-2009, 02:55 PM
  4. Help with grand exchange search
    By The Lizard King in forum Help
    Replies: 4
    Last Post: 08-01-2009, 08:04 PM
  5. Grand Exchange Search
    By Vastiko in forum Show-off
    Replies: 19
    Last Post: 06-30-2009, 04:21 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
  •