[Neuz crash] Item linking

01/14/2014 13:00 neon1121#1
Hi all.
Help me with my prob.
I add item linking on my server, and i have one bug.
I send item in chat, and if i click right mouse button on item name(in chat), i have client crash.

Error log.
WndCommunication.cpp
resdata.inc

I know, this prob in ResData, but I do not know what's wrong. Help pls

************************************************** ***************
Screen
01/14/2014 14:31 Lumi#2
Try with this one:

Code:
APP_TOOLTIP_LINKEDITEM "WndTile00.tga" "" 1 230 400 0x2410000 21
{
// Title String
""
}
{
// Help Key
""
}
{
	WTYPE_CUSTOM WIDC_CUSTOM1 "" 0 79 8 111 40 0x260000 0 0 0 0 46 112 169
	{
	// Title String
""
	}
	{
	// ToolTip
""
	}
}
I don't know whether it work, but only with try you will find out that.
01/14/2014 17:52 neon1121#3
Quote:
Originally Posted by ​Lumi View Post
Try with this one:

Code:
APP_TOOLTIP_LINKEDITEM "WndTile00.tga" "" 1 230 400 0x2410000 21
{
// Title String
""
}
{
// Help Key
""
}
{
	WTYPE_CUSTOM WIDC_CUSTOM1 "" 0 79 8 111 40 0x260000 0 0 0 0 46 112 169
	{
	// Title String
""
	}
	{
	// ToolTip
""
	}
}
I don't know whether it work, but only with try you will find out that.
No..does not work..
01/15/2014 20:08 Selénc#4
Do you done this?

WndCommunication.cpp :

last line of :

PHP Code:
this->SetWndSize(this->GetWndRect().Width(), 100 p2DRender->m_pFont->GetTextExtent(strEdit).cy); 
to :

PHP Code:
this->SetWndSize(p2DRender->m_pFont->GetTextExtent(strEdit).cx100 p2DRender->m_pFont->GetTextExtent(strEdit).cy); 
and this :

PHP Code:
m_p2DRender->TextOut_EditString(rectItem.left 70rectItem.bottom 15strEdit); 
to :

PHP Code:
m_p2DRender->TextOut_EditString(rectItem.left 30rectItem.bottom 15strEdit); 
If you doesnt done this, try it out.

Selénc
01/16/2014 14:58 Lumi#5
Did that work for you now? Just only want to know for the solution.
01/16/2014 16:30 neon1121#6
Quote:
Originally Posted by ​Lumi View Post
Did that work for you now? Just only want to know for the solution.
Yes