Thread: Getting Rid Of This [PI]

Results 1 to 9 of 9
  1. #1 Getting Rid Of This [PI] 
    Registered Member
    Join Date
    Mar 2012
    Posts
    710
    Thanks given
    19
    Thanks received
    5
    Rep Power
    37
    How can I get rid of these sentences that come up after I click on something?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Karma_K's Avatar
    Join Date
    Nov 2012
    Posts
    4,283
    Thanks given
    152
    Thanks received
    610
    Rep Power
    108
    Quote Originally Posted by i am here View Post
    How can I get rid of these sentences that come up after I click on something?
    search for something like this in clickingbuttons.java and comment it out or delete it

    Code:
    actionbutton: "+actionButtonId)
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Mar 2012
    Posts
    710
    Thanks given
    19
    Thanks received
    5
    Rep Power
    37
    Nothing like that..
    Any other advice?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Zivik's Avatar
    Join Date
    Oct 2007
    Age
    28
    Posts
    4,421
    Thanks given
    891
    Thanks received
    1,527
    Rep Power
    3285
    Somewhere in your clicking buttons class you should see this:

    Code:
    "+actionButtonId
    Search for it using ctrl+f then comment or delete the line out.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Mar 2012
    Posts
    710
    Thanks given
    19
    Thanks received
    5
    Rep Power
    37
    Nope, its not in there.
    Reply With Quote  
     

  6. #6  
    Registered Member
    Join Date
    Mar 2012
    Posts
    710
    Thanks given
    19
    Thanks received
    5
    Rep Power
    37
    I found this...
    Code:
    public void processPacket(Client c, int packetType, int packetSize) {
    		int actionButtonId = Misc.hexToInt(c.getInStream().buffer, 0, packetSize);
    		//int actionButtonId = c.getInStream().readShort();
    		if (c.isDead)
    			return;
    		c.getPA().switchCombatType(actionButtonId);
    		c.curses().curseButtons(actionButtonId);
    		if((c.playerRights == 3 || c.playerRights == 5))	
    			c.sendMessage("actionbutton: " + actionButtonId + " Fight mode: " + c.fightMode + " Dialogue action: " + c.dialogueAction);
    			int[] spellIds = {4128,4130,4132,4134,4136,4139,4142,4145,4148,4151,4153,4157,4159,4161,4164,4165,4129,4133,4137,6006,6007,6026,6036,6046,6056,
    			4147,6003,47005,4166,4167,4168,48157,50193,50187,50101,50061,50163,50211,50119,50081,50151,50199,50111,50071,50175,50223,50129,50091};
    			for(int i = 0; i < spellIds.length; i++) {
    				if(actionButtonId == spellIds[i]) {
    					c.autocasting = (c.autocastId != i) ? true : false;
    					if (!c.autocasting) {
    						c.getPA().resetAutocast();
    					} else {
    						c.autocastId = i;
    					}
    				}
    			}
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Dec 2011
    Posts
    454
    Thanks given
    17
    Thanks received
    37
    Rep Power
    61
    Code:
    if((c.playerRights == 3 || c.playerRights == 5))	
    			c.sendMessage("actionbutton: " + actionButtonId + " Fight mode: " + c.fightMode + " Dialogue action: " + c.dialogueAction);
    Get rid of that.
    Reply With Quote  
     

  8. #8  
    Donator
    Darkness's Avatar
    Join Date
    Nov 2012
    Age
    26
    Posts
    876
    Thanks given
    121
    Thanks received
    75
    Rep Power
    47
    Quote Originally Posted by i am here View Post
    How can I get rid of these sentences that come up after I click on something?
    Only owners\rank 5 get this message though. It is really useful to know your action button as a owner, if you actually code, so i wouldn't recommend removing it, but what he said is right
    Attached image
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Mar 2012
    Posts
    710
    Thanks given
    19
    Thanks received
    5
    Rep Power
    37
    Yeah, I figured it out and thought of why it was there so I have decided to keep it. It only shows up for rank 3's and 5's too.
    Reply With Quote  
     


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: 2
    Last Post: 03-31-2012, 08:06 PM
  2. Replies: 4
    Last Post: 01-07-2011, 05:59 PM
  3. How do i get rid of this ugly sky?
    By Ho H0 Ho in forum Help
    Replies: 3
    Last Post: 07-25-2010, 10:50 PM
  4. Want to get rid of this.
    By Panty Beers in forum Accounts
    Replies: 16
    Last Post: 03-28-2010, 10:40 PM
  5. How do I get rid of this? [Delta]
    By jack24 in forum Help
    Replies: 11
    Last Post: 10-17-2009, 04:44 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
  •