Thread: Right click - Item id, object id etc. [PI]

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 Right click - Item id, object id etc. [PI] 
    Banned
    Join Date
    Feb 2012
    Posts
    629
    Thanks given
    201
    Thanks received
    59
    Rep Power
    0
    Hey guys, I'm using the insanityX source, and I've seen people asking about how to delete it so when you right click an item, or object you see the id. Well, here is a fix for that

    Open your "client" files and locate "client.java"

    Search:
    Code:
    menuActionName[menuActionRow] = "Examine @lre@" + itemDef.name + ((myPrivilege != 0) ? ", @gre@(@whi@" + item.ID + "@gre@)" : "");
    You will see something like this:

    Code:
    menuActionName[menuActionRow] = "Examine @lre@" + itemDef.name + ((myPrivilege != 0) ? ", @gre@(@whi@" + item.ID + "@gre@)" : "");
    							menuActionID[menuActionRow] = 1448;
    							menuActionCmd1[menuActionRow] = item.ID;
    							menuActionCmd2[menuActionRow] = i1;
    							menuActionCmd3[menuActionRow] = j1;
    							menuActionRow++;
    Change the first line to this:

    Code:
    menuActionName[menuActionRow] = "Examine @lre@"+ itemDef.name +"");
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Mar 2011
    Posts
    1,226
    Thanks given
    245
    Thanks received
    475
    Rep Power
    294
    Why would you delete the whole line why not just do this:
    menuActionName[menuActionRow] = "Examine @lre@"+ itemDef.name +"");
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Feb 2012
    Posts
    629
    Thanks given
    201
    Thanks received
    59
    Rep Power
    0
    My bad, still learning java
    Reply With Quote  
     

  4. #4  
    Banned
    TrustedDealer's Avatar
    Join Date
    Jan 2011
    Posts
    915
    Thanks given
    98
    Thanks received
    241
    Rep Power
    0
    cool I use a command which enables it, but you have to be owner to use it
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Feb 2012
    Posts
    629
    Thanks given
    201
    Thanks received
    59
    Rep Power
    0
    Quote Originally Posted by TrustedDealer View Post
    cool I use a command which enables it, but you have to be owner to use it
    Nice, I wish I had that command
    Reply With Quote  
     

  6. #6  
    Shake n Bake

    Organic's Avatar
    Join Date
    Apr 2010
    Posts
    2,499
    Thanks given
    204
    Thanks received
    324
    Rep Power
    588
    Not hard...

    make the command

    like
    Code:
    ::advancedrightclick
    advancedRightClick = true;
    (Dont know what the client commands look like off the top of my head)

    then it make

    Code:
    private boolean advancedRightClick = false;
    then make and else if statement like

    Code:
    if advancedrightclick = false {
    (the non advanced right click)
    } else {
    (the advanced right click)
    }
    or make 2 if statements

    by the way this is in the wrong sectiong

    Just live life at its fullest.

    LOL
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    † Owner Of Raved † francisco123bz's Avatar
    Join Date
    Nov 2008
    Posts
    381
    Thanks given
    27
    Thanks received
    22
    Rep Power
    61
    On the right path to learning, keep it up!
    Max players - 12/19/2009 (Not edited count)

    Owner of - Raved
    Reply With Quote  
     

  9. #8  
    Banned
    Join Date
    Feb 2012
    Posts
    67
    Thanks given
    7
    Thanks received
    7
    Rep Power
    0
    Quote Originally Posted by TheLife View Post
    Why would you delete the whole line why not just do this:
    ah, well i get this error D: and its insanity as well
    Reply With Quote  
     

  10. #9  
    Extreme Donator

    Assist's Avatar
    Join Date
    Feb 2012
    Posts
    592
    Thanks given
    46
    Thanks received
    46
    Rep Power
    102
    Code:
    "Examine @1re@"+ itemDef.name;
    OR

    Not sure about this but.

    Code:
    ("Examine @1re@"+ itemDef.name +"");


    Try using that.
    Reply With Quote  
     

  11. #10  
    Registered Member
    gomomo11's Avatar
    Join Date
    May 2010
    Posts
    2,379
    Thanks given
    268
    Thanks received
    196
    Rep Power
    177
    Has no one realized this is in the wrong section ?

    ot: already released
    Attached image
    no external links without affiliate
    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. Replies: 3
    Last Post: 02-06-2012, 07:03 AM
  2. Replies: 8
    Last Post: 03-01-2011, 02:24 AM
  3. 508 item/npc/object ids in right click
    By Sinthrill in forum Tutorials
    Replies: 9
    Last Post: 07-11-2010, 06:42 PM
  4. 508 item/npc/object ids in right click
    By Sinthrill in forum Tutorials
    Replies: 0
    Last Post: 07-09-2010, 08:57 PM
  5. Replies: 26
    Last Post: 03-13-2009, 07:49 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
  •