Code format for space before comments.

This commit is contained in:
MobiusDevelopment 2019-11-13 16:49:02 +00:00
parent 0997c81251
commit 25678c3f9c
126 changed files with 254 additions and 254 deletions

View File

@ -53,7 +53,7 @@ public class Q00337_AudienceWithTheLandDragon extends Quest
private static final int REMAINS_OF_SACRIFIED = 3857; // Remains of Sacrifice
private static final int MARA_FANG = 3862; // Mara Fang
private static final int FIRST_FRAGMENT_OF_ABYSS_JEWEL = 3859; // 1st Fragment of Abyssal Jewel
private static final int MARK_OF_WATCHMAN = 3864;// Mark of Watchman
private static final int MARK_OF_WATCHMAN = 3864; // Mark of Watchman
private static final int SECOND_FRAGMENT_OF_ABYSS_JEWEL = 3860; // 2nd Fragment of Abyssal Jewel
private static final int MUSFEL_FANG = 3863; // Musfel Fang
private static final int HERALD_OF_SLAYER = 3890; // Badge of slayer

View File

@ -133,7 +133,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_flyRunSpd);
packet.writeD(_flyWalkSpd);
packet.writeF(_moveMultiplier);
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9);//
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9); //
packet.writeF(_player.getCollisionRadius()); // scale
packet.writeF(_player.getCollisionHeight()); // y offset ??!? fem dwarf 4033
packet.writeD(_player.getAppearance().getHairStyle());

View File

@ -79,11 +79,11 @@ public class AteliaManager extends AbstractNpcAI
private static final int HAYUK = 34060; // Hayuk Aden Vanguard
private static final int HURAK = 34064; // Hurak Blackbird Clan Member
// Location Stronghold II
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353);//
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286);//
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353); //
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286); //
// Flag Stronghold II
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407);//
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421);//
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407); //
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421); //
// Npcs Stronghold III
private static final int ELISE = 34061; // Elise Aden Vanguard
private static final int LAFFIAN = 34065; // Laffian Blackbird Clan Member

View File

@ -53,7 +53,7 @@ public class Q00337_AudienceWithTheLandDragon extends Quest
private static final int REMAINS_OF_SACRIFIED = 3857; // Remains of Sacrifice
private static final int MARA_FANG = 3862; // Mara Fang
private static final int FIRST_FRAGMENT_OF_ABYSS_JEWEL = 3859; // 1st Fragment of Abyssal Jewel
private static final int MARK_OF_WATCHMAN = 3864;// Mark of Watchman
private static final int MARK_OF_WATCHMAN = 3864; // Mark of Watchman
private static final int SECOND_FRAGMENT_OF_ABYSS_JEWEL = 3860; // 2nd Fragment of Abyssal Jewel
private static final int MUSFEL_FANG = 3863; // Musfel Fang
private static final int HERALD_OF_SLAYER = 3890; // Badge of slayer

View File

@ -129,7 +129,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_flyRunSpd);
packet.writeD(_flyWalkSpd);
packet.writeF(_moveMultiplier);
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9);//
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9); //
packet.writeF(_player.getCollisionRadius()); // scale
packet.writeF(_player.getCollisionHeight()); // y offset ??!? fem dwarf 4033
packet.writeD(_player.getAppearance().getHairStyle());

View File

@ -79,11 +79,11 @@ public class AteliaManager extends AbstractNpcAI
private static final int HAYUK = 34060; // Hayuk Aden Vanguard
private static final int HURAK = 34064; // Hurak Blackbird Clan Member
// Location Stronghold II
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353);//
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286);//
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353); //
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286); //
// Flag Stronghold II
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407);//
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421);//
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407); //
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421); //
// Npcs Stronghold III
private static final int ELISE = 34061; // Elise Aden Vanguard
private static final int LAFFIAN = 34065; // Laffian Blackbird Clan Member

View File

@ -53,7 +53,7 @@ public class Q00337_AudienceWithTheLandDragon extends Quest
private static final int REMAINS_OF_SACRIFIED = 3857; // Remains of Sacrifice
private static final int MARA_FANG = 3862; // Mara Fang
private static final int FIRST_FRAGMENT_OF_ABYSS_JEWEL = 3859; // 1st Fragment of Abyssal Jewel
private static final int MARK_OF_WATCHMAN = 3864;// Mark of Watchman
private static final int MARK_OF_WATCHMAN = 3864; // Mark of Watchman
private static final int SECOND_FRAGMENT_OF_ABYSS_JEWEL = 3860; // 2nd Fragment of Abyssal Jewel
private static final int MUSFEL_FANG = 3863; // Musfel Fang
private static final int HERALD_OF_SLAYER = 3890; // Badge of slayer

View File

@ -129,7 +129,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_flyRunSpd);
packet.writeD(_flyWalkSpd);
packet.writeF(_moveMultiplier);
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9);//
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9); //
packet.writeF(_player.getCollisionRadius()); // scale
packet.writeF(_player.getCollisionHeight()); // y offset ??!? fem dwarf 4033
packet.writeD(_player.getAppearance().getHairStyle());

View File

@ -79,11 +79,11 @@ public class AteliaManager extends AbstractNpcAI
private static final int HAYUK = 34060; // Hayuk Aden Vanguard
private static final int HURAK = 34064; // Hurak Blackbird Clan Member
// Location Stronghold II
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353);//
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286);//
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353); //
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286); //
// Flag Stronghold II
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407);//
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421);//
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407); //
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421); //
// Npcs Stronghold III
private static final int ELISE = 34061; // Elise Aden Vanguard
private static final int LAFFIAN = 34065; // Laffian Blackbird Clan Member

View File

@ -53,7 +53,7 @@ public class Q00337_AudienceWithTheLandDragon extends Quest
private static final int REMAINS_OF_SACRIFIED = 3857; // Remains of Sacrifice
private static final int MARA_FANG = 3862; // Mara Fang
private static final int FIRST_FRAGMENT_OF_ABYSS_JEWEL = 3859; // 1st Fragment of Abyssal Jewel
private static final int MARK_OF_WATCHMAN = 3864;// Mark of Watchman
private static final int MARK_OF_WATCHMAN = 3864; // Mark of Watchman
private static final int SECOND_FRAGMENT_OF_ABYSS_JEWEL = 3860; // 2nd Fragment of Abyssal Jewel
private static final int MUSFEL_FANG = 3863; // Musfel Fang
private static final int HERALD_OF_SLAYER = 3890; // Badge of slayer

View File

@ -129,7 +129,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_flyRunSpd);
packet.writeD(_flyWalkSpd);
packet.writeF(_moveMultiplier);
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9);//
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9); //
packet.writeF(_player.getCollisionRadius()); // scale
packet.writeF(_player.getCollisionHeight()); // y offset ??!? fem dwarf 4033
packet.writeD(_player.getAppearance().getHairStyle());

View File

@ -69,7 +69,7 @@ public class RecipeShopManageList implements IClientOutgoingPacket
}
else
{
packet.writeD(_recipes.size());// number of items in recipe book
packet.writeD(_recipes.size()); // number of items in recipe book
int i = 1;
for (RecipeHolder recipe : _recipes)

View File

@ -79,11 +79,11 @@ public class AteliaManager extends AbstractNpcAI
private static final int HAYUK = 34060; // Hayuk Aden Vanguard
private static final int HURAK = 34064; // Hurak Blackbird Clan Member
// Location Stronghold II
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353);//
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286);//
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353); //
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286); //
// Flag Stronghold II
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407);//
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421);//
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407); //
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421); //
// Npcs Stronghold III
private static final int ELISE = 34061; // Elise Aden Vanguard
private static final int LAFFIAN = 34065; // Laffian Blackbird Clan Member

View File

@ -53,7 +53,7 @@ public class Q00337_AudienceWithTheLandDragon extends Quest
private static final int REMAINS_OF_SACRIFIED = 3857; // Remains of Sacrifice
private static final int MARA_FANG = 3862; // Mara Fang
private static final int FIRST_FRAGMENT_OF_ABYSS_JEWEL = 3859; // 1st Fragment of Abyssal Jewel
private static final int MARK_OF_WATCHMAN = 3864;// Mark of Watchman
private static final int MARK_OF_WATCHMAN = 3864; // Mark of Watchman
private static final int SECOND_FRAGMENT_OF_ABYSS_JEWEL = 3860; // 2nd Fragment of Abyssal Jewel
private static final int MUSFEL_FANG = 3863; // Musfel Fang
private static final int HERALD_OF_SLAYER = 3890; // Badge of slayer

View File

