Jump to content
  • 0

Dear cheaters...


Question

Posted

Hey candyes, i am looking for a voice command buffer. (Without Npc),  but html's and functions must be like `With npc`. If someone know this, let's me know.

Thanks and have a blessed days!

13 answers to this question

Recommended Posts

  • 0
Posted

You can try something like this and change it into whataver you want (this one is with item).

Index: java/net/sf/l2j/gameserver/network/clientpackets/RequestBypassToServer.java
===================================================================
--- java/net/sf/l2j/gameserver/network/clientpackets/RequestBypassToServer.java (revision 10)
+++ java/net/sf/l2j/gameserver/network/clientpackets/RequestBypassToServer.java (working copy)
@@ -20,8 +20,10 @@
 import net.sf.l2j.Config;
 import net.sf.l2j.gameserver.communitybbs.CommunityBoard;
 import net.sf.l2j.gameserver.datatables.AdminCommandAccessRights;
+import net.sf.l2j.gameserver.datatables.SkillTable;
 import net.sf.l2j.gameserver.handler.AdminCommandHandler;
 import net.sf.l2j.gameserver.handler.IAdminCommandHandler;
+import net.sf.l2j.gameserver.handler.itemhandlers.BuffsCustom;
 import net.sf.l2j.gameserver.model.L2Object;
 import net.sf.l2j.gameserver.model.L2World;
 import net.sf.l2j.gameserver.model.actor.L2Npc;
@@ -90,6 +92,14 @@
  
  ach.useAdminCommand(_command, activeChar);
  }
