Jump to content

Question

Posted (edited)

I need some help on adding buffer on l2jacis.

I compiled l2jacis.

I tried to put 2 got errors.

Its really different than other packs..

I need a guide how to do that..

Edited by FrozenWarrior

12 answers to this question

Recommended Posts

  • 0
Posted (edited)

I need some help on adding buffer on l2jacis.

I compiled l2jacis.

I tried to put 2 got errors.

Its really different than other packs..

I need a guide how to do that..

What buffer are you using,?

And show here the errors..

Edited by Reborn12
  • 0
Posted

There is a buffer. Why you people want to add one more.

because some ppls want another npcs..and its easy to add one more buffer :D

  • 0
Posted

Yeah, as you can see, its easy.

some people need some help..no one is master i was before some months a newbie but i have learn a lot of thinks based on acis...but always needs to take a help from another ppl...help another ppl is no problem but is better for training the old thinks :D

  • 0
Posted

What buffer are you using,?

And show here the errors..

http://www.maxcheaters.com/topic/157044-versuvio-acis-buffer-by-kderd64/

just build fails. i didnt find one i like just tried to add any.

how do i spawn the one allready exists?

whats the id?

  • 0
Posted (edited)

What about checking the xml, npcs folder last xml file? Or simply creating new one with proper type? :dat:

 

50008 Tryskell

Edited by SweeTs
  • 0
Posted

I got the intention to rework aCis buffer - once again - based on Caparso design, but atm I'm busy with more important things to fix/commit.

 

I sent a PM to Caparso about he is free to make its own version until I decide to work on (not before 2-3 weeks), but anyone can eventually adapt those HTMs. Simply ask him HTMs layout if you think you're able to edit it, I would be glad to commit it.

 

Otherwise simply use "Tryskell" npcid 50008. If you don't like it, then  :-[. Gl adapting any buffer.

  • 0
Posted

http://www.maxcheaters.com/topic/157044-versuvio-acis-buffer-by-kderd64/

just build fails. i didnt find one i like just tried to add any.

how do i spawn the one allready exists?

whats the id?

Add me on Skype Vasilis.kostidis i will add for you this buffer

  • 0
Posted (edited)

http://www.maxcheaters.com/topic/157044-versuvio-acis-buffer-by-kderd64/

just build fails. i didnt find one i like just tried to add any.

how do i spawn the one allready exists?

whats the id?

Create one new java file with name L2Buffer2Instance.java 

and paste this 

/*
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 * 02111-1307, USA.
 *
 * http://www.gnu.org/copyleft/gpl.html
 */
package net.sf.l2j.gameserver.model.actor.instance;
 
import java.util.StringTokenizer;
 
import net.sf.l2j.gameserver.ai.CtrlIntention;
import net.sf.l2j.gameserver.datatables.SkillTable;
import net.sf.l2j.gameserver.model.actor.template.NpcTemplate;
import net.sf.l2j.gameserver.network.serverpackets.ActionFailed;
import net.sf.l2j.gameserver.network.serverpackets.MyTargetSelected;
import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage;
import net.sf.l2j.gameserver.network.serverpackets.SocialAction;
import net.sf.l2j.gameserver.network.serverpackets.ValidateLocation;
import net.sf.l2j.gameserver.network.serverpackets.MagicSkillUse;
import net.sf.l2j.util.Rnd;
 
/**
 * @author KDerD64
 */
