Skip to content

RETURN HTML

Featured Replies

Yoooo, who miss me? :D I have a small problem which i don't meet untill now. 

------

I make gm shop in Community Board. And i think return type it is wrong...or something like that.

Here it is ORIGINAL gm shop:

Original  http://6a5fQ8U.png

++++++++++++++++++++++

And this is now. Editing by me. (without criticism)

Fake   http://SwkLk21.png

 

And when i open for exemple A Grade Weapons, home html's looks like "Original" and not like "Fake".

Thanks

 

8 hours ago, criss22 said:

 

A Grade button what location gives you the bypass ?

Just make xml multisell and add location to A Grade button.

Edited by • Dragic •

  • Author
<td align=center><button value="A-Grade" action="bypass %command%_sendMultisell 90013" width=125 height=30 back="L2UI_ct1.button_df" fore="L2UI_ct1.button_df"></td>

Button open direct multisell

Sound like core side, after the bypass on core side should have with sendMultisell also send an community page with HTML path.
You have to see core side about that.

        else if (command.startsWith("_bbsmultisell"))
        {
            final String fullBypass = command.replace("_bbsmultisell;", "");
            final String[] buypassOptions = fullBypass.split(",");
            final int multisellId = Integer.parseInt(buypassOptions[0]);
            final String page = buypassOptions[1];
            returnHtml = HtmCache.getInstance().getHtm(player, "data/html/CommunityBoard/Custom/" + page + ".html");
            MultisellData.getInstance().separateAndSend(multisellId, player, null, false);
        }

  • Author

Problem solved. Close topic please. The problem was in getHtmlPrefix: data/html/CommunityBoard/services/gmshop.htm Replaced gmshop with main.htm

  • SweeTs locked this topic
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.