Jump to content

Freya Html Limit Lift


Recommended Posts

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.

Link to comment
Share on other sites

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"));
		}
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...