@ -107,11 +107,11 @@ public class Q00564_BasicMissionKartiasLabyrinthSolo extends Quest
}
if (str.charAt(1) == '1')
{
addFactionPoints(player, Faction.ADVENTURE_GUILD, 125);// add 125 points to ADVENTURE_GUILD Faction
addFactionPoints(player, Faction.ADVENTURE_GUILD, 125); // add 125 points to ADVENTURE_GUILD Faction
}
if (str.charAt(2) == '1')
{
addFactionPoints(player, Faction.ADVENTURE_GUILD, 150);// add 150 points to ADVENTURE_GUILD Faction
addFactionPoints(player, Faction.ADVENTURE_GUILD, 150); // add 150 points to ADVENTURE_GUILD Faction
}
giveItems(player, SCROLL_OF_ESCAPE_KARTIAS_LABYRINTH, 1);
addExpAndSp(player, EXP, SP);

View File

@ -129,7 +129,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_flyRunSpd);
packet.writeD(_flyWalkSpd);
packet.writeF(_moveMultiplier);
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9);//
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9); //
packet.writeF(_player.getCollisionRadius()); // scale
packet.writeF(_player.getCollisionHeight()); // y offset ??!? fem dwarf 4033
packet.writeD(_player.getAppearance().getHairStyle());

View File

@ -69,7 +69,7 @@ public class RecipeShopManageList implements IClientOutgoingPacket
}
else
{
packet.writeD(_recipes.size());// number of items in recipe book
packet.writeD(_recipes.size()); // number of items in recipe book
int i = 1;
for (RecipeHolder recipe : _recipes)

View File

@ -79,11 +79,11 @@ public class AteliaManager extends AbstractNpcAI
private static final int HAYUK = 34060; // Hayuk Aden Vanguard
private static final int HURAK = 34064; // Hurak Blackbird Clan Member
// Location Stronghold II
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353);//
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286);//
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353); //
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286); //
// Flag Stronghold II
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407);//
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421);//
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407); //
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421); //
// Npcs Stronghold III
private static final int ELISE = 34061; // Elise Aden Vanguard
private static final int LAFFIAN = 34065; // Laffian Blackbird Clan Member

View File

@ -53,7 +53,7 @@ public class Q00337_AudienceWithTheLandDragon extends Quest
private static final int REMAINS_OF_SACRIFIED = 3857; // Remains of Sacrifice
private static final int MARA_FANG = 3862; // Mara Fang
private static final int FIRST_FRAGMENT_OF_ABYSS_JEWEL = 3859; // 1st Fragment of Abyssal Jewel
private static final int MARK_OF_WATCHMAN = 3864;// Mark of Watchman
private static final int MARK_OF_WATCHMAN = 3864; // Mark of Watchman
private static final int SECOND_FRAGMENT_OF_ABYSS_JEWEL = 3860; // 2nd Fragment of Abyssal Jewel
private static final int MUSFEL_FANG = 3863; // Musfel Fang
private static final int HERALD_OF_SLAYER = 3890; // Badge of slayer

View File

@ -107,11 +107,11 @@ public class Q00564_BasicMissionKartiasLabyrinthSolo extends Quest
}
if (str.charAt(1) == '1')
{
addFactionPoints(player, Faction.ADVENTURE_GUILD, 125);// add 125 points to ADVENTURE_GUILD Faction
addFactionPoints(player, Faction.ADVENTURE_GUILD, 125); // add 125 points to ADVENTURE_GUILD Faction
}
if (str.charAt(2) == '1')
{
addFactionPoints(player, Faction.ADVENTURE_GUILD, 150);// add 150 points to ADVENTURE_GUILD Faction
addFactionPoints(player, Faction.ADVENTURE_GUILD, 150); // add 150 points to ADVENTURE_GUILD Faction
}
giveItems(player, SCROLL_OF_ESCAPE_KARTIAS_LABYRINTH, 1);
addExpAndSp(player, EXP, SP);

View File

@ -129,7 +129,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_flyRunSpd);
packet.writeD(_flyWalkSpd);
packet.writeF(_moveMultiplier);
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9);//
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9); //
packet.writeF(_player.getCollisionRadius()); // scale
packet.writeF(_player.getCollisionHeight()); // y offset ??!? fem dwarf 4033
packet.writeD(_player.getAppearance().getHairStyle());

View File

@ -69,7 +69,7 @@ public class RecipeShopManageList implements IClientOutgoingPacket
}
else
{
packet.writeD(_recipes.size());// number of items in recipe book
packet.writeD(_recipes.size()); // number of items in recipe book
int i = 1;
for (RecipeHolder recipe : _recipes)

View File

@ -79,11 +79,11 @@ public class AteliaManager extends AbstractNpcAI
private static final int HAYUK = 34060; // Hayuk Aden Vanguard
private static final int HURAK = 34064; // Hurak Blackbird Clan Member
// Location Stronghold II
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353);//
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286);//
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353); //
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286); //
// Flag Stronghold II
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407);//
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421);//
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407); //
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421); //
// Npcs Stronghold III
private static final int ELISE = 34061; // Elise Aden Vanguard
private static final int LAFFIAN = 34065; // Laffian Blackbird Clan Member

View File

@ -53,7 +53,7 @@ public class Q00337_AudienceWithTheLandDragon extends Quest
private static final int REMAINS_OF_SACRIFIED = 3857; // Remains of Sacrifice
private static final int MARA_FANG = 3862; // Mara Fang
private static final int FIRST_FRAGMENT_OF_ABYSS_JEWEL = 3859; // 1st Fragment of Abyssal Jewel
private static final int MARK_OF_WATCHMAN = 3864;// Mark of Watchman
private static final int MARK_OF_WATCHMAN = 3864; // Mark of Watchman
private static final int SECOND_FRAGMENT_OF_ABYSS_JEWEL = 3860; // 2nd Fragment of Abyssal Jewel
private static final int MUSFEL_FANG = 3863; // Musfel Fang
private static final int HERALD_OF_SLAYER = 3890; // Badge of slayer

View File

@ -107,11 +107,11 @@ public class Q00564_BasicMissionKartiasLabyrinthSolo extends Quest
}
if (str.charAt(1) == '1')
{
addFactionPoints(player, Faction.ADVENTURE_GUILD, 125);// add 125 points to ADVENTURE_GUILD Faction
addFactionPoints(player, Faction.ADVENTURE_GUILD, 125); // add 125 points to ADVENTURE_GUILD Faction
}
if (str.charAt(2) == '1')
{
addFactionPoints(player, Faction.ADVENTURE_GUILD, 150);// add 150 points to ADVENTURE_GUILD Faction
addFactionPoints(player, Faction.ADVENTURE_GUILD, 150); // add 150 points to ADVENTURE_GUILD Faction
}
giveItems(player, SCROLL_OF_ESCAPE_KARTIAS_LABYRINTH, 1);
addExpAndSp(player, EXP, SP);

View File

@ -129,7 +129,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_flyRunSpd);
packet.writeD(_flyWalkSpd);
packet.writeF(_moveMultiplier);
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9);//
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9); //
packet.writeF(_player.getCollisionRadius()); // scale
packet.writeF(_player.getCollisionHeight()); // y offset ??!? fem dwarf 4033
packet.writeD(_player.getAppearance().getHairStyle());

View File

@ -69,7 +69,7 @@ public class RecipeShopManageList implements IClientOutgoingPacket
}
else
{
packet.writeD(_recipes.size());// number of items in recipe book
packet.writeD(_recipes.size()); // number of items in recipe book
int i = 1;
for (RecipeHolder recipe : _recipes)

View File

@ -79,11 +79,11 @@ public class AteliaManager extends AbstractNpcAI
private static final int HAYUK = 34060; // Hayuk Aden Vanguard
private static final int HURAK = 34064; // Hurak Blackbird Clan Member
// Location Stronghold II
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353);//
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286);//
private static final Location HURAK_LOC = new Location(-41766, 50416, -2032, 54353); //
private static final Location HAYUK_LOC = new Location(-41879, 50389, -2032, 55286); //
// Flag Stronghold II
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407);//
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421);//
private static final Location FLAG_3_LOC = new Location(-41962, 50182, -1988, 36407); //
private static final Location FLAG_4_LOC = new Location(-41631, 50246, -2001, 54421); //
// Npcs Stronghold III
private static final int ELISE = 34061; // Elise Aden Vanguard
private static final int LAFFIAN = 34065; // Laffian Blackbird Clan Member

View File

