Jump to content

Recommended Posts

  • 3 weeks later...
  • 3 weeks later...
  • 2 weeks later...
  • 2 weeks later...
Posted

Hello. I have detected some problems in this interface.
1- right bracelet the texture looks black.
2-randomly when you drop something to the ground he can't get it back. neither oneself nor another person.
3-when you drop something the item is seen on the ground. You grab it but visually the item is still there.
Does anyone do development work to make some fixes?

Posted
5 minutes ago, barao45 said:

1- right bracelet the texture looks black.
 

hi  look in the code , the path to the bracelet icons is disabled

spacer.png

the refore, the icons are black

ps interface\classes  invertory.wnd  ( search ) 

Posted

AlisaCodeDragon the texture when you boot the game looks good. But when you equip or unequip any item the bracelet turns black and doesn't turn right again until you reset the character.

Thanks for your reply.

Posted (edited)
13 hours ago, barao45 said:

Hello. I have detected some problems in this interface.
1- right bracelet the texture looks black.
2-randomly when you drop something to the ground he can't get it back. neither oneself nor another person.
3-when you drop something the item is seen on the ground. You grab it but visually the item is still there.
Does anyone do development work to make some fixes?

2-3, i don't  think it's interface problem

1 try change in  interface.xdat  InventoryWnd->texTalismanAllow texture path from MonicaEssence2.InventoryWnd.Talisman_Arrow to MonicaEssence.InventoryWnd.Talisman_Arrow

Edited by MonokiniSix
Posted (edited)
1 hour ago, MonokiniSix said:

2-3, i don't  think it's interface problem

1 try change in  interface.xdat  InventoryWnd->texTalismanAllow texture path from MonicaEssence2.InventoryWnd.Talisman_Arrow to MonicaEssence.InventoryWnd.Talisman_Arrow

 

THanks! MonoKiniSix. Problem 1 resolved. xD

I think I'll read the source a bit to see if the other problems are from java.
A query. I also have a problem with the life bar of the doors that do not update when you hit them. Do you know where I should look?

Edited by barao45
Posted
function HandleTargetUpdate(optional bool spawnTarget)
{
	local Rect rectWnd;
	local string strTmp;
	
	local int		TargetID;
	local int		playerID;
	local int		PetID;
	local int		ClanType;
	local int		ClanNameValue;
	
	//타겟 속성 정보
	local bool		bIsServerObject;
	local bool		bIsHPShowableNPC;	//공성진지
	local bool		bIsVehicle;
	
	local string	Name;
	local string	NameRank;
	local color	TargetNameColor;
	
	//ServerObject
	local int ServerObjectNameID;
	local Actor.EL2ObjectType ServerObjectType;
	
	//Vehicle
	local Vehicle	VehicleActor;
	local string	DriverName;
	
	//HP,MP
	local bool		bShowHPBar;
	local bool		bShowMPBar;
	
	//혈맹 정보
	local bool		bShowPledgeInfo;
	local bool		bShowPledgeTex;
	local bool		bShowPledgeAllianceTex;
	local string	PledgeName;
	local string	PledgeAllianceName;
	local texture	PledgeCrestTexture;
	local texture	PledgeAllianceCrestTexture;
	local color	PledgeNameColor;
	local color	PledgeAllianceNameColor;
	
	//NPC특성
	local bool		 bShowNpcInfo;
	local Array<int>	 arrNpcInfo;
	
	//새로운Target인가?
//	local bool		IsTargetChanged;
	
	local bool  WantHideName;
	local int 	nMasterID;
	
	local UserInfo	info;
//	local UserInfo PlayerInfo;
	local int ClassID;
	
	local Color WhiteColor;	//  하얀색을 설정.
	
	WhiteColor.R = 0;
	WhiteColor.G = 0;
	WhiteColor.B = 0;
	
	myPet = false;		// added to more effective display HP pet/sum status

//	GetPlayerInfo(PlayerInfo);
	
//	ClassID = Info.nSubClass; 
	//타겟ID 얻어오기
	TargetID = class'UIDATA_TARGET'.static.GetTargetID();
	if (TargetID < 1)
	{
		if (contextOwner && wnd_contextMenu.isShowWindow())
		{
			wnd_contextMenu.HideWindow();
		}
		
		if (m_TargetID != targetID)
		{
			m_TargetID = targetID;
		}
		Me.HideWindow();
		return;
	}

	if (m_TargetID != TargetID)
	{
		if (contextOwner && wnd_contextMenu.isShowWindow())
		{
			wnd_contextMenu.HideWindow();
		}	
	}
	else
	{
		bIsServerObject = class'UIDATA_TARGET'.static.IsServerObject();	 //  to update door hp
		if (bIsServerObject)
		{	
			ServerObjectType = class'UIDATA_STATICOBJECT'.static.GetServerObjectType(m_TargetID);
			if (ServerObjectType == EL2_DOOR)
			{
				if( class'UIDATA_STATICOBJECT'.static.GetStaticObjectShowHP( m_TargetID ) )
				{
					UpdateHPBar(class'UIDATA_STATICOBJECT'.static.GetServerObjectHP(m_TargetID), class'UIDATA_STATICOBJECT'.static.GetServerObjectMaxHP(m_TargetID));
				}
			}
		}
		return;
	}

try to replace this block in  TargetStatusWnd, temp fix

Posted
17 hours ago, barao45 said:

Thanks! It worked but as you said is a temp fix. How can i show messages debugging. i'dont wanna make mistakes and broken the code.

??

in interface u can show messages in chatwnd (custom AddSystemMessageString() function in this interface) or use ShowOnScreenMessage() function or use default Log() function (need enable IsL2MemLog in l2.ini) if u work with pawns u can set a pawn ChatMsg string value (looks like chat baloon ingame)

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

    • LF the following chars / items on chronos   Elf - with class Aeore's Shillen Saint - this is possible if you had done a class change with a ticket in the past. Dwarf - with class Mystic Muse - same as above   Any greater jewels / Radiant Circle Grace or Foresight +5 and above Cloak      
    • First, you need to understand what you're doing and what you want to achieve. You have to choose a server core. After that, decide what you want your server to include, code it, modify the client to fit your server, go public, and drink champagne.   If you know how to code, creating a server is relatively easy — a few months of work and you can make it happen. Modifying the client is a completely different story. There’s a lack of tutorials, tools, and source materials. I’m currently working on the client myself, and I’ve already spent over three weeks just trying to get started due to the lack of information. If you don’t have the knowledge and experience, you’ll need a team and a bag of money — but realistically, it just won’t succeed.
    • The server has been online and stable for over 2 months now, and we’re still going strong! No wipes, no shortcuts ~ just continuous work, daily fixes, events, and improvements to ensure the best possible experience.   Great News! 🔥 CHAPTER II IS COMING — GRACIA FINAL 🔥 On February 16, L2Elixir enters a new era. The server will be officially updated to Gracia Final, opening Chapter II of our journey. Expect new content, improvements, and surprises that will refresh the gameplay while keeping the classic Gracia Final spirit alive.   More challenges, more competition, and more reasons to log in.   📅 Update Date: February 16 ⚔️ Chapter II: Gracia Final This is not a reset. This is evolution.   Prepare yourselves — Chapter II begins soon.   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs    
    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here 👉https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
  • 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..