HTML errors crashing my pc.
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Advanced User
- Posts: 1440
- Joined: Wed Apr 15, 2009 10:07 am
HTML errors crashing my pc.
OK this has been happening as long as i use l2j. When for example im making html tables and theres an error in it (mostly typo) when i try ingame to open that html window, my hard drive goes into 100% usage and everything stucks, making me to hard reset my pc. Can you do something about it? Like when its happening instead of the pc crashing to get an error that the html code is wrong?
-
- L2j Veteran
- Posts: 1228
- Joined: Thu Jan 17, 2013 9:46 am
Re: HTML errors crashing my pc.
For that you would need a HTML checker on server side which is impossible. Best option get a good HTML plugin for Eclipse which will show you errors.
-
- Advanced User
- Posts: 1440
- Joined: Wed Apr 15, 2009 10:07 am
Re: HTML errors crashing my pc.
I see, thanks.
- Zoey76
- L2j Inner Circle
- Posts: 7008
- Joined: Tue Aug 11, 2009 3:36 am
Re: HTML errors crashing my pc.
Why impossible?xban1x wrote:For that you would need a HTML checker on server side which is impossible. Best option get a good HTML plugin for Eclipse which will show you errors.
Powered by Eclipse 4.34
| Eclipse Temurin 21
| MariaDB 11.3.2
| L2J Server 2.6.3.0 - High Five 
Join our Discord! 

-
- L2j Veteran
- Posts: 314
- Joined: Mon Mar 11, 2013 4:19 pm
Re: HTML errors crashing my pc.
Its not impossible but its something we don't need
using notepad++ and correct indentation will help you out solve errors.

-
- L2j Veteran
- Posts: 1228
- Joined: Thu Jan 17, 2013 9:46 am
Re: HTML errors crashing my pc.
Zoey76 wrote:Why impossible?xban1x wrote:For that you would need a HTML checker on server side which is impossible. Best option get a good HTML plugin for Eclipse which will show you errors.
That's what i meant.Nos wrote:Its not impossible but its something we don't need
-
- Posts: 257
- Joined: Thu Dec 16, 2010 5:16 am
Re: HTML errors crashing my pc.
Actually I do think I have enough knowledge about L2 HTML and I could write such a checker I believe.
However: it's not only invalid HTML, but also if you attempt to display too much content at once. I know there should've been some kind of checker whether the resulting string actually fits into the packet, but for some reason that check did not work for me.
Further more there are a few "hidden" problems - like the fact, that "action"-attribute of a or button is not allowed to exceed 255 characters (I think it's 255 and not 256). Also having a table with rows, but not cells, will cause a client-exception, because apparently empty rows are not supported.
I could write a helper class or a code it straight into NpcHtmlMessage. However: this isn't a good idea, because most of the restrictions (except the packet size limit) apply to communityboard (ShowBoard) as well.
However: it's not only invalid HTML, but also if you attempt to display too much content at once. I know there should've been some kind of checker whether the resulting string actually fits into the packet, but for some reason that check did not work for me.
Further more there are a few "hidden" problems - like the fact, that "action"-attribute of a or button is not allowed to exceed 255 characters (I think it's 255 and not 256). Also having a table with rows, but not cells, will cause a client-exception, because apparently empty rows are not supported.
I could write a helper class or a code it straight into NpcHtmlMessage. However: this isn't a good idea, because most of the restrictions (except the packet size limit) apply to communityboard (ShowBoard) as well.

I don't mind helping - however: I only do so if I want to.
No support for other server packs than L2J.