iStigma Posted September 6, 2013 Posted September 6, 2013 when im trying to "talk" with a npc it says "html was too long,try to us DB for this action"whats the prob?every signle npc says the same. Quote
0 ™® Stergios ®™ Posted September 6, 2013 Posted September 6, 2013 when im trying to "talk" with a npc it says "html was too long,try to us DB for this action"whats the prob?every signle npc says the same. public void setHtml(String text) { if (text.length() > 8192) { _html = "<html><body>Html was too long.</body></html>"; _log.warning("NpcHtmlMessage: html is too long"); return; } _html = text; } As you can see it has a limit on 8192 characters , by saying characters i mean simple letter like "a" . Your html need to has lower than 8192 . If you try to change it from java side you will have critical errors ingame , So its a limitation that ncsoft added on client side , since they dont need more than 8192 characters in their npcs text. .. Quote
0 Sea Posted September 6, 2013 Posted September 6, 2013 when im trying to "talk" with a npc it says "html was too long,try to us DB for this action"whats the prob?every signle npc says the same. This is curious. Quote
0 ™® Stergios ®™ Posted September 6, 2013 Posted September 6, 2013 This is curious. Because you have a lot of data into a html file .. You can seperate them , make 2 pages for example . by clicking at the end "next page" . As i said before it can handle 8192 characters. Quote
0 MikeJ Posted September 6, 2013 Posted September 6, 2013 Because you have a lot of data into a html file .. You can seperate them , make 2 pages for example . by clicking at the end "next page" . As i said before it can handle 8192 characters. You miss the point. every signle npc says the same. It's not happening in 1-2 npcs, it's happening in every single npc. Quote
0 Sea Posted September 6, 2013 Posted September 6, 2013 You miss the point. It's not happening in 1-2 npcs, it's happening in every single npc. This is curious. Whats what i was trying to show. Quote
Question
iStigma
when im trying to "talk" with a npc it says "html was too long,try to us DB for this action"whats the prob?every signle npc says the same.
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.