Jump to content
  • 0

Latest Revision Ctf Errors..!


Question

Posted

Hello... so i updated my pack (L2j) with the latest revision (skill and effect system complete rework)

and i have these problems on CTF.java:

 

for (AbstractEffect e : summon.getAllEffects())
{
if (e != null)
{
e.exit();
}
}
 
also i've solved an error by my own but didn't test it... is it ok?

AbstractEffect eInvisible = _player.getFirstEffect(L2EffectType.HIDE);
 
to
 
AbnormalType eInvisible = AbnormalType.HIDE;

i will appreciate your help! :)

Recommended Posts

  • 0
Posted (edited)

It's a ctf, and that section is probably sent when character enters the event. There's no use to clean pet buffs. The only stuff to verify is the possibility to get a pet while being in ctf event (no possibility to summon).

 

@topic author, I want the use of eInvisible.

So if the "bug" that I pointed still exists, why is it useless? For example: full buff server (but the event just gives you 4-5 buffs), you got your full buffs in your pet and you unsummon it, you register to the event, you get teleported, then you re-summon your pet and bam! full buffed  :rage:

Edited by ^Wyatt
  • 0
Posted

@topic author, I want the use of eInvisible.

hmmm.... i don't think it is doing something :P

cause of @SuppressWarnings("unused")

 

and i think it's not working..!

a think a "return;" could work..! or not? :P

  • 0
Posted

hmmm.... i don't think it is doing something :P

cause of @SuppressWarnings("unused")

 

and i think it's not working..!

a think a "return;" could work..! or not? :P

if it's unused just remove that line

  • 0
Posted

So if the "bug" that I pointed still exists, why is it useless? For example: full buff server (but the event just gives you 4-5 buffs), you got your full buffs in your pet and you unsummon it, you register to the event, you get teleported, then you re-summon your pet and bam! full buffed  :rage:

the best way for a "stable" event is to fix all the possible bugs like that... to exclude every way from the player to get buffs outside from the event..!

  • 0
Posted

the best way for a "stable" event is to fix all the possible bugs like that... to exclude every way from the player to get buffs outside from the event..!

Ye, I typed that too fast... that thing about storing pet buffs after unsummon shouldn't exist coz then, even if you remove the buff before unsumonning it, they could unsummon the pet by theirselves and then summon and be inside the event with buffs. I think it was a config to turn it off/on, should be off xd

 

the "return;" doesn't need?

no :s

  • 0
Posted (edited)

Ye, I typed that too fast... that thing about storing pet buffs after unsummon shouldn't exist coz then, even if you remove the buff before unsumonning it, they could unsummon the pet by theirselves and then summon and be inside the event with buffs. I think it was a config to turn it off/on, should be off xd

 

no :s

ok.. i'll test it tomorrow!!

Edited by xXObanXx
  • 0
Posted

If you can summon a pet during the event, it's an unwanted behavior even for the previous code. You shouldn't be able to summon pet, buffed or not. So, unsummoned pet doesn't need to be debuffed, simple :P.

 

About eInvisible, if you don't see a use of it, drop the line. Originally it's supposed to drop hide effects, I guess ? Such as Shadow dance and the TH skill. If players got also their effects cleaned, I guess it's useless.

  • 0
Posted

If you can summon a pet during the event, it's an unwanted behavior even for the previous code. You shouldn't be able to summon pet, buffed or not. So, unsummoned pet doesn't need to be debuffed, simple :P.

 

About eInvisible, if you don't see a use of it, drop the line. Originally it's supposed to drop hide effects, I guess ? Such as Shadow dance and the TH skill. If players got also their effects cleaned, I guess it's useless.

