Replaced custom CB buypass colon with comma.

This commit is contained in:
mobius
2015-01-09 17:19:50 +00:00
parent 213e4608f0
commit 9c9b0aaff7
2 changed files with 6 additions and 6 deletions

View File

@@ -5,9 +5,9 @@
<br>
<br1> <!-- add code after this comment -->
<img src="l2ui.bbs_lineage2" width="128" height="16" ><br>
<button action="bypass _bbsmultisell;2010:test" value="Shop Test" width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_Reward_Down" fore="L2UI_CT1.OlympiadWnd_DF_Reward"><br>
<button action="bypass _bbsteleport;83421:148008:-3408:test" value="Teleport Test" width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_Reward_Down" fore="L2UI_CT1.OlympiadWnd_DF_Reward"><br>
<button action="bypass _bbsbuff;1323:1:test" value="Buff Test" width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_Reward_Down" fore="L2UI_CT1.OlympiadWnd_DF_Reward"><br>
<button action="bypass _bbsmultisell;2010,test" value="Shop Test" width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_Reward_Down" fore="L2UI_CT1.OlympiadWnd_DF_Reward"><br>
<button action="bypass _bbsteleport;83421,148008,-3408,test" value="Teleport Test" width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_Reward_Down" fore="L2UI_CT1.OlympiadWnd_DF_Reward"><br>
<button action="bypass _bbsbuff;1323,1,test" value="Buff Test" width=200 height=31 back="L2UI_CT1.OlympiadWnd_DF_Reward_Down" fore="L2UI_CT1.OlympiadWnd_DF_Reward"><br>
</center>
</body>
</html>

View File

@@ -83,7 +83,7 @@ public final class HomeBoard implements IParseBoardHandler
else if (Config.CUSTOM_CB_ENABLED && command.startsWith("_bbsmultisell"))
{
final String fullBypass = command.replace("_bbsmultisell;", "");
final String[] buypassOptions = fullBypass.split(":");
final String[] buypassOptions = fullBypass.split(",");
final int multisellId = Integer.parseInt(buypassOptions[0]);
final String page = buypassOptions[1];
MultisellData.getInstance().separateAndSend(multisellId, activeChar, null, false);
@@ -93,7 +93,7 @@ public final class HomeBoard implements IParseBoardHandler
else if (Config.CUSTOM_CB_ENABLED && command.startsWith("_bbsteleport"))
{
final String fullBypass = command.replace("_bbsteleport;", "");
final String[] buypassOptions = fullBypass.split(":");
final String[] buypassOptions = fullBypass.split(",");
final int x = Integer.parseInt(buypassOptions[0]);
final int y = Integer.parseInt(buypassOptions[1]);
final int z = Integer.parseInt(buypassOptions[2]);
@@ -111,7 +111,7 @@ public final class HomeBoard implements IParseBoardHandler
else if (Config.CUSTOM_CB_ENABLED && command.startsWith("_bbsbuff"))
{
final String fullBypass = command.replace("_bbsbuff;", "");
final String[] buypassOptions = fullBypass.split(":");
final String[] buypassOptions = fullBypass.split(",");
final int buffId = Integer.parseInt(buypassOptions[0]);
final int buffLevel = Integer.parseInt(buypassOptions[1]);
final String page = buypassOptions[2];