@ -53,7 +53,7 @@ public class Q00337_AudienceWithTheLandDragon extends Quest
private static final int REMAINS_OF_SACRIFIED = 3857; // Remains of Sacrifice
private static final int MARA_FANG = 3862; // Mara Fang
private static final int FIRST_FRAGMENT_OF_ABYSS_JEWEL = 3859; // 1st Fragment of Abyssal Jewel
private static final int MARK_OF_WATCHMAN = 3864;// Mark of Watchman
private static final int MARK_OF_WATCHMAN = 3864; // Mark of Watchman
private static final int SECOND_FRAGMENT_OF_ABYSS_JEWEL = 3860; // 2nd Fragment of Abyssal Jewel
private static final int MUSFEL_FANG = 3863; // Musfel Fang
private static final int HERALD_OF_SLAYER = 3890; // Badge of slayer

View File

@ -107,11 +107,11 @@ public class Q00564_BasicMissionKartiasLabyrinthSolo extends Quest
}
if (str.charAt(1) == '1')
{
addFactionPoints(player, Faction.ADVENTURE_GUILD, 125);// add 125 points to ADVENTURE_GUILD Faction
addFactionPoints(player, Faction.ADVENTURE_GUILD, 125); // add 125 points to ADVENTURE_GUILD Faction
}
if (str.charAt(2) == '1')
{
addFactionPoints(player, Faction.ADVENTURE_GUILD, 150);// add 150 points to ADVENTURE_GUILD Faction
addFactionPoints(player, Faction.ADVENTURE_GUILD, 150); // add 150 points to ADVENTURE_GUILD Faction
}
giveItems(player, SCROLL_OF_ESCAPE_KARTIAS_LABYRINTH, 1);
addExpAndSp(player, EXP, SP);

View File

@ -129,7 +129,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_flyRunSpd);
packet.writeD(_flyWalkSpd);
packet.writeF(_moveMultiplier);
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9);//
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9); //
packet.writeF(_player.getCollisionRadius()); // scale
packet.writeF(_player.getCollisionHeight()); // y offset ??!? fem dwarf 4033
packet.writeD(_player.getAppearance().getHairStyle());

View File

@ -69,7 +69,7 @@ public class RecipeShopManageList implements IClientOutgoingPacket
}
else
{
packet.writeD(_recipes.size());// number of items in recipe book
packet.writeD(_recipes.size()); // number of items in recipe book
int i = 1;
for (RecipeHolder recipe : _recipes)

View File

@ -40,7 +40,7 @@ public class Chests extends Quest
18298,21671,21694,21717,21740,21763,21786,21801,21802,21803,21804,
21805,21806,21807,21808,21809,21810,21811,21812,21813,21814,21815,
21816,21817,21818,21819,21820,21821,21822
};// @formatter:on
}; // @formatter:on
// Skill
private static final int SKILL_DELUXE_KEY = 2229;
// Misc

View File

@ -94,7 +94,7 @@ public class Q334_TheWishingPotion extends Quest
{3, 0, TYRANT_KINGPIN, 0, TYRANTS_CHITIN_ID, 1, 50, 1},
{3, 0, TURAK_BUGBEAR, 0, BUGBEAR_BLOOD_ID, 1, 15, 1},
{3, 0, TURAK_BUGBEAR_WARRIOR, 0, BUGBEAR_BLOOD_ID, 1, 25, 1}
};// @formatter:on
}; // @formatter:on
public Q334_TheWishingPotion()
{

View File

@ -232,12 +232,12 @@ public class MapRegionTable
public int getMapRegionX(int posX)
{
return (posX >> 15) + 4;// + centerTileX;
return (posX >> 15) + 4; // + centerTileX;
}
public int getMapRegionY(int posY)
{
return (posY >> 15) + 10;// + centerTileX;
return (posY >> 15) + 10; // + centerTileX;
}
public int getAreaCastle(Creature creature)
@ -250,7 +250,7 @@ public class MapRegionTable
case 0:
{
castle = 1;
break;// Talking Island Village
break; // Talking Island Village
}
case 1:
{
@ -446,7 +446,7 @@ public class MapRegionTable
case 16:
{
nearestTown = "Town of Shuttgart";
break; // //TODO@ (Check mapregion table)[Luno]
break; // TODO: (Check mapregion table)[Luno]
}
case 18:
{

View File

@ -40,7 +40,7 @@ public class CustomWorldHandler
// Rebirth's skills must be actived only on main class
if (!player.isSubClassActive())
{
Rebirth.getInstance().grantRebirthSkills(player);// Rebirth Caller - if player has any skills, they will be granted them.
Rebirth.getInstance().grantRebirthSkills(player); // Rebirth Caller - if player has any skills, they will be granted them.
}
}

View File

@ -1390,7 +1390,7 @@ public class Clan
public class RankPrivs
{
private final int _rankId;
private final int _party;//
private final int _party; //
private int _rankPrivs;
public RankPrivs(int rank, int party, int privs)

View File

@ -93,7 +93,7 @@ public class Rebirth
// Returns the skill based on next Birth and if isMage.
Skill skill = getRebirthSkill((currBirth + 1), isMage);
String icon = "" + skill.getId();// Returns the skill's id.
String icon = "" + skill.getId(); // Returns the skill's id.
// Incase the skill is only 3 digits.
if (icon.length() < 4)

View File

@ -1182,14 +1182,14 @@ public class CTF implements EventTask
finishEvent();
LOGGER.info(_eventName + ": waiting... delay for final messages ");
waiter(60000);// just a give a delay delay for final messages
waiter(60000); // just a give a delay delay for final messages
sendFinalMessages();
if (!_started && !_aborted)
{ // if is not already started and it's not aborted
LOGGER.info(_eventName + ": waiting.....delay for restart event " + _intervalBetweenMatches + " minutes.");
waiter(60000);// just a give a delay to next restart
waiter(60000); // just a give a delay to next restart
try
{
@ -2140,7 +2140,7 @@ public class CTF implements EventTask
{
if (_teams.size() >= 2)
{
player.setTeam(0);// clear aura :P
player.setTeam(0); // clear aura :P
}
}
player.broadcastUserInfo();

View File

@ -2038,7 +2038,7 @@ public class TvT implements EventTask
{
if (_teams.size() >= 2)
{
player.setTeam(0);// clear aura :P
player.setTeam(0); // clear aura :P
}
}
player.broadcastUserInfo();

View File

@ -551,7 +551,7 @@ public class BanditStrongholdSiege extends ClanHallSiege
final Calendar siegeStart = Calendar.getInstance();
siegeStart.setTimeInMillis(getSiegeDate().getTimeInMillis());
final long registerTimeRemaining = siegeStart.getTimeInMillis() - System.currentTimeMillis();
siegeStart.add(Calendar.MINUTE, 60);// ////////////////////HOUR
siegeStart.add(Calendar.MINUTE, 60); // ////////////////////HOUR
final long siegeTimeRemaining = siegeStart.getTimeInMillis() - System.currentTimeMillis();
long remaining = registerTimeRemaining;
if (registerTimeRemaining <= 0)

View File

@ -578,7 +578,7 @@ public class GamePacketHandler implements IPacketHandler<GameClient>, IClientFac
}
case 0x6b: // send when talking to trainer npc, to show list of available skills
{
msg = new RequestAquireSkillInfo();// --> [s] 0xa4;
msg = new RequestAquireSkillInfo(); // --> [s] 0xa4;
break;
}
case 0x6c: // send when a skill to be learned is selected

View File

@ -120,10 +120,10 @@ public class CharacterCreate extends GameClientPacket
final int objectId = IdFactory.getInstance().getNextId();
newChar = PlayerInstance.create(objectId, template, getClient().getAccountName(), _name, _hairStyle, _hairColor, _face, _sex != 0);
newChar.setCurrentHp(newChar.getMaxHp());// L2Off like
newChar.setCurrentHp(newChar.getMaxHp()); // L2Off like
// newChar.setCurrentCp(template.baseCpMax);
newChar.setCurrentCp(0); // L2Off like
newChar.setCurrentMp(newChar.getMaxMp());// L2Off like
newChar.setCurrentMp(newChar.getMaxMp()); // L2Off like
// newChar.setMaxLoad(template.baseLoad);
// send acknowledgement

View File

@ -92,13 +92,13 @@ public class RequestBlock extends GameClientPacket
}
case ALLBLOCK:
{
player.sendPacket(SystemMessageId.MESSAGE_REFUSAL_MODE);// Update by rocknow
player.sendPacket(SystemMessageId.MESSAGE_REFUSAL_MODE); // Update by rocknow
BlockList.setBlockAll(player, true);
break;
}
case ALLUNBLOCK:
{
player.sendPacket(SystemMessageId.MESSAGE_ACCEPTANCE_MODE);// Update by rocknow
player.sendPacket(SystemMessageId.MESSAGE_ACCEPTANCE_MODE); // Update by rocknow
BlockList.setBlockAll(player, false);
break;
}

View File

@ -41,7 +41,7 @@ public class RequestGetItemFromPet extends GameClientPacket
{
_objectId = readD();
_amount = readD();
_unknown = readD();// = 0 for most trades
_unknown = readD(); // = 0 for most trades
}
@Override

View File

@ -201,7 +201,7 @@ public class RequestRestartPoint extends GameClientPacket
{
if ((player.getKarma() > 0) && Config.ALT_KARMA_TELEPORT_TO_FLORAN)
{
loc = new Location(17836, 170178, -3507);// Floran Village
loc = new Location(17836, 170178, -3507); // Floran Village
break;
}
loc = MapRegionTable.getInstance().getTeleToLocation(player, MapRegionTable.TeleportWhereType.Town);

View File

@ -48,8 +48,8 @@ public class SetPrivateStoreListBuy extends GameClientPacket
final int itemId = readD();
_items[(x * 4) + 0] = itemId;
_items[((x * 4) + 3)] = readH();
// readH();//it's the enchant value, but the interlude client has a bug, so it dnt send back the correct enchant value
readH();// TODO analyse this
// readH(); // it's the enchant value, but the interlude client has a bug, so it dnt send back the correct enchant value
readH(); // TODO analyse this
final long cnt = readD();
if ((cnt > Integer.MAX_VALUE) || (cnt < 0))

View File

@ -102,7 +102,7 @@ public class CustomNpcInfo extends GameServerPacket
writeD((int) _activeChar.getStatus().getCurrentCp());
writeC(_activeChar.getCustomNpcInstance().getEnchantWeapon());
writeC(0x00);
writeD(0);// clan crest
writeD(0); // clan crest
writeC(_activeChar.getCustomNpcInstance().isNoble() ? 1 : 0);
writeC(_activeChar.getCustomNpcInstance().isHero() ? 1 : 0);
writeC(0);

View File

@ -176,7 +176,7 @@ public class GMViewCharacterInfo extends GameServerPacket
writeD(_runSpd);
writeD(_walkSpd);
writeF(moveMultiplier);
writeF(_player.getAttackSpeedMultiplier()); // 2.9);//
writeF(_player.getAttackSpeedMultiplier()); // 2.9); //
writeF(_player.getTemplate().collisionRadius); // scale
writeF(_player.getTemplate().collisionHeight); // y offset ??!? fem dwarf 4033
writeD(_player.getAppearance().getHairStyle());

View File

@ -208,7 +208,7 @@ public class NpcInfo extends GameServerPacket
if (_creature instanceof Summon)
{
writeD(0x01);// Title color 0=client default
writeD(0x01); // Title color 0=client default
writeD(((Summon) _creature).getPvpFlag());
writeD(((Summon) _creature).getKarma());
}

View File

@ -53,7 +53,7 @@ public class PartySmallWindowAdd extends GameServerPacket
writeD(_member.getMaxMp());
writeD(_member.getLevel());
writeD(_member.getClassId().getId());
writeD(0);// writeD(0x01); ??
writeD(0); // writeD(0x01); ??
writeD(0);
}
}

View File

@ -62,7 +62,7 @@ public class PartySmallWindowAll extends GameServerPacket
writeD(member.getMaxMp());
writeD(member.getLevel());
writeD(member.getClassId().getId());
writeD(0);// writeD(0x01); ??
writeD(0); // writeD(0x01); ??
writeD(member.getRace().ordinal());
}
}

