xFranky Posted January 14, 2020 Posted January 14, 2020 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? Quote
AlmostGood Posted January 14, 2020 Posted January 14, 2020 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. Quote
xFranky Posted January 15, 2020 Author Posted January 15, 2020 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 Quote
Elfo Posted January 15, 2020 Posted January 15, 2020 (edited) a Edited October 1, 2021 by Elfocrash 1 Quote
AlmostGood Posted January 15, 2020 Posted January 15, 2020 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 Quote
xFranky Posted January 15, 2020 Author Posted January 15, 2020 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. Quote
vampir Posted January 15, 2020 Posted January 15, 2020 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. 1 Quote
Elfo Posted January 16, 2020 Posted January 16, 2020 I'm wondering how hard it would be to integrate a chromium browser in IL or H5 Quote
Mantosh Posted January 16, 2020 Posted January 16, 2020 2 hours ago, Elfocrash said: I'm wondering how hard it would be to integrate a chromium browser in IL or H5 My exact thoughts! Quote
xFranky Posted January 16, 2020 Author Posted January 16, 2020 (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 January 16, 2020 by xFranky Quote
Elfo Posted January 17, 2020 Posted January 17, 2020 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 Quote
Mantosh Posted January 17, 2020 Posted January 17, 2020 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! Quote
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.