Jump to content
  • 0

Comunnity Board Bypass Whit Npc


kadabra

Question

 
I have a comunity board with pvp pk clan rankings, etc..
what I want to do is click on a npc and routed to me pvp comunity board, how can I do it?
 
Thanks !

 

Edited by kadabra
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

Community board html size and normal npc html size is not the same so I doubt you can do it unless you just take the info from the html and then you create a new one with it...

If you mean click a button and show community board... is as easy as create an onAdvent() event that goes to your CB showpage method, whatever is called.

Edited by ^Wyatt
Link to comment
Share on other sites

  • 0

Community board html size and normal npc html size is not the same so I doubt you can do it unless you just take the info from the html and then you create a new one with it...

If you mean click a button and show community board... is as easy as create an onAdvent() event that goes to your CB showpage method, whatever is called.

 
what I say is simple, I have seen in l2conflict server when you click on a npc is Headed straight to the comunity I explain me? If not I'll upload comprising an image or simply enter l2conflict and click any npc and that is the function that I want to accomplish
 
If you mean click a button and show community board
Yes I mean click a Npc and show comunity
Edited by kadabra
Link to comment
Share on other sites

  • 0

will look friend, is also what I prentendo:
The npc is called CB - GMSHOP, by clicking on the npc, this is addressed to GM SHOP

FOTO 1

FOTO 2

 

 
what I say is simple, I have seen in l2conflict server when you click on a npc is Headed straight to the comunity I explain me? If not I'll upload comprising an image or simply enter l2conflict and click any npc and that is the function that I want to accomplish
 
If you mean click a button and show community board
Yes I mean click a Npc and show comunity

 

Link to comment
Share on other sites

  • 0

Send your CB packet when clicking the button like

 

ShowBoard sb = new ShowBoard("<html><body><br><br><center>Oh god plx plux, spam spum spem</center><br><br></body></html>", "101");
activeChar.sendPacket(sb);
not sure :D Edited by ^Wyatt
Link to comment
Share on other sites

  • 0

Send your CB packet when clicking the button like

 

ShowBoard sb = new ShowBoard("<html><body><br><br><center>Oh god plx plux, spam spum spem</center><br><br></body></html>", "101");
activeChar.sendPacket(sb);
not sure :D

 

does nothing by placing these lines .. any other option?

Link to comment
Share on other sites

  • 0

Then go to the Comunitybbs and copy/use the method SeparateAndSend (I think it was called like that), to use it when clicking your button.

Edited by ^Wyatt
Link to comment
Share on other sites

  • 0

Then go to the Comunitybbs and copy/use the method SeparateAndSend (I think it was called like that), to use it when clicking your button.

send me an example of what you say please

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.



×
×
  • 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