Skip to content

Freya Html Limit Lift

Featured Replies

Hello, i need a client developer who can lift the html of the community board (size) up to 25 kb instead of 12.4 that is currently in FREYA chronicle. 

  • Author

What do you mean by limit ? How its affected ingame ?

In high five when you put a 18 kb htm it open normally but when u bring it in freya it doesnt up it until u reduce part of code and make it 11 kb then it open it.

It's not java relative cause seperateAndSend.java is same.. so i guess is client limit.

  • Author

Close it it was java relative.. in BBS seperate and send it had max 12700

If you don't get the critical error after recieving ShowBoard packets, then you didn't find the maximal page size. Try to use H5 code and create static pages with 20, 22 and 24k for test.

		if (html.length() < 8192)
		{
			acha.sendPacket(new ShowBoard(html, "101"));
			acha.sendPacket(new ShowBoard("", "102"));
			acha.sendPacket(new ShowBoard("", "103"));
		}
		else if (html.length() < 16384)
		{
			acha.sendPacket(new ShowBoard(html.substring(0, 8192), "101"));
			acha.sendPacket(new ShowBoard(html.substring(8192), "102"));
			acha.sendPacket(new ShowBoard("", "103"));
		}
		else if (html.length() < 24576)
		{
			acha.sendPacket(new ShowBoard(html.substring(0, 8192), "101"));
			acha.sendPacket(new ShowBoard(html.substring(8192, 16384), "102"));
			acha.sendPacket(new ShowBoard(html.substring(16384), "103"));
		}
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.