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

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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..