Jump to content

Recommended Posts

Posted

1. In

L2jserver T0:

net.sf.l2j.gameserver.clientpackets.RequestBypassToServer

L2jserver GF \ GE:

com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer

Add imports:

T0:

import java.util.StringTokenizer;
import net.sf.l2j.gameserver.cache.HtmCache;

import net.sf.l2j.gameserver.model.L2Skill;
import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUser;
import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
import net.sf.l2j.gameserver.datatables.SkillTable; 

GF\ GE:

import java.util.StringTokenizer;
import com.l2jserver.gameserver.cache.HtmCache;

import com.l2jserver.gameserver.model.L2Skill;
import com.l2jserver.gameserver.network.serverpackets.MagicSkillUser;
import com.l2jserver.gameserver.network.serverpackets.NpcHtmlMessage;
import com.l2jserver.gameserver.datatables.SkillTable; 

2.

In

L2jserver T0:

net.sf.l2j.gameserver.clientpackets.RequestBypassToServer

L2jserver GF \ GE:

com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer

Find:

			else if (_command.startsWith("player_help "))
		{
			playerHelp(activeChar, _command.substring(12));
		} 

Add after

			else if (_command.startsWith("menu_buff"))
		{
			menu_buff(activeChar, _command);
		} 

3. In

L2jserver T0:

net.sf.l2j.gameserver.clientpackets.RequestBypassToServer

L2jserver GF \ GE:

com.l2jserver.gameserver.network.clientpackets.RequestBypassToServer

Add (almost at the bottom):

	private boolean menu_buff(L2PcInstance activeChar, String command)
{
	if (activeChar.isMovementDisabled() || activeChar.isAlikeDead())
		return false;

	if (activeChar.isCursedWeaponEquiped())
	{
		activeChar.sendMessage("Вы не можете взять баф, пока вы носитель проклятого оружия.");
		return false;
	}
	if (activeChar.isInDuel())
	{
		activeChar.sendMessage("Бафаться в дуели запрещено!");
		return false;
	}
	if (activeChar.isInParty() && activeChar.getParty().isInDimensionalRift())
	{
		activeChar.sendMessage("Вы не можете взять баф, пока находитесь в дименшен рифте.");
		return false;
	}
	if (activeChar.isInFunEvent())
	{
		activeChar.sendMessage("На евентах брать баф запрещено.");
		return false;
	}
	if (activeChar.isInOlympiadMode() || activeChar.getOlympiadGameId() != -1)
	{
		activeChar.sendMessage("На олимпе брать баф запрещено!");
		return false;
	}
	if (activeChar.inObserverMode())
	{
		activeChar.sendMessage("Вы не можете бафнуться в этот момент.");
		return false;
	}
        		String htmFile = "data/html/Buff.htm";
        		String htmContent = HtmCache.getInstance().getHtm(htmFile);

            		NpcHtmlMessage Html = new NpcHtmlMessage(1);

            		Html.setHtml(htmContent);
            		activeChar.sendPacket(Html);

		StringTokenizer st = new StringTokenizer(command, " ");
		st.nextToken();
		int skillid=Integer.parseInt(st.nextToken());
		int lvl=Integer.parseInt(st.nextToken());

        		L2Skill skill;
        		skill = SkillTable.getInstance().getInfo(skillid,lvl);
        		skill.getEffects(activeChar, activeChar);
        		activeChar.broadcastPacket(new MagicSkillUser(activeChar, activeChar, skillid, lvl, 1, 0));

		return true;
} 

4. Create Voiced handler:

package net.sf.l2j.gameserver.handler.voicedcommandhandlers;

import net.sf.l2j.gameserver.cache.HtmCache;
import net.sf.l2j.gameserver.handler.IVoicedCommandHandler;
import net.sf.l2j.gameserver.model.actor.instance.L2PcInstance;
import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
//for GF\GE  com.l2jserver

public class Buff implements IVoicedCommandHandler
{
    private static String[]    VOICED_COMMANDS    =    { "buff" };

    public boolean useVoicedCommand(String command, L2PcInstance activeChar, String target)
    {
        String htmFile = "data/html/Buff.htm";
        String htmContent = HtmCache.getInstance().getHtm(htmFile);

        if (htmContent != null)
        {
            NpcHtmlMessage Html = new NpcHtmlMessage(1);

            Html.setHtml(htmContent);
            activeChar.sendPacket(Html);
        }
        else
        {
            activeChar.sendMessage("Missing " + htmFile + " !");
        }

        return true;
    }

    public String[] getVoicedCommandList()
    {
        return VOICED_COMMANDS;
    }
} 

5. Create HTML file in: data/html/Buff.html.

Example: bypass -h menu_buff [skillID] [skillLvL]

Thats all :).

 

Credits: unknown.

Posted

very nice and usefull share,thnx for it.

 

