if ((castle != null) && (activeChar.getObjectId() == clan.getLeaderId()))
Announcements.getInstance().announceToAll( activeChar.getName() + " Lord Of " + castle.getName() + " Castle is Now Online!");
}
}
}
and the error i had is this:
1. ERROR in \CastleLord.java (at line 15)
package mitsos.CastleLord;
^^^^^^^^^^^^^^^^^
The package mitsos.CastleLord collides with a type
----------
2. ERROR in \CastleLord.java (at line 20)
private void notifyCastleOwner(L2PcInstance activeChar)
^^^^
Syntax error on token "void", @ expected
----------
3. ERROR in \CastleLord.java (at line 20)
private void notifyCastleOwner(L2PcInstance activeChar)
^^^^^^^^^^^^
Syntax error on token(s), misplaced construct(s)
----------
4. ERROR in \CastleLord.java (at line 20)
private void notifyCastleOwner(L2PcInstance activeChar)
^
Syntax error, insert "enum Identifier" to complete EnumHeader
----------
5. ERROR in \CastleLord.java (at line 21)
{
^
Syntax error on token "{", ; expected after this token
----------
6. ERROR in \CastleLord.java (at line 22)
L2Clan clan = activeChar.getClan();
^
Syntax error on token ";", { expected after this token
----------
7. ERROR in \CastleLord.java (at line 33)
}
^
Syntax error, insert "}" to complete EnumBody
----------
7 problems (7 errors)Failed executing script: C:\Users\Developer\Desktop\Test Se
rver\gameserver\data\scripts\mitsos\CastleLord.java. See CastleLord.java.error.l
og for details.
can you give me the fix or at least the fix of the errors?
Added: a brand-new default dashboard template.
You can now add multiple game/login server builds.
Full support for running both PTS & L2J servers simultaneously, with switching between them.
Payment systems: added OmegaPay and Pally (new PayPal-style API).
Account history now stores everything: donations, items delivered to characters, referrals, transfers between game accounts, and coin transfers to another master account.
Personal Promo Code System: you can create a promo code and assign it to a user or promoter. When donating, a player can enter this promo code to receive bonus coins, and the promo code owner also receives a bonus — all fully configurable in the admin panel.
Look demo site: demo
MoMoProxy has updated more static residential proxies for USA location, anyone interested in can view: https://momoproxy.com/static-residential-proxies
Question
killer666
and the error i had is this:
1. ERROR in \CastleLord.java (at line 15) package mitsos.CastleLord; ^^^^^^^^^^^^^^^^^ The package mitsos.CastleLord collides with a type ---------- 2. ERROR in \CastleLord.java (at line 20) private void notifyCastleOwner(L2PcInstance activeChar) ^^^^ Syntax error on token "void", @ expected ---------- 3. ERROR in \CastleLord.java (at line 20) private void notifyCastleOwner(L2PcInstance activeChar) ^^^^^^^^^^^^ Syntax error on token(s), misplaced construct(s) ---------- 4. ERROR in \CastleLord.java (at line 20) private void notifyCastleOwner(L2PcInstance activeChar) ^ Syntax error, insert "enum Identifier" to complete EnumHeader ---------- 5. ERROR in \CastleLord.java (at line 21) { ^ Syntax error on token "{", ; expected after this token ---------- 6. ERROR in \CastleLord.java (at line 22) L2Clan clan = activeChar.getClan(); ^ Syntax error on token ";", { expected after this token ---------- 7. ERROR in \CastleLord.java (at line 33) } ^ Syntax error, insert "}" to complete EnumBody ---------- 7 problems (7 errors)Failed executing script: C:\Users\Developer\Desktop\Test Se rver\gameserver\data\scripts\mitsos\CastleLord.java. See CastleLord.java.error.l og for details.can you give me the fix or at least the fix of the errors?
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now