Hello , i request 1 fix to my code. I'm looking for is to click on an NPC and that the board is open comunnity
/* * 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 3 of the License, 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, see <http://www.gnu.org/licenses/>. */ package l2jserver.gameserver.model.actor.instance;
public class L2CbManagerInstance extends L2NpcInstance { public L2CbManagerInstance(int objectId, L2NpcTemplate template) { super(objectId, template); }
@Override public void showChatWindow(L2PcInstance player) { String html = "data/html/CommunityBoard/services/buffer/main.htm";
l2jserver.gameserver.util.Util.sendCBHtml(player, html,0); // use this instead
} }
the code compiles but when I talk to the NPC , I successfully opens the comunity but shows me the patch "main.htm" any solution to try fix?
l2jserver.gameserver.util.Util.sendCBHtml(player, html,0); // use this instead
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.
While I respect every other admin who launches a server, including L2Gold, I can proudly say that we’ve built a community where each season brings significant changes and numerous updates. We had anywhere from a few hundred players to nearly one thousand unique players (season 2).
The server has already been rebuilt three times on different client protocols, each time introducing something fresh to the table. L2Gold Essence against most other servers; you’ll notice the difference immediately: no lag, no odd movement bugs, the best geodata (which we’ve continually improved), high FPS during mass PvP, and overall smooth gameplay. Just a single in-game click makes the contrast clear compared to servers that still feel stuck in 2007 in terms of innovation. There were times when things went very wrong due to major code reworks, refactors, and the lack of proper testing, but everything was eventually resolved.
Not only that, but we’ve also attracted CPs and clans that had never played L2Gold before. That’s one of the main reasons why we reached a higher player count than any gold-style server when compared to the original one back in the days.
100~ videos playlist:
Gmail account pricing has been updated - just 12 cents each, with discounts available for bulk purchases.
Our new Telegram channel for news, discounts, and updates - https://t.me/exfanet
New Numbers Available for Rent!
We’ve added USA Unlimited 30-day and Unlimited 7-day numbers.
📩 With these numbers, you can receive an unlimited number of messages from various services convenient and reliable!
Website link — https://vibe-sms.net/
Our Telegram channel — https://t.me/vibe_sms
sell adena
l2rebon signature x1 - 1kk = 1 dollars
l2reborn x10 - 500kk = 4 dollars
E-Global x Lu4 - 1kk = 2 dollars
BOHPTS - x20-x500 TOP PRICE
DISCORD - GODDARDSHOP
TELEGRAM - MMOPROMO
Also on sale are Epic jewelry, Clothes at a very good price
Question
kadabra
Hello , i request 1 fix to my code.
I'm looking for is to click on an NPC and that the board is open comunnity
the code compiles but when I talk to the NPC , I successfully opens the comunity but shows me the patch "main.htm"
any solution to try fix?
0 answers to this question
Recommended Posts
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.