Jump to content

Recommended Posts

Posted

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.

Posted

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.


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..