Thread: [317] PI How to disable Duel Arena

Results 1 to 8 of 8
  1. #1 [317] PI How to disable Duel Arena 
    Registered Member
    Join Date
    Jul 2012
    Age
    18
    Posts
    51
    Thanks given
    4
    Thanks received
    0
    Rep Power
    11
    There is Teh Pro's duping vid with cheat engine and has one or two other ways to dupe in duel arena. And for now, i would just like to disable it atm. How may i go about doing this?????
    Reply With Quote  
     

  2. #2  
    Member
    Join Date
    Jun 2011
    Posts
    61
    Thanks given
    0
    Thanks received
    14
    Rep Power
    0
    Just remove something like this from TradeAndDuel
    Code:
    				c.sendMessage("Sending duel request...");
    				o.sendMessage(c.displayName+":duelchallenge:");
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Member
    Join Date
    Jun 2011
    Posts
    61
    Thanks given
    0
    Thanks received
    14
    Rep Power
    0
    Quote Originally Posted by Rebeccaa View Post
    That's just sent messages, that wont do anything except of course, not see the chatbox message. Just remove it from your teleports if it's in there.
    What are you talking about? That work's 100%. Plus, why would you just remove it from teleports, what's stopping you from just walking there?

    Code:
    o.sendMessage(c.displayName+":duelchallenge:");
    Reply With Quote  
     

  5. #4  
    Registered Member
    Join Date
    Jul 2012
    Age
    18
    Posts
    51
    Thanks given
    4
    Thanks received
    0
    Rep Power
    11
    but, cant they still walk there??
    Reply With Quote  
     

  6. #5  
    Registered Member
    Join Date
    Jul 2012
    Age
    18
    Posts
    51
    Thanks given
    4
    Thanks received
    0
    Rep Power
    11
    Thanks noob irl. worked just fine =]
    Reply With Quote  
     

  7. #6  
    Donator

    Jason's Avatar
    Join Date
    Aug 2009
    Age
    20
    Posts
    4,428
    Thanks given
    897
    Thanks received
    1,255
    Rep Power
    1015
    No Noobirl, that wouldn't work. Although a challenger can't see that his opposing partner has sen't him a request, he can still right click the character model and choose to select "Challenge" which will proceed to a duel. The correct way of doing it would be to edit the method "requestDuel" in your TradeAndDuel class by simple adding a playerRights check which would still allow players, such as yourself, with a high rank to still access the duel arena so that you can remove the bugs. This is what you would put at the top of the method:

    Code:
    			if (c.playerRights != 3) {
    				c.sendMessage("Sorry but Dueling has been disabled till further notice, sorry.");
                                    return;
                                    }
    Best of luck, enjoy.

    Reply With Quote  
     

  8. #7  
    Member
    Join Date
    Jun 2011
    Posts
    61
    Thanks given
    0
    Thanks received
    14
    Rep Power
    0
    Quote Originally Posted by Jason View Post
    select "Challenge" which will proceed to a duel.
    You're right, I forgot about that little bit. Thank's for pointing it out.
    Reply With Quote  
     

  9. #8  
    Zarpor Owner
    mattsforeal's Avatar
    Join Date
    Oct 2009
    Posts
    245
    Thanks given
    51
    Thanks received
    78
    Rep Power
    66
    Easiest way, if you insist on doing so...

    Client.java
    Code:
    getPA().showOption(3, 0, "Challenge", 1);
    Change that to...

    Code:
    //getPA().showOption(3, 0, "Challenge", 1);
    Reply With Quote  
     

  10. Thankful user:



Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [PI] Disable Duel Arena
    By RayWilliamJohnson in forum Help
    Replies: 3
    Last Post: 10-23-2011, 10:59 PM
  2. Replies: 5
    Last Post: 08-05-2011, 11:51 PM
  3. PI 317 Death respawn & Duel arena problem.
    By Psychedelic in forum Help
    Replies: 3
    Last Post: 07-05-2011, 01:01 AM
  4. Replies: 4
    Last Post: 05-23-2011, 02:04 PM
  5. [317--Help]Duel Arena, Fullstaking, anti dupe
    By Sinister Black in forum Help
    Replies: 2
    Last Post: 07-13-2009, 10:51 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
  •