View File

@ -31,7 +31,7 @@ public class PetDelete extends GameServerPacket
protected final void writeImpl()
{
writeC(0xb6);
writeD(_petId);// dont really know what these two are since i never needed them
writeD(_petObjId);// objectId
writeD(_petId); // dont really know what these two are since i never needed them
writeD(_petObjId); // objectId
}
}

View File

@ -124,34 +124,34 @@ public class PetInfo extends GameServerPacket
writeD(_summon.getOwner() != null ? _summon.getOwner().getKarma() : 0); // karma
writeD(_curFed); // how fed it is
writeD(_maxFed); // max fed it can be
writeD((int) _summon.getCurrentHp());// current hp
writeD(_maxHp);// max hp
writeD((int) _summon.getCurrentMp());// current mp
writeD(_maxMp);// max mp
writeD((int) _summon.getCurrentHp()); // current hp
writeD(_maxHp); // max hp
writeD((int) _summon.getCurrentMp()); // current mp
writeD(_maxMp); // max mp
writeD(_summon.getStat().getSp()); // sp
writeD(_summon.getLevel());// lvl
writeD(_summon.getLevel()); // lvl
writeQ(_summon.getStat().getExp());
writeQ(_summon.getExpForThisLevel());// 0% absolute value
writeQ(_summon.getExpForNextLevel());// 100% absoulte value
writeD(_summon instanceof PetInstance ? _summon.getInventory().getTotalWeight() : 0);// weight
writeD(_summon.getMaxLoad());// max weight it can carry
writeD(_summon.getPAtk(null));// patk
writeD(_summon.getPDef(null));// pdef
writeD(_summon.getMAtk(null, null));// matk
writeD(_summon.getMDef(null, null));// mdef
writeD(_summon.getAccuracy());// accuracy
writeD(_summon.getEvasionRate(null));// evasion
writeD(_summon.getCriticalHit(null, null));// critical
writeD(_runSpd);// speed
writeD(_summon.getPAtkSpd());// atkspeed
writeD(_summon.getMAtkSpd());// casting speed
writeQ(_summon.getExpForThisLevel()); // 0% absolute value
writeQ(_summon.getExpForNextLevel()); // 100% absoulte value
writeD(_summon instanceof PetInstance ? _summon.getInventory().getTotalWeight() : 0); // weight
writeD(_summon.getMaxLoad()); // max weight it can carry
writeD(_summon.getPAtk(null)); // patk
writeD(_summon.getPDef(null)); // pdef
writeD(_summon.getMAtk(null, null)); // matk
writeD(_summon.getMDef(null, null)); // mdef
writeD(_summon.getAccuracy()); // accuracy
writeD(_summon.getEvasionRate(null)); // evasion
writeD(_summon.getCriticalHit(null, null)); // critical
writeD(_runSpd); // speed
writeD(_summon.getPAtkSpd()); // atkspeed
writeD(_summon.getMAtkSpd()); // casting speed
writeD(0);// c2 abnormal visual effect... bleed=1; poison=2; poison & bleed=3; flame=4;
writeD(0); // c2 abnormal visual effect... bleed=1; poison=2; poison & bleed=3; flame=4;
final int npcId = _summon.getTemplate().npcId;
if ((npcId >= 12526) && (npcId <= 12528))
{
writeH(1);// c2 ride button
writeH(1); // c2 ride button
}
else
{

View File

@ -68,7 +68,7 @@ public class PetStatusUpdate extends GameServerPacket
writeD(_maxMp);
writeD(_summon.getLevel());
writeQ(_summon.getStat().getExp());
writeQ(_summon.getExpForThisLevel());// 0% absolute value
writeQ(_summon.getExpForNextLevel());// 100% absolute value
writeQ(_summon.getExpForThisLevel()); // 0% absolute value
writeQ(_summon.getExpForNextLevel()); // 100% absolute value
}
}

View File

@ -73,7 +73,7 @@ public class PrivateStoreListBuy extends GameServerPacket
writeD(item.getItem().getBodyPart());
writeH(item.getItem().getType2());
writeD(item.getPrice());// buyers price
writeD(item.getPrice()); // buyers price
writeD(item.getCount()); // maximum possible tradecount
}

View File

@ -80,8 +80,8 @@ public class PrivateStoreManageListBuy extends GameServerPacket
writeH(0x00);
writeD(item.getItem().getBodyPart());
writeH(item.getItem().getType2());
writeD(item.getPrice());// your price
writeD(item.getItem().getReferencePrice());// fixed store price
writeD(item.getPrice()); // your price
writeD(item.getItem().getReferencePrice()); // fixed store price
}
}
}

View File

