HighFive community board bbsexcmultisell bypass.
This commit is contained in:
parent
026b55c102
commit
b743cef12b
@ -67,6 +67,7 @@ public final class HomeBoard implements IParseBoardHandler
|
||||
private static final String[] CUSTOM_COMMANDS =
|
||||
{
|
||||
Config.PREMIUM_SYSTEM_ENABLED && Config.COMMUNITY_PREMIUM_SYSTEM_ENABLED ? "_bbspremium" : null,
|
||||
Config.COMMUNITYBOARD_ENABLE_MULTISELLS ? "_bbsexcmultisell" : null,
|
||||
Config.COMMUNITYBOARD_ENABLE_MULTISELLS ? "_bbsmultisell" : null,
|
||||
Config.COMMUNITYBOARD_ENABLE_MULTISELLS ? "_bbssell" : null,
|
||||
Config.COMMUNITYBOARD_ENABLE_TELEPORTS ? "_bbsteleport" : null,
|
||||
@ -149,6 +150,15 @@ public final class HomeBoard implements IParseBoardHandler
|
||||
returnHtml = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/CommunityBoard/Custom/" + page + ".html");
|
||||
MultisellData.getInstance().separateAndSend(multisellId, activeChar, null, false);
|
||||
}
|
||||
else if (command.startsWith("_bbsexcmultisell"))
|
||||
{
|
||||
final String fullBypass = command.replace("_bbsexcmultisell;", "");
|
||||
final String[] buypassOptions = fullBypass.split(",");
|
||||
final int multisellId = Integer.parseInt(buypassOptions[0]);
|
||||
final String page = buypassOptions[1];
|
||||
returnHtml = HtmCache.getInstance().getHtm(activeChar.getHtmlPrefix(), "data/html/CommunityBoard/Custom/" + page + ".html");
|
||||
MultisellData.getInstance().separateAndSend(multisellId, activeChar, null, true);
|
||||
}
|
||||
else if (command.startsWith("_bbssell"))
|
||||
{
|
||||
final String page = command.replace("_bbssell;", "");
|
||||
|
Loading…
Reference in New Issue
Block a user