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?
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
killer666
and the error i had is this:
can you give me the fix or at least the fix of the errors?
10 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.