Jump to content

Recommended Posts

Posted

Hi all,

 

Hope you're all well.

 

I need some help ( once again 😒 )

I've created custom item and all is fine with it apart one thing. On the item statistics shown M.Def. but I need item to show P.Def.

Shot00000.jpg.9fbbbb7cdbadb4e5ee297495a62dd520.jpg

 

I found this is editable in sysstring-e.dat:

id    name

92    SP
93    Combat
94    P. Atk.

95    P. Def.

...

311    Active Skill
312    Passive Skill
313    Magic
314    Clan
315    M. Atk.
316    Atk. Spd.
317    DEF Rate
318    Dodge
319    M. Def.

 

When I change  ID 319 and write  P.Def. instead of M.Def., the item shows P.def. as I want but this is not the right way because this way all other items who show M.Def. start showing P.Def....

Looks like my item use string ID 319 and I need to change it and make the item to use string 95. Anyone know where I can do this? (I know it's definitely not in armorgrp.dat, I have double checked every possible field and armorgrp.dat do not control which string item using from sysstring-e.dat.).

 

 

 

And I have another problem. I can't locate the texture I want to edit. I want edit a 'Underwear' empty slot appearance. I have checked a lot of .utx files (especially L2ui and L2UI_CH3) but couldn't find this texture. I want to change this underwear empty slot appearance as cloth to something different that I will create my self.

 

Shot00001.jpg.f434f7e491ad7e2afd127a16d0317cab.jpg

 

 

 

Much appreciated for any help guys.

 

Posted (edited)

The file you want to change is armorgrp that you used to make the custom item. Each column is a separate variable, one would be for preferred, same as one is for Mdef. The client may force certain stats to be shown even if the value is zero. So you may end up having both pdef and a mdef Value listed after the change.

 

 You will of course still have to update the states server side as well.

 

 As for the texture question, it’s hard baked into the inventory window in l2font-e I believe for interlude

Edited by YulRun
Posted (edited)
3 hours ago, YulRun said:

The file you want to change is armorgrp that you used to make the custom item. Each column is a separate variable, one would be for preferred, same as one is for Mdef. The client may force certain stats to be shown even if the value is zero. So you may end up having both pdef and a mdef Value listed after the change.

 

 You will of course still have to update the states server side as well.

 

 As for the texture question, it’s hard baked into the inventory window in l2font-e I believe for interlude

Sorry, but you must be wrong about the first one. I took the piece of armor entry and jewel entry from armorgrp so one is showing P. Def. and other M.Def. I've checked and all variables of 0's and 1's are identical, while it should be 0 on P.Def. on jewel entry and 0 on M.Def. on the armor entry but it isn't. 

Also, at the top (the first line of FileEdit) have explanation what each column is for. And there is no mention about the sys strings or something similar at all. 

Armorgrp capable to change P.Def / M.Def. / Weight amounts shown but not the lines itself. 

By my understanding, it must be some other file which directs item icons to sysstring-e.dat

 

 

About the inventory texture. That is what I was afraid of.

L2Fonts-e.utx is one which gives me an error and I can't open it. Error says The ArrayIndexOutOfBounds exception. Looks like my computer is not powerful enough to open it. Is that true or it's some other reason that I get this error? 

Edited by rtcxool
Miss spelling
Posted
6 hours ago, rtcxool said:

Hi all,

 

Hope you're all well.

 

I need some help ( once again 😒 )

I've created custom item and all is fine with it apart one thing. On the item statistics shown M.Def. but I need item to show P.Def.

Shot00000.jpg.9fbbbb7cdbadb4e5ee297495a62dd520.jpg

 

I found this is editable in sysstring-e.dat:

id    name

92    SP
93    Combat
94    P. Atk.

95    P. Def.

...

311    Active Skill
312    Passive Skill
313    Magic
314    Clan
315    M. Atk.
316    Atk. Spd.
317    DEF Rate
318    Dodge
319    M. Def.

 

When I change  ID 319 and write  P.Def. instead of M.Def., the item shows P.def. as I want but this is not the right way because this way all other items who show M.Def. start showing P.Def....

Looks like my item use string ID 319 and I need to change it and make the item to use string 95. Anyone know where I can do this? (I know it's definitely not in armorgrp.dat, I have double checked every possible field and armorgrp.dat do not control which string item using from sysstring-e.dat.).

 

 

 

And I have another problem. I can't locate the texture I want to edit. I want edit a 'Underwear' empty slot appearance. I have checked a lot of .utx files (especially L2ui and L2UI_CH3) but couldn't find this texture. I want to change this underwear empty slot appearance as cloth to something different that I will create my self.

 

Shot00001.jpg.f434f7e491ad7e2afd127a16d0317cab.jpg

 

 

 

Much appreciated for any help guys.

 

The easiest solution to your problem is to copy an existing item that is showing p.def and change only what you need. For example an old tattoo like "tattoo of power" or something like that will do the trick.

Posted (edited)

Problem lies on the item's type fed by the server and interface's tooltip.

 

Solution

 

A) Change item's type from accessory to armor in your server's scripts and make sure you add the p. def value to your armorgrp.

 

mxc.png

 

or

 

B) Edit tooltip itself based on item ID to make it display p.def instead of m.def stat

 

 

 

