Bobi Posted March 24, 2011 Posted March 24, 2011 hello how can i make my shop to work in CommunityBoard ? for example i add in CommunityBoard files next code <html> <body> <center> <img src="L2UI_CH3.herotower_deco" width=256 height=32><br> Welcome<br> Here you can buy VIP Items!<br> <a action="bypass -h npc_%objectId%_multisell 99994">Items</a><br> <img src="L2UI_CH3.herotower_deco" width=256 height=32><br> </center> </body> </html> <img src=L2UI_CH3.onscrmsg_pattern01_2 width=300 height=32> but when i click on " Items" noting happen .. how to make my normal gm shop to work on CommunityBoard system ?
0 Matim Posted March 25, 2011 Posted March 25, 2011 Its obvious that it won't work. Why? (Because using brain doesn't hurt :)) <a action="bypass -h npc_%objectId%_multisell 99994">Items</a><br> Now think, this BYPASS is related with NPC not community board (means that this bypass is supported by NPC) Check community board java files and take a look how does bypass handling work there (with similar way like npc ones)
0 Bobi Posted March 25, 2011 Author Posted March 25, 2011 Its obvious that it won't work. Why? (Because using brain doesn't hurt :)) Now think, this BYPASS is related with NPC not community board (means that this bypass is supported by NPC) Check community board java files and take a look how does bypass handling work there (with similar way like npc ones) hmm :) yes have logic what bypass need use for community board ? p.s. im really newbie in java :(
0 Matim Posted March 25, 2011 Posted March 25, 2011 I told you, check java files related with CommunityBoard, you will understand everything. Just put some own effort.
0 Bobi Posted March 25, 2011 Author Posted March 25, 2011 I told you, check java files related with CommunityBoard, you will understand everything. Just put some own effort. i try with "bypass -h _bbsmultisell;1(bbshtml id);90003(multisel id)" but i get error " is not implemented yet"
0 SlyWhiteSheep Posted March 25, 2011 Posted March 25, 2011 i try with "bypass -h _bbsmultisell;1(bbshtml id);90003(multisel id)" but i get error " is not implemented yet" Thats cause its "not implemented yet" So inorder for it to work go and check out how a multisell request is handled by the gameserver. You will have to port the code from the gameserver to the community server. Thats my guess, but you will no doubt run into problems.
0 Bobi Posted March 25, 2011 Author Posted March 25, 2011 Thats cause its "not implemented yet" So inorder for it to work go and check out how a multisell request is handled by the gameserver. You will have to port the code from the gameserver to the community server. Thats my guess, but you will no doubt run into problems. lol what you mean ?
0 Intrepid Posted March 26, 2011 Posted March 26, 2011 you need to implement your own custom bypass for it.
0 Bobi Posted March 26, 2011 Author Posted March 26, 2011 you need to implement your own custom bypass for it. dont have any other way just when i click there to open me normal npc just something to redirect me to original npc.....
0 Intrepid Posted March 26, 2011 Posted March 26, 2011 dont have any other way just when i click there to open me normal npc just something to redirect me to original npc..... no sorry.
0 Bobi Posted March 26, 2011 Author Posted March 26, 2011 no sorry. ok tnx for info close topic i really newbie in java ..
0 Matim Posted March 26, 2011 Posted March 26, 2011 ok tnx for info close topic i really newbie in java .. Locked as requested. Without own effort, you will always stay newbie.
Question
Bobi
hello
how can i make my shop to work in CommunityBoard ?
for example i add in CommunityBoard files next code
but when i click on " Items" noting happen ..
how to make my normal gm shop to work on CommunityBoard system ?
11 answers to this question
Recommended Posts