Jump to content
  • 0

[Acis] Buffer


Question

Posted

Hi guys.

 

I add this buffer http://www.maxcheaters.com/topic/192244-simplest-buffer-acis/

 

so work all but I would to have a effect when I get Buffs....

I mean when I click on Wind Walk for example -> Get Buff + Skill Effect.

 

anyone know and can help me what Code I have to add ?

 

thanks, Protein

5 answers to this question

Recommended Posts

  • 0
Posted (edited)

Use this http://pastebin.com/q5Z4ve9W

 

 

The change for effect (Just to know):

        else if (actualCommand.equalsIgnoreCase("fighterset"))
        {
            for (int id : fighterbuffs)
            {
-                SkillTable.getInstance().getInfo(id, SkillTable.getInstance().getMaxLevel(id)).getEffects(this, player);
+                L2Skill buff = SkillTable.getInstance().getInfo(id, SkillTable.getInstance().getMaxLevel(id));
+                buff.getEffects(this, player);
+                player.broadcastPacket(new MagicSkillUse(this, player, id, buff.getLevel(), 0, 0));
            }
            showChatWindow(player);
        }

and this:

        if (actualCommand.equalsIgnoreCase("getbuff"))
        {
            if (buffid != 0)
            {
-                MagicSkillUse mgc = new MagicSkillUse(this, player, buffid, bufflevel, -1, 0);
-                SkillTable.getInstance().getInfo(buffid, bufflevel).getEffects(this, player);
-                player.broadcastPacket(mgc);
-                showMessageWindow(player);
+                L2Skill buff = SkillTable.getInstance().getInfo(buffid, SkillTable.getInstance().getMaxLevel(buffid));
+                buff.getEffects(this, player);
+                player.broadcastPacket(new MagicSkillUse(this, player, buffid, buff.getLevel(), 0, 0));
+                showMessageWindow(player);
                showChatWindow(player, nextWindow);
            }
        }
Edited by 'Baggos'
  • 0
Posted

 

Use this http://pastebin.com/q5Z4ve9W

 

 

The change for effect (Just to know):

        else if (actualCommand.equalsIgnoreCase("fighterset"))
        {
            for (int id : fighterbuffs)
            {
-                SkillTable.getInstance().getInfo(id, SkillTable.getInstance().getMaxLevel(id)).getEffects(this, player);
+                L2Skill buff = SkillTable.getInstance().getInfo(id, SkillTable.getInstance().getMaxLevel(id));
+                buff.getEffects(this, player);
+                player.broadcastPacket(new MagicSkillUse(this, player, id, buff.getLevel(), 0, 0));
            }
            showChatWindow(player);
        }

and this:

        if (actualCommand.equalsIgnoreCase("getbuff"))
        {
            if (buffid != 0)
            {
-                MagicSkillUse mgc = new MagicSkillUse(this, player, buffid, bufflevel, -1, 0);
-                SkillTable.getInstance().getInfo(buffid, bufflevel).getEffects(this, player);
-                player.broadcastPacket(mgc);
-                showMessageWindow(player);
+                L2Skill buff = SkillTable.getInstance().getInfo(buffid, SkillTable.getInstance().getMaxLevel(buffid));
+                buff.getEffects(this, player);
+                player.broadcastPacket(new MagicSkillUse(this, player, buffid, buff.getLevel(), 0, 0));
+                showMessageWindow(player);
                showChatWindow(player, nextWindow);
            }
        }

 

first, thanks for answer and help!

I added this Code, effect working but I see your Code is now Buff Max Level so; my html before:

"bypass -h npc_%objectId%_getbuff 1078 6 data/html/buffer/9001.htm" (he buff but html open with number 6 inside)

 

I try to Change the Bypass to: "bypass -h npc_%objectId%_getbuff 1078" (get Buff and open same html but I cant buff any other buffs then) -> must click for each buff to NPC....

 

can you help me please?

 

thanks, Protein

  • 0
Posted (edited)

I try to Change the Bypass to: "bypass -h npc_%objectId%_getbuff 1078" (get Buff and open same html but I cant buff any other buffs then) -> must click for each buff to NPC....

Keep this.. (No matters if you use this bypass or the old one. Now will work anyway). 

But for better "style" keep your change for all buffs.

Go to L2BufferInstance and remove this:

-                showChatWindow(player, nextWindow);
Edited by 'Baggos'
  • 0
Posted

 

Keep this.. (No matters if you use this bypass or the old one. Now will work anyway). 

But for better "style" keep your change for all buffs.

Go to L2BufferInstance and remove this:

-                showChatWindow(player, nextWindow);

 

thanks work now perfectly ( but only with changed Bypass )

​PS: I think to share the Buffer when is finished. :)

 

Topic can locked.

Guest
This topic is now closed to further replies.


  • Posts

    • Bought the interface source for the 557 protocol from him. Everything works as described, no issues so far. Smooth deal, would recommend.
    • Add try version of protocol 563 https://drive.google.com/file/d/1l1QnyFGXxX_c98FNUgXHFmDsIzZCrVc6/view?usp=drive_link
    • WTS Adena Stock 2.6kkk Titan 78 Sub Sagitarius 76 nobless Hirophant 78 Sub Cardinal 78 nobless   discord : nhr0711
    • We are not another "open-close" project. LOE is a long-term Essence server that has been live for over a year — NewAge x2 is our brand-new world, and it will never be wiped. 🗺 STAGED WORLD PROGRESSION Here is what kills most servers: no-lifers hit the cap in three days, everyone else logs in to a finished race. On LOE the world unlocks stage by stage, every ~2 weeks — new locations, new bosses, new gear ceiling. The server grows as one. Start on day one or day ten — you are still in the race. ✨ WHAT MAKES US DIFFERENT Subclass system on Essence — a full dedicated questline, unique for this platform. Your build, your rules. Talent system — three branches: tank, damage, farm. Two players, same class, different characters. Hero skills and deep character customization. Fair progression — power comes from playing, not from a credit card. x2 rates — the classic Essence pace without the grind wall. 📚 WE DOCUMENTED EVERYTHING 25,000+ items, every class with full skill tables, monsters, drop rates, quests, locations. Check the server before you even download it: loe.promo/wiki — no other project gives you this. 📋 SERVER INFO Platform: Lineage 2 Essence · Rates: x2 Open Beta: July 24 — test the stages and the subclass questline before launch Grand Opening: July 31, 20:00 GMT+3 Site & wiki in English — international players welcome 🔒 YOUR NICKNAME IS BEING TAKEN RIGHT NOW Reservation is already open. On the 31st the crowd arrives — the name you have carried through every server for years may simply be gone. Lock it in 30 seconds: Equal start for everyone. See you in Elcardia — July 31, 20:00 GMT+3. Questions? Drop them below — the team reads this thread daily.
  • 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..