Jump to content
  • 0

Comunnity Board Bypass Whit Npc


Question

Posted (edited)
 
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

7 answers to this question

Recommended Posts

  • 0
Posted (edited)

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
  • 0
Posted (edited)

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
  • 0
Posted

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

 

  • 0
Posted (edited)

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
  • 0
Posted

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?

  • 0
Posted (edited)

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
  • 0
Posted

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

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.



×
×
  • Create New...