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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


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