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

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

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
Answer this question...

×   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

    • Price and Assortment Update: List of newly added products ➡ WhatsApp Real Account | USA (+1 phone) | High Quality Accounts | Account with age from a few days | QR-Code or Phone-Code | Price from: 3.5$ ➡ Facebook Old Italy account | Created in 2022 | FanPage created in 2022 | Advertising account created in 2022 | Farm 30 days | Friends 100+ | Mail included+active 2FA | Price from: 29$ ➡ OLD Instagram Accounts | Age: 2023-2024 | QUALITY Premium Autoregs (API FRESH) | Registered via SMS | Format: login | password | cookies (for InstAccountsManager) | IAM format | Price from: 0.45$ ➡ ChatGPT Plus Team subscription to your Own Email For 1 Month | Price from: 5$ ➡ Google Voice Accounts (GMAIL US NEW) | Age/Year: Random 2024 | Phone Verified: Yes | Price from: 13$ Prices have been reduced for the following products ➡ Discord Nitro Classic (Basic) GIFT | 1/12 MONTHS | NO NEED YOUR LOGIN AND PASSWORD FROM ACCOUNT | Warranty on full time of subscription | Price from: 3.15$ ➡ Discord Nitro FULL | 1/12 MONTHS | NO NEED YOUR LOGIN AND PASSWORD FROM ACCOUNT | Warranty on full time of subscription | Price from: 6.8$ ➡ Spotify Premium Individual Personal Plan for 1 month ON YOUR ACCOUNT | Available in all countries | Price from: 2.49$ ➡ Spotify Premium Family Account for 1 month ON YOUR ACCOUNT | Working in any countries | Price from: 3.75$ ➡ Youtube Premium Music Personal Account ON YOUR ACCOUNT | 1 month | YouTube without ads | Price from: 3.75$ ➡ Youtube Premium Music Family Account ON YOUR ACCOUNT | 1 month | YouTube without ads | Price from: 4.35$ ➡ Telegram Premium subscription for 1 month to your account | Authorization in your account is required (via TDATA or phone number) | Price from: 6$ ➡ Telegram Premium subscription for 3 months on your account | No authorization required in your account | Guarantee for the entire subscription period | Price from: 17$ ➡ Telegram Premium subscription for 6 months on your account | No authorization required in your account | Guarantee for the entire subscription period | Price from: 22$ ➡ Telegram Premium subscription for 12 months on your account | No authorization required in your account | Guarantee for the entire subscription period | Price from: 37$ ➡ Netflix Premium 1 month on your personal account for any country, renewable after expiration | Price from: 10$ ➡ Old Twitter Accounts 2010-2020 with real followers 1,000–20,000+ (followers on your choice) | Email included, Password and Token access | Refill: 30 days | Price from: 10$ And many other digital products! Full range of our online store: ➡ Accounts: Telegram, Facebook, Reddit, Twitter (X), Instagram, YouTube, TikTok, Discord, VK, LinkedIn, GitHub, Snapchat, Gmail, emails (Outlook, Firstmail, Rambler, Onet, Gazeta, GMX, Yahoo, Proton, Web.de), Google Voice, Google Ads ➡ Premium Subscriptions: Telegram Premium, Twitter Premium X, YouTube Premium, Spotify Premium, Netflix Premium, Discord Nitro, ChatGPT Plus/PRO, XBOX Game Pass ➡ Additional services: Telegram Stars, proxies (IPv4, IPv6, ISP, Mobile), VPN (Outline, WireGuard, others), VDS/RDP servers Promo code: AUGUST2025 (10% Discount) Payment: bank cards · cryptocurrency · other popular methods How to buy: ➡ Online Store: Click ➡ Telegram Bot: Click Other services: ➡ SMM Panel: Click Regular customers — additional discounts and promo codes! Support: ➡ Telegram: https://t.me/solomon_bog ➡ Discord: https://discord.gg/y9AStFFsrh ➡ WhatsApp: https://wa.me/79051904467 ➡ ✉ Email: solomonbog@socnet.store ➡ Telegram Channel: https://t.me/accsforyou_shop You can also contact us for: — Wholesale consultation — Partnership agreements (current partners: https://socnet.bgng.io/partners ) — Become our supplier SocNet — digital goods and premium subscriptions store
    • write me https://t.me/lin2web
    • I can create a website and a control panel with automatic donation delivery, pm if interested.
    • Hello, you can contact me. Discord: l2retro
    • Hello, I'm looking for the patch for this project. Can anyone with a good heart pass it on to me?
  • 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