[spoiler]// 2. ARMOR
        case ITEM_ARMOR:
            bLargeWidth = true;
            
            // Sheild
            if (Item.SlotBitType == 256 || Item.SlotBitType == 128)    //SBT_LHAND or SBT_RHAND
            {
                //Shield Defense
                AddTooltipItemOption(95, String(GetShieldDefense(Item.CrystalType, Item.Enchanted, Item.ShieldDefense)), true, true, false);
                
                //Shield Defense Rate
                AddTooltipItemOption(317, String(Item.ShieldDefenseRate), true, true, false);
                
                //Avoid Modify
                AddTooltipItemOption(97, String(Item.AvoidModify), true, true, false);
                
                //Weight
                AddTooltipItemOption(52, String(Item.Weight), true, true, false);
            }
            
            // Magical Armor
            else if (IsMagicalArmor(Item.ClassID))
            {
                //Slot Type
                if (Len(SlotString)>0)
                    AddTooltipItemOption(0, SlotString, false, true, false);
                
                //MP Bonus
                AddTooltipItemOption(388, String(Item.MpBonus), true, true, false);
                
                //Physical Defense
                AddTooltipItemOption(95, String(GetPhysicalDefense(Item.CrystalType, Item.Enchanted, Item.PhysicalDefense)), true, true, false);
                
                //Weight
                AddTooltipItemOption(52, String(Item.Weight), true, true, false);
            }
            
            // Physical Armor
            else
            {
                //Slot Type
                if (Len(SlotString)>0)
                    AddTooltipItemOption(0, SlotString, false, true, false);
                
                //Physical Defense
                AddTooltipItemOption(95, String(GetPhysicalDefense(Item.CrystalType, Item.Enchanted, Item.PhysicalDefense)), true, true, false);    
                
                //Weight
                AddTooltipItemOption(52, String(Item.Weight), true, true, false);
            }
            
        break;
        
        // 3. ACCESSARY
        case ITEM_ACCESSARY:
            bLargeWidth = true;
            
            //Slot Type
            if (Len(SlotString)>0)
                AddTooltipItemOption(0, SlotString, false, true, false);
            
            //Masical Defense
            AddTooltipItemOption(99, String(GetMagicalDefense(Item.CrystalType, Item.Enchanted, Item.MagicalDefense)), true, true, false);

            
            //Weight
            AddTooltipItemOption(52, String(Item.Weight), true, true, false);
        break;[/spoiler]

 

Edited by Blitzkrieg
Posted

i dunno guys... same problem over and over again. 

Or you spamm like this or i have no idea.
not need to modify whole game to add 1 custom item... its all about dat files.
Working perfect... i made it  to "cloak" slot ( HF ) 
Gives P.def! Show P.def, even if enchant it gives p.def also...

image.png

17 hours ago, rtcxool said:

 

 

 

And I have another problem. I can't locate the texture I want to edit. I want edit a 'Underwear' empty slot appearance. I have checked a lot of .utx files (especially L2ui and L2UI_CH3) but couldn't find this texture. I want to change this underwear empty slot appearance as cloth to something different that I will create my self.

 

Shot00001.jpg.f434f7e491ad7e2afd127a16d0317cab.jpg

 

 

 

 

 

Ofc is L2UI_CH3
image.png

Posted

@Ehoq Thank you, actually inventory texture was in L2UI_CH3.utx I just missed it when I viewed through L2tool my view was enlarged and I saw only part with empty icons but it was full inventory in fact (saw it when exported).  🙂 

Shot00004.jpg.8b6151b8a9004afb69034aa2344aaad7.jpg

 

@Blitzkrieg I tried your second method. Unfortunately, when I open Interface.u and decompile line ToolTip, the script I get is much different from the one you've shared.

