Jump to content

Recommended Posts

Posted (edited)

81b2h9be2yx8thwzg.jpg?size_id=2l7a6u8zswgl2p0ozg.jpg?size_id=2vd6702fmsovlu3uzg.jpg?size_id=122eoxjf9kgtoqrgzg.jpg?size_id=26dctwy10e2lcz5mzg.jpg?size_id=26d3ht1wnv33o8u0zg.jpg?size_id=2
 

Grade S80 value --> "7"
Grade S84 value --> "8"
Grade R value --> "6"
Grade R95 value --> "9"
Grade R99 value --> "10"
Grade R110 value --> "11"

download here: https://www.mediafire.com/file/q3l21oged1477ph/grade_mark.rar/file

 

Interface/Classes/ToolTip.uc

//Grade Mark
function AddTooltipItemGrade(ItemInfo Item)
{
	local string TextureName;

	if(Item.CrystalType > 0)
    {
        StartItem();
		m_Info.eType = DIT_TEXT;
		m_Info.t_bDrawOneLine = true;
        m_Info.eType = DIT_TEXTURE;
        m_Info.nOffSetX = 4;
        m_Info.nOffSetY = 0;
        
        switch (Item.CrystalType)
        {
            case 1: // D grade_d
            TextureName = "symbol.grade_d";
            break;
        
            case 2: // C grade_c
            TextureName = "symbol.grade_c";
            break;
    
            case 3: // B grade_b
            TextureName = "symbol.grade_b";
            break;
        
            case 4: // A grade_a
            TextureName = "symbol.grade_a";
            break;
        
            case 5: // S grade_s
            TextureName = "symbol.grade_s";
            break;
        
            case 6: // R Grade_R
            TextureName = "SGERfjssymbol.Grade_R";
            break;
			
	    	case 7: // S80 Grade_S80
            TextureName = "SGERfjssymbol.Grade_S80";
            break;
        
            case 8: // S84 Grade_S84
            TextureName = "SGERfjssymbol.Grade_S84";
            break;
        
            case 9: // R95 Grade_R95
            TextureName = "SGERfjssymbol.Grade_R95";
            break;
        
            case 10: // R99 Grade_R99
            TextureName = "SGERfjssymbol.Grade_R99";
            break;
        
            case 11: // R99 Grade_R110
            TextureName = "SGERfjssymbol.Grade_R110";
            break;
        }
        
        if (Item.CrystalType == 7 || Item.CrystalType == 8 || Item.CrystalType == 9 || Item.CrystalType == 10 || Item.CrystalType == 11)
        {
            m_Info.u_nTextureWidth = 32;
            m_Info.u_nTextureHeight = 16;
            
            m_Info.u_nTextureUWidth = 32;
            m_Info.u_nTextureUHeight = 16;
        }
        else
        {
            m_Info.u_nTextureWidth = 16;
            m_Info.u_nTextureHeight = 16;
            
            m_Info.u_nTextureUWidth = 16;
            m_Info.u_nTextureUHeight = 16;
        }
    
        m_Info.u_strTexture = TextureName;
        EndItem();
    }
}

 

Edited by SGER@fjs
  • Like 6
  • 3 weeks later...
  • 2 months later...
  • 11 months later...
  • 3 months later...
  • 5 months later...
  • 1 month later...
Posted
On 1/5/2021 at 11:47 AM, Ehoq said:

