Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Misaligned and unreadable text

Status
Not open for further replies.
Newbie Spellweaver
Joined
Mar 1, 2021
Messages
12
Reaction score
0
Hi Ragezone,

Good Day.

May I request for your assistance with my current issue. I am trying to setup a local server but when I checked the Pierced card removal window, I can't see the text and they are misaligned.

I have already checked and searched a lot of forum threads and also tried using the limitx and limity text suggestion but still not working.

so I have 2 issues:
a. text is unreadable (black text unto black background)
b. text is misaligned to text box

Any assistance will be highly appreciated.

misaligned.PNG - Misaligned and unreadable text - RaGEZONE Forums
 

Attachments

You must be registered for see attachments list
Newbie Spellweaver
Joined
Jan 14, 2021
Messages
17
Reaction score
0
edit your resdata or replace this APP_SMELT_REMOVE_PIERCING_EX to your resdata.nc

APP_SMELT_REMOVE_PIERCING_EX "WndTile00.tga" "" 1 272 480 0x2410000 26
{
// Title String
IDS_RESDATA_INC_005736
}
{
// ToolTip
IDS_RESDATA_INC_005737
}
{
WTYPE_STATIC WIDC_PIC_SLOT "back_Slotitem.tga" 0 114 14 146 46 0x2220002 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_005082
}
{
// ToolTip
IDS_RESDATA_INC_005083
}
WTYPE_TEXT WIDC_TEXT1 "WndEditTile00.tga" 1 10 326 258 402 0x20020000 0 0 0 0 255 255 255
{
// Title String
IDS_RESDATA_INC_005084
}
{
// ToolTip
IDS_RESDATA_INC_005085
}
WTYPE_BUTTON WIDC_START "ButtNormal01.tga" 0 78 413 182 437 0x220010 0 0 0 0 0 0 0
{
// Title String
IDS_RESDATA_INC_005086
}
{
// ToolTip
IDS_RESDATA_INC_005087
}
WTYPE_STATIC WIDC_STATIC_PIERCING1 "WndSquare3.bmp" 0 10 54 250 76 0x2220000 0 0 0 0 255 255 255
{
// Title String
IDS_RESDATA_INC_005782
}
{
// ToolTip
IDS_RESDATA_INC_005783
}
WTYPE_STATIC WIDC_STATIC_PIERCING2 "WndSquare3.bmp" 0 10 80 250 102 0x2220000 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_005784
}
{
// ToolTip
IDS_RESDATA_INC_005785
}
WTYPE_STATIC WIDC_STATIC_PIERCING3 "WndSquare3.bmp" 0 10 106 250 128 0x2220000 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_005786
}
{
// ToolTip
IDS_RESDATA_INC_005787
}
WTYPE_STATIC WIDC_STATIC_PIERCING4 "WndSquare3.bmp" 0 10 132 250 154 0x2220000 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_005788
}
{
// ToolTip
IDS_RESDATA_INC_005789
}
WTYPE_STATIC WIDC_STATIC_PIERCING5 "WndSquare3.bmp" 0 10 158 250 180 0x2220000 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_005790
}
{
// ToolTip
IDS_RESDATA_INC_005791
}
WTYPE_STATIC WIDC_STATIC_PIERCING6 "WndSquare3.bmp" 0 10 184 250 206 0x2220000 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_005792
}
{
// ToolTip
IDS_RESDATA_INC_005793
}
WTYPE_STATIC WIDC_STATIC_PIERCING7 "WndSquare3.bmp" 0 9 210 249 232 0x2220000 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_005794
}
{
// ToolTip
IDS_RESDATA_INC_005795
}
WTYPE_STATIC WIDC_STATIC_PIERCING8 "WndSquare3.bmp" 0 10 236 250 258 0x2220000 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_005796
}
{
// ToolTip
IDS_RESDATA_INC_005797
}
WTYPE_STATIC WIDC_STATIC_PIERCING9 "WndSquare3.bmp" 0 10 262 250 284 0x2220000 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_005798
}
{
// ToolTip
IDS_RESDATA_INC_005799
}
WTYPE_STATIC WIDC_STATIC_PIERCING10 "WndSquare3.bmp" 0 10 288 250 310 0x2220000 0 0 0 0 46 112 169
{
// Title String
IDS_RESDATA_INC_005800
}
{
// ToolTip
IDS_RESDATA_INC_005801
}

}
 
Newbie Spellweaver
Joined
Mar 1, 2021
Messages
12
Reaction score
0
Hi Rookie,

Good Day.

Thank you so much for the assistance, I can now read the entries (black text, white background), although they are still misaligned.

Just like to ask as well the following lines:


WTYPE_STATIC WIDC_STATIC_PIERCING1 "WndSquare3.bmp" 0 10 54 250 76 0x2220000 0 0 0 0 255 255 255

I understand that changing 0x2220000 to 0xFFFFFFF cause the box to be transparent and no longer clickable (correct me if im wrong)

what are the other lines for? -----0 10 54 250 76 ----0x2220000--- 0 0 0 0 255 255 255 ------
I tried editing them but there are no changes on the window.

christain - Misaligned and unreadable text - RaGEZONE Forums
 
Newbie Spellweaver
Joined
Apr 2, 2018
Messages
15
Reaction score
6
I have done it directly in source. This should solve your problem.
In WndField.cpp in function CWndRemovePiercing::OnDraw
Change this:
Code:
p2DRender->TextOut( lpWndCtrl->rect.left + 10, lpWndCtrl->rect.top + 8, textOpt, D3DCOLOR_ARGB(255,0,0,0) );
To this:
Code:
p2DRender->TextOut( lpWndCtrl->rect.left + 10, lpWndCtrl->rect.top + 5, textOpt, D3DCOLOR_ARGB(255, 255, 255, 255) );
 
Newbie Spellweaver
Joined
Mar 1, 2021
Messages
12
Reaction score
0
white text.PNG - Misaligned and unreadable text - RaGEZONE Forums

Hi Paralax,

Thank you so much! I am now able to see the text (white text over black background).
 

Attachments

You must be registered for see attachments list
Status
Not open for further replies.
Back
Top