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

    • Hello,iv got fafurion running localy just for fun and seems that files dont have geodata couse i can hit through walls so are mobs.Anyone can tell me how to activate geodata or where to insert geodata files?
    • L2Extend_Server_by_Guytis_Rev_201.rar Trojan:Script/Sabsik.FLA!ml   LOL
    • Good luck with your g/o 😃
    • You're talking complete nonsense. The source code of SphereAPI, which handles all requests, is closed and has never been published anywhere.     That return $this doesn't affect anything, PHP just ignores it. Why are you showing it?     Yes, of course I want that, and I’m asking you — go ahead and hack it, I’d even be thankful. The most you can probably do is launch a DDoS attack, but that’s not hacking. The IP you see is just a public one, used by default to handle requests. There are many other IPs involved, which aren’t disclosed for privacy reasons. So, when should I expect your hacker attack? If you fail, it means you talked big for nothing. I hope you're not all talk and can actually back up your words. UPD: To make your task easier, I have disabled limits on incorrect and failed requests, so your site/IP won't get blocked.
    • Lineage2Dex Interlude+ x50 Server launches TODAY!       The wait is over – the Lineage2Dex Interlude+ x50 Server launches TODAY! Grand Opening - April 26 at 19:00 (UTC+3) Over 10,000 registered accounts are ready to dive in! Beta with massive activity over, thx all who participate on it! It's time to begin your real Jorney! 👉 Read full roadmap 👉 Full server description 👉 Download and registration The server will be split into 3 stages, each featuring multiple content episodes. Stage 1: April 26 – May 18 Welcome to the Classic Interlude Phase. This stage is built with minimal custom content, focused on delivering that pure Interlude experience. It’s perfect for both new players unfamiliar with our project and veterans who enjoy a traditional start. Expect a smooth and nostalgic journey with familiar mechanics. Stage 2: May 19 – June 22 Time to expand the world! As most Interlude content gets completed, we gradually introduce new elements. Hellbound will open first, followed by weekly content updates. Midway through this stage, the Isle of Prayer will become available — a new zone featuring Dynasty Gear and fresh challenges. Stage 3: From June 23 Welcome to full content access! Some location become to High-level location, offering great reward! Once this phase concludes, a full merge with Union server will take place — and yes, all your characters and items will carry over safely. We wish everyone a smooth start, fair play, and tons of fun on the new x50 server! See you in-game!
  • Topics

×
×
  • Create New...