Jump to content

Recommended Posts

Posted

We are doing everything in the file L2PcInstance.java

After a string: pk = (L2PcInstance) killer;

add pk.startAbnormalEffect(ABNORMAL_EFFECT_BIG_HEAD);

 

 

 

 

To change - go to the method of setKarma(int karma)

and make checks

 

if (karma = 0)

stopAbnormalEffect(ABNORMAL_EFFECT_BIG_HEAD);

Posted

should be if (karma==0)

 

Thx for sharing it, try to make something bigger next time, what would u say about creating this:

When guy1 pked guy2 and there is 9 or more level difference between them, name of the pker is announced.

I think that its not that usefull but it may be good for u if u wanna learn :)

Posted

http://www.java2s.com/Tutorial/Java/0080__Statement-Control/Theifstatementsyntax.htm

 

Check this post, to define an variable do this:

Object x = 9;

 

And if statement uses == to compare and get a boolean, in if statement you must need to use a boolean as parameter:

int IO = 0; 
boolean bol = (IO == IO+1); //This will be false
if(bol)
{
...
}

 

another example can be (Thanks to Zoey76, from l2jserver):

String IO = "Hello world";
String IO2 = "Hello world";
// The variable has the same value, they are equal but not == cause these aren't the same object.
if(IO == IO2) //This will be false
{
...
}
if(IO.equals(IO2)) //Will be true
{
...
}

 

Java is simple, you must need to listen and read.

 

@Offtopic: Cause I hate MELERIX, RLY HATE HIM (Agression level 99).

Whatever i don't know what is wrong whit L2jServer. DP leader just use a paraser to do him work but never deleted old mobs from DB (I have done it in 1 day) HOW IT CAN BE POSSIBLE?. I guess L2jServer must need to change or add DP devolpers.

 

I hope this will be useful for you.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • ⚡ Fast delivery & verified quality! Enjoy uninterrupted Google AI One for up to 18 months.
    • We are officially opening! Grand Opening: Saturday, 19 September at 16:00 (Greek time — server time). Server is now in TEST/BETA phase → everything will be alive & complete at opening. == WHY YOU SHOULD BE THERE AT 16:00 ==  Rates 9300x EXP / 3000x SP / 5500x Adena — fast start, non-stop action Gracia Final — the real, nostalgic line-up. Like L2 Pride, but fresh & stable No wipe, no close, 24/7 with AntiDoss protection  Safe Enchant +3 · Max Enchant +25 Drop 1x — epic drops feel EPIC == AT OPENING (19/9, 16:00) == - Full server live ceremony: everyone starts in the world together - Community events & giveaways announced LIVE on Discord - Forum + support fully active == GET READY ==  Download the client: https://l2aquila.com/downloads.html Install guide (3 steps, 2 minutes): https://l2aquila.com/install-guide.html  Join Discord to be there at launch: https://discord.gg/5ZyBRvG4k == Countdown is running on the site: https://l2aquila.com == Be part of L2Aquila from the very first minute. 
    • support for new protocols https://imgur.com/PhwtEEX https://imgur.com/Dyul5wt
    • TOPSERVERS200 is a platform for promoting Lineage 2 projects and helping players discover new servers. Add your server, announce your upcoming launch, and compete in the TOP 200 rankings. ━━━━━━━━━━━━━ ◆ ━━━━━━━━━━━━━ TOPSERVERS200 FEATURES   📅 Launch Announcements - announce your new server and attract players both before and after its launch. 🏆 TOP 200 - earn votes from players and climb the Lineage 2 server rankings. 🌐 Server Page - chronicles, rates, launch dates, descriptions, reviews, and other key information about your server. 📺 Lineage 2 Streams - player streams from Twitch, YouTube, and Kick collected in a dedicated section of the platform. 📢 Promotion - VIP placement, banner advertising, and additional options to increase your project's visibility.   ━━━━━━━━━━━━━ ◆ ━━━━━━━━━━━━━ AVAILABLE GAMES   Lineage 2 • Minecraft • World of Warcraft • GTA 5 • MuOnline • SAMP • Perfect World   ━━━━━━━━━━━━━ ◆ ━━━━━━━━━━━━━ LINEAGE 2 ON TOPSERVERS200   Current servers, upcoming launches, rankings, and player reviews - all gathered in one section. VIEW LINEAGE 2 SERVER RANKINGS
    • L2Elite is still around fortunately or unfortunately, Archon I don't remember, RaceSupremacy was such a cool server, I really enjoyed my time there I was playing Grand Khavatary there, Core i've played also but I have no memory of it, one other server I really enjoyed was L2Total I remember a glitch/bug I found there where before clicking ok on exchanging goldbars to adena you would spam screenshot and it would duplicate the item, loved it.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..