Character Detail Tooltips

11/15/2018 04:09 Naltalah#1
Hi there.

So i wanted to redesign my character window to make it show more relevant stats to the user. Worked out fine so far, but I have one problem left I can't seem to figure out how to address.

First off, here's a screenshot of the problem:
[Only registered and activated users can see links. Click Here To Register...]

What I tried so far:

I changed the following code at CWndCharacterDetail2, but it seems to not affect the tooltip positions:

PHP Code:
    rectHittest[0].SetRect10140160153 );
    
rectHittest[1].SetRect10155160168 );
    
rectHittest[2].SetRect10170160183 );
    
rectHittest[3].SetRect10185160198 );
    
rectHittest[4].SetRect10200160213 ); 
Where excatly is the tooltip position determined? Any hint on where to look is appreciated. I do not expect a full solution to my problem however.

Thanks in advance.
11/15/2018 09:55 - DK#2
Quote:
Originally Posted by Naltalah View Post
Hi there.

So i wanted to redesign my character window to make it show more relevant stats to the user. Worked out fine so far, but I have one problem left I can't seem to figure out how to address.

First off, here's a screenshot of the problem:
[Only registered and activated users can see links. Click Here To Register...]

What I tried so far:

I changed the following code at CWndCharacterDetail2, but it seems to not affect the tooltip positions:

PHP Code:
    rectHittest[0].SetRect10140160153 );
    
rectHittest[1].SetRect10155160168 );
    
rectHittest[2].SetRect10170160183 );
    
rectHittest[3].SetRect10185160198 );
    
rectHittest[4].SetRect10200160213 ); 
Where excatly is the tooltip position determined? Any hint on where to look is appreciated. I do not expect a full solution to my problem however.

Thanks in advance.
Try Resdata.inc :)
11/15/2018 10:19 Naltalah#3
Quote:
Originally Posted by - DK ACE View Post
Try Resdata.inc :)
In the resdata.inc there are only the definititions for the whole Tab the information is shown in. No Tooltips for single stats.

11/16/2018 03:03 Kiseku#4
Quote:
Originally Posted by - DK ACE View Post
Try Resdata.inc :)
Wrong.


you have to edit your window in your source.
11/16/2018 12:52 Naltalah#5
Update: Managed to do it now, I just changed the rect values at the wrong place. Unused windows ftw :D