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

    • <dailyReward days="28" autoOpen="true" minimumOnlineTimeSeconds="30" oneRewardPerIP="true" resetIfMissDay="true">   For now, I have these settings in the XML—this is the V1 version I created, though I plan to make further improvements over time. Of course, I’ll also add more protections—MAC, HWID, and perhaps others like account-based restrictions—to make it more secure. We can also implement non-tradable items to further enhance the system's security. I’ll keep posting updates and refining both the system and the interface. I might make a video tomorrow; if you look at the top, you'll see the "auto-open" feature can be toggled on or off, allowing users to rely solely on the `.daily` command. Cheers! Note: If I sell it in this state, I’ll provide support and roll out updates to users. I’m not forcing anyone to buy anything; I’d even provide the patch files so that anyone with the necessary skills can add features, modify it, or improve it further.
    • If the problem is that the target is lost, the action of aiming at another character, upon losing collision, does not allow aiming.   This one works as it should, allowing you to target characters
    • MICROTEXT AND WATERMARKS BREAK MOST RENDERINGS Microtext and watermarks aren’t just small decorative details. They are one of the most common reasons a document fails verification, even when it looks decent at first glance. The issue is that these elements are almost impossible to reproduce “by eye.” Microtext requires precise geometry and legibility at a very small size, while a watermark needs the correct density, transparency, and accurate placement relative to other security features. Any deviation becomes obvious during detailed inspection. ▪ What’s most often done wrong: - microtext is drawn too thick or blurry - the watermark is made either too visible or almost invisible - the positioning between microtext and watermark is ignored - the original printing technology isn’t taken into account when choosing density and shape - The stronger the document’s security features, the less room there is for approximation. What matters here isn’t visual similarity, but accurate reproduction of the original technical characteristics. If your document contains microtext and watermarks, this is always an area that requires extra attention. Write to us in DMs. We’ll review your case and point out exactly which details need the highest precision during rendering. › TG: @mustang_service_ms ( https:// t.me/ mustang_service_ms ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #drawing #microtext #photoshop #editing #watermarks
    • GoldRush launches tomorrow! July 18 16:00 GMT+3 Europe / International Register your account in the website, connect wallet and be ready to dominate!
  • 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..