@ -76,7 +76,7 @@ public class PrivateStoreManageListSell extends GameServerPacket
writeD(item.getItem().getItemId());
writeD(item.getCount());
writeH(0);
writeH(item.getEnchant());// enchant lvl
writeH(item.getEnchant()); // enchant lvl
writeH(0);
writeD(item.getItem().getBodyPart());
writeD(item.getPrice()); // store price
@ -91,10 +91,10 @@ public class PrivateStoreManageListSell extends GameServerPacket
writeD(item.getItem().getItemId());
writeD(item.getCount());
writeH(0);
writeH(item.getEnchant());// enchant lvl
writeH(item.getEnchant()); // enchant lvl
writeH(0x00);
writeD(item.getItem().getBodyPart());
writeD(item.getPrice());// your price
writeD(item.getPrice()); // your price
writeD(item.getItem().getReferencePrice()); // store price
}
}

View File

@ -53,7 +53,7 @@ public class RecipeBookItemList extends GameServerPacket
}
else
{
writeD(_recipes.length);// number of items in recipe book
writeD(_recipes.length); // number of items in recipe book
for (int i = 0; i < _recipes.length; i++)
{

View File

@ -73,7 +73,7 @@ public class RecipeShopManageList extends GameServerPacket
}
else
{
writeD(_recipes.length);// number of items in recipe book
writeD(_recipes.length); // number of items in recipe book
for (int i = 0; i < _recipes.length; i++)
{

View File

@ -35,6 +35,6 @@ public class RecipeShopMsg extends GameServerPacket
{
writeC(0xdb);
writeD(_player.getObjectId());
writeS(_player.getCreateList().getStoreName());// _activeChar.getTradeList().getSellStoreName());
writeS(_player.getCreateList().getStoreName()); // _activeChar.getTradeList().getSellStoreName());
}
}

View File

@ -44,9 +44,9 @@ public class RecipeShopSellList extends GameServerPacket
// dddd d(ddd)
writeC(0xd9);
writeD(_manufacturer.getObjectId());
writeD((int) _manufacturer.getCurrentMp());// Creator's MP
writeD(_manufacturer.getMaxMp());// Creator's MP
writeD(_buyer.getAdena());// Buyer Adena
writeD((int) _manufacturer.getCurrentMp()); // Creator's MP
writeD(_manufacturer.getMaxMp()); // Creator's MP
writeD(_buyer.getAdena()); // Buyer Adena
final int count = createList.size();
writeD(count);

View File

@ -31,7 +31,7 @@ public class SetupGauge extends GameServerPacket
public SetupGauge(int dat1, int time)
{
_dat1 = dat1;// color 0-blue 1-red 2-cyan 3-
_dat1 = dat1; // color 0-blue 1-red 2-cyan 3-
_time = time;
}

View File

@ -77,6 +77,6 @@ public class ShortCutRegister extends GameServerPacket
}
}
writeD(1);// ??
writeD(1); // ??
}
}

View File

@ -25,7 +25,7 @@ public class VehicleDeparture extends GameServerPacket
{
private final BoatInstance _boat;
private final int _speed1;
private final int _speed2;// rotation
private final int _speed2; // rotation
private final int _x;
private final int _y;
private final int _z;

View File

@ -303,7 +303,7 @@ public class GameStatusThread extends Thread
final DecimalFormat df = new DecimalFormat(" (0.0000'%')");
final DecimalFormat df2 = new DecimalFormat(" # 'KB'");
_print.println("+----");// ...
_print.println("+----"); // ...
_print.println("| Allowed Memory:" + df2.format(max));
_print.println("| |= Allocated Memory:" + df2.format(allocated) + df.format((allocated / max) * 100));
_print.println("| |= Non-Allocated Memory:" + df2.format(nonAllocated) + df.format((nonAllocated / max) * 100));

View File

@ -133,7 +133,7 @@ public class AdminMonsterRace implements IAdminCommandHandler
// MonsterRace.getInstance().newSpeeds();
// int[][] speeds2 = MonsterRace.getInstance().getSpeeds();
/*
* int[] speed = new int[8]; for (int i=0; i<8; i++) { for (int j=0; j<20; j++) { //_log.info("Adding "+speeds1[i][j] +" and "+ speeds2[i][j]); speed[i] += (speeds1[i][j]*1);// + (speeds2[i][j]*1); } LOGGER.info("Total speed for "+(i+1)+" = "+speed[i]); }
* int[] speed = new int[8]; for (int i=0; i<8; i++) { for (int j=0; j<20; j++) { //_log.info("Adding "+speeds1[i][j] +" and "+ speeds2[i][j]); speed[i] += (speeds1[i][j]*1); // + (speeds2[i][j]*1); } LOGGER.info("Total speed for "+(i+1)+" = "+speed[i]); }
*/
final MonRaceInfo spk = new MonRaceInfo(codes[2][0], codes[2][1], MonsterRace.getInstance().getMonsters(), MonsterRace.getInstance().getSpeeds());

View File

@ -874,7 +874,7 @@ public class CrystalCaverns extends AbstractInstance
final CCWorld world = (CCWorld) tmpworld;
if ((world.getStatus() == 0) && world.oracle.contains(npc))
{
return "32281.htm";// TODO: Missing HTML.
return "32281.htm"; // TODO: Missing HTML.
}
}
npc.showChatWindow(player);

View File

@ -382,7 +382,7 @@ public class Kamaloka extends AbstractInstance
public int index; // 0-18 index of the kama type in arrays
public int shaman = 0; // objectId of the shaman
public List<Spawn> firstRoom; // list of the spawns in the first room (excluding shaman)
public List<Integer> secondRoom;// list of objectIds mobs in the second room
public List<Integer> secondRoom; // list of objectIds mobs in the second room
public int miniBoss = 0; // objectId of the miniboss
public Npc boss = null; // boss
}

View File

@ -71,7 +71,7 @@ public class Q00257_TheGuardIsBusy extends Quest
MONSTERS.put(20006, Arrays.asList(new MobDrop(10, 2, ORC_AMULET, 2), new MobDrop(10, 10, ORC_AMULET, 1))); // Orc Archer
MONSTERS.put(20093, Arrays.asList(new MobDrop(100, 85, ORC_NECKLACE, 1))); // Orc Fighter
MONSTERS.put(20096, Arrays.asList(new MobDrop(100, 95, ORC_NECKLACE, 1))); // Orc Fighter Sub Leader
MONSTERS.put(20098, Arrays.asList(new MobDrop(100, 100, ORC_NECKLACE, 1)));// Orc Fighter Leader
MONSTERS.put(20098, Arrays.asList(new MobDrop(100, 100, ORC_NECKLACE, 1))); // Orc Fighter Leader
MONSTERS.put(20130, Arrays.asList(new MobDrop(10, 7, ORC_AMULET, 1))); // Orc
MONSTERS.put(20131, Arrays.asList(new MobDrop(10, 9, ORC_AMULET, 1))); // Orc Grunt
MONSTERS.put(20132, Arrays.asList(new MobDrop(10, 7, WEREWOLF_FANG, 1))); // Werewolf

View File

@ -152,7 +152,7 @@ public class Q00296_TarantulasSpiderSilk extends Quest
{
giveAdena(talker, (silk * 30) + (silk >= 10 ? 2000 : 0), true);
takeItems(talker, TARANTULA_SPIDER_SILK, -1);
Q00281_HeadForTheHills.giveNewbieReward(talker);// TODO: It's using wrong bitmask, need to create a general bitmask for this using EnumIntBitmask class inside Quest class for handling Quest rewards.
Q00281_HeadForTheHills.giveNewbieReward(talker); // TODO: It's using wrong bitmask, need to create a general bitmask for this using EnumIntBitmask class inside Quest class for handling Quest rewards.
html = "30519-05.html";
}
else

View File

@ -1693,7 +1693,7 @@ public class ClanHallManagerInstance extends MerchantInstance
filename = "data/html/clanHallManager/chamberlain-" + getId() + ".htm";
if (!HtmCache.getInstance().isLoadable(filename))
{
filename = "data/html/clanHallManager/chamberlain.htm";// Owner message window
filename = "data/html/clanHallManager/chamberlain.htm"; // Owner message window
}
}
else if (condition == COND_OWNER_FALSE)

View File

@ -459,7 +459,7 @@ public class Siege implements Siegable
getCastle().removeUpgrade(); // Remove all castle upgrade
getCastle().spawnDoor(true); // Respawn door to castle but make them weaker (50% hp)
removeTowers(); // Remove all towers from this castle
_controlTowerCount = 0;// Each new siege midvictory CT are completely respawned.
_controlTowerCount = 0; // Each new siege midvictory CT are completely respawned.
spawnControlTower();
spawnFlameTower();
updatePlayerSiegeStateFlags(false);

View File

