Jump to content

Recommended Posts

Posted

Hi so I know there is a lot of interface.xdat with the keybinds already for adding 1-9 and Q-P.

I know the general idea is to create the values below but I can't understand how to add a value to a different bar.

 

Say I add a new action with 1. When ever 1 is pressed I want it to use the first slot in bar 2.

I can't see where I assign a bar number to a action. Probably missing something obvious.

 

Is the shortcut bar number sequential UseShortcutItem Num=0 => UseShortcutItem Num=11

So If I went UseShortcutItem Num=12 that would be first slot on bar 2?

 

Thanks

 

fqgqmubo.aau.png

Posted (edited)

UseShortcutItemBlaBlaBla, this is just the value of the string that is passed to the function (class Shortcut). No more.

Example:

 

function getCommand(string param)
{
    switch(param)
    {
        case "UseShortcutItemBlaBlaBla":
        makeSomething();
        break;
        case "My_girl_is_beautiful":
        makeSomethingOther();
        break;
    }
}
Edited by L2Neophron
Posted (edited)

Thanks for your reply Neophron.

I wasn't clear on what I would like to achieve.

So I am trying to get the below (image). I understand that this can be done by modifying the interface.xdat

 

qlbljfka.ks3.png

 

By default I have the F1,F2,F3 how can I set it so I when I press 1,2,3 to go to the second bar?

From what I can see the values aren't marked as bar numbers (bar1, bar2 etc) so how does the value you set know to go to Bar2 or Bar4 or bar10. 

 

For Example if I add a value:

 

Key_1 = 1

Key_1 = None

Key_3 = None

Action = SetShortcutItem Num=0

 

So when 1 is pressed I want it to go to Bar2 slot 1. How does this value know that its for bar 2 and not another bar.

 

odyyw3bl.451.png

 

I hope the above is clear now, thanks. :)

Edited by ogman
Posted (edited)

Even if I were your countryman, it was not easy for me to understand what you are writing and what you want :)

Try to explain easier. Like, "I want to click here that it was wow".

 

Edited by L2Neophron
Posted

To do this, you need to rewrite the code for the Shortcut class (Interface.u) with all the appropriate commands. Then assign them keys in Interface.xdat.
 

 

function getCommand(string param)
{
    switch(param)
    {
        case "LaLaLa_A":
        ExecuteCommand ("/useshortcut "4" 1");
        break;
        case "LaLaLa_S":
        ExecuteCommand ("/useshortcut "4" 2");
        break;
    }
}

Etc.

Interface.xdat > Action >

Key_1 - A
Key_1 - None
Key_1 - None
Action - LaLala_A

Key_1 - A
Key_1 - Shift
Key_1 - None
Action - LaLala_A

Key_1 - A
Key_1 - Shift
Key_1 - None
Action - LaLala_A

Etc.

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


  • Posts

    • 🧵 [FREE RELEASE] L2Updater + AntiCheat + Build System + Full Website ⚔️ Presentation After a long time of development, testing, and improvements, I decided to release this project for free to the community. This is a complete package for anyone who wants to build a Lineage II server with a professional-level structure. The idea was not just to create a simple tool, but a full ecosystem that covers everything a modern server needs. 🚀 What’s Included This release contains: ✔ Modern Launcher (Windows) ✔ Smart Update System (FULL + PATCH) ✔ AntiCheat protection (client-side DLL) ✔ Build System for generating updates ✔ Complete Website (register + ranking + pages) Everything is integrated to work together. 🧠 Project Concept The goal of this project is simple: Instead of using outdated launchers or fragmented systems, this package provides: ✔ Organization ✔ Performance ✔ Security ✔ Scalability 🔄 Update System The updater is based on a manifest system, where: ✔ The client checks versions automatically ✔ Only changed files are downloaded (patch system) ✔ Full client is downloaded if needed ✔ Files are validated using hash This results in: Faster updates Lower bandwidth usage Better user experience 🛡️ AntiCheat System The AntiCheat included in this package works directly on the client side. It provides: ✔ Protection against modified clients ✔ Basic cheat detection ✔ File integrity validation ✔ Blocking of suspicious environments This helps maintain a fair and controlled gameplay environment. 🏗️ Build System (Patch Creator) A full build system is included to automate updates. Features: ✔ Detect changed files automatically ✔ Generate FULL packages ✔ Generate PATCH updates ✔ Create manifest.json automatically This allows you to manage updates like: 🌐 Website System A complete website is included, featuring: ✔ Account registration ✔ Player ranking (PvP / PK) ✔ News pages ✔ Integration with the server database 🎯 Why Use This? Many servers fail because they lack structure. This package solves that by providing: ✔ A complete environment ✔ Organized update flow ✔ Integrated systems ✔ Ready-to-use base ⚙️ Technical Details ✔ Launcher developed with modern UI concepts ✔ Patch system based on hash validation ✔ Integration between server, launcher, and website ✔ Expandable architecture 📦 Download 👉 (https://mega.nz/file/AusTnYQK#ZhvArkZpDS7FH60TXd2rg5wT2OxSg9v2pJ2GLrJbyiQ / download link here) 💬 Final Words If your server does not have a system like this today: This project is designed to help you reach a higher level.  
    • Am not interested in your clients. I stopped selling files a long time ago, so you are not my competitor. And the reason no one complains is because every time someone posted about your ‘FILES,’ you CRY TO the forum admins close the topic 😄 and delete the comments as well. Not to mention how many times you were banned here maybe that just happened by mistake, right? 🙂       ps Go fix your packets instead of sitting on MaxCheaters 24/7 you’ll probably get trashed here again soon 🙂
  • Topics

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