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

    • You should buy it then I’ll make a discount  
    • Hi everyone,   In 2014, I completely stepped away from developing L2 servers and doing L2J-related work. Since then, I’ve only opened this server about once a year and helped a few servers and individuals for free. I haven’t taken on any paid L2J work since then.   LINEAGE2.GOLD is a project that has reached about Season 6. The first season launched at the end of 2020 and was a fully rebuilt Gold-style server on the Classic client (protocol 110). It featured many custom systems and enhancements. After several seasons, I decided to abandon the Mobius-based project and move to Lucera, as my goal was to get as close as possible to Interlude PTS behavior while still staying on the L2J platform.   The current project was once again completely rebuilt, this time on the Essence client (protocol 306), and is based on Lucera. Because of that, acquiring a license from Deazer is required.   My Lucera extender includes, but is not limited to: Formulas.java Basic anti-bot detection, which proved quite effective, we caught most Adrenaline users using relatively simple server-side logic, logged them, and took staff action. Simple admin account lookup commands based on IP, HWID, and similar identifiers. In-game Captcha via https://lineage2.gold/code, protected by Cloudflare, including admin commands for blacklisting based on aggression levels and whitelisting. Additional admin tools such as Auto-Play status checks, Enchanted Hero Weapon live sync, force add/remove clans from castle sieges, item listeners for live item monitoring, and more. A fully rewritten Auto-Play system with support for ExAutoPlaySetting, while still using the Auto-Play UI wheel, featuring: Debuff Efficiency Party Leader Assist Respectful Hunting Healer AI Target Mode Range Mode Summoner buff support Dwarf mechanics Reworked EffectDispelEffects to restore buffs after Cancellation. Raid Bomb item support. Reworked CronZoneSwitcher. Prime Time Raid Respawn Service. Community Board features such as Top rankings and RB/Epic status. Custom systems for Noblesse, Subclasses, support-class rewards, and much more.   Depending on the deal, the project can include: The lineage2.gold domain The website built on the Laravel PHP framework The server’s Discord Client Interface source Server files and extender source The server database (excluding private data such as emails and passwords)   I’m primarily looking for a serious team to continue the project, as it would be a shame to see this work abandoned. This is not cheap. You can DM me with offers. If you’re wondering why I’m doing this: I’ve felt a clear lack of appreciation from the L2 community, and I’m not interested in doing charity work for people who don’t deserve it. I’m simply not someone who tolerates BS. Server Info: https://lineage2.gold/info Server for test: https://lineage2.gold/download Over 110 videos YouTube playlist: https://www.youtube.com/watch?v=HO7BZaxUv2U&list=PLD9WZ0Nj-zstZaYeWxAxTKbX7ia2M_DUu&index=113
  • 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..

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