I'm trying to put this in the core but it shows me a mistake, you could find it easily but the thing is that I'm not a java knower so I need your help.
I'm sure that it's a simple syntax mistake, but as I said, I can't find it!
public void increasePvpKills()
{
// Add karma to attacker and increase its PK counter
setPvpKills(getPvpKills() + 1);
// Increase the kill count for a special hero aura
heroConsecutiveKillCount++;
// If heroConsecutiveKillCount > 4 (5+ kills) give hero aura
if(heroConsecutiveKillCount > 29)
switch(heroConsecutiveKillCount){
case 30:
setHeroAura(true);
Announcements.getInstance().announceToAll("" + this.getName()+ " went on a Killing Spree with 30 kills in row.");
break;
case 60:
Announcements.getInstance().announceToAll("" + this.getName()+ " is Dominating with 60 kills in row, somebody kill him! ");
default:
;
}
// Send a Server->Client UserInfo packet to attacker with its Karma and PK Counter
sendPacket(new UserInfo(this));
sendPacket(new ExBrExtraUserInfo(this));
}
/**
* Increase pk count, karma and send the info to the player
*
* @param targLVL : level of the killed player
* @param increasePk : true if PK counter should be increased too
*/
The red ";" it's the underlined error.
Edit: Forgot tell you that I'm using L2J Latest Revision, Gracia Final[/s]
Edit2:
I fixed it and updated it on the quote above but I still want to make it apart from the aura, hero aura to give hero skills to the player too, is that possible?
Hello guys, gh0t from gh0tstudio here.
This time we are putting to sale this beafitul landing page for your next server.
Lineage 2 Server Landing Page Template
u can check it here LINEAGE 2 DEMO SITE
Technology Stack
- React 18 with TypeScript
- Tailwind CSS for styling
- Framer Motion for animations
- Vite for fast development and builds
- Multi-language support (i18n ready)
Responsive Design
The template is fully responsive and optimized for all screen sizes. Desktop, tablet, and mobile layouts have been carefully crafted to provide the best user experience on any device. The mobile version includes a unique notch-style hero design with custom clip paths.
What is Included
- Complete landing page source code
- Hero section with parallax scroll effect
- Server information section with animated cards
- Character classes showcase with interactive gallery
- Registration form (frontend only, styled and validated)
- Donation packages display section
- Download section for game client
- Sticky navigation with transparency effects
- Footer with social links
- Multi-language system (Spanish/English ready)
- All animations and transitions
- Clean, documented code structure
- Easy to customize colors and content
What is Not Included
- Backend server or API
- User registration panel/dashboard
- Payment processing system for donations
- Database integration
- Connection to L2 game server
- Online player counter module
- Account management system
- Hosting or domain
The template provides the complete frontend experience.
Price: $150 USD
Contact
For purchase inquiries or questions about the template, please reach out directly.
Question
Statique
I'm trying to put this in the core but it shows me a mistake, you could find it easily but the thing is that I'm not a java knower so I need your help.
I'm sure that it's a simple syntax mistake, but as I said, I can't find it!
The red ";" it's the underlined error.
Edit: Forgot tell you that I'm using L2J Latest Revision, Gracia Final[/s]
Edit2:
I fixed it and updated it on the quote above but I still want to make it apart from the aura, hero aura to give hero skills to the player too, is that possible?
12 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