EN: CH owner needs adenas in Wharehouse
PT: O dono do CH precisa de adenas no baú.
EN: Is there more rules? In my server, 3 clans lost theirs CH due re-auctions.
PT: Existem mais regras? Em meu servidor 3 clans perderam seus CH por causa de re-leilões.
Reference:
http://l2jserver.com/old-forum/thread.p ... adid=32626
In code below (L2AuctionInstance.java) no need access right to reauction?
Code: Select all
if (actualCommand.equalsIgnoreCase("confirmAuction")) { try { Auction a = _pendingAuctions.get(player.getClan().getHasHideout()); a.confirmAuction(); _pendingAuctions.remove(player.getClan().getHasHideout()); } catch (Exception e) { player.sendMessage("Invalid auction"); } return; }
PT: Talvez o correto seja:
Code: Select all
if (actualCommand.equalsIgnoreCase("confirmAuction")) { try {+ if (!((player.getClanPrivileges() & L2Clan.CP_CH_AUCTION) == L2Clan.CP_CH_AUCTION))+ {+ player.sendMessage("You don't have the right privilleges to do this");+ return;+ } Auction a = _pendingAuctions.get(player.getClan().getHasHideout()); a.confirmAuction(); _pendingAuctions.remove(player.getClan().getHasHideout()); } catch (Exception e) { player.sendMessage("Invalid auction"); } return; }
EN: I had no time to do any test, so Iposted in Server Discussion and not in User Contribuition. But if it makes sense, please move to User Contribuition.
PT: Eu não tive tempo para testar, por isso eu postei aqui em server discussion e não em User Contribuition. Mas se fizer sentido, por favor movam para User Contribuition.