It would help if you were to post the corresponding code that way we can see if there is anything it's calling to repeat the message multiple times.
|
So when i rub my antique lamp is sends 7 lines of "you rub the mysterious lamp" , same with ::vote it says "thank you for voting like 10 times.... how can i stop this?
EDIT: This has also happened at sometime.. https://www.rune-server.org/runescap...-need-fix.html
It would help if you were to post the corresponding code that way we can see if there is anything it's calling to repeat the message multiple times.
Also it repeats ironmen cant duelCode:if (playerCommand.equals("vote")) { for (int j = 0; j < Server.playerHandler.players.length; j++) { if (Server.playerHandler.players[j] != null) { Client c2 = (Client) Server.playerHandler.players[j]; c2.getPA().sendFrame126("www.genesisvoting.motivoters.com/motivote/", 12000); //c.sendMessage("<col=255>Thanks for choosing to vote for our server!"); c.sendMessage("<col=255>When you're done, type ::redeem AUTH to receive your reward."); } } }
Code:if (c.isIronman > 0 || c.isUltimateIronman > 0) { c.sendMessage("@red@Ironmen are not allowed to trade."); return; }
Gave me errors, also this has happened at some point
https://www.rune-server.org/runescap...-need-fix.html
Take the message outside of the loop, tbh you don't even need the loop at all.
Code:if (playerCommand.equals("vote")) { c.getPA().sendFrame126("www.genesisvoting.motivoters.com/motivote/", 12000); c.sendMessage("<col=255>When you're done, type ::redeem AUTH to receive your reward."); }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |