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();
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.
@Tryskellhas and continues to do an awesome job with aCis. I will support aCis in any way I can, and was really happy to see aCis was still around and active as a poject and community when I jumped back into L2.
I do not think L2 or Interlude is ded, it never will be. What I do think is that thinking outside the box and introducing the game to new people is important now. I would bet that the majority of those new people who try it are hooked and will continue to play for years.
We have everything, but no people to "bind" everything.
On this community it is a mere joke.
Sorry for the offtopic.
If you want join my discord's Game Dev section.
I plan to add more contend about it.
I really don't even care about them haha, I just made a guide of what will happen if someone wants to publish free files. xD
actually I want to get to -50 to see what maxtor is doing hahahahaha
This is Gustavo!
Gustavo been naughty naughty, he came all the way from Argentina to avenge his fallen C4 Community and acted tough.
The "stupid" as he qualified us, europeans didnt appreciate him acting like a clown so they punished him with the power given from the forum to use the "downvotes" whenever they feel like that.
But Gustavo thought the only reason the Downvotes exist is because there is some shady mystery conspiracy are against him.
Few days will pass and Gustavo will scream this post to be closed again so he can heal and come back to the battlefield again.
A true Avenger should never back down, he might lose the fight, but he'll try to win the war.
Gustavo is a clown,
Dont be like Gustavo.
Question
rayven18
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:
Anyone got an idead of how to fix this? Thanks!
4 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.