If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision all:
L2JDP Revision all:
Hello. help pls.
I want to do support gmshop a community board.
I already did this on l2j Gracia Epilogue. But for Freya need to change the code.
the code that worked for Gracia Epilogue
________________________________________________________________
else if (command.startsWith ("_bbsmultisell;"))
{
StringTokenizer st = new StringTokenizer (command, ";");
st.nextToken ();
TopBBSManager.getInstance (). Parsecmd ("_bbstop;" st.nextToken (), activeChar);
L2Multisell.getInstance (). SeparateAndSend (Integer. parseInt (st.nextToken ()), activeChar, 0, false, 0);
}
________________________________________________________________
-Here is the code that worked for Gracia Epilogue. This code is not suitable for Freya, because the the method separateandsend () changed and the class itself L2multisell Move to Folder Datatables (gameserver / datatables / multisell.java)
Here's the method:
public final void separateAndSend (int listId, L2PcInstance player, L2Npc npc, boolean inventoryOnly)
What settings need to specify in separeAndSend() it in the class communityboard.java?
Multisell support for CB
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: Multisell support for CB
just open call hierarchy of the new separateAndSend method and check how it's done in other places...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 19
- Joined: Fri Feb 05, 2010 11:48 pm
Re: Multisell support for CB
do not have this method anywhere else ...
-
- Posts: 19
- Joined: Fri Feb 05, 2010 11:48 pm
Re: Multisell support for CB
problem was solved, sorry