Jump to content
  • 0

"HTML WAS TOO LONG"


Question

5 answers to this question

Recommended Posts

  • 0
Posted

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. ..

  • 0
Posted

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.

  • 0
Posted

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.

 

  • 0
Posted

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.

  • 0
Posted

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.

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.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...