Various typo fixes.

This commit is contained in:
MobiusDevelopment
2020-09-23 05:39:39 +00:00
parent 15808c4955
commit e7fb24cc62
130 changed files with 1032 additions and 1032 deletions

View File

@@ -2,36 +2,36 @@
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="xsd/ItemAuctions.xsd">
<!-- Documentation: -->
<!-- <instance id="NPC ID of the auctioneer" day_of_week="1 - Monday, 7 - Sunday" hour_of_day="0-23" minute_of_hour="0-59"> -->
<!-- <item auctionItemId="1" itemId="9901" itemCount="1" auctionInitBid="100000" auctionLenght="300 (in minutes)"> -->
<!-- <item auctionItemId="1" itemId="9901" itemCount="1" auctionInitBid="100000" auctionLength="300 (in minutes)"> -->
<!-- <extra enchant_level="15" /> -->
<!-- </item> -->
<!-- </instance> -->
<!-- instead of day_of_week you can use interval between auction in days -->
<!-- <instance id="NPC ID of the auctioneer" interval="1" hour_of_day="0-23" minute_of_hour="0-59"> -->
<!-- <item auctionItemId="1" itemId="10485" itemCount="1" auctionInitBid="100000" auctionLenght="60" /> -->
<!-- <item auctionItemId="1" itemId="10485" itemCount="1" auctionInitBid="100000" auctionLength="60" /> -->
<!-- </instance> -->
<!-- <instance id="34328" day_of_week="2" hour_of_day="09">Giran, Tuesday, 09:00 - 10:00 -->
<instance id="34328" day_of_week="6" hour_of_day="17"> <!-- Giran, Saturday, 17:00 - 18:00 -->
<item auctionItemId="1" itemId="46495" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Pantheon's Soul Crystal - Stage 7 -->
<item auctionItemId="2" itemId="46510" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Lionel's Soul Crystal - Stage 7 -->
<item auctionItemId="3" itemId="46450" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Kain's Soul Crystal - Stage 7 -->
<item auctionItemId="4" itemId="46465" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Mermoden's Soul Crystal - Stage 7 -->
<item auctionItemId="5" itemId="46480" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Leona's Soul Crystal - Stage 7 -->
<item auctionItemId="6" itemId="46466" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Mermoden's Soul Crystal - Stage 8 -->
<item auctionItemId="7" itemId="46481" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Leona's Soul Crystal - Stage 8 -->
<item auctionItemId="8" itemId="46496" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Pantheon's Soul Crystal - Stage 8 -->
<item auctionItemId="9" itemId="46511" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Lionel's Soul Crystal - Stage 8 -->
<item auctionItemId="10" itemId="46451" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Kain's Soul Crystal - Stage 8 -->
<item auctionItemId="11" itemId="23989" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Agathion - Virgo -->
<item auctionItemId="12" itemId="24037" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Agathion - Taurus -->
<item auctionItemId="13" itemId="37521" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Baium's Soul Ring -->
<item auctionItemId="14" itemId="36254" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Queen Ant's Soul Ring -->
<item auctionItemId="15" itemId="17623" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Earth Wyrm Heart Ring -->
<item auctionItemId="16" itemId="19464" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Blessed Valakas' Necklace -->
<item auctionItemId="17" itemId="19463" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Blessed Antharas' Earring -->
<item auctionItemId="18" itemId="35570" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Tauti's Ring -->
<item auctionItemId="19" itemId="47884" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Frenzied Tauti's Fragment -->
<item auctionItemId="20" itemId="47885" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Insane Kelbim’s Fragment -->
<item auctionItemId="21" itemId="47886" itemCount="1" auctionInitBid="100000000" auctionLenght="60" /> <!-- Reinforced Shadow Ingot -->
<item auctionItemId="1" itemId="46495" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Pantheon's Soul Crystal - Stage 7 -->
<item auctionItemId="2" itemId="46510" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Lionel's Soul Crystal - Stage 7 -->
<item auctionItemId="3" itemId="46450" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Kain's Soul Crystal - Stage 7 -->
<item auctionItemId="4" itemId="46465" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Mermoden's Soul Crystal - Stage 7 -->
<item auctionItemId="5" itemId="46480" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Leona's Soul Crystal - Stage 7 -->
<item auctionItemId="6" itemId="46466" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Mermoden's Soul Crystal - Stage 8 -->
<item auctionItemId="7" itemId="46481" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Leona's Soul Crystal - Stage 8 -->
<item auctionItemId="8" itemId="46496" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Pantheon's Soul Crystal - Stage 8 -->
<item auctionItemId="9" itemId="46511" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Lionel's Soul Crystal - Stage 8 -->
<item auctionItemId="10" itemId="46451" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Kain's Soul Crystal - Stage 8 -->
<item auctionItemId="11" itemId="23989" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Agathion - Virgo -->
<item auctionItemId="12" itemId="24037" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Agathion - Taurus -->
<item auctionItemId="13" itemId="37521" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Baium's Soul Ring -->
<item auctionItemId="14" itemId="36254" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Queen Ant's Soul Ring -->
<item auctionItemId="15" itemId="17623" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Earth Wyrm Heart Ring -->
<item auctionItemId="16" itemId="19464" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Blessed Valakas' Necklace -->
<item auctionItemId="17" itemId="19463" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Blessed Antharas' Earring -->
<item auctionItemId="18" itemId="35570" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Tauti's Ring -->
<item auctionItemId="19" itemId="47884" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Frenzied Tauti's Fragment -->
<item auctionItemId="20" itemId="47885" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Insane Kelbim’s Fragment -->
<item auctionItemId="21" itemId="47886" itemCount="1" auctionInitBid="100000000" auctionLength="60" /> <!-- Reinforced Shadow Ingot -->
</instance>
</list>

