rayven18
-
Posts
18 -
Credits
0 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Articles
Profiles
Forums
Store
Posts posted by rayven18
-
-
voted for you, gl :)
-
very nice server, no delay and no lag and nice custom stuff :) keep working on it!
-
Downloaded the patch successfully. Nice features gonna keep playing. Thanks :D
-
Really interesting features, downloading the patch asap!
-
is this the code for sending the users data to the server? or is there anything else like sendPacket(setHero); ? i tried to build a new method that would connect with isHero but didnt work out
-
-
Hello, i got the source code for the custom killing spree system from Cobra which was for l2j free and i converted it for l2j server. The only problem is the following: I configured it so that when someone had 30 pvp kills in a row, a "You are on a killing spree" message would show up on his screen and an announcement would be published on the global chat. Here is the thing. I inserted a code so that when you have 30 pvp kills in a row not only would a message appear but you'd also get hero status and on death this hero status would disappear but i failed. I compiled and i went ingame to test it ,everything worked fine except that when i was getting 30 pvp kills i could see the hero glow but others could not, they could only see it after a restart of their client. And also, when i was on death my hero glow would not disappear if i didnt restart my client. Here is the code in the file L2PcInstance:
+private int impro = 0; public void increasePvpKills() { + impro++; +switch(impro){ +case 30: + ExShowScreenMessage case30 = new ExShowScreenMessage("You reached 30 killing spree!", 10000); +sendPacket(case30); +Announcements.getInstance().announceToAll("Player " + getName() + " Is On a Killing Spree Someone Stop Him"); +setHero(true); + break; + default: + ; + }
// Check if the player is dead if (isDead()) { +impro = 0; +setHero(false); abortCast();
Anyone got an idead of how to fix this? Thanks!
-
Pali peira exp, mhpws paizetai tipota kai me alla refered arxeia?
-
Skalwse to mualo mou ti na kanoume! Dokimazw k s lew :)
Nope, den doulepse pali!
-
Skalwse to mualo mou ti na kanoume! Dokimazw k s lew :)
-
Dhladh sto config tha valw auto?
# Experience multiplier
RateXp = 1000
# 80 lvl Rate XP
NewXp80Rate = 100
# Skill points multiplier
RateSp = 1000
******EDIT********
Sto config.properties ekana ena NewXpRate=100. Meta sto L2Npc.java evala ton kodika pou eixa apla allaxa sto if sto telos to Config.NEW_EXP_80_RATE me Config.NEW_XP_RATE kai dhmiourgisa kai mia public static float NEW_XP_RATE sto config.java. Ekana swsta?
-
Kalhspera exw ena problhmataki. Prospathisa na valw sto L2Npc.java se L2JServer pack gracia final sto line 2424 auton ton kwdika:
public int getExpReward() { L2Attackable attacker; if (getLevel() > 79) { double rateXp = getStat().calcStat(Stats.MAX_HP, 1, this, null); return (int) (getTemplate().rewardExp * rateXp * 1.90); } else { double rateXp = getStat().calcStat(Stats.MAX_HP, 1, this, null); return (int) (getTemplate().rewardExp * rateXp * Config.RATE_XP); } }
Den mou vgazei kapoio error parola auta egw thelo otan o xaraktiras paei 80 lvl to exp na meiwnetai kata 90%. Dokimasa diafores times alla den doulepse kamia. Opoios voithisei tha tou eimai eugnwmwn thanks!
-
Se pio java arxeio prepei na mpei kai pou akrivos mporis na me dieukolinis?
-
Hey thanks for the code. I tried to change the rates a little bit. After +10 i tried configure the chance to drop 5% per enchant but i couldnt make it work. Can you help me ? Id be really glad. Thanks!
-
I inserted the code but i have a little problem here check this image
I get an error on properties, i searched on the imports for a properties import but only found an L2Properties import. Should i change this to L2Properties ? Thanks!
ITS OK I SOLVED THIS HAD TO ORGANIZE MY IMPORTS WITH CTRL+SHIFT+O TY!!
-
I inserted the code but i have a little problem here check this image
I get an error on properties, i searched on the imports for a properties import but only found an L2Properties import. Should i change this to L2Properties ? Thanks!
-
Kalhspera paidia! Psaxnw na vrw kapoion kalo dedicate server pou na seikwnei to polu 200 me 300 atoma kai fusika na uparxoune logikes times. Exw psaxei genika k egw dei kati kommatia alla den me elkisan toso. Exei na mou protinei kapoios kanenan? Euxaristw!
[ L2j ] L2 Sand
in Private Servers
Posted
one day i saw like 40 people approx