+            else if (_command.startsWith("buffCommand") && BuffsCustom.check(activeChar))
+            {
+                String idBuff = _command.substring(12);
+                int parseIdBuff = Integer.parseInt(idBuff);
+                SkillTable.getInstance().getInfo(parseIdBuff, SkillTable.getInstance().getMaxLevel(parseIdBuff)).getEffects(activeChar, activeChar);
+                BuffsCustom.sendHtml(activeChar);
+            }
+
  else if (_command.startsWith("player_help "))
  {
  playerHelp(activeChar, _command.substring(12));
Index: java/net/sf/l2j/gameserver/handler/ItemHandler.java
===================================================================
--- java/net/sf/l2j/gameserver/handler/ItemHandler.java (revision 10)
+++ java/net/sf/l2j/gameserver/handler/ItemHandler.java (working copy)
@@ -22,6 +22,7 @@
 import net.sf.l2j.gameserver.handler.itemhandlers.BeastSpiritShot;
 import net.sf.l2j.gameserver.handler.itemhandlers.BlessedSpiritShot;
 import net.sf.l2j.gameserver.handler.itemhandlers.Book;
+import net.sf.l2j.gameserver.handler.itemhandlers.BuffsCustom;
 import net.sf.l2j.gameserver.handler.itemhandlers.Calculator;
 import net.sf.l2j.gameserver.handler.itemhandlers.Elixir;
 import net.sf.l2j.gameserver.handler.itemhandlers.EnchantScrolls;
@@ -60,6 +61,7 @@
  registerItemHandler(new BeastSpice());
  registerItemHandler(new BeastSpiritShot());
  registerItemHandler(new BlessedSpiritShot());
+ registerItemHandler(new BuffsCustom());
  registerItemHandler(new Book());
  registerItemHandler(new Calculator());
  registerItemHandler(new Elixir());
Index: java/net/sf/l2j/gameserver/handler/itemhandlers/BuffsCustom.java
===================================================================
--- java/net/sf/l2j/gameserver/handler/itemhandlers/BuffsCustom.java (revision 0)
+++ java/net/sf/l2j/gameserver/handler/itemhandlers/BuffsCustom.java (working copy)
@@ -0,0 +1,31 @@
+package net.sf.l2j.gameserver.handler.itemhandlers;
+
+import net.sf.l2j.gameserver.handler.IItemHandler;
+import net.sf.l2j.gameserver.model.actor.L2Playable;
+import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
+import net.sf.l2j.gameserver.model.item.instance.ItemInstance;
+import net.sf.l2j.gameserver.model.zone.ZoneId;
+import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
+
+public class BuffsCustom implements IItemHandler
+{
+    @Override
+    public void useItem(L2Playable playable, ItemInstance item, boolean forceUse)
+    {    
+        if (!(playable instanceof L2PcInstance))
+            return;
+        
+        final L2PcInstance player = (L2PcInstance) playable;
+        
+        sendHtml(player);
+    }
+    public static boolean check(L2PcInstance p)
+    {        
+        return p.isInsideZone(ZoneId.PEACE) && !p.isInCombat() && !p.isInOlympiadMode() && !p.isDead();
+    }
+    public static void sendHtml(L2PcInstance player){
+        NpcHtmlMessage html = new NpcHtmlMessage(0);
+        html.setFile("data/html/mods/buffs/buff.htm");
+        player.sendPacket(html);
+    }
+}


Index: data/html/mods/buffs/buff.htm
===================================================================
--- data/html/mods/buffs/buff.htm (revision 0)
+++ data/html/mods/buffs/buff.htm (working copy)
@@ -0,0 +1,79 @@
+<html>
+ <body>
+ <center>
+ <img src=L2UI.SquareGray width=300 height=1><br>
+ <img src=L2UI_CH3.herotower_deco width=256 height=32>
+ <font color=LEVEL>Buff Menu</font>
+ <table width=170>
+ <tr>
+ <td valign=top><img src=icon.skill1204 width=32 height=32 align=left></td>
+ <td><button value="Wind Walk" action="bypass -h buffCommand 1204" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ <td valign=top><img src=icon.skill1068 width=32 height=32 align=left></td>
+ <td><button value="Might" action="bypass -h buffCommand 1068" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ </tr><tr><td></td></tr>
+ <tr>
+ <td valign=top><img src=icon.skill1040 width=32 height=32 align=left></td>
+ <td><button value="Shield" action="bypass -h buffCommand 1040" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ <td valign=top><img src=icon.skill1035 width=32 height=32 align=left></td>
+ <td><button value="Mental Shield" action="bypass -h buffCommand 1035" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ </tr><tr><td></td></tr>
+ <tr>
+ <td valign=top><img src=icon.skill1045 width=32 height=32 align=left></td>
+ <td><button value="Blessed Body" action="bypass -h buffCommand 1045" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ <td valign=top><img src=icon.skill1048 width=32 height=32 align=left></td>
+ <td><button value="Blessed Soul" action="bypass -h buffCommand 1048" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ </tr><tr><td></td></tr>
+ <tr>
+ <td valign=top><img src=icon.skill1036 width=32 height=32 align=left></td>
+ <td><button value="Magic Barrier" action="bypass -h buffCommand 1036" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ <td valign=top><img src=icon.skill1078 width=32 height=32 align=left></td>
+ <td><button value="Concentration" action="bypass -h buffCommand 1078" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ </tr><tr><td></td></tr>
+ <tr>
+ <td valign=top><img src=icon.skill1062 width=32 height=32 align=left></td>
+ <td><button value="Berserker Spirit" action="bypass -h buffCommand 1062" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ <td valign=top><img src=icon.skill1268 width=32 height=32 align=left></td>
+ <td><button value="Vampiric Rage" action="bypass -h buffCommand 1268" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ </tr><tr><td></td></tr>
+ <tr>
+ <td valign=top><img src=icon.skill1085 width=32 height=32 align=left></td>
+ <td><button value="Acumen" action="bypass -h buffCommand 1085" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ <td valign=top><img src=icon.skill1059 width=32 height=32 align=left></td>
+ <td><button value="Empower" action="bypass -h buffCommand 1059" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ </tr><tr><td></td></tr>
+ <tr>
+ <td valign=top><img src=icon.skill1077 width=32 height=32 align=left></td>
+ <td><button value="Focus" action="bypass -h buffCommand 1077" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ <td valign=top><img src=icon.skill1242 width=32 height=32 align=left></td>
+ <td><button value="Death Whisper" action="bypass -h buffCommand 1242" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ </tr><tr><td></td></tr>
+ <tr>
+ <td valign=top><img src=icon.skill1086 width=32 height=32 align=left></td>
+ <td><button value="Haste" action="bypass -h buffCommand 1086" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ <td valign=top><img src=icon.skill1240 width=32 height=32 align=left></td>
+ <td><button value="Guidance" action="bypass -h buffCommand 1240" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ </tr><tr><td></td></tr>
+ <tr>
+ <td valign=top><img src=icon.skill1388 width=32 height=32 align=left></td>
+ <td><button value="Greater Might" action="bypass -h buffCommand 1388" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
+ <td valign=top><img src=icon.skill1389 width=32 height=32 align=left></td>
+ <td><button value="Greater Shield" action="bypass -h buffCommand 1389" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td><br>
+ </tr><tr><td></td></tr>
+ <tr>
+ <td valign=top><img src=icon.skill1087 width=32 height=32 align=left></td>
+ <td><button value="Agility" action="bypass -h buffCommand 1087" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ <td valign=top><img src=icon.skill1303 width=32 height=32 align=left></td>
+ <td><button value="Wild Magic" action="bypass -h buffCommand 1303" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ </tr><tr><td></td></tr>
+ <tr>
+ <td valign=top><img src=icon.skill1259 width=32 height=32 align=left></td>
+ <td><button value="Resist Shock" action="bypass -h buffCommand 1259" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ <td valign=top><img src=icon.skill1397 width=32 height=32 align=left></td>
+ <td><button value="Clarity" action="bypass -h buffCommand 1397" width=75 height=21 back="L2UI_ch3.Btn1_normalOn" fore="L2UI_ch3.Btn1_normal"></td>
+ </tr>
+ </table>
+ <br><br>
+ <img src="L2UI_CH3.onscrmsg_pattern01_2" width=300 height=32 align=left align=left>
+ </center>
+ </body>
+</html>
Index: data/xml/items/5500-5599.xml
===================================================================
--- data/xml/items/5500-5599.xml (revision 10)
+++ data/xml/items/5500-5599.xml (working copy)
@@ -633,7 +633,7 @@
  <set name="weight" val="10" />
  <set name="price" val="1" />
  <set name="is_dropable" val="false" />
- <set name="handler" val="Book" />
+ <set name="handler" val="BuffsCustom" />
  </item>
  <item id="5589" type="EtcItem" name="Energy Stone">
  <set name="default_action" val="skill_reduce" />
  • 0
Posted
21 minutes ago, FactorX said:

Thanks..but i want a buff sets...Mages/Fighters. Then 1 by 1. Like a normal buffer. but in voice command.

Get the Buffer you like (with NPC) move npc custom bypasses to another handler and remove npc_%objcectId%* stuff

then make a voice command that open the main html

  • 0
Posted

I have this

<html><body><title>Buffer Global</title>
<center>
<center><img src="l2font-e.replay_logo-e" width=250 height=80></center>
<br><br>
<img src="L2UI.SquareGray" width=295 height=1>
<br>
<table width=280>
    <tr>
	    <td align=center><img src=icon.skill1036 width=32 height=32></td>
	    <td align=center><img src=icon.skill0364 width=32 height=32></td>
	    <td align=center><img src=icon.skill0311 width=32 height=32></td>
	    <td align=center><img src=icon.skill1391 width=32 height=32></td>
    </tr>
    <tr><td></td></tr>
    <tr>
		<td><button value="Buff" action="bypass -h npc_%objectId%_Chat 2" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Song" action="bypass -h npc_%objectId%_Chat 3" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Dance" action="bypass -h npc_%objectId%_Chat 4" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Chant" action="bypass -h npc_%objectId%_Chat 5" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
    </tr>
</table>
<br>
<table width=280>
    <tr>
		<td align=center><img src=icon.skill1331 width=32 height=32></td>
	    <td align=center><img src=icon.skill1259 width=32 height=32></td>
	    <td align=center><img src=icon.skill0440 width=32 height=32></td>
	    <td align=center><img src=icon.skill1056 width=32 height=32></td>
    </tr>
    <tr><td></td></tr>
    <tr>
		<td><button value="Special" action="bypass -h npc_%objectId%_chat 7" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Protection" action="bypass -h npc_%objectId%_chat 8" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Recovery" action="bypass -h npc_%objectId%_heal" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Cancel" action="bypass -h npc_%objectId%_cleanup" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
    </tr>
</table>
<br>
<table width=150>
    <tr>
	    <td align=center><img src=icon.skill0426 width=32 height=32></td>
	    <td align=center><img src=icon.skill0427 width=32 height=32></td>
    </tr>
    <tr><td></td></tr>
    <tr>
		<td><button value="Fight" action="bypass -h fbuffCommand" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Mage" action="bypass -h npc_%objectId%_mbuff" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
    </tr>
</table>
<br>
<img src="L2UI.SquareGray" width=295 height=1>
</center>
</body>
</html>

How i can put in buffcommand?

  • 0
Posted
7 minutes ago, FactorX said:

I have this


<html><body><title>Buffer Global</title>
<center>
<center><img src="l2font-e.replay_logo-e" width=250 height=80></center>
<br><br>
<img src="L2UI.SquareGray" width=295 height=1>
<br>
<table width=280>
    <tr>
	    <td align=center><img src=icon.skill1036 width=32 height=32></td>
	    <td align=center><img src=icon.skill0364 width=32 height=32></td>
	    <td align=center><img src=icon.skill0311 width=32 height=32></td>
	    <td align=center><img src=icon.skill1391 width=32 height=32></td>
    </tr>
    <tr><td></td></tr>
    <tr>
		<td><button value="Buff" action="bypass -h npc_%objectId%_Chat 2" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Song" action="bypass -h npc_%objectId%_Chat 3" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Dance" action="bypass -h npc_%objectId%_Chat 4" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Chant" action="bypass -h npc_%objectId%_Chat 5" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
    </tr>
</table>
<br>
<table width=280>
    <tr>
		<td align=center><img src=icon.skill1331 width=32 height=32></td>
	    <td align=center><img src=icon.skill1259 width=32 height=32></td>
	    <td align=center><img src=icon.skill0440 width=32 height=32></td>
	    <td align=center><img src=icon.skill1056 width=32 height=32></td>
    </tr>
    <tr><td></td></tr>
    <tr>
		<td><button value="Special" action="bypass -h npc_%objectId%_chat 7" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Protection" action="bypass -h npc_%objectId%_chat 8" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Recovery" action="bypass -h npc_%objectId%_heal" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Cancel" action="bypass -h npc_%objectId%_cleanup" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
    </tr>
</table>
<br>
<table width=150>
    <tr>
	    <td align=center><img src=icon.skill0426 width=32 height=32></td>
	    <td align=center><img src=icon.skill0427 width=32 height=32></td>
    </tr>
    <tr><td></td></tr>
    <tr>
		<td><button value="Fight" action="bypass -h fbuffCommand" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
		<td><button value="Mage" action="bypass -h npc_%objectId%_mbuff" width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>
    </tr>
</table>
<br>
<img src="L2UI.SquareGray" width=295 height=1>
</center>
</body>
</html>

How i can put in buffcommand?

HTML alone is useless

  • 0
Posted (edited)
<td><button value="Fight" action="bypass width=65 height=19 back="L2UI_CH3.br_bar2_cp1" fore="L2UI_CH3.br_bar2_hp"></td>

 

somethink like that?

Edited by FactorX
  • 0
Posted (edited)
action="bypass -h buffCommand idSkill"

you can make a custom window for use your extra buff kile special,ressist,other and set fighter,mage

Edited by tazerman2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Thank you very much. It would also be good if you looked into this issue. UnknownSoldier has been manipulating me to make me look bad. He deleted all the evidence I uploaded and left all the insults against me. You'll also see that on April 26th, he reopened the thread and then locked it again just so his friend from Argentina could post: links down :l XD   In the thread: https://maxcheaters.com/topic/253997-sourceservercliente-l2devs-files-l2devscom/page/2/ They do this so they can later tell people that I deleted the links because it was a lie, and so on. Realize that all the damage you're causing is related to this same person. Regards and thank you very much! 🙂 PS: I would like UnknownSoldier to publish the evidence for why he has repeatedly called me a SCAMMER and explain why he also says that to other people. This person is using forum privileges to smear and discredit those who don't work with him. I WANT ALL THE EVIDENCE OF WHAT HE'S SAYING.  
    • Theres a lot of drama going on about Guytis scamming people. I want real, solid proof showing that he scammed anyone attach everything you have.   About reputation: we’re all adults here, yet some are acting like kids fighting over pixels. Think before spreading rumors. False claims don’t make you look better they make you look worse.   I’m waiting for actual evidence that he scammed any user. If there’s nothing to back it up, I’ll deal with it myself. Time’s running out this has been going on long enough.
    • I’ve read the whole topic about Baylee and Protojah. From what I can see, Baylee wanted to buy some htmls and they agreed on a price. Later, Baylee changed her mind and decided not to go through with it. The product wasn’t delivered because Baylee changed her mind. Even if she initially agreed to the price, to avoid confusion. if the files had been sent and payment not made, I would call it a scam. But since they weren’t sent, this isn’t a scam.   I want to stress that I try to be fair to everyone, no matter the situation.   Yeah, Protojah did put in time and effort, and that’s fine, but disagreements happen all the time, even in real life jobs, no matter what the work is. I’m going to lock this topic to avoid more drama. Please keep all personal issues in private messages. And before anyone says anything else I’m not taking sides. I don’t protect scammers and I ban them, but since this isn’t a scam, you both should resolve this situation in DMs.
  • 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..