The first method I had no idea how to locate the script you're talking about. Maybe because I'm working the old way. I'm using L2j server pack (GameServer/LoginServer) and I do not edit things in Java, I get into Java only through database app (HeidiSQL to be exact). Through server side scripts I can edit only Quests or NPC's like Buffer, etc.. But not items. I have checked database armor section but there is no column which would determine it's Accessory or Armor. The closest one column called 'BodyPart' but changing from 'Necklace' to 'Chest' for example, do not make item to show P.Def.

 

@D3X I've used this way and yes, it worked fine. I created this topic just because I wanted to understand how to edit through the stings. Now I see that strings used not for items separately but for item groups ( armor / accessory / weapons etc.. ).

 

The thing I want to do is, to make material droppable from monsters with small chance and that material can be used to create bracelet.

I had issues with exc_multisell as my shop didn't showed any of my items I put to multisell when main (the first) ingredient is in inventory.

Then I did it other way. I took B grade jewel which I do not use in server and changed sealed part to my material, unsealed part to bracelet. Everything worked fine, only thing is that my item showed M.Def. while I wanted to show P.Def. (sorted now) and that material show line M.Def. also since it's reworked from jewel but I need it to show nothing, neither M.Def or P.Def. 

Sounds easy enough, I've deleted entry from armorgrp.dat and created new entry in etcitemgrp.dat  I've copied entry from random material and changed ID to my item ID.

Then I deleted my item entry from armor section server side and created new entry with my item ID in etcitem section. And also deleted stat lines for the item from armor stats as it's not armor anymore.

   The item now do not show neither P.Def. or M.Def. as I wanted, it's just like a material.

 

But now this item do not work in exc_multisell... Even if I have item in inventory, multisell do not show that item can be upgraded... Means item must be in armor section server side to work in exc_multisell.

That's why I wanted to make item use different string ID from sysstring-e.dat so I can change that string to any text I want instead of M.Def. without affecting other items and leave it in armor section server side (just make it not equipable).

But as I already mentioned, looks like not the item using string ID's but the item groups and it's not possible to do so for just single item.

 

 

I know that this topic can be closed as it's solved now and the rest part of my issue is not client side anymore but still I want to ask on the same topic, do you have any idea how to make this exc_multisell work when the main item is material?


P.S. Thanks guys for reading all this and trying to help me. 

Posted

@rtcxool

If u ask for help give more information....
Lucera? Acis? 
Classic? Interlude? high five? 
any screens? xml? ingame? 
it really hard to undestand ya what are you did and how people can help ya.

Posted (edited)
2 hours ago, Ehoq said:

@rtcxool

If u ask for help give more information....
Lucera? Acis? 
Classic? Interlude? high five? 
any screens? xml? ingame? 
it really hard to undestand ya what are you did and how people can help ya.

 

Sorry, my bad.

 

I am working on L2j Acis. Chronicle - Interlude.

 

I am creating shop on exc_multisell code in NPC html not normal multisell because I don't want shop to show what items are available if player don't have the main ingredient.

 

Below is my multisell:

 

mul.png.bab6963389f6a93cdef9e47e8191883e.png

 

And that's what I get in game:

I see only the second item which upgradable from 'Amulet of Power' 

The first one which is upgradable from 'Minotaur Horn' is not shown even through the item is in inventory.

 

nwork222222.jpg.0143e4cf063c15f3d6c50b7c82e942cb.jpg

 

But then, if I move item 'Minotaur Horn' from etcitem section in database to

armor section, it works:

nwork1111.jpg.15063c4fcf1af86041b44aa4dca279af.jpg

 

Everything would be fine, but I don't want item to be in aromr section because when it's in armor section on database, item 'Minotaur Horn' show line P.Def. 

 

pdef.jpg.a6918a9e37da7e71092109e16bd18966.jpg

 

So, since I know that only way to remove that P.Def. line from item is to move item from armor section to etcitem in database. My question here is:

Is it possible and how if yes, to make exc_multisell work when the main ingredient is material as it's not working in my way as you see.

 

Much appreciated for any help.

Edited by rtcxool
Wrong placed image
Posted (edited)

@rtcxool

hm...
imo...best solution is : 
get Blacksmith Mammon's xml
if its weapon get S grade Dual make
if its armor get Unseal S grade armor
if its Jewell - U KNOW WHAT?! IS UNSEAL S GRADE JEWEL 😄

copy exist items
make your own custom items
ctrl+v everything ( dat, xml, db) with your custom names 

PROFIT

Edited by Ehoq
Posted
11 minutes ago, Ehoq said:

@rtcxool

