Just remove something like this from TradeAndDuel
Code:c.sendMessage("Sending duel request..."); o.sendMessage(c.displayName+":duelchallenge:");
|
Just remove something like this from TradeAndDuel
Code:c.sendMessage("Sending duel request..."); o.sendMessage(c.displayName+":duelchallenge:");
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:
Best of luck, enjoy.Code:if (c.playerRights != 3) { c.sendMessage("Sorry but Dueling has been disabled till further notice, sorry."); return; }
Easiest way, if you insist on doing so...
Client.java
Change that to...Code:getPA().showOption(3, 0, "Challenge", 1);
Code://getPA().showOption(3, 0, "Challenge", 1);
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |