Jump to content

Recommended Posts

Posted (edited)

Hello MxC,

 

I have one question regarding the UI :

 

If I edit my interface.xdat in order to set the windows positions to my conveniance, I have the new positions I've set when I start the game.

 

However, the Alt+L command (ShowWindow Name=FN_UILocReset) will reset the UI to the default one.

Is there a way to change this behavior in order to make it reset the positions to the ones I've set in my interface.xdat ?

 

Regards.

 

 

EDIT : StatusWnd and TargetStatusWnd are actually the only windows that I can't reset properly via alt+L, they get there for a second but they instantly move back to their default positions.

 

 

Edited by Ellone
Posted (edited)

 

3 minutes ago, Sindelia said:

You need to modify the default positions under the 'wndDefPos' tab.

 

I know that, and it works, the position are set when you start the game.

 

But my concern is that Alt+L will not reset the positions to these ones. But to the default one (I'm guessing it's stored server side.)

 

And since there is often some quick UI glitch that require us to press Alt+L ...

Edited by Ellone
Posted

That's weird. I've never had any issues assigning different default window positions. 

 

Can you give me the name of one of the windows so I can check? 

Posted

Ok, so I did a bit more tests and it looks like you were right, sorry about that :

 

Indeed, it doesn't occur on every windows. I guess I was unlucky and tried these ones first...

 

For example :

 

StatusWnd and TargetStatusWnd are coming to my positions for a short moment when I press Alt+L, but then, they instantly go back to their default ones.

Posted

This is because the default positions of these two windows are hardcoded into the interface script file.

 

OptionWnd.uc, OnTimer function. You have to decompile, modify and recompile interface.u.

  • Upvote 1
Posted

Oh, nevermind then :/


I did that once, I remember the hexadecimal edit etc.

But I failed at recompiling it afterwise, so, I won't try it for now :c.

But it's weird, because I managed to change the StatusWnd y position, but the x sticks to 0.

I guess, the hardcoded part is "it has to stay on the left".

 

Anyway, thanks a lot for the informations :).

 

Also, since I don't wanna create a topic just for that, do you know how to hide a window by default ?

I tried to set the hidden property of the PCCafeEventWnd, but no effect.

 

Posted

The PCCafeEventWnd is toggled by a server packet.

 

What you can do is change the name of the script associated with it to 'undefined'. Some random name should work too, but I am not sure whether that would cause the crash the client as the window will probably by trying to attach itself to a non-existent script. You can try both solutions though.

 

This is what you need to change:

image.png.d6e842db1a9aa09ebb916c67d68bb8f9.png

 

Posted

Hmm, weird, for me, this window doesn't have any unk property.

It just has unk24 in DefaultProperty.

 

Anyway it's ok, that's not really important.  I got everything I wanted except :

- The StatusWnd and TargetStatusWnd position (maybe later)

- The hidden PC Bang Points by default

- The Alliance chat at another position as the other chats (I don't think that's possible so...)

 

 

Thank you again, you were very helpful, I will focus on some other client edit now :)

Posted
23 hours ago, Ellone said:

Hmm, weird, for me, this window doesn't have any unk property.

 

unk stands for unknown, people had to figure out whats the actual purpose of each property - you are using latest release which comes with most of them being described properly - anyway... just look at the order of values on his screenshot so you know what to edit

  • Upvote 1
Posted

Thanks, 

so indeed, it works, the window is not shown by default, but the problem is it never is, the button doesn't have any effect if I remove  the script.

I only wanted the window to be hidden by default, not completly removed.

 

BUt anyway, that's no big deal..

Posted (edited)
On 27.02.2018 at 11:23 PM, Ellone said:

I only wanted the window to be hidden by default

 

well, you should be easily able to do that by setting unk 107 (eighth value from the top) to 1 - guess i should consider downloading latest schemes for property names ... :x

Edited by UgliBiBagli
  • 1 month later...
Posted
On 25.02.2018 at 12:12 AM, Sindelia said:

This is because the default positions of these two windows are hardcoded into the interface script file.

 

OptionWnd.uc, OnTimer function. You have to decompile, modify and recompile interface.u.

Can you tell me witch program i need for decompile , modify and recompile interface ? for high five please ?

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.



  • Posts

    • you can use my share Dress me item  
    • I haven't played L2 in many years but was recently talking to some old friends from back in the day (supreme / azure, paradise) and we thought we would try playing together again. Checked out official and it has went full on P2W and bot infested, not interested. Private servers seem to be pretty volatile and the community fragmented, we have not been able to find a server or community that has the right vibe.   So us old farts decided why the hell not build our own server and see if we can pull in some of those old day vibes and magic, maybe get a good community built. Maybe that magic is gone forever, that comraderie that we shared in the old days. But I think it is likely there is a lot of players out there just like our little group from the old days that made lifelong friendships in all those 100s and 1000s of hours we spent together in the game together.   I have reached out to some developer friends from back in the day and have one that has come on board, probably one of the most OG OFF devs out there, pretty stoked about that, he never stopped L2 developing for all these years, wild. I can't think of too many other games that evoke such loyalty and love of the game.   So, the choice has been made, and the journey begins. We have really solid and battle tested H5 files so we will roll with those. We are not using any pack with locked down extender, we have all the flexibility we need to make changes, fixes, add features, etc. Also have a great antibot and box limiting system as well as active GMs so bots impact should be pretty min imal. Do have some features that we will be adding but I'll keep those under my hat.      What do you guys think, you think there is enough of that old-school magic left out there to have a server and community of the old days?
    • We create legends in the dark, leading the light into the worlds Base - l2jmobius Chronicles HIGH-FIVE     https://gitea.com/Debug/ShadowCraftCore
    • We create legends in the dark, leading the light into the worlds Base - l2jmobius Chronicles HIGH-FIVE     https://gitea.com/Debug/ShadowCraftCore
    • ➡ Discount for your purchase: MAY2025 (10% discount) ➡ Our Online Shop: https://socnet.store  ➡ Our SMM-Boosting Panel: https://socnet.pro  ➡ Telegram Shop Bot: https://socnet.shop  ➡ Telegram Support: https://t.me/solomon_bog  ➡ Telegram Channel: https://t.me/accsforyou_shop  ➡ Discord Support: @AllSocialNetworksShop  ➡ Discord Server: https://discord.gg/y9AStFFsrh  ➡ WhatsApp Support: https://wa.me/79051904467 ➡ WhatsApp Channel: https://whatsapp.com/channel/0029Vau0CMX002TGkD4uHa2n  ➡ Email Support: solomonbog@socnet.store 
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock