Page 1 of 1
unknown Board: _bbstop
Posted: Mon Oct 13, 2014 9:42 am
by Strel
Hello!
L2J server rev: 6652
L2J DP rev: 10449
I have a problem:
In CB:
<td><button value="Menu" action="bypass -h _bbstop" width="90" height="40" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
Error:
Community Board: unknown Board: _bbstop
Re: unknown Board: _bbstop
Posted: Mon Oct 13, 2014 11:24 am
by Stalitsa
Strel wrote:Hello!
L2J server rev: 6652
L2J DP rev: 10449
I have a problem:
In CB:
<td><button value="Menu" action="bypass -h _bbstop" width="90" height="40" back="L2UI_CT1.Button_DF_Down" fore="L2UI_CT1.Button_DF"></td>
Error:
Community Board: unknown Board: _bbstop
Post your Error not just the line! (from console!)
and maybe your code on CommunityBoard.java
but as i see your pointing this comand to an unknown Board
your board should look like this:
CommunityBoard.java:
Code: Select all
else if (command.startsWith("_bbstop")){ TopBBSManager.getInstance().parsecmd(command, activeChar);}
and the pointing board should have this comand to execute
TopBBSManager.java:
Code: Select all
if (command.equals("_bbstop")){ it should point to an Htm/Html file "data/html/CommunityBoard/index.htm"); or to a StringBuilder....!!it }
Re: unknown Board: _bbstop
Posted: Mon Oct 13, 2014 8:37 pm
by Strel
My board looks exactly the same.
In General.properties:
Code: Select all
# Type of the Community board:# 0 = community is disabled# 1 = old community# 2 = full community (not fully implemented, experimental)# Default: 1CommunityType = 2
Error in CommunityServer log:
Code: Select all
java.lang.NullPointerExceptionat com.l2jserver.communityserver.communityboard.CommunityBoard.send(CommunityBoard.java:80)at com.l2jserver.communityserver.communityboard.boards.ServerInfoBoard.showMainPage(ServerInfoBoard.java:45)at com.l2jserver.communityserver.communityboard.boards.ServerInfoBoard.parseCmd(ServerInfoBoard.java:38)at com.l2jserver.communityserver.communityboard.CommunityBoardManager.parseCmd(CommunityBoardManager.java:448)at com.l2jserver.communityserver.network.readpackets.RequestShowCommunityBoard.run(RequestShowCommunityBoard.java:41)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)at java.lang.Thread.run(Thread.java:745)
Re: unknown Board: _bbstop
Posted: Mon Oct 13, 2014 9:48 pm
by Stalitsa
Strel wrote:My board looks exactly the same.
In General.properties:
Code: Select all
# Type of the Community board:# 0 = community is disabled# 1 = old community# 2 = full community (not fully implemented, experimental)# Default: 1CommunityType = 2
Error in CommunityServer log:
Code: Select all
java.lang.NullPointerExceptionat com.l2jserver.communityserver.communityboard.CommunityBoard.send(CommunityBoard.java:80)at com.l2jserver.communityserver.communityboard.boards.ServerInfoBoard.showMainPage(ServerInfoBoard.java:45)at com.l2jserver.communityserver.communityboard.boards.ServerInfoBoard.parseCmd(ServerInfoBoard.java:38)at com.l2jserver.communityserver.communityboard.CommunityBoardManager.parseCmd(CommunityBoardManager.java:448)at com.l2jserver.communityserver.network.readpackets.RequestShowCommunityBoard.run(RequestShowCommunityBoard.java:41)at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)at java.lang.Thread.run(Thread.java:745)
sry im not using the communityserver.
i was talking about the build in communityboard.
maybe someone from developers can help you about that NPE!
P.S. as i know (not much) instead of
_bbstop use
_bbshome in communityserver