Why not to let people summon pets inside events? :( just like olympiad style its fine :p

  • 0
Posted

Because there's no point to unsummon it otherwise. I don't (have to) speak about how it should be, I speak about what the code suggested in first shot.

 

If the guy wants to keep unsummon, he should make a check about summon pets in event.

 

Overall, if it was only me, both unsumon and remove effects would be dropped. It's not like a Kookaburra lvl 80 fullbuffed is broken.

  • 0
Posted (edited)

Because there's no point to unsummon it otherwise. I don't (have to) speak about how it should be, I speak about what the code suggested in first shot.

 

If the guy wants to keep unsummon, he should make a check about summon pets in event.

 

Overall, if it was only me, both unsumon and remove effects would be dropped. It's not like a Kookaburra lvl 80 fullbuffed is broken.

No but what if you're a summoner class and you don't get your summon debuffed and it goes fullbuffed to the event, I guess that it yes can hit really hard.

I would just remove buffs + unsummon and then only allow to summon pets by skill, not by item. Q_Q but whatever :P

Edited by ^Wyatt
  • 0
Posted

It's a CTF not a Duel. If you see a summon moving like an idiot, you pick 10 guys hitting it, done with the summon.

 

Anyway don't speak about what it should be. It's useless discussion :P.

  • 0
Posted (edited)

ok guys i'm on the way to test these things...

i will update the post in some minutes!

 

edit: the "hide" option doesn't work... i think cause check for hide players but doesn't doing something to make him visible..!

about the summon... i can't summon pets like Fernir etc. but i can summon servitors like Mew the Cat (Archmage) or Reanimated Man (Soultaker)

Edited by xXObanXx
Guest
This topic is now closed to further replies.


  • Posts

    • ⚡ 5TB Storage + Gemini Advanced 12-18M upgrade active! Keeps your personal files 100% private with instant automated setup.     FINAL CALL: Google is Shutting This Down After October 2026! Google will NEVER bring back this window of opportunity again. Once this month ends, this massive backdoor upgrade is gone permanently!  BUY 2, GET 1 FREE IS STILL LIVE! Stock up now for yourself, your family, your business, and your friends! Think about it: Every single person you know uses a Gmail account, and everyone is running out of storage. Don't let your loved ones get trapped paying $20–$30 every single month when you can set them up with 5TB Cloud Storage + Gemini Advanced (12–18 Months) right now for only $15! Why Buy Bulk Activations Today? Instant Gift Value: Perfect lifetime-style gift for clients, family, or team members. 100% Private & Safe: Activates on personal Gmails—zero passwords or logins required. Global Access: Works worldwide with zero VPN hassles. Instant Automated Delivery: Receive your activation links in seconds 24/7! ‍ Time is running out fast—secure your extra free licenses before the October deadline hits! Order Your Bundle Now on the Website
    • Since technical talk offends people, I believe I should return back to writting my Lineage 2 lore stories. Here's the next one:   Once upon a time, there was a boy and a small adorable wolf.    The boy really loved the wolf but as the wolf grow older and bigger, it became agressive and would bite the boy. One day the boy and the wolf decided to go to the city to buy potions. The road was long and hilly so the boy moved all his adena to the wolf bags to help his legs and reach the city easier.   When they reached the city, the boy tried to take the adena out of the wolf's bags. But the wolf would not ! He bit the boy and said "You will not get this adena back, this is my adena". The boy got angry. He decided to go to the pet master and ask for help.    "Pet master, pet master ! My wolf is big, bad and angry and it won't obey me. I want my adena back and it bites me. "   The pet master looked at the big angry wolf, then looked at the boy and said. "I have a solution for your problem young one. I have magic. Dark magic. I can turn your big bad elder wolf into a younger puppy for free, all you have to do is spell the magic chants. Nothing more, no wolf modifying wands, just your say".   The boy thought about it for a bit, and decided that he indeed wanted to turn things back. But when he was about to spell the magic words, guards arrived at the pet master.    The city guard captain said "Is this the big bad angry wolf that bites people and doesn't give back his adena ? We will kill this wolf !"    For a moment the boy hesitated but he said "This wolf is big bad and angry, but I love this wolf and I dont want it to die ! Please don't kill the big bad angry wolf." But the boy was not fast enough. The guards jumped the wolf and started slashing on him with their swords. The boy didn't know what to do, so in it its final moments right as the wolf was about to die, it spelled the magic words. "Pet master, make my wolf young and adorable again !"   But he was not fast enough. The wolf got slashed and killed by the guards just one moment before the boy could finish his last word.    But as the words came out of his mouth, with the wolf's dead body on the floor, a younger wolf manifested out of thin air. The magic was real. The guards got scared and run away. Now the boy was left with a dead old bad angry wolf and next to him an alive younger version.    The boys joy was even bigger when it opened the new wolfs bags and his adena was finally there. He took the adena and went back to buy potions in the city.   Twenty four hours later, the boy couldn't believe how his fortune would change ...   (No AI was used to write this story)
    • This is like 2017 MaxCheaters. i love it.
    • NEW SEASON GRAND OPENING FROM - 30 OCTOBER 2026, FRIDAY, 20:00 +2 GMT !
    • My bug report was a proper submission. I shouldn't have shown the exploit, I will accept that. Let's end it here. 
  • 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..