This Very Cool  :D

Thanks for the share it's very usefull =)

pretty usefull but i think i had seen it again anyway thnx

Super.

 

Losers. This is the most hackable buffer in the world.

  • 1 month later...
Posted

Losers. This is the most hackable buffer in the world.

is a voiced command how it is supposed to be them most hacked explain us please

Posted

is a voiced command how it is supposed to be them most hacked explain us please

 

take the bypass with phx and spam it... thats enought to get your server hacked

Posted

take the bypass with phx and spam it... thats enought to get your server hacked

omfg i have done it in lots of servers and lagged only me! Come on

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Good day. Our game currency store is looking for suppliers of adena and items on a project such as L2REBORN x10. We also sell Epic jewelry and various items on this project L2REBORN x10. There are items and adena on L2REBORN x1. For all questions, write to us in discord - goddardshop
    • AdvExt64 are the only one real L2OFF Developpers still alive. Athena Project is L2J. L2Reborn is Java for their Interlude Seasonal & Essence servers, the rest are fully L2OFF. If you want a pro L2OFF implementation of Protocol 110, your only option is AdvExt64 and be ready to get out your cash, you have to order them a special creation, it will not be cheap at all. If you want a more okish implementation, you can use the one shared here on MXC.
    • We've worked hard for 14 years to gather all the information for your preferred type of game server - we've put together your ideas, your suggestions, information and researches from different knowledge bases and we've made a lot of tests to make the project as good as you love it. Our goal is to create a masterpiece that everyone can enjoy. We are one of the best server and we will be forever. There are many things we did damn right in the past and we will do more in future! Because of that - you're going to see many things you have not seen before on any other servers! Our team knows what you want and what we should do! You value quality and technical excellence? You need safety and exceptional security? You seek true adventures, unique game world, exquisite and eventful game? It means you are in right place! Welcome to L2Blaze, only here you will find and enjoy real game! X150 WARFIRE INTERLUDE SPRING SEASON: 2025 APRIL 26th! Opening time: 14:00 UTC+3 Poland opening time: 13:00 UTC+2 Norway opening time: 14:00 UTC+3 UK opening time: 12:00 UTC+1 Brazil opening time: 8:00 UTC-3 OPENING BONUS Opening bonus for first 100 players who will reach 3rd class will receive VIP Coin as bonus! Automatic registration on game login window, unnecessary to register in website! Do you want stability? Lagless and bugless game? Instant support? Daily PVP? Long-Term playing? You are in the right place, time to start! How to connect STEP BY STEP: 1. Install clear Lineage2 Interlude client 2. Download our patch, delete old system folder and add our 3. Delete, turn off anti virus or add our system folder to anti virus exceptions 4. Run l2.exe from Lineage2/system 5. Enter data on login window and enjoy the game! * You have to remove, turn off or use exceptions of antivirus because of our security protection. It is not a virus. * If you have connection issues with Windows 8 or 10, press right mouse button on l2.exe icon, press Properties, choose compatibility and unmark compatibility mode. Hearts of War EVENT! Collect War Hearts from Hot Springs monsters: Yeti, Buffalo, Antelope, Bandersnatch, Atroxspawn, Flava, Nepenthes, Grendel (3%), Atrox with (6%) and Heart Breaker Boss in Hot Springs Stage 2! You can trade it, sell it or spend in shop! Raid Boss Heart Breaker spawn every 4 hours (+4 hours random) Custom Raid Boss drop list: - Raid Boss Horus, Ember and Brakki, Nakondas: 1 VIP COIN (25%) | Korim (70%). - Raid Boss Apepi, Shacram, Atraiban, Korim: 1 BEWS (10%). - Raid Boss Glaki, Olkuth: 1-2 BEAS (40%). - Raid Boss Golkonda, Galaxia: 1-3 BEAS (60%). - Raid Boss Shyeed: 1-3 BEWS (30%) | 1-7 BEAS (40%) | 1-5 TOP LS 76 (50%). - Raid Boss Shuriel: 1-7 TOP LS 76 (50%) | 1-4 BEAS (60%). - Raid Boss Ashakiel: 1-2 BEWS (30%) | 1-7 TOP LS 76 (50%) | 1-4 BEAS (75%). - Raid Boss Antharas Priest Cloe: 1-3 BEWS (30%) | 1-7 TOP LS 76 (70%). ------------------------------------------------ - Hestia: Demon Splinters / Forgotten Blande (30%). - Ember: Arcana Mace / Draconic Bow (30%). - Galaxia: Angel Slayer / Heaven's Divider (30%) Take your friends, clan, alliance, enemys, sharp your sword, clean your armors and meet your destiny at 2025 APRIL 26th! WEBSITE: http://WWW.L2BLAZE.NET
  • Topics

×
×
  • Create New...