hm...
imo...best solution is : 
get Blacksmith Mammon's xml
if its weapon get S grade Dual make
if its armor get Unseal S grade armor
if its Jewell - U KNOW WHAT?! IS UNSEAL S GRADE JEWEL 😄

copy exist items
make your own custom items
ctrl+v everything ( dat, xml, db) with your custom names 

PROFIT

 

That's what I did, not sure what you said PROFIT. 😄

 

'Minotaur Horn' is copied from sealed armor part.

 

 But that's not what I asking for..

 

My problem is that exc_multisel is not working when main ingredient changed from armor section to etcitem section.

In total, exc_multisell is working fine when main ingredient is Armor, Weapon or Jewell even if it's not copied from mammon. It's just NOT working when the main ingredient is not armor, weapon or jewell but it's material and it's on etcitem section on database.

 

So here is my question, is there a way to make exc_multisell work when the main ingredient is material?

Posted
3 minutes ago, rtcxool said:

 

That's what I did, not sure what you said PROFIT. 😄

 

'Minotaur Horn' is copied from sealed armor part.

 

 But that's not what I asking for..

 

My problem is that exc_multisel is not working when main ingredient changed from armor section to etcitem section.

In total, exc_multisell is working fine when main ingredient is Armor, Weapon or Jewell even if it's not copied from mammon. It's just NOT working when the main ingredient is not armor, weapon or jewell but it's material and it's on etcitem section on database.

 

So here is my question, is there a way to make exc_multisell work when the main ingredient is material?

hm...i have no idea how exc_multisell works on Acis. Seems i cannot help ya at this moment...sorry.
but what is your point to hide it? is to much variations to trade with ?

Posted

@Ehoq No, I don't have much items, but I want to make one item upgradable several times. It wouldn't look fine if all items will be visible. So that's why I want to make players do not see further upgrade if they do not have the ingredient item in their inventory.

I guess I need to check Pet manager xml since pet armor and weapons upgradable similar way.

Again, it's still armor and weapons and I guess would not work if I change it to material..

 

The topic can be locked now as the problem stated in topic header is solved and the rest part of my issue is not in client development.

 

I'll try to solve it myself.

 

Thanks, everyone for help.

Guest
This topic is now closed to further replies.


  • Posts

    • Quick head's up if anyone needs sniffer we have it and the price is reasonable. any server is doable.
    • so u need to create them and then use the icon name in the prefered ones
    • ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━      ⚔️  A NEW ERA OF LINEAGE 2 PVP  ⚔️         High Five | 2026 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ We are building something that has never existed before. Not another copy. Not another "x2000 PvP server with TvT." This is a complete PvP ecosystem — where every kill matters,every rivalry has a face, and your legacy is worn on your character. We are sharing this here first, before anything is announced publicly. We want feedback. We want the right people. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📌  CORE SERVER FEATURES ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🔹 Chronicle .............. High Five 🔹 Rates .................. x2000 🔹 Safe Enchant ........... +3 🔹 Max Enchant ............ +10 🔹 Enchant Rate ........... 33% 🔹 Buff Slots ............. 24 + 4 🔹 Song & Dance Slots ..... 12 🔹 Buff Duration .......... 4 hours 🔹 TvT .................... Every Hour  (Karma + PvP points) 🔹 Hero ................... Every Week 🔹 Olympiad ............... 3 Hours Daily 🔹 Castle Sieges .......... Weekly 🔹 Territory Wars ......... Weekly 🔹 Grand Bosses ........... 1 week respawn 🔹 Costume Farm Area ...... Custom mobs & zones 🔹 NPC Buffers + GM Shops 🔹 Custom Economy 🔹 Custom Playground 🔹 Custom Events 🔹 Anti-Bot | Anti-DDoS | Highly Secured 🔹 Stable | No Lag | No sudden wipes ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🚀  5 FEATURES THAT HAVE NEVER EXISTED      ON ANY LINEAGE 2 SERVER ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ─────────────────────────────────────── 💰  1. BOUNTY HUNTER SYSTEM ─────────────────────────────────────── Every player with high PvP points becomes a target. Anyone can place real in-game adena / currency / gear as a bounty on any specific player they want dead. Kill the target → collect the bounty. → Top 10 Active Bounties visible LIVE on website + in-game board → Updated in real time — anyone can see who has a price on their head → Clans place bounties on enemy leaders before sieges → Creates real economic stakes behind every single kill → 100% organic drama — no admin needed to create conflict ─────────────────────────────────────── 🏆  2. SEASON RANKED LADDER + REAL PRIZE POOL ─────────────────────────────────────── Every 45 days a Season ends. PvP Score resets. Gear stays. Glory is earned. → Top 3 players receive a REAL money prize pool at season end → Top clan earns a unique exclusive in-game title displayed for the entire next season → Permanent Hall of Fame on website — name, class, kills, and season — forever → Season end = fresh ranking start for everyone New players have a real shot. Veterans must defend. → This single feature will make clans actively recruit  and communities form around the server organically ─────────────────────────────────────── 📱  3. LIVE SERVER DASHBOARD ─────────────────────────────────────── A fully live website — accessible from any phone or browser: → Real-time Kill Feed — who killed who, where, when → Live PvP Leaderboard — updated every minute → Live Bounty Board — active bounties and claimed kills → Grand Boss timers — next Baium, Antharas, Valakas spawn → Siege countdown with registered clans visible → Server population — online now, today's peak, all-time peak Why this matters: Players check their phone at work and see their clan is losing the siege. They log in. They recruit a friend. That friend stays. Friends who have never played see the stats and ask what server it is. This is automatic word-of-mouth that no advertisement can buy. ─────────────────────────────────────── ⚔️  4. NEMESIS SYSTEM ─────────────────────────────────────── The system tracks who kills you most. If the same player kills you 5 times in a row — he becomes your official NEMESIS. → A red skull icon appears above his head — visible only to you → Kill your Nemesis → DOUBLE PvP points    + server-wide announcement: "[PlayerX] has avenged his honor against [PlayerY]!" → If he kills you 10 times consecutively → you receive the title [Hunted] — visible to the entire server    Public humiliation. Maximum motivation. → Eliminate your Nemesis → your title is removed    He receives [Defeated] for 1 hour This transforms anonymous PvP into personal rivalries. Players will bring friends just to help eliminate their Nemesis. These stories are what people talk about for years. ─────────────────────────────────────── 👑  5. CLAN SIEGE CROWN — WEARABLE LEGACY TROPHY  ─────────────────────────────────────── This feature does not exist on any L2 server in the world. Every clan that wins a Castle Siege receives 10 custom hat/accessory items — physically wearable in-game. Each Crown is: → UNIQUE per castle — Aden Crown has a different visual from Giran Crown, Rune Crown, Goddard Crown, etc. → PERSONALIZED — the clan name AND clan crest are embedded visually on the hat itself, like a clan cloak but on your head    Every player who sees you knows exactly who you are and what castle your clan owns → NUMBERED — tooltip reads:    "Crown of Aden #4/10 — Season 2"    A collectible. A proof. A statement. → PERMANENT — you lose the castle at next siege, you keep the Crown → LEGACY — at season end it becomes a permanent trophy:    "Crown of Aden — Season 2  |  [YourClanName]"    Stored in your inventory as living history When a player wearing this Crown walks through Giran, everyone sees the clan crest displayed on the accessory. No leaderboard needed. Status is worn on your character.   -------------------------------------------------------------------------------------------------------------------------------------------------------------------- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 🛠️  WHO WE ARE LOOKING FOR ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ We are building the right team first. No launch date until everything is right. ✅ H5 Developer — L2J or L2OFF    Must have experience with high-rate PvP servers    Bonus: experience with custom feature development ✅ Web Developer — for the Live Dashboard + account panel    Must be comfortable with real-time data display    (websockets, live feeds, mobile-friendly) ✅ Designer / 3D Artist — for custom Crown visuals per castle    If you have L2 texture/model experience, we want to talk ✅ GMs / Community Managers    Active, fair, experienced, trusted by the community ✅ Beta Testers    Players who know H5 PvP inside out    Willing to stress-test and break things on purpose ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 💬  WE WANT YOUR HONEST FEEDBACK ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ We are building this WITH the community. Every reply here shapes the final product. → Which of these 5 features excites you most? → What do you think will NOT work and why? → What is missing that would make you stay for months? → Would you play this if it opened tomorrow? We are not looking for hype. We are looking for honest opinions from people who have seen servers rise and fall. Tell us what we are getting wrong. Reply below or send a PM directly. Serious people only. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ P.S. — The inspiration for this project came from a server many of us played years ago called L2Gang. That nostalgia is what started this conversation. What we are building is something entirely new. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
    • Please is anyone who can share the compiled version of the l2editor source for interlude? Because i run the !GenerateLibs.bat with the corrected code by CriticalError and then i try to build with the vs 2013 but i get errors again and again and when i try anyway to open or create something with the UnrealEd.exe then it closes automatically.
  • 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..