Afou To Patisa Posted July 14, 2017 Share Posted July 14, 2017 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. Link to comment Share on other sites More sharing options...
LightFusion Posted July 14, 2017 Share Posted July 14, 2017 What do you mean by limit ? How its affected ingame ? Link to comment Share on other sites More sharing options...
Afou To Patisa Posted July 14, 2017 Author Share Posted July 14, 2017 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 More sharing options...
Afou To Patisa Posted July 14, 2017 Author Share Posted July 14, 2017 Close it it was java relative.. in BBS seperate and send it had max 12700 Link to comment Share on other sites More sharing options...
Rootware Posted July 14, 2017 Share Posted July 14, 2017 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 More sharing options...
Rootware Posted July 14, 2017 Share Posted July 14, 2017 I don't understand where you found 12k and 18k values. Link to comment Share on other sites More sharing options...
Celestine Posted July 14, 2017 Share Posted July 14, 2017 Locked. Link to comment Share on other sites More sharing options...
Recommended Posts