[Ask] about Resdata.inc

02/18/2013 15:15 Rhyder`#1
What kind of APP_???? to edit this? --> [Only registered and activated users can see links. Click Here To Register...]
02/18/2013 15:42 ThoughtfulDev#2
the positions are source code i think the class is cwndcharacter (dont know) and cwndcharacterdetail there you find the APP
02/18/2013 16:26 Shiaru#3
APP_CHARACTER3 "Wndtile00.tga" 1 208 608 0x2410000 26
{
// Title String
IDS_RESDATA_INC_005936
}
{
// Help Key
IDS_RESDATA_INC_005937
}
{
WTYPE_TABCTRL WIDC_TABCTRL1 "" 1 8 12 204 568 0x260000 0 0 0 0
{
// Title String
IDS_RESDATA_INC_005938
}
{
// ToolTip
IDS_RESDATA_INC_005939
}

}


AddAppletFunc( AppMain_WndCharacter , APP_CHARACTER3 , _T( "WndCharacter" ) , _T( "Icon_Character.dds" ) , GETTEXT( TID_TIP_CHARACTER ), 'H' );
02/18/2013 16:45 Crowley™#4
Quote:
Originally Posted by Shiaru View Post
APP_CHARACTER3 "Wndtile00.tga" 1 208 608 0x2410000 26
{
// Title String
IDS_RESDATA_INC_005936
}
{
// Help Key
IDS_RESDATA_INC_005937
}
{
WTYPE_TABCTRL WIDC_TABCTRL1 "" 1 8 12 204 568 0x260000 0 0 0 0
{
// Title String
IDS_RESDATA_INC_005938
}
{
// ToolTip
IDS_RESDATA_INC_005939
}

}
Falsch xD

Wird in der Source geregelt wie Shonen schon sagte ;)

-> Wndfield.cpp

mfg. Crowley
02/18/2013 22:25 Jopsi332#5
Quote:
Originally Posted by <Crowley> View Post
Falsch xD

Wird in der Source geregelt wie Shonen schon sagte ;)

-> Wndfield.cpp

mfg. Crowley
size of window = resdata.inc
points where textes where drawn
void CWndCharInfo::OnDraw(C2DRender* p2DRender)
02/18/2013 23:25 Rhyder`#6
Quote:
Originally Posted by Jopsi332 View Post
size of window = resdata.inc
points where textes where drawn
void CWndCharInfo::OnDraw(C2DRender* p2DRender)

Source Code please :(
02/18/2013 23:35 Jopsi332#7
p2DRender->TextOut( x, y,
the x and y points are where the text comes
02/18/2013 23:41 Rhyder`#8
Quote:
Originally Posted by Jopsi332 View Post
p2DRender->TextOut( x, y,
the x and y points are where the text comes

How about your taskbar how to activate 6 slot?
and F10 A10 0 will lost after restarting server :(
02/18/2013 23:47 Jopsi332#9
Quote:
Originally Posted by jayjei14 View Post
How about your taskbar how to activate 6 slot?
and F10 A10 0 will lost after restarting server :(
change

#ifdef __NEW_THEME
#define MAX_SLOT_ITEM 10
#define MAX_SLOT_QUEUE 6
#else
#define MAX_SLOT_ITEM 9 // a10,f10,0
#define MAX_SLOT_QUEUE 5 //action slot
#endif
(build dbserver,worldserver,neuz)
and in wndtaskbar.cpp in cwndnewskillclass change the arrays and for from 5 to 6.
(build neuz)
02/18/2013 23:51 Rhyder`#10
Quote:
Originally Posted by Jopsi332 View Post
change

#ifdef __NEW_THEME
#define MAX_SLOT_ITEM 10
#define MAX_SLOT_QUEUE 6
#else
#define MAX_SLOT_ITEM 9 // a10,f10,0
#define MAX_SLOT_QUEUE 5 //action slot
#endif
(build dbserver,worldserver,neuz)
and in wndtaskbar.cpp in cwndnewskillclass change the arrays and for from 5 to 6.
(build neuz)
A1-A10, F10 1-0 hotkey how to activate?
02/19/2013 00:13 Jopsi332#11
Quote:
Originally Posted by jayjei14 View Post
A1-A10, F10 1-0 hotkey how to activate?
projectcmnh.h
change

#define MAX_SLOT_ITEM 9
#define MAX_SLOT_QUEUE 5
to

#ifdef __NEW_THEME
#define MAX_SLOT_ITEM 10
#define MAX_SLOT_QUEUE 6
#else
#define MAX_SLOT_ITEM 9 // a10,f10,0
#define MAX_SLOT_QUEUE 5 //action slot
#endif
02/19/2013 00:28 Rhyder`#12
Quote:
Originally Posted by Jopsi332 View Post
projectcmnh.h
change

#define MAX_SLOT_ITEM 9
#define MAX_SLOT_QUEUE 5
to

#ifdef __NEW_THEME
#define MAX_SLOT_ITEM 10
#define MAX_SLOT_QUEUE 6
#else
#define MAX_SLOT_ITEM 9 // a10,f10,0
#define MAX_SLOT_QUEUE 5 //action slot
#endif
For the hotkey i want it 1-0 hotkey, A1-A10 hotkey and F10 Hotkey how to make it works?
.
.
.
what do you with this?
wndtaskbar.h
Code:
change m_aSlotItem to  this in  cwndtaskbar02 cwndtaskbar03  and  cwndnewtaskbarSHORTCUT       m_aSlotItem   [  MAX_SLOT_ITEM_COUNT  ][ 10 ]; // 1 ~ 0(10)
02/19/2013 00:39 Jopsi332#13
just do this
projectcmnh.h
change

#define MAX_SLOT_ITEM 9
#define MAX_SLOT_QUEUE 5
to

#ifdef __NEW_THEME
#define MAX_SLOT_ITEM 10
#define MAX_SLOT_QUEUE 6
#else
#define MAX_SLOT_ITEM 9 // a10,f10,0
#define MAX_SLOT_QUEUE 5 //action slot
#endif
_________
and it work, no need to change array in wndtaskbar.h
02/19/2013 06:47 Rhyder`#14
Quote:
Originally Posted by Jopsi332 View Post
just do this
projectcmnh.h
change

#define MAX_SLOT_ITEM 9
#define MAX_SLOT_QUEUE 5
to

#ifdef __NEW_THEME
#define MAX_SLOT_ITEM 10
#define MAX_SLOT_QUEUE 6
#else
#define MAX_SLOT_ITEM 9 // a10,f10,0
#define MAX_SLOT_QUEUE 5 //action slot
#endif
_________
and it work, no need to change array in wndtaskbar.h

i think for the hotkey is wndmanager???? :confused: