Comments should follow a space.
This commit is contained in:
@@ -420,11 +420,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ar" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -458,11 +458,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ag" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -420,11 +420,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ar" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -458,11 +458,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ag" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -420,11 +420,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ar" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -458,11 +458,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ag" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -93,15 +93,15 @@ public class ExOlympiadRankingInfo implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
packet.writeD(id);
|
packet.writeD(id);
|
||||||
}
|
}
|
||||||
packet.writeD(Config.SERVER_ID);// server id
|
packet.writeD(Config.SERVER_ID); // server id
|
||||||
packet.writeD(player.getInt("level"));// level
|
packet.writeD(player.getInt("level")); // level
|
||||||
packet.writeD(player.getInt("classId"));// class id
|
packet.writeD(player.getInt("classId")); // class id
|
||||||
packet.writeD(player.getInt("clanLevel"));// clan level
|
packet.writeD(player.getInt("clanLevel")); // clan level
|
||||||
packet.writeD(player.getInt("competitions_won"));// win count
|
packet.writeD(player.getInt("competitions_won")); // win count
|
||||||
packet.writeD(player.getInt("competitions_lost"));// lose count
|
packet.writeD(player.getInt("competitions_lost")); // lose count
|
||||||
packet.writeD(player.getInt("olympiad_points"));// points
|
packet.writeD(player.getInt("olympiad_points")); // points
|
||||||
packet.writeD(player.getInt("count"));// hero counts
|
packet.writeD(player.getInt("count")); // hero counts
|
||||||
packet.writeD(player.getInt("legend_count"));// legend counts
|
packet.writeD(player.getInt("legend_count")); // legend counts
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -147,12 +147,12 @@ public class ExOlympiadRankingInfo implements IClientOutgoingPacket
|
|||||||
packet.writeD(Config.SERVER_ID);
|
packet.writeD(Config.SERVER_ID);
|
||||||
packet.writeD(plr.getInt("level"));
|
packet.writeD(plr.getInt("level"));
|
||||||
packet.writeD(plr.getInt("classId"));
|
packet.writeD(plr.getInt("classId"));
|
||||||
packet.writeD(plr.getInt("clanLevel"));// clan level
|
packet.writeD(plr.getInt("clanLevel")); // clan level
|
||||||
packet.writeD(plr.getInt("competitions_won"));// win count
|
packet.writeD(plr.getInt("competitions_won")); // win count
|
||||||
packet.writeD(plr.getInt("competitions_lost"));// lose count
|
packet.writeD(plr.getInt("competitions_lost")); // lose count
|
||||||
packet.writeD(plr.getInt("olympiad_points"));// points
|
packet.writeD(plr.getInt("olympiad_points")); // points
|
||||||
packet.writeD(plr.getInt("count"));// hero counts
|
packet.writeD(plr.getInt("count")); // hero counts
|
||||||
packet.writeD(plr.getInt("legend_count"));// legend counts
|
packet.writeD(plr.getInt("legend_count")); // legend counts
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -215,12 +215,12 @@ public class ExOlympiadRankingInfo implements IClientOutgoingPacket
|
|||||||
packet.writeD(Config.SERVER_ID);
|
packet.writeD(Config.SERVER_ID);
|
||||||
packet.writeD(player.getInt("level"));
|
packet.writeD(player.getInt("level"));
|
||||||
packet.writeD(player.getInt("classId"));
|
packet.writeD(player.getInt("classId"));
|
||||||
packet.writeD(player.getInt("clanLevel"));// clan level
|
packet.writeD(player.getInt("clanLevel")); // clan level
|
||||||
packet.writeD(player.getInt("competitions_won"));// win count
|
packet.writeD(player.getInt("competitions_won")); // win count
|
||||||
packet.writeD(player.getInt("competitions_lost"));// lose count
|
packet.writeD(player.getInt("competitions_lost")); // lose count
|
||||||
packet.writeD(player.getInt("olympiad_points"));// points
|
packet.writeD(player.getInt("olympiad_points")); // points
|
||||||
packet.writeD(player.getInt("count"));// hero counts
|
packet.writeD(player.getInt("count")); // hero counts
|
||||||
packet.writeD(player.getInt("legend_count"));// legend counts
|
packet.writeD(player.getInt("legend_count")); // legend counts
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -265,12 +265,12 @@ public class ExOlympiadRankingInfo implements IClientOutgoingPacket
|
|||||||
packet.writeD(Config.SERVER_ID);
|
packet.writeD(Config.SERVER_ID);
|
||||||
packet.writeD(player.getInt("level"));
|
packet.writeD(player.getInt("level"));
|
||||||
packet.writeD(player.getInt("classId"));
|
packet.writeD(player.getInt("classId"));
|
||||||
packet.writeD(player.getInt("clanLevel"));// clan level
|
packet.writeD(player.getInt("clanLevel")); // clan level
|
||||||
packet.writeD(player.getInt("competitions_won"));// win count
|
packet.writeD(player.getInt("competitions_won")); // win count
|
||||||
packet.writeD(player.getInt("competitions_lost"));// lose count
|
packet.writeD(player.getInt("competitions_lost")); // lose count
|
||||||
packet.writeD(player.getInt("olympiad_points"));// points
|
packet.writeD(player.getInt("olympiad_points")); // points
|
||||||
packet.writeD(player.getInt("count"));// hero counts
|
packet.writeD(player.getInt("count")); // hero counts
|
||||||
packet.writeD(player.getInt("legend_count"));// legend counts
|
packet.writeD(player.getInt("legend_count")); // legend counts
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -420,11 +420,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ar" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -458,11 +458,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ag" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -420,11 +420,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ar" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -458,11 +458,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ag" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -37,7 +37,7 @@ public class ExCollectionList implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
OutgoingPackets.EX_COLLECTION_LIST.writeId(packet);
|
OutgoingPackets.EX_COLLECTION_LIST.writeId(packet);
|
||||||
packet.writeC(_category);
|
packet.writeC(_category);
|
||||||
packet.writeD(0);// size & loop body
|
packet.writeD(0); // size & loop body
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -29,7 +29,7 @@ public class ExCollectionOpenUI implements IClientOutgoingPacket
|
|||||||
public boolean write(PacketWriter packet)
|
public boolean write(PacketWriter packet)
|
||||||
{
|
{
|
||||||
OutgoingPackets.EX_COLLECTION_OPEN_UI.writeId(packet);
|
OutgoingPackets.EX_COLLECTION_OPEN_UI.writeId(packet);
|
||||||
packet.writeC(0);// unk and may be unk D too
|
packet.writeC(0); // unk and may be unk D too
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -420,11 +420,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ar" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -458,11 +458,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ag" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -37,7 +37,7 @@ public class ExCollectionList implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
OutgoingPackets.EX_COLLECTION_LIST.writeId(packet);
|
OutgoingPackets.EX_COLLECTION_LIST.writeId(packet);
|
||||||
packet.writeC(_category);
|
packet.writeC(_category);
|
||||||
packet.writeD(0);// size & loop body
|
packet.writeD(0); // size & loop body
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -29,7 +29,7 @@ public class ExCollectionOpenUI implements IClientOutgoingPacket
|
|||||||
public boolean write(PacketWriter packet)
|
public boolean write(PacketWriter packet)
|
||||||
{
|
{
|
||||||
OutgoingPackets.EX_COLLECTION_OPEN_UI.writeId(packet);
|
OutgoingPackets.EX_COLLECTION_OPEN_UI.writeId(packet);
|
||||||
packet.writeC(0);// unk and may be unk D too
|
packet.writeC(0); // unk and may be unk D too
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -420,11 +420,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ar" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ar" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ar" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -458,11 +458,11 @@ public class AdminEnchant implements IAdminCommandHandler
|
|||||||
// if enchant value is 0 - show "blank instead of 0
|
// if enchant value is 0 - show "blank instead of 0
|
||||||
if (currentEnch != 0)
|
if (currentEnch != 0)
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch));// send ench value
|
getVars = getVars.replace("%ag" + i + "_ench%", Integer.toString(currentEnch)); // send ench value
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
getVars = getVars.replace("%ag" + i + "_ench%", " ");// send "space" so displays icon correctly
|
getVars = getVars.replace("%ag" + i + "_ench%", " "); // send "space" so displays icon correctly
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -37,7 +37,7 @@ public class ExCollectionList implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
OutgoingPackets.EX_COLLECTION_LIST.writeId(packet);
|
OutgoingPackets.EX_COLLECTION_LIST.writeId(packet);
|
||||||
packet.writeC(_category);
|
packet.writeC(_category);
|
||||||
packet.writeD(0);// size & loop body
|
packet.writeD(0); // size & loop body
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -29,7 +29,7 @@ public class ExCollectionOpenUI implements IClientOutgoingPacket
|
|||||||
public boolean write(PacketWriter packet)
|
public boolean write(PacketWriter packet)
|
||||||
{
|
{
|
||||||
OutgoingPackets.EX_COLLECTION_OPEN_UI.writeId(packet);
|
OutgoingPackets.EX_COLLECTION_OPEN_UI.writeId(packet);
|
||||||
packet.writeC(0);// unk and may be unk D too
|
packet.writeC(0); // unk and may be unk D too
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -69,7 +69,7 @@ public class RequestServerLogin extends AbstractClientPacket
|
|||||||
_key1 = readD();
|
_key1 = readD();
|
||||||
_key2 = readD();
|
_key2 = readD();
|
||||||
|
|
||||||
_server_id = readC();// = rawPacket[9] &0xff;
|
_server_id = readC(); // = rawPacket[9] &0xff;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@@ -93,15 +93,15 @@ public class ExOlympiadRankingInfo implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
packet.writeD(id);
|
packet.writeD(id);
|
||||||
}
|
}
|
||||||
packet.writeD(Config.SERVER_ID);// server id
|
packet.writeD(Config.SERVER_ID); // server id
|
||||||
packet.writeD(player.getInt("level"));// level
|
packet.writeD(player.getInt("level")); // level
|
||||||
packet.writeD(player.getInt("classId"));// class id
|
packet.writeD(player.getInt("classId")); // class id
|
||||||
packet.writeD(player.getInt("clanLevel"));// clan level
|
packet.writeD(player.getInt("clanLevel")); // clan level
|
||||||
packet.writeD(player.getInt("competitions_won"));// win count
|
packet.writeD(player.getInt("competitions_won")); // win count
|
||||||
packet.writeD(player.getInt("competitions_lost"));// lose count
|
packet.writeD(player.getInt("competitions_lost")); // lose count
|
||||||
packet.writeD(player.getInt("olympiad_points"));// points
|
packet.writeD(player.getInt("olympiad_points")); // points
|
||||||
packet.writeD(player.getInt("count"));// hero counts
|
packet.writeD(player.getInt("count")); // hero counts
|
||||||
packet.writeD(player.getInt("legend_count"));// legend counts
|
packet.writeD(player.getInt("legend_count")); // legend counts
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -147,12 +147,12 @@ public class ExOlympiadRankingInfo implements IClientOutgoingPacket
|
|||||||
packet.writeD(Config.SERVER_ID);
|
packet.writeD(Config.SERVER_ID);
|
||||||
packet.writeD(plr.getInt("level"));
|
packet.writeD(plr.getInt("level"));
|
||||||
packet.writeD(plr.getInt("classId"));
|
packet.writeD(plr.getInt("classId"));
|
||||||
packet.writeD(plr.getInt("clanLevel"));// clan level
|
packet.writeD(plr.getInt("clanLevel")); // clan level
|
||||||
packet.writeD(plr.getInt("competitions_won"));// win count
|
packet.writeD(plr.getInt("competitions_won")); // win count
|
||||||
packet.writeD(plr.getInt("competitions_lost"));// lose count
|
packet.writeD(plr.getInt("competitions_lost")); // lose count
|
||||||
packet.writeD(plr.getInt("olympiad_points"));// points
|
packet.writeD(plr.getInt("olympiad_points")); // points
|
||||||
packet.writeD(plr.getInt("count"));// hero counts
|
packet.writeD(plr.getInt("count")); // hero counts
|
||||||
packet.writeD(plr.getInt("legend_count"));// legend counts
|
packet.writeD(plr.getInt("legend_count")); // legend counts
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -215,12 +215,12 @@ public class ExOlympiadRankingInfo implements IClientOutgoingPacket
|
|||||||
packet.writeD(Config.SERVER_ID);
|
packet.writeD(Config.SERVER_ID);
|
||||||
packet.writeD(player.getInt("level"));
|
packet.writeD(player.getInt("level"));
|
||||||
packet.writeD(player.getInt("classId"));
|
packet.writeD(player.getInt("classId"));
|
||||||
packet.writeD(player.getInt("clanLevel"));// clan level
|
packet.writeD(player.getInt("clanLevel")); // clan level
|
||||||
packet.writeD(player.getInt("competitions_won"));// win count
|
packet.writeD(player.getInt("competitions_won")); // win count
|
||||||
packet.writeD(player.getInt("competitions_lost"));// lose count
|
packet.writeD(player.getInt("competitions_lost")); // lose count
|
||||||
packet.writeD(player.getInt("olympiad_points"));// points
|
packet.writeD(player.getInt("olympiad_points")); // points
|
||||||
packet.writeD(player.getInt("count"));// hero counts
|
packet.writeD(player.getInt("count")); // hero counts
|
||||||
packet.writeD(player.getInt("legend_count"));// legend counts
|
packet.writeD(player.getInt("legend_count")); // legend counts
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -265,12 +265,12 @@ public class ExOlympiadRankingInfo implements IClientOutgoingPacket
|
|||||||
packet.writeD(Config.SERVER_ID);
|
packet.writeD(Config.SERVER_ID);
|
||||||
packet.writeD(player.getInt("level"));
|
packet.writeD(player.getInt("level"));
|
||||||
packet.writeD(player.getInt("classId"));
|
packet.writeD(player.getInt("classId"));
|
||||||
packet.writeD(player.getInt("clanLevel"));// clan level
|
packet.writeD(player.getInt("clanLevel")); // clan level
|
||||||
packet.writeD(player.getInt("competitions_won"));// win count
|
packet.writeD(player.getInt("competitions_won")); // win count
|
||||||
packet.writeD(player.getInt("competitions_lost"));// lose count
|
packet.writeD(player.getInt("competitions_lost")); // lose count
|
||||||
packet.writeD(player.getInt("olympiad_points"));// points
|
packet.writeD(player.getInt("olympiad_points")); // points
|
||||||
packet.writeD(player.getInt("count"));// hero counts
|
packet.writeD(player.getInt("count")); // hero counts
|
||||||
packet.writeD(player.getInt("legend_count"));// legend counts
|
packet.writeD(player.getInt("legend_count")); // legend counts
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -37,7 +37,7 @@ public class ExCollectionList implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
OutgoingPackets.EX_COLLECTION_LIST.writeId(packet);
|
OutgoingPackets.EX_COLLECTION_LIST.writeId(packet);
|
||||||
packet.writeC(_category);
|
packet.writeC(_category);
|
||||||
packet.writeD(0);// size & loop body
|
packet.writeD(0); // size & loop body
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -29,7 +29,7 @@ public class ExCollectionOpenUI implements IClientOutgoingPacket
|
|||||||
public boolean write(PacketWriter packet)
|
public boolean write(PacketWriter packet)
|
||||||
{
|
{
|
||||||
OutgoingPackets.EX_COLLECTION_OPEN_UI.writeId(packet);
|
OutgoingPackets.EX_COLLECTION_OPEN_UI.writeId(packet);
|
||||||
packet.writeC(0);// unk and may be unk D too
|
packet.writeC(0); // unk and may be unk D too
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -37,7 +37,7 @@ public class ExCollectionList implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
OutgoingPackets.EX_COLLECTION_LIST.writeId(packet);
|
OutgoingPackets.EX_COLLECTION_LIST.writeId(packet);
|
||||||
packet.writeC(_category);
|
packet.writeC(_category);
|
||||||
packet.writeD(0);// size & loop body
|
packet.writeD(0); // size & loop body
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -29,7 +29,7 @@ public class ExCollectionOpenUI implements IClientOutgoingPacket
|
|||||||
public boolean write(PacketWriter packet)
|
public boolean write(PacketWriter packet)
|
||||||
{
|
{
|
||||||
OutgoingPackets.EX_COLLECTION_OPEN_UI.writeId(packet);
|
OutgoingPackets.EX_COLLECTION_OPEN_UI.writeId(packet);
|
||||||
packet.writeC(0);// unk and may be unk D too
|
packet.writeC(0); // unk and may be unk D too
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -37,7 +37,7 @@ public class ExCollectionList implements IClientOutgoingPacket
|
|||||||
{
|
{
|
||||||
OutgoingPackets.EX_COLLECTION_LIST.writeId(packet);
|
OutgoingPackets.EX_COLLECTION_LIST.writeId(packet);
|
||||||
packet.writeC(_category);
|
packet.writeC(_category);
|
||||||
packet.writeD(0);// size & loop body
|
packet.writeD(0); // size & loop body
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -29,7 +29,7 @@ public class ExCollectionOpenUI implements IClientOutgoingPacket
|
|||||||
public boolean write(PacketWriter packet)
|
public boolean write(PacketWriter packet)
|
||||||
{
|
{
|
||||||
OutgoingPackets.EX_COLLECTION_OPEN_UI.writeId(packet);
|
OutgoingPackets.EX_COLLECTION_OPEN_UI.writeId(packet);
|
||||||
packet.writeC(0);// unk and may be unk D too
|
packet.writeC(0); // unk and may be unk D too
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user