Jump to content

Recommended Posts

Posted

Hello everyone.

 

I am wondering if it is possible to build a new HTML system for L2J packs in general, and more specifically for Interlude Servers, where it will be having a proper support for CSS including animations, coloring buttons, borders on buttons, margins, paddings and background images.

 

The reason I am asking is because whenever I have to write HTML, it is a pain in my eyes seen such an old code been used, text keep appearing on side of a page, which pisses me off and I work with IntelliJ, which cries all the time that font and center tags are out of date.

 

Will the client support or understand the tags? What does it take to make something like this in your opinion?

Posted

server doesn't matter here, client handle html displaying

possible in GOD+ clients as these ship with embed chromium support and ingame browser window, in older trash clients it would require lot of work with client extending so can be safely assumed to never happen.

Posted

True, but on the other hand, you could make a few manipulations to the Java code to enable a few, at least css rules there, such as padding

Posted
16 hours ago, xFranky said:

True, but on the other hand, you could make a few manipulations to the Java code to enable a few, at least css rules there, such as padding

you need to realize L2 client doesn't implement real html rendering you know from web dev. Koreans simply picked something known and  simple to build own parser, which has like 20 or so common tags and few hardcoded properties. With use of client textures and occasional updates that's all they needed. There is no DOM or any tree manipulations thus no CSS. If <font> tag happens to have "color" property that's only because L2 devs needed it there at some point.

There are people who mastered use of whats L2 can display, but that comes with lot of ugly hacks and trial/error, whole thing is simply limited as fuck :D

Posted

I see. Well, if my vision becomes blurry, I will wear glasses. You might be having a point there. I will then have to master the html of l2. I even had a thought myself based on your comments, and it is not worthy wasting my time doing something like that.

Posted

Web browser available in GOD clients is slow comparing to ordinary browser like Chrome, also as far as i remember no feedback of what has been clicked is given to interface.u, so it's only useful if you want to display some real html page.

The only way to do what you wish is to edit nwindow.dll.

  • Upvote 1
Posted (edited)
5 hours ago, Elfocrash said:

I'm wondering how hard it would be to integrate a chromium browser in IL or H5

You won't know until you try! So go on an give it a go. We all believe in you! Once you are done, text me everything I need on PM :)

Edited by xFranky
Posted
10 hours ago, xFranky said:

You won't know until you try! So go on an give it a go. We all believe in you! Once you are done, text me everything I need on PM :)

Nah I'm definitely not gonna waste my time with client side stuff. I'm sure that there are way more capable people that me on that front

Posted
7 hours ago, Elfocrash said:

Nah I'm definitely not gonna waste my time with client side stuff. I'm sure that there are way more capable people that me on that front

Looking for capable people in PM!

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
Reply to this topic...

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