View File

@@ -1,4 +1,4 @@
<html><body>Herphah:<br>
Weapon enhancement and fishing are goot examples. They can strenghten you indirectly. You should make use of every possible means to become stronger.<br>
Weapon enhancement and fishing are goot examples. They can strengthen you indirectly. You should make use of every possible means to become stronger.<br>
<Button ALIGN=LEFT ICON="NORMAL" action="bypass -h Quest Q10566_BestChoice 34362-03.htm">"Go on."</button>
</body></html>

View File

@@ -19,7 +19,7 @@
</xs:sequence>
<xs:attribute name="auctionInitBid" type="xs:positiveInteger" use="required" />
<xs:attribute name="auctionItemId" type="xs:positiveInteger" use="required" />
<xs:attribute name="auctionLenght" type="xs:positiveInteger" use="required" />
<xs:attribute name="auctionLength" type="xs:positiveInteger" use="required" />
<xs:attribute name="itemCount" type="xs:positiveInteger" use="required" />
<xs:attribute name="itemId" type="xs:positiveInteger" use="required" />
</xs:complexType>

View File

@@ -105,19 +105,19 @@ public class ItemAuctionInstance
{
final NamedNodeMap naa = na.getAttributes();
final int auctionItemId = Integer.parseInt(naa.getNamedItem("auctionItemId").getNodeValue());
final int auctionLenght = Integer.parseInt(naa.getNamedItem("auctionLenght").getNodeValue());
final int auctionLength = Integer.parseInt(naa.getNamedItem("auctionLength").getNodeValue());
final long auctionInitBid = Integer.parseInt(naa.getNamedItem("auctionInitBid").getNodeValue());
final int itemId = Integer.parseInt(naa.getNamedItem("itemId").getNodeValue());
final int itemCount = Integer.parseInt(naa.getNamedItem("itemCount").getNodeValue());
if (auctionLenght < 1)
if (auctionLength < 1)
{
throw new IllegalArgumentException("auctionLenght < 1 for instanceId: " + _instanceId + ", itemId " + itemId);
throw new IllegalArgumentException("auctionLength < 1 for instanceId: " + _instanceId + ", itemId " + itemId);
}
final StatSet itemExtra = new StatSet();
final AuctionItem item = new AuctionItem(auctionItemId, auctionLenght, auctionInitBid, itemId, itemCount, itemExtra);
final AuctionItem item = new AuctionItem(auctionItemId, auctionLength, auctionInitBid, itemId, itemCount, itemExtra);
if (!item.checkItemExists())
{

View File

@@ -101,10 +101,10 @@ public class ZoneNPoly extends ZoneForm
final int nextIndex = (i + 1) == _p.xpoints.length ? 0 : i + 1;
final int vx = _p.xpoints[nextIndex] - _p.xpoints[i];
final int vy = _p.ypoints[nextIndex] - _p.ypoints[i];
final float lenght = (float) Math.sqrt((vx * vx) + (vy * vy)) / STEP;
for (int o = 1; o <= lenght; o++)
final float length = (float) Math.sqrt((vx * vx) + (vy * vy)) / STEP;
for (int o = 1; o <= length; o++)
{
dropDebugItem(Inventory.ADENA_ID, 1, (int) (_p.xpoints[i] + ((o / lenght) * vx)), (int) (_p.ypoints[i] + ((o / lenght) * vy)), z);
dropDebugItem(Inventory.ADENA_ID, 1, (int) (_p.xpoints[i] + ((o / length) * vx)), (int) (_p.ypoints[i] + ((o / length) * vy)), z);
}
}
}

View File

@@ -58,7 +58,7 @@ public class ResidenceHallTeleportZone extends ResidenceTeleportZone
return _id;
}
public synchronized void checkTeleporTask()
public synchronized void checkTeleportTask()
{
if ((_teleTask == null) || _teleTask.isDone())
{

View File

@@ -30,7 +30,7 @@ import org.l2jmobius.gameserver.network.SystemMessageId;
public class RequestMakeMacro implements IClientIncomingPacket
{
private Macro _macro;
private int _commandsLenght = 0;
private int _commandsLength = 0;
private static final int MAX_MACRO_LENGTH = 12;
@@ -56,7 +56,7 @@ public class RequestMakeMacro implements IClientIncomingPacket
final int d1 = packet.readD(); // skill or page number for shortcuts
final int d2 = packet.readC();
final String command = packet.readS();
_commandsLenght += command.length();
_commandsLength += command.length();
commands.add(new MacroCmd(entry, MacroType.values()[(type < 1) || (type > 6) ? 0 : type], d1, d2, command));
}
_macro = new Macro(_id, icon, _name, _desc, _acronym, commands);
@@ -71,7 +71,7 @@ public class RequestMakeMacro implements IClientIncomingPacket
{
return;
}
if (_commandsLenght > 255)
if (_commandsLength > 255)
{
// Invalid macro. Refer to the Help file for instructions.
player.sendPacket(SystemMessageId.INVALID_MACRO_REFER_TO_THE_HELP_FILE_FOR_INSTRUCTIONS);