@ -1368,7 +1368,7 @@ public class Formulas
double val = 0;
if (attacker.isChargedShot(ShotType.BLESSED_SPIRITSHOTS))
{
val = mAtk * 3.0;// 3.0 is the blessed spiritshot multiplier
val = mAtk * 3.0; // 3.0 is the blessed spiritshot multiplier
}
val += mAtk;
val = (Math.sqrt(val) / target.getMDef(null, null)) * 11.0;

View File

@ -39,7 +39,7 @@ public class RequestGetItemFromPet implements IClientIncomingPacket
{
_objectId = packet.readD();
_amount = packet.readQ();
_unknown = packet.readD();// = 0 for most trades
_unknown = packet.readD(); // = 0 for most trades
return true;
}

View File

@ -111,8 +111,8 @@ public abstract class AbstractNpcInfo implements IClientOutgoingPacket
_rhand = cha.getRightHandItem(); // On every subclass
_lhand = cha.getLeftHandItem(); // On every subclass
_enchantEffect = cha.getEnchantEffect();
_collisionHeight = cha.getCollisionHeight();// On every subclass
_collisionRadius = cha.getCollisionRadius();// On every subclass
_collisionHeight = cha.getCollisionHeight(); // On every subclass
_collisionRadius = cha.getCollisionRadius(); // On every subclass
_isAttackable = cha.isAutoAttackable(attacker);
// npc crest of owning clan/ally of castle
@ -309,7 +309,7 @@ public abstract class AbstractNpcInfo implements IClientOutgoingPacket
packet.writeD(0x00); // C4
packet.writeD(0x00); // C6
packet.writeD(0x00);
packet.writeD(0);// CT1.5 Pet form and skills
packet.writeD(0); // CT1.5 Pet form and skills
packet.writeC(0x01);
packet.writeC(0x01);
packet.writeD(0x00);
@ -382,7 +382,7 @@ public abstract class AbstractNpcInfo implements IClientOutgoingPacket
packet.writeC(_isSummoned ? 2 : _val); // invisible ?? 0=false 1=true 2=summoned (only works if model has a summon animation)
packet.writeS(_name);
packet.writeS(_title);
packet.writeD(0x01);// Title color 0=client default
packet.writeD(0x01); // Title color 0=client default
packet.writeD(_summon.getPvpFlag());
packet.writeD(_summon.getKarma());

View File

@ -116,7 +116,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_flyRunSpd);
packet.writeD(_flyWalkSpd);
packet.writeF(_moveMultiplier);
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9);//
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9); //
packet.writeF(_player.getCollisionRadius()); // scale
packet.writeF(_player.getCollisionHeight()); // y offset ??!? fem dwarf 4033
packet.writeD(_player.getAppearance().getHairStyle());

View File

@ -37,7 +37,7 @@ public class PartySmallWindowAdd implements IClientOutgoingPacket
{
OutgoingPackets.PARTY_SMALL_WINDOW_ADD.writeId(packet);
packet.writeD(_party.getLeaderObjectId()); // c3
packet.writeD(_party.getDistributionType().getId());// packet.writeD(0x04); ?? //c3
packet.writeD(_party.getDistributionType().getId()); // packet.writeD(0x04); ?? //c3
packet.writeD(_member.getObjectId());
packet.writeS(_member.getName());
packet.writeD((int) _member.getCurrentCp()); // c4

View File

@ -56,7 +56,7 @@ public class PartySmallWindowAll implements IClientOutgoingPacket
packet.writeD(member.getMaxMp());
packet.writeD(member.getLevel());
packet.writeD(member.getClassId().getId());
packet.writeD(0x00);// packet.writeD(0x01); ??
packet.writeD(0x00); // packet.writeD(0x01); ??
packet.writeD(member.getRace().ordinal());
packet.writeD(0x00); // T2.3
packet.writeD(0x00); // T2.3

View File

@ -130,39 +130,39 @@ public class PetInfo implements IClientOutgoingPacket
packet.writeD(_summon.getKarma()); // karma
packet.writeD(_curFed); // how fed it is
packet.writeD(_maxFed); // max fed it can be
packet.writeD((int) _summon.getCurrentHp());// current hp
packet.writeD(_maxHp);// max hp
packet.writeD((int) _summon.getCurrentMp());// current mp
packet.writeD(_maxMp);// max mp
packet.writeD((int) _summon.getCurrentHp()); // current hp
packet.writeD(_maxHp); // max hp
packet.writeD((int) _summon.getCurrentMp()); // current mp
packet.writeD(_maxMp); // max mp
packet.writeD((int) _summon.getStat().getSp()); // sp
packet.writeD(_summon.getLevel());// lvl
packet.writeD(_summon.getLevel()); // lvl
packet.writeQ(_summon.getStat().getExp());
if (_summon.getExpForThisLevel() > _summon.getStat().getExp())
{
packet.writeQ(_summon.getStat().getExp());// 0% absolute value
packet.writeQ(_summon.getStat().getExp()); // 0% absolute value
}
else
{
packet.writeQ(_summon.getExpForThisLevel());// 0% absolute value
packet.writeQ(_summon.getExpForThisLevel()); // 0% absolute value
}
packet.writeQ(_summon.getExpForNextLevel());// 100% absoulte value
packet.writeD(_summon.isPet() ? _summon.getInventory().getTotalWeight() : 0);// weight
packet.writeD(_summon.getMaxLoad());// max weight it can carry
packet.writeD((int) _summon.getPAtk(null));// patk
packet.writeD((int) _summon.getPDef(null));// pdef
packet.writeD((int) _summon.getMAtk(null, null));// matk
packet.writeD((int) _summon.getMDef(null, null));// mdef
packet.writeD(_summon.getAccuracy());// accuracy
packet.writeD(_summon.getEvasionRate(null));// evasion
packet.writeD(_summon.getCriticalHit(null, null));// critical
packet.writeD((int) _summon.getMoveSpeed());// speed
packet.writeD((int) _summon.getPAtkSpd());// atkspeed
packet.writeD(_summon.getMAtkSpd());// casting speed
packet.writeQ(_summon.getExpForNextLevel()); // 100% absoulte value
packet.writeD(_summon.isPet() ? _summon.getInventory().getTotalWeight() : 0); // weight
packet.writeD(_summon.getMaxLoad()); // max weight it can carry
packet.writeD((int) _summon.getPAtk(null)); // patk
packet.writeD((int) _summon.getPDef(null)); // pdef
packet.writeD((int) _summon.getMAtk(null, null)); // matk
packet.writeD((int) _summon.getMDef(null, null)); // mdef
packet.writeD(_summon.getAccuracy()); // accuracy
packet.writeD(_summon.getEvasionRate(null)); // evasion
packet.writeD(_summon.getCriticalHit(null, null)); // critical
packet.writeD((int) _summon.getMoveSpeed()); // speed
packet.writeD((int) _summon.getPAtkSpd()); // atkspeed
packet.writeD(_summon.getMAtkSpd()); // casting speed
packet.writeD(_summon.getAbnormalVisualEffects());// c2 abnormal visual effect... bleed=1; poison=2; poison & bleed=3; flame=4;
packet.writeH(_summon.isMountable() ? 1 : 0);// c2 ride button
packet.writeD(_summon.getAbnormalVisualEffects()); // c2 abnormal visual effect... bleed=1; poison=2; poison & bleed=3; flame=4;
packet.writeH(_summon.isMountable() ? 1 : 0); // c2 ride button
packet.writeC(_summon.isInsideZone(ZoneId.WATER) ? 1 : _summon.isFlying() ? 2 : 0); // c2
@ -171,7 +171,7 @@ public class PetInfo implements IClientOutgoingPacket
packet.writeC(_summon.getTeam().getId());
packet.writeD(_summon.getSoulShotsPerHit()); // How many soulshots this servitor uses per hit
packet.writeD(_summon.getSpiritShotsPerHit()); // How many spiritshots this servitor uses per hit
packet.writeD(_summon.getFormId());// CT1.5 Pet form and skills
packet.writeD(_summon.getFormId()); // CT1.5 Pet form and skills
packet.writeD(_summon.getAbnormalVisualEffectSpecial());
return true;
}

View File

