Jump to content

Fix OverIn Tooltip with another slot behind


Recommended Posts

  • Premium

This is the problem I am talking about:

.gif

 

Basically, when you get down from the mount (or the item slots are refreshed), the tooltip shown does not stay as the one from the item in the inventory's interface on top, but the item in the inventory behind.

To fix this behaviour, go on

void CSlotWindow::RefreshSlot()

and change

void CSlotWindow::RefreshSlot()
{
	OnRefreshSlot();

	// NOTE : Refresh µÉ¶§ ToolTip µµ °»½Å ÇÕ´Ï´Ù - [levites]
	if (IsRendering())
	{
		TSlot * pSlot;
		if (GetPickedSlotPointer(&pSlot))
		{
			OnOverOutItem();
			OnOverInItem(pSlot->dwSlotNumber);
		}
	}
}

to:

void CSlotWindow::RefreshSlot()
{
	OnRefreshSlot();

	if (IsRendering() && UI::CWindowManager::Instance().GetPointWindow() == this)
	{
		TSlot * pSlot;
		if (GetPickedSlotPointer(&pSlot))
		{
			OnOverOutItem();
			OnOverInItem(pSlot->dwSlotNumber);
		}
	}
}

 

  • Metin2 Dev 15
  • Scream 2
  • Good 2
  • muscle 1
  • Love 10
Link to comment
Share on other sites

  • Active+ Member

 

58 minutes ago, Intel said:

I had seen this:

.gif

but I don't know how to replicate it on my client (even on latest martysama)

I have this on loading ingame after tp, when I hover my cursor over taskbar (item/skill) and then move the mouse I usually have this annoying bug.

 

or do this to replicate:

 

https://metin2.download/picture/2UWntujr827gvqVERGcI9cE5ZiRc43kj/.gif

Edited by HFWhite

spacer.png

Link to comment
Share on other sites

  • Premium
1 hour ago, HFWhite said:

 

I have this on loading ingame after tp, when I hover my cursor over taskbar (item/skill) and then move the mouse I usually have this annoying bug.

 

or do this to replicate:

 

https://metin2.download/picture/2UWntujr827gvqVERGcI9cE5ZiRc43kj/.gif

I think it's fixed..

I can reproduce it with the dragon soul window:

.gif

 

After:

.gif

 

Also, at least on these files, dragon soul window is not as large as it supposed to be:

.png

520 in height should do the trick

Link to comment
Share on other sites

On 2/29/2024 at 1:18 AM, Intel said:

I think it's fixed..

I can reproduce it with the dragon soul window:

.gif

 

After:

.gif

 

Also, at least on these files, dragon soul window is not as large as it supposed to be:

.png

520 in height should do the trick

if you dont mind share the fix for the buggy tooltip that moves through the screen

Link to comment
Share on other sites

  • Premium
17 hours ago, Amsterdam said:

will be nice if i will find a fix for this . 
spacer.png

At this point it's probably just another

 

if (isrendering()){

 if(GetPickedSlotPointer()) { }

}

just somewhere else;

I am not sure what's happening on your screen though. It looks like there's another tooltip with just the name of the item. I don't think it's a launcher problem but the system itself in the python code. Something doesn't look quite right.

Link to comment
Share on other sites

  • Premium
Posted (edited)
On 3/3/2024 at 9:59 PM, Intel said:

At this point it's probably just another

 

if (isrendering()){

 if(GetPickedSlotPointer()) { }

}

just somewhere else;

I am not sure what's happening on your screen though. It looks like there's another tooltip with just the name of the item. I don't think it's a launcher problem but the system itself in the python code. Something doesn't look quite right.

it's only on Kashmir Bundle (spacer.png ) this problem, on Bundle ( spacer.png ) everything is ok
.gif

Edited by Amsterdam
Link to comment
Share on other sites

  • Premium
Posted (edited)
11 hours ago, Amsterdam said:

it's only on Kashmir Bundle (spacer.png ) this problem, on Bundle ( spacer.png ) everything is ok
.gif

I cannot replicate it (I should have to either add the new ikarus offline shop to my files since it already has a similar system, I would need to just change the preview with a render target window, or I should add the rendering target to marty sama files ETA: at least two weeks because cba gotta do other stuff)

I've tried to mimic it opening my search npc interface (with a render target) when I use an item:

		else:
			####
      			####
			###
			self.interface.ToggleSearchNpc() ##open search npc
			self.__SendUseItemPacket(slotIndex)	

.gif

 

Either your render target window or the system that open that interface has some mistakes.

Edited by Intel
Link to comment
Share on other sites

  • Premium
12 hours ago, Intel said:

I cannot replicate it (I should have to either add the new ikarus offline shop to my files since it already has a similar system, I would need to just change the preview with a render target window, or I should add the rendering target to marty sama files ETA: at least two weeks because cba gotta do other stuff)

I've tried to mimic it opening my search npc interface (with a render target) when I use an item:

		else:
			####
      			####
			###
			self.interface.ToggleSearchNpc() ##open search npc
			self.__SendUseItemPacket(slotIndex)	

.gif

 

Either your render target window or the system that open that interface has some mistakes.

I use sonitex offline shop but he don't offer support anymore, it's possible to discuss on Marty server ?

Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.