@sacrifice yeah. i got same problem. grade mark works fine. but when i enchant weapon M.atk goes to - 21473712713.  ( if i makes s80 grade (grade7)

If the question is still relevant to you, I have an answer. Sorry in advance for broken English, I use google translator. You need to introduce a local variable: 
 

 local int     CrystalChap;

In the ITEM_WEAPON block, we define it:
 

CrystalChap = Item.CrystalType;
            if (Item.CrystalType > 5) 
            {
                CrystalChap = 5;
            }

In tooltips for physical and magical attacks, replace Item.CrystalType with CrystalChap, you get something like this:
 

//Physical Damage
            AddTooltipItemOption(94, String(GetPhysicalDamage(Item.WeaponType, Item.SlotBitType, CrystalChap, Item.Enchanted, Item.PhysicalDamage)), true, true, false);
            
            //Masical Damage
            AddTooltipItemOption(98, String(GetMagicalDamage(Item.WeaponType, Item.SlotBitType, CrystalChap, Item.Enchanted, Item.MagicalDamage)), true, true, false);

There will be no more problems with displaying enchants level. 😉

  • Upvote 1
  • Vision locked this topic
Guest
This topic is now closed to further replies.


  • Posts

    • Hey everyone, I was wondering if anyone knows where the client loads all the .dat files. Is there some kind of manifest or list you can specify which dat files the client loads?
    • 🔥 Welcome to Lineage 2 Haruna x3 – True Classic Interlude Experience 🔥 At Haruna x3, we’re bringing back the true essence of Interlude – slow, meaningful progression where every level matters, every item has value, and PvP is real. We’re not about fast servers, pay-to-win advantages, or fake populations. Our goal is simple: create a fair, stable, and long-term server where players can enjoy real competition, strategic clan warfare, and the thrill of open-world PvP. 💎 What Makes Haruna x3 Special? x3 Rates – Perfect for steady, rewarding progression Classic Interlude Mechanics – Relive the nostalgia of Interlude Stable & Lag-Free Gameplay – Optimized for thousands of players online Fair & Balanced – No pay-to-win, every victory is earned PvP & Clan Warfare Focused – Every battle counts 🌟 Quality of Life Features to Enhance Your Experience We keep the classic feel while adding features that make the game more convenient and enjoyable, including: Shift + Click to view monster droplists Free item mail and buy/sell via Adena Daily login rewards & Stream Rewards ALT+K Skill Panel & Alt+Click buffs removal Offline shop system Captcha for security Donate Coins currency (cannot be traded, dropped, or destroyed) Classic P110 client – no custom interface 🏰 Our Philosophy We believe Lineage 2 is about the journey, not just the destination. Haruna x3 is designed for months and years of growth, not weeks. We provide a community-driven environment where honest gameplay, fair competition, and strategic teamwork are at the forefront. 🌍 Join Our Community Whether you’re a veteran of Interlude or a returning player seeking a true classic experience, Haruna x3 offers a place to fight, trade, and grow alongside dedicated players. Step into the world of Haruna x3 – where every decision matters, every fight counts, and every victory is yours to earn. Discord: https://discord.gg/7DDC9Dsxnh Website : www.l2haruna.com
    • No, the real purpose is cheating and custom  development for games.  I'm building a custom AI moderator specially for checking illegal activity and flag current topica.
    • Hello trying to edit Armorgrp_Classic.dat using L2ClientDat Editor - l2jmobius edition I can normally open a file but can't save, even can't save "clean" version of file (just open and then click save) Other files i can normally open, edit and save. but there is problem with Armorgrp_Classic.dat Anyone find solution, or other Editor for protocol 166 ?   [25/12 15:10:11] --------------------------------------- [25/12 15:10:11] Open file: Armorgrp_Classic.dat [25/12 15:10:11] File Armorgrp_Classic.dat encrypted. Lineage2Ver413 decrypt ... [25/12 15:10:11] Decrypt Armorgrp_Classic.dat file successfully by v413_encdec decrypter. [25/12 15:10:11] Read the file structure ... [25/12 15:10:11] Unpacking [L2GameDataName.dat] [25/12 15:10:11] GameDataName: Load 97534 count. [25/12 15:10:11] Completed. [25/12 15:11:32] Wrong param count for wrapper: fertheia_mesh_add, paramIndex: 1, params: {{{[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11;[none]};{{109;114};{0;-1};{109;114};{0;-1};{109;114}}};{[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None]};[None]} -node: fertheia_mesh_add[WRAPPER][null][null] param: {{{[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11;[none]};{{109;114};{0;-1};{109;114};{0;-1};{109;114}}};{[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None]};[None]} org.l2jmobius.xml.exceptions.PackDataException: Wrong param count for wrapper: fertheia_mesh_add, paramIndex: 1, params: {{{[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11;[none]};{{109;114};{0;-1};{109;114};{0;-1};{109;114}}};{[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None]};[None]} -node: fertheia_mesh_add[WRAPPER][null][null] param: {{{[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11];[None];[LineageAccessory3.fertheia_pvp_Hrm_ad11;[none]};{{109;114};{0;-1};{109;114};{0;-1};{109;114}}};{[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None];[Mantleguild.kingdom.E_elmd_1_t00];[None]};[None]} at org.l2jmobius.xml.DescriptorWriter.packData(DescriptorWriter.java:275) at org.l2jmobius.xml.DescriptorWriter.packData(DescriptorWriter.java:184) at org.l2jmobius.xml.DescriptorWriter.parseData(DescriptorWriter.java:100) at org.l2jmobius.actions.SaveDat.action(SaveDat.java:70) at org.l2jmobius.actions.ActionTask.doInBackground(ActionTask.java:48) at org.l2jmobius.actions.ActionTask.doInBackground(ActionTask.java:27) at java.desktop/javax.swing.SwingWorker$1.call(SwingWorker.java:303) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328) at java.desktop/javax.swing.SwingWorker.run(SwingWorker.java:340) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1095) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:619) at java.base/java.lang.Thread.run(Thread.java:1447) [25/12 15:11:32] buff == null.  
  • 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