@ -86,7 +86,7 @@ public class PledgeShowMemberListAll implements IClientOutgoingPacket
packet.writeD(_clan.getAllyId());
packet.writeS(_clan.getAllyName());
packet.writeD(_clan.getAllyCrestId());
packet.writeD(_clan.isAtWar() ? 1 : 0);// new c3
packet.writeD(_clan.isAtWar() ? 1 : 0); // new c3
packet.writeD(0x00); // Territory castle ID
packet.writeD(_clan.getSubPledgeMembersCount(_pledgeType));
@ -103,7 +103,7 @@ public class PledgeShowMemberListAll implements IClientOutgoingPacket
if (player != null)
{
packet.writeD(player.getAppearance().isFemale() ? 1 : 0); // no visible effect
packet.writeD(player.getRace().ordinal());// packet.writeD(1);
packet.writeD(player.getRace().ordinal()); // packet.writeD(1);
}
else
{

View File

@ -82,8 +82,8 @@ public class PrivateStoreManageListBuy implements IClientOutgoingPacket
packet.writeH(0x00);
packet.writeD(item.getItem().getBodyPart());
packet.writeH(item.getItem().getType2());
packet.writeQ(item.getPrice());// your price
packet.writeQ(item.getItem().getReferencePrice());// fixed store price
packet.writeQ(item.getPrice()); // your price
packet.writeQ(item.getItem().getReferencePrice()); // fixed store price
// T1
packet.writeH(item.getAttackElementType());

View File

@ -57,7 +57,7 @@ public class PrivateStoreManageListSell implements IClientOutgoingPacket
packet.writeD(item.getItem().getId());
packet.writeQ(item.getCount());
packet.writeH(0);
packet.writeH(item.getEnchant());// enchant lvl
packet.writeH(item.getEnchant()); // enchant lvl
packet.writeH(item.getCustomType2());
packet.writeD(item.getItem().getBodyPart());
packet.writeQ(item.getPrice()); // store price
@ -84,10 +84,10 @@ public class PrivateStoreManageListSell implements IClientOutgoingPacket
packet.writeD(item.getItem().getId());
packet.writeQ(item.getCount());
packet.writeH(0);
packet.writeH(item.getEnchant());// enchant lvl
packet.writeH(item.getEnchant()); // enchant lvl
packet.writeH(0x00);
packet.writeD(item.getItem().getBodyPart());
packet.writeQ(item.getPrice());// your price
packet.writeQ(item.getPrice()); // your price
packet.writeQ(item.getItem().getReferencePrice()); // store price
// T1

View File

@ -73,7 +73,7 @@ public class RecipeShopManageList implements IClientOutgoingPacket
}
else
{
packet.writeD(_recipes.length);// number of items in recipe book
packet.writeD(_recipes.length); // number of items in recipe book
for (int i = 0; i < _recipes.length; i++)
{

View File

@ -37,9 +37,9 @@ public class RecipeShopSellList implements IClientOutgoingPacket
{
OutgoingPackets.RECIPE_SHOP_SELL_LIST.writeId(packet);
packet.writeD(_manufacturer.getObjectId());
packet.writeD((int) _manufacturer.getCurrentMp());// Creator's MP
packet.writeD(_manufacturer.getMaxMp());// Creator's MP
packet.writeQ(_buyer.getAdena());// Buyer Adena
packet.writeD((int) _manufacturer.getCurrentMp()); // Creator's MP
packet.writeD(_manufacturer.getMaxMp()); // Creator's MP
packet.writeQ(_buyer.getAdena()); // Buyer Adena
if (!_manufacturer.hasManufactureShop())
{
packet.writeD(0x00);

View File

@ -45,7 +45,7 @@ public class SpecialString implements IClientOutgoingPacket
{
OutgoingPackets.SERVER_CLOSE_SOCKET.writeId(packet);
packet.writeC(_strId); // string ID
packet.writeC(_isDraw ? 1 : 0);// 1 - draw / 0 - hide
packet.writeC(_isDraw ? 1 : 0); // 1 - draw / 0 - hide
packet.writeC(_fontSize); // -1 to 3 (font size)
packet.writeD(_x); // ClientRight - x
packet.writeD(_y); // ClientTop + y

View File

@ -133,7 +133,7 @@ public class AdminMonsterRace implements IAdminCommandHandler
// MonsterRace.getInstance().newSpeeds();
// int[][] speeds2 = MonsterRace.getInstance().getSpeeds();
/*
* int[] speed = new int[8]; for (int i=0; i<8; i++) { for (int j=0; j<20; j++) { //_log.info("Adding "+speeds1[i][j] +" and "+ speeds2[i][j]); speed[i] += (speeds1[i][j]*1);// + (speeds2[i][j]*1); } LOGGER.info("Total speed for "+(i+1)+" = "+speed[i]); }
* int[] speed = new int[8]; for (int i=0; i<8; i++) { for (int j=0; j<20; j++) { //_log.info("Adding "+speeds1[i][j] +" and "+ speeds2[i][j]); speed[i] += (speeds1[i][j]*1); // + (speeds2[i][j]*1); } LOGGER.info("Total speed for "+(i+1)+" = "+speed[i]); }
*/
final MonRaceInfo spk = new MonRaceInfo(codes[2][0], codes[2][1], MonsterRace.getInstance().getMonsters(), MonsterRace.getInstance().getSpeeds());

View File

@ -874,7 +874,7 @@ public class CrystalCaverns extends AbstractInstance
final CCWorld world = (CCWorld) tmpworld;
if ((world.getStatus() == 0) && world.oracle.contains(npc))
{
return "32281.htm";// TODO: Missing HTML.
return "32281.htm"; // TODO: Missing HTML.
}
}
npc.showChatWindow(player);

View File

@ -376,7 +376,7 @@ public class Kamaloka extends AbstractInstance
public int index; // 0-18 index of the kama type in arrays
public int shaman = 0; // objectId of the shaman
public List<Spawn> firstRoom; // list of the spawns in the first room (excluding shaman)
public List<Integer> secondRoom;// list of objectIds mobs in the second room
public List<Integer> secondRoom; // list of objectIds mobs in the second room
public int miniBoss = 0; // objectId of the miniboss
public Npc boss = null; // boss
}

View File

@ -71,7 +71,7 @@ public class Q00257_TheGuardIsBusy extends Quest
MONSTERS.put(20006, Arrays.asList(new MobDrop(10, 2, ORC_AMULET, 2), new MobDrop(10, 10, ORC_AMULET, 1))); // Orc Archer
MONSTERS.put(20093, Arrays.asList(new MobDrop(100, 85, ORC_NECKLACE, 1))); // Orc Fighter
MONSTERS.put(20096, Arrays.asList(new MobDrop(100, 95, ORC_NECKLACE, 1))); // Orc Fighter Sub Leader
MONSTERS.put(20098, Arrays.asList(new MobDrop(100, 100, ORC_NECKLACE, 1)));// Orc Fighter Leader
MONSTERS.put(20098, Arrays.asList(new MobDrop(100, 100, ORC_NECKLACE, 1))); // Orc Fighter Leader
MONSTERS.put(20130, Arrays.asList(new MobDrop(10, 7, ORC_AMULET, 1))); // Orc
MONSTERS.put(20131, Arrays.asList(new MobDrop(10, 9, ORC_AMULET, 1))); // Orc Grunt
MONSTERS.put(20132, Arrays.asList(new MobDrop(10, 7, WEREWOLF_FANG, 1))); // Werewolf

View File

@ -152,7 +152,7 @@ public class Q00296_TarantulasSpiderSilk extends Quest
{
giveAdena(talker, (silk * 30) + (silk >= 10 ? 2000 : 0), true);
takeItems(talker, TARANTULA_SPIDER_SILK, -1);
Q00281_HeadForTheHills.giveNewbieReward(talker);// TODO: It's using wrong bitmask, need to create a general bitmask for this using EnumIntBitmask class inside Quest class for handling Quest rewards.
Q00281_HeadForTheHills.giveNewbieReward(talker); // TODO: It's using wrong bitmask, need to create a general bitmask for this using EnumIntBitmask class inside Quest class for handling Quest rewards.
html = "30519-05.html";
}
else

View File

@ -1693,7 +1693,7 @@ public class ClanHallManagerInstance extends MerchantInstance
filename = "data/html/clanHallManager/chamberlain-" + getId() + ".htm";
if (!HtmCache.getInstance().isLoadable(filename))
{
filename = "data/html/clanHallManager/chamberlain.htm";// Owner message window
filename = "data/html/clanHallManager/chamberlain.htm"; // Owner message window
}
}
else if (condition == COND_OWNER_FALSE)

View File

@ -459,7 +459,7 @@ public class Siege implements Siegable
getCastle().removeUpgrade(); // Remove all castle upgrade
getCastle().spawnDoor(true); // Respawn door to castle but make them weaker (50% hp)
removeTowers(); // Remove all towers from this castle
_controlTowerCount = 0;// Each new siege midvictory CT are completely respawned.
_controlTowerCount = 0; // Each new siege midvictory CT are completely respawned.
spawnControlTower();
spawnFlameTower();
updatePlayerSiegeStateFlags(false);

View File

@ -1368,7 +1368,7 @@ public class Formulas
double val = 0;
if (attacker.isChargedShot(ShotType.BLESSED_SPIRITSHOTS))
{
val = mAtk * 3.0;// 3.0 is the blessed spiritshot multiplier
val = mAtk * 3.0; // 3.0 is the blessed spiritshot multiplier
}
val += mAtk;
val = (Math.sqrt(val) / target.getMDef(null, null)) * 11.0;

View File

@ -39,7 +39,7 @@ public class RequestGetItemFromPet implements IClientIncomingPacket
{
_objectId = packet.readD();
_amount = packet.readQ();
_unknown = packet.readD();// = 0 for most trades
_unknown = packet.readD(); // = 0 for most trades
return true;
}

View File

@ -111,8 +111,8 @@ public abstract class AbstractNpcInfo implements IClientOutgoingPacket
_rhand = cha.getRightHandItem(); // On every subclass
_lhand = cha.getLeftHandItem(); // On every subclass
_enchantEffect = cha.getEnchantEffect();
_collisionHeight = cha.getCollisionHeight();// On every subclass
_collisionRadius = cha.getCollisionRadius();// On every subclass
_collisionHeight = cha.getCollisionHeight(); // On every subclass
_collisionRadius = cha.getCollisionRadius(); // On every subclass
_isAttackable = cha.isAutoAttackable(attacker);
// npc crest of owning clan/ally of castle
@ -313,7 +313,7 @@ public abstract class AbstractNpcInfo implements IClientOutgoingPacket
packet.writeD(0x00); // C4
packet.writeD(0x00); // C6
packet.writeD(0x00);
packet.writeD(0);// CT1.5 Pet form and skills
packet.writeD(0); // CT1.5 Pet form and skills
packet.writeC(0x01);
packet.writeC(0x01);
packet.writeD(0x00);
@ -388,7 +388,7 @@ public abstract class AbstractNpcInfo implements IClientOutgoingPacket
packet.writeS(_name);
packet.writeD(-1); // High Five NPCString ID
packet.writeS(_title);
packet.writeD(0x01);// Title color 0=client default
packet.writeD(0x01); // Title color 0=client default
packet.writeD(_summon.getPvpFlag());
packet.writeD(_summon.getKarma());

View File

@ -118,7 +118,7 @@ public class GMViewCharacterInfo implements IClientOutgoingPacket
packet.writeD(_flyRunSpd);
packet.writeD(_flyWalkSpd);
packet.writeF(_moveMultiplier);
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9);//
packet.writeF(_player.getAttackSpeedMultiplier()); // 2.9); //
packet.writeF(_player.getCollisionRadius()); // scale
packet.writeF(_player.getCollisionHeight()); // y offset ??!? fem dwarf 4033
packet.writeD(_player.getAppearance().getHairStyle());

View File

@ -37,7 +37,7 @@ public class PartySmallWindowAdd implements IClientOutgoingPacket
{
OutgoingPackets.PARTY_SMALL_WINDOW_ADD.writeId(packet);
packet.writeD(_party.getLeaderObjectId()); // c3
packet.writeD(_party.getDistributionType().getId());// packet.writeD(0x04); ?? //c3
packet.writeD(_party.getDistributionType().getId()); // packet.writeD(0x04); ?? //c3
packet.writeD(_member.getObjectId());
packet.writeS(_member.getName());
packet.writeD((int) _member.getCurrentCp()); // c4

View File

@ -56,7 +56,7 @@ public class PartySmallWindowAll implements IClientOutgoingPacket
packet.writeD(member.getMaxMp());
packet.writeD(member.getLevel());
packet.writeD(member.getClassId().getId());
packet.writeD(0x00);// packet.writeD(0x01); ??
packet.writeD(0x00); // packet.writeD(0x01); ??
packet.writeD(member.getRace().ordinal());
packet.writeD(0x00); // T2.3
packet.writeD(0x00); // T2.3

View File

@ -132,39 +132,39 @@ public class PetInfo implements IClientOutgoingPacket
packet.writeD(_summon.getKarma()); // karma
packet.writeD(_curFed); // how fed it is
packet.writeD(_maxFed); // max fed it can be
packet.writeD((int) _summon.getCurrentHp());// current hp
packet.writeD(_maxHp);// max hp
packet.writeD((int) _summon.getCurrentMp());// current mp
packet.writeD(_maxMp);// max mp
packet.writeD((int) _summon.getCurrentHp()); // current hp
packet.writeD(_maxHp); // max hp
packet.writeD((int) _summon.getCurrentMp()); // current mp
packet.writeD(_maxMp); // max mp
packet.writeD((int) _summon.getStat().getSp()); // sp
packet.writeD(_summon.getLevel());// lvl
packet.writeD(_summon.getLevel()); // lvl
packet.writeQ(_summon.getStat().getExp());
if (_summon.getExpForThisLevel() > _summon.getStat().getExp())
{
packet.writeQ(_summon.getStat().getExp());// 0% absolute value
packet.writeQ(_summon.getStat().getExp()); // 0% absolute value
}
else
{
packet.writeQ(_summon.getExpForThisLevel());// 0% absolute value
packet.writeQ(_summon.getExpForThisLevel()); // 0% absolute value
}
packet.writeQ(_summon.getExpForNextLevel());// 100% absoulte value
packet.writeD(_summon.isPet() ? _summon.getInventory().getTotalWeight() : 0);// weight
packet.writeD(_summon.getMaxLoad());// max weight it can carry
packet.writeD((int) _summon.getPAtk(null));// patk
packet.writeD((int) _summon.getPDef(null));// pdef
packet.writeD((int) _summon.getMAtk(null, null));// matk
packet.writeD((int) _summon.getMDef(null, null));// mdef
packet.writeD(_summon.getAccuracy());// accuracy
packet.writeD(_summon.getEvasionRate(null));// evasion
packet.writeD(_summon.getCriticalHit(null, null));// critical
packet.writeD((int) _summon.getMoveSpeed());// speed
packet.writeD((int) _summon.getPAtkSpd());// atkspeed
packet.writeD(_summon.getMAtkSpd());// casting speed
packet.writeQ(_summon.getExpForNextLevel()); // 100% absoulte value
packet.writeD(_summon.isPet() ? _summon.getInventory().getTotalWeight() : 0); // weight
packet.writeD(_summon.getMaxLoad()); // max weight it can carry
packet.writeD((int) _summon.getPAtk(null)); // patk
packet.writeD((int) _summon.getPDef(null)); // pdef
packet.writeD((int) _summon.getMAtk(null, null)); // matk
packet.writeD((int) _summon.getMDef(null, null)); // mdef
packet.writeD(_summon.getAccuracy()); // accuracy
packet.writeD(_summon.getEvasionRate(null)); // evasion
packet.writeD(_summon.getCriticalHit(null, null)); // critical
packet.writeD((int) _summon.getMoveSpeed()); // speed
packet.writeD((int) _summon.getPAtkSpd()); // atkspeed
packet.writeD(_summon.getMAtkSpd()); // casting speed
packet.writeD(_summon.getAbnormalVisualEffects());// c2 abnormal visual effect... bleed=1; poison=2; poison & bleed=3; flame=4;
packet.writeH(_summon.isMountable() ? 1 : 0);// c2 ride button
packet.writeD(_summon.getAbnormalVisualEffects()); // c2 abnormal visual effect... bleed=1; poison=2; poison & bleed=3; flame=4;
packet.writeH(_summon.isMountable() ? 1 : 0); // c2 ride button
packet.writeC(_summon.isInsideZone(ZoneId.WATER) ? 1 : _summon.isFlying() ? 2 : 0); // c2
@ -173,7 +173,7 @@ public class PetInfo implements IClientOutgoingPacket
packet.writeC(_summon.getTeam().getId());
packet.writeD(_summon.getSoulShotsPerHit()); // How many soulshots this servitor uses per hit
packet.writeD(_summon.getSpiritShotsPerHit()); // How many spiritshots this servitor uses per hit
packet.writeD(_summon.getFormId());// CT1.5 Pet form and skills
packet.writeD(_summon.getFormId()); // CT1.5 Pet form and skills
packet.writeD(_summon.getAbnormalVisualEffectSpecial());
return true;
}

Some files were not shown because too many files have changed in this diff Show More