public final class L2Buffer2Instance extends L2NpcInstance
{
public L2Buffer2Instance(int objectId, NpcTemplate template)
{
super(objectId, template);
}
 
@Override
public void onBypassFeedback(L2PcInstance player, String command)
{
StringTokenizer st = new StringTokenizer(command, " ");
String actualCommand = st.nextToken();
 
int buffid = 0;
int bufflevel = 1;
String nextWindow = null;
if (st.countTokens() == 3)
{
buffid = Integer.valueOf(st.nextToken());
bufflevel = Integer.valueOf(st.nextToken());
nextWindow = st.nextToken();
}
else if (st.countTokens() == 1)
buffid = Integer.valueOf(st.nextToken());
 
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);
showMessageWindow(player);
player.broadcastPacket(mgc);
showChatWindow(player, nextWindow);
}
}
else if (actualCommand.equalsIgnoreCase("restore"))
{
player.setCurrentHpMp(player.getMaxHp(), player.getMaxMp());
player.setCurrentCp(player.getMaxCp());
showMessageWindow(player);
}
else if (actualCommand.equalsIgnoreCase("cancel"))
{
player.stopAllEffects();
showMessageWindow(player);
}
else if (actualCommand.equalsIgnoreCase("figther"))
{
SkillTable.getInstance().getInfo(1243, 6).getEffects(this, player);
SkillTable.getInstance().getInfo(1242, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(1240, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(1077, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(1068, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(1062, 2).getEffects(this, player);
SkillTable.getInstance().getInfo(1048, 6).getEffects(this, player);
SkillTable.getInstance().getInfo(1045, 6).getEffects(this, player);
SkillTable.getInstance().getInfo(1040, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(1036, 2).getEffects(this, player);
SkillTable.getInstance().getInfo(1035, 4).getEffects(this, player);
SkillTable.getInstance().getInfo(1388, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(4402, 2).getEffects(this, player);
SkillTable.getInstance().getInfo(4403, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(4404, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(4406, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(4405, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(1363, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(274, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(275, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(271, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(264, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(268, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(269, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(304, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(307, 1).getEffects(this, player); 
SkillTable.getInstance().getInfo(4391, 2).getEffects(this, player);
}
else if (actualCommand.equalsIgnoreCase("mage"))
{
SkillTable.getInstance().getInfo(4400, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(4401, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(4391, 2).getEffects(this, player);
SkillTable.getInstance().getInfo(4392, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(4394, 6).getEffects(this, player);
SkillTable.getInstance().getInfo(4395, 6).getEffects(this, player);
SkillTable.getInstance().getInfo(4396, 2).getEffects(this, player);
SkillTable.getInstance().getInfo(4397, 2).getEffects(this, player);
SkillTable.getInstance().getInfo(1389, 3).getEffects(this, player);
SkillTable.getInstance().getInfo(273, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(276, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(365, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(268, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(270, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(304, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(305, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(307, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(311, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(349, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(1363, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(364, 1).getEffects(this, player);
SkillTable.getInstance().getInfo(1303, 2).getEffects(this, player);
SkillTable.getInstance().getInfo(1243, 6).getEffects(this, player); 
SkillTable.getInstance().getInfo(1078, 6).getEffects(this, player);
}
else
super.onBypassFeedback(player, command);
}
 
@Override
public void onAction(L2PcInstance player)
{
if (this != player.getTarget())
{
player.setTarget(this);
player.sendPacket(new MyTargetSelected(getObjectId(), player.getLevel() - getLevel()));
player.sendPacket(new ValidateLocation(this));
}
else if (isInsideRadius(player, INTERACTION_DISTANCE, false, false))
{
SocialAction sa = new SocialAction(this, Rnd.get(8));
broadcastPacket(sa);
player.setCurrentFolkNPC(this);
showMessageWindow(player);
player.sendPacket(ActionFailed.STATIC_PACKET);
}
else
{
player.getAI().setIntention(CtrlIntention.INTERACT, this);
player.sendPacket(ActionFailed.STATIC_PACKET);
}
}
 
private void showMessageWindow(L2PcInstance player)
{
String filename = "data/html/buffer/" + getNpcId() + ".htm";
 
filename = getHtmlPath(getNpcId(), 0);
NpcHtmlMessage html = new NpcHtmlMessage(getObjectId());
html.setFile(filename);
html.replace("%objectId%", String.valueOf(getObjectId()));
html.replace("%npcname%", getName());
player.sendPacket(html);
}
 
@Override
public String getHtmlPath(int npcId, int val)
{
String pom = "";
if (val == 0)
pom = "" + npcId;
else
pom = npcId + "-" + val;
 
return "data/html/buffer/" + pom + ".htm";
}
}

then open eclipse go to net.sf.l2j.gameserver.model.actor.instance

and paste this file there...

now paste this npc into xml>>>npcs

<npc id="50009" idTemplate="31324" name="AngelRafael" title="BUFFER">
<set name="level" val="80"/>
<set name="radius" val="8"/>
<set name="height" val="23"/>
<set name="rHand" val="0"/>
<set name="lHand" val="0"/>
<set name="type" val="L2Buffer2"/>
<set name="exp" val="0"/>
<set name="sp" val="0"/>
<set name="hp" val="2444.46819"/>
<set name="mp" val="1345.8"/>
<set name="hpRegen" val="7.5"/>
<set name="mpRegen" val="2.7"/>
<set name="pAtk" val="688.86373"/>
<set name="pDef" val="295.91597"/>
<set name="mAtk" val="470.40463"/>
<set name="mDef" val="216.53847"/>
<set name="crit" val="4"/>
<set name="atkSpd" val="253"/>
<set name="str" val="40"/>
<set name="int" val="21"/>
<set name="dex" val="30"/>
<set name="wit" val="20"/>
<set name="con" val="43"/>
<set name="men" val="20"/>
<set name="corpseTime" val="7"/>
<set name="walkSpd" val="50"/>
<set name="runSpd" val="120"/>
<set name="dropHerbGroup" val="0"/>
<set name="attackRange" val="40"/>
<ai type="default" ssCount="0" ssRate="0" spsCount="0" spsRate="0" aggro="0" canMove="true" seedable="false"/>
<skills>
<skill id="4045" level="1"/>
<skill id="4416" level="18"/>
</skills>
</npc>

The go to your server //spawn 50009 and Have Fun

Edited by Reborn12

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

    • Purchase Telegram Stars at a favorable price with minimal markup. New auctions from Telegram are expected, and our bot will help you prepare in advance. Active links: Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. Other services: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write this in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Purchase Telegram Stars at a favorable price with minimal markup. New auctions from Telegram are expected, and our bot will help you prepare in advance. Active links: Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. Other services: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write this in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Purchase Telegram Stars at a favorable price with minimal markup. New auctions from Telegram are expected, and our bot will help you prepare in advance. Active links: Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. Other services: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to SMM Panel: Go to – promotion of your social media accounts. We want to present to you the current list of promotions and special offers for purchasing products and services of our service: 1. You can use a promo code for your first purchase: SOCNET (15% discount) 2. Get $1 on your store balance or a 10–20% discount — just send your username after registering on our website using the following template: "SEND ME BONUS, MY USERNAME IS..." — you need to write this in our forum thread! 3. Get $1 for the first trial launch of the SMM Panel: just open a ticket with the subject “Get Trial Bonus” on our website (Support). 4. Weekly Telegram Stars giveaways in our Telegram channel and in our bot for purchasing stars! News: ➡ Telegram channel: https://t.me/accsforyou_shop ➡ WhatsApp channel: https://chat.whatsapp.com/K8rBy500nA73z27PxgaJUw?mode=ems_copy_t ➡ Discord server: https://discord.gg/y9AStFFsrh Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • 亲爱的合作伙伴! 目前我们非常需要以下项目: ➡ WhatsApp 老账户 ➡ Twitter 带粉丝和帖子账户(老账户) 请通过以下联系方式与我们联系。我们很高兴与您合作! 我们项目的有效链接: 数字商品商店(网站): 前往 商店 Telegram 机器人: 前往 – 通过 Telegram 信使方便访问商店。 虚拟号码服务: 前往 用于购买 Telegram Stars 的 Telegram 机器人: 前往 – 在 Telegram 中快速且优惠地购买 Stars。 SMM 面板: 前往 – 推广您的社交媒体账户。 联系方式和支持: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
    • Dear partners! At the moment we are in great need of the following positions: ➡ WhatsApp OLD Accounts ➡ Twitter accounts with followers and posts (old accounts) Contact us via the details below. We will be glad to cooperate! Active links to our projects: Digital goods store (Website): Go to Store Telegram bot: Go to – convenient access to the store via the Telegram messenger. Virtual numbers service: Go to Telegram bot for purchasing Telegram Stars: Go to – fast and profitable purchase of Stars in Telegram. SMM Panel: Go to – promotion of your social media accounts. Contacts and support: ➡ Telegram: https://t.me/socnet_support ➡ WhatsApp: https://wa.me/79051904467 ➡ Discord: socnet_support ➡ ✉ Email: solomonbog@socnet.store
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock