|
You last visited: Today at 15:11
Advertisement
how to add somting to "start" or "short key" problem
Discussion on how to add somting to "start" or "short key" problem within the Flyff Private Server forum part of the Flyff category.
02/05/2013, 17:47
|
#1
|
elite*gold: 0
Join Date: Apr 2011
Posts: 319
Received Thanks: 20
|
how to add somting to "start" or "short key" problem
hallo,
today i added teleport system to my source and i build source W/O errors(i had few warnings)
i can log in the game with my new bins just fine..
but how do i add it at he game, i know i need FuncApplet.cpp for shortkey, and WndTaskBar.cpp for the start menu..
i tryed to add it so short key and i addid this in FuncApplet.cpp
PHP Code:
#ifdef _APP_TELEPORTER AddAppletFunc( AppMain_wndappteleport , APP_TELEPORTER , _T( "WndTeleporter" ) , NULL , GETTEXT( TID_TIP_DIALOG ), 'U' ); #endif
but wen i try to go ingame notting heppens wen i press U.. how can i fix it and how do add somthing to the start menu?
thanks
|
|
|
02/05/2013, 18:29
|
#2
|
elite*gold: 28
Join Date: Aug 2012
Posts: 2,335
Received Thanks: 471
|
first it has to call
#ifdef __APP_TELEPORTER because you have too much spaces in there
and for the funcapplet just look onto the others
first the declare applet and then the addappletfunc
|
|
|
02/05/2013, 18:34
|
#3
|
elite*gold: 0
Join Date: Mar 2008
Posts: 598
Received Thanks: 465
|
The amount of spaces betwen "#if" and the name or the value of what is being declared is no limit, except being in the same line.
|
|
|
02/05/2013, 18:43
|
#4
|
elite*gold: 0
Join Date: Apr 2011
Posts: 319
Received Thanks: 20
|
this is wath i have added:
PHP Code:
DECLAREAPPLET( AppMain_wndappteleport , new CWndTeleporter );
and stil dont work, is it the same whare i put it? i added thad UNDER:
PHP Code:
DECLAREAPPLET( AppMain_WndSelectChar , new CWndSelectChar );
is thad rong or what?
Quote:
Originally Posted by Shonenx33
first it has to call
#ifdef __APP_TELEPORTER because you have too much spaces in there
and for the funcapplet just look onto the others
first the declare applet and then the addappletfunc
|
and now it looks also like this:
PHP Code:
#ifdef _APP_TELEPORTER AddAppletFunc( AppMain_wndappteleport , APP_TELEPORTER , _T( "WndTeleporter" ) , NULL , GETTEXT( TID_TIP_DIALOG ), 'U' ); #endif
stil dont work :s
this is my FuncApplet.cpp:
PHP Code:
#include "stdafx.h" #include "defineText.h" #include "AppDefine.h" #include "WndParty.h" #include "WndNotice.h" #include "WndMessenger.h" #include "WndBank.h" // ÀºÇà / â°í #include "WndRepairItem.h" // ¼ö¸®Ã¢ #include "WndDebugInfo.h" // µð¹ö±× â #include "WndHelp.h" #include "WndWebBox.h" #include "WndVendor.h" #include "WndCommItem.h" #include "WndQuest.h" #include "WndMotion.h" #include "WndPvp.h" #include "WndGuildVote.h" #ifdef __IMPROVE_MAP_SYSTEM #include "WndMapEx.h" #else // __IMPROVE_MAP_SYSTEM #include "WndMap.h" #endif // __IMPROVE_MAP_SYSTEM #include "WndBagEx.h"
#if __VER >= 8 //__CSC_VER8_2 #include "WndPartyQuick.h" #endif //__CSC_VER8_2 #if __VER >= 13 // __HOUSING #include "WndHousing.h" #endif // __HOUSING
#if __VER >= 15 // __GUILD_HOUSE #include "WndGuildHouse.h" #endif
#if __VER >= 15 // __2ND_PASSWORD_SYSTEM #include "Wnd2ndPassword.h" #endif // __2ND_PASSWORD_SYSTEM
#ifdef __NEW_WEB_BOX #include "WndHelperWebBox.h" #endif // __NEW_WEB_BOX /* ¿©±â¼* Á¤ÀÇµÈ ¾ÖÇ÷§ Ŭ·¡½º´Â Å×½ºÅ© ¸Å´º¿¡ Ãß°¡µÉ ¼ö ÀÖ´Â ¼¼ÆÃÀ» Æ÷ÇÔÇÑ´Ù. ŽºÅ© ¸Å´º¿¡ ¾ÖÇ÷¿À» Ãß°¡Çϱâ À§Çؼ*´Â
Step. 1 - Applet ID Á¤ÀÇ ResData.h¸¦ ¿*°í Applet ID¸¦ Á¤ÀÇÇÑ´Ù. ¸ÅÀÎÇÁ·Î¼¼¼*´Â Applet ID·Î AppletÀ» ÀνÄÇÑ´Ù. ¸¸¾à Daisy¸¦ »ç¿ëÇÒ °æ¿ì¶ó¸é Daisy¿¡¼* Id¸¦ ÁöÁ¤ÇØÁÖ¸é µÈ´Ù. ÀÌ°æ¿ì Á÷Á¢ ResData.h¸¦ ¼öÁ¤ÇÒ ÇÊ¿ä´Â ¾ø´Ù.
Step. 2 - DECLAREAPPLET »ý¼ºÀÚ ÇÔ¼ö ¼±¾ðÇϱâ DECLAREAPPLET´Â ½ÇÇà ¸í·ÉÀÌ ³»·ÁÁ³À» ¶§ ÇØ´ç class¸¦ ÇÒ´çÇÏ¿© ¸ÅÀÎ ÇÁ·Î¼¼¼*¿¡°Ô Æ÷ÀÎÅ͸¦ µ¹·ÁÁÖ´Â ¿ªÇÒÀ» ÇÑ´Ù. ÀÌ ÇÔ¼ö°¡ Á¤ÀǵǾîÀÖÁö ¾ÊÀ¸¸é ¸ÅÀÎ ÇÁ·Î¼¼¼*´Â class¸¦ ½ÇÇà ½Ãų ¼ö ¾ø°Ô µÈ´Ù. DECLAREAPPLETÀº AppMain ÇÔ¼ö¸¦ ¸¸µå´Â °ÍÀ» °£´ÜÇÏ°Ô Á¤ÀÇÇÑ defineÀÌ´Ù. ¿ë¹ýÀº ´ÙÀ½°ú °°´Ù. DECLAREAPPLET( ÇÔ¼ö¸í, new className );
Step. 3 - map¿¡ AddÇϱâ. ¸¶Áö¸· ÇʵåÀÇ ÅøÆÁ ¼¼ÆÃÀº Resource\textClient.inc¸¦ Âü°í. */
DECLAREAPPLET( AppMain_WndNavigator , new CWndNavigator ); DECLAREAPPLET( AppMain_WndCharacter , new CWndCharacter ); DECLAREAPPLET( AppMain_WndSkill2 , new CWndSkillTreeEx ); DECLAREAPPLET( AppMain_WndEmotion , new CWndEmotion ); DECLAREAPPLET( AppMain_WndMotion , new CWndMotion ); DECLAREAPPLET( AppMain_WndTrade , new CWndTrade ); DECLAREAPPLET( AppMain_WndVendor , new CWndVendor ); DECLAREAPPLET( AppMain_WndQuest , new CWndQuest ); DECLAREAPPLET( AppMain_WndPvp , new CWndPvp ); DECLAREAPPLET( AppMain_WndInventory , new CWndInventory ); DECLAREAPPLET( AppMain_WndWebBox , new CWndWebBox ); DECLAREAPPLET( AppMain_WndWebBox2 , new CWndWebBox2 ); DECLAREAPPLET( AppMain_WndParty , new CWndParty ); DECLAREAPPLET( AppMain_WndGuild , new CWndGuild ); DECLAREAPPLET( AppMain_WndCommItem , new CWndCommItem ); DECLAREAPPLET( AppMain_WndUpgradeBase , new CWndUpgradeBase ); DECLAREAPPLET( AppMain_WndPiercing , new CWndPiercing ); DECLAREAPPLET( AppMain_WndChat , new CWndChat ); #if __VER >= 11 // __CSC_VER11_4 DECLAREAPPLET( AppMain_WndMessenger , new CWndMessengerEx ); #else //__CSC_VER11_4 DECLAREAPPLET( AppMain_WndMessenger , new CWndMessenger ); #endif //__CSC_VER11_4 DECLAREAPPLET( AppMain_WndOptSound , new CWndOptSound ); DECLAREAPPLET( AppMain_WndOptWindow , new CWndOptWindow ); DECLAREAPPLET( AppMain_WndOptMyInfo , new CWndOptMyInfo ); DECLAREAPPLET( AppMain_WndOption , new CWndTotalOption ); DECLAREAPPLET( AppMain_WndInfoNotice , new CWndInfoNotice ); DECLAREAPPLET( AppMain_WndHelpHelp , new CWndHelp ); DECLAREAPPLET( AppMain_WndHelpTip , new CWndHelpTip ); DECLAREAPPLET( AppMain_WndHelpFAQ , new CWndHelpFAQ ); DECLAREAPPLET( AppMain_WndLogOut , new CWndLogOut ); DECLAREAPPLET( AppMain_WndQuit , new CWndQuit ); DECLAREAPPLET( AppMain_WndWorld , new CWndWorld ); DECLAREAPPLET( AppMain_WndDebugInfo , new CWndDebugInfo ); DECLAREAPPLET( AppMain_WndStatus , new CWndStatus ); DECLAREAPPLET( AppMain_WndLogin , new CWndLogin ); DECLAREAPPLET( AppMain_WndSelectServer , new CWndSelectServer ); DECLAREAPPLET( AppMain_WndCreateChar , new CWndCreateChar ); DECLAREAPPLET( AppMain_WndSelectChar , new CWndSelectChar ); DECLAREAPPLET( AppMain_wndappteleport , new CWndTeleporter );
#if __VER >= 9 // __INSERT_MAP #ifdef __IMPROVE_MAP_SYSTEM DECLAREAPPLET( AppMain_WndMap , new CWndMapEx ); #else // __IMPROVE_MAP_SYSTEM DECLAREAPPLET( AppMain_WndMap , new CWndMap ); #endif // __IMPROVE_MAP_SYSTEM #endif #if __VER >= 12 // __LORD DECLAREAPPLET( AppMain_LordSkill, new CWndLordSkill ); #endif #if __VER >= 8 //__CSC_VER8_2 DECLAREAPPLET( AppMain_WndPartyQuick , new CWndPartyQuick ); #endif //__CSC_VER8_2 #if __VER >= 8 //__CSC_VER8_3 DECLAREAPPLET( AppMain_WndBuffStatus , new CWndBuffStatus ); #endif //__CSC_VER8_3
#ifdef __GUILDVOTE DECLAREAPPLET( AppMain_WndGuildVote , new CWndGuildVote ); #endif DECLAREAPPLET( AppMain_WndInvenRemoveItem, new CWndInvenRemoveItem ); #if __VER >= 11 // __SYS_POCKET #ifndef __TMP_POCKET DECLAREAPPLET( AppMain_BagEx , new CWndBagEx ); #endif #endif
#if __VER >= 12 // __MOD_TUTORIAL DECLAREAPPLET( AppMain_InfoPang , new CWndInfoPang ); #endif #if __VER >= 13 // __HOUSING DECLAREAPPLET( AppMain_Housing , new CWndHousing ); #endif // __HOUSING
#if __VER >= 15 // __GUILD_HOUSE DECLAREAPPLET( AppMain_GuildHousing , new CWndGuildHousing ); #endif
#if __VER >= 13 // __CSC_VER13_2 DECLAREAPPLET( AppMain_Couple , new CWndCoupleManager ); #endif //__CSC_VER13_2
#if __VER >= 15 // __2ND_PASSWORD_SYSTEM DECLAREAPPLET( AppMain_Wnd2ndPassword , new CWnd2ndPassword ); #endif // __2ND_PASSWORD_SYSTEM
#ifdef __NEW_WEB_BOX DECLAREAPPLET( AppMain_WndHelperWebBox , new CWndHelperWebBox ); #endif // __NEW_WEB_BOX
void CWndMgr::AddAllApplet() { // »ý¼ºÀÚ ID ŸÀÌƲ ¾ÆÀÌÄÜ ÅøÆÁ ÅؽºÆ® AddAppletFunc( AppMain_WndNavigator , APP_NAVIGATOR , _T( "WndNavigator" ) , _T( "Icon_Navigator.dds" ) , GETTEXT( TID_TIP_NAVIGATOR ), 'N' ); AddAppletFunc( AppMain_WndStatus , APP_STATUS1 , _T( "WndStatus" ) , _T( "Icon_Status.dds" ) , GETTEXT( TID_TIP_STATUS ), 'T' ); #if __VER >= 9 // __INSERT_MAP #ifdef __IMPROVE_MAP_SYSTEM AddAppletFunc( AppMain_WndMap , APP_MAP_EX , _T( "WndMap" ) , _T( "Icon_Applet.dds" ) , GETTEXT(TID_TIP_MAP), 'M' ); #else // __IMPROVE_MAP_SYSTEM AddAppletFunc( AppMain_WndMap , APP_MAP , _T( "WndMap" ) , _T( "Icon_Applet.dds" ) , GETTEXT(TID_TIP_MAP), 'M' ); #endif // __IMPROVE_MAP_SYSTEM #endif #if __VER >= 12 // __LORD if( ::GetLanguage() == LANG_FRE ) AddAppletFunc( AppMain_LordSkill , APP_LORD_SKILL , _T( "WndLordSkill" ) , _T( "Icon_Infopang.dds" ) , GETTEXT(TID_TIP_INFOPANG), 'A' ); else AddAppletFunc( AppMain_LordSkill , APP_LORD_SKILL , _T( "WndLordSkill" ) , _T( "Icon_Infopang.dds" ) , GETTEXT(TID_TIP_INFOPANG), 'L' ); #endif // __LORD #if __VER >= 12 // __MOD_TUTORIAL AddAppletFunc( AppMain_InfoPang , APP_INFOPANG , _T( "WndInfoPang" ) , _T( "Icon_Infopang.dds" ) , GETTEXT(TID_TIP_INFOPANG), 0 ); #endif #if __VER >= 13 // __HOUSING AddAppletFunc( AppMain_Housing , APP_HOUSING , _T( "WndHousing" ) , _T( "Icon_Housing.dds" ) , GETTEXT(TID_GAME_HOUSING_BOX), 'Y' ); #endif // __HOUSING
#if __VER >= 15 // __GUILD_HOUSE AddAppletFunc( AppMain_GuildHousing , APP_GH_FURNITURE_STORAGE, _T( "WndGuildHousing" ) , _T( "Icon_Housing.dds" ) , GETTEXT(TID_GAME_HOUSING_BOX), 'R' ); #endif #if __VER >= 13 // __RENEW_CHARINFO AddAppletFunc( AppMain_WndCharacter , APP_CHARACTER3 , _T( "WndCharacter" ) , _T( "Icon_Character.dds" ) , GETTEXT( TID_TIP_CHARACTER ), 'H' ); #elif __VER >= 9 // __CSC_VER9_2 AddAppletFunc( AppMain_WndCharacter , APP_CHARACTER2 , _T( "WndCharacter" ) , _T( "Icon_Character.dds" ) , GETTEXT( TID_TIP_CHARACTER ), 'H' ); #else //__CSC_VER9_2 AddAppletFunc( AppMain_WndCharacter , APP_CHARACTER , _T( "WndCharacter" ) , _T( "Icon_Character.dds" ) , GETTEXT( TID_TIP_CHARACTER ), 'H' ); #endif //__CSC_VER9_2 AddAppletFunc( AppMain_WndInventory , APP_INVENTORY , _T( "WndInventory" ) , _T( "Icon_Inventory.dds" ) , GETTEXT( TID_TIP_INVENTORY ), 'I' ); AddAppletFunc( AppMain_WndWebBox , APP_WEBBOX , _T( "WebBox" ) , _T( "Icon_CitemMall.dds" ) , GETTEXT( TID_TIP_ITEMMALL ), 0 ); #if __VER >= 10 // __CSC_VER9_1 #ifdef __NEW_SKILL_TREE AddAppletFunc( AppMain_WndSkill2 , APP_SKILL4 , _T( "WndSkill" ) , _T( "Icon_Skill.dds" ) , GETTEXT( TID_TIP_SKILL ), 'K' ); #else // __NEW_SKILL_TREE AddAppletFunc( AppMain_WndSkill2 , APP_SKILL3 , _T( "WndSkill" ) , _T( "Icon_Skill.dds" ) , GETTEXT( TID_TIP_SKILL ), 'K' ); #endif // __NEW_SKILL_TREE #else AddAppletFunc( AppMain_WndSkill2 , APP_SKILL1 , _T( "WndSkill" ) , _T( "Icon_Skill.dds" ) , GETTEXT( TID_TIP_SKILL ), 'K' ); #endif //__CSC_VER9_1
AddAppletFunc( AppMain_WndMotion , APP_MOTION , _T( "WndMotion" ) , _T( "Icon_Motion.dds" ) , GETTEXT( TID_TIP_MOTION ), 'O' ); AddAppletFunc( AppMain_WndTrade , APP_TRADE , _T( "WndTrade" ) , _T( "Icon_Trade.dds" ) , GETTEXT( TID_TIP_TRADE ), 0 );
#if __VER >= 8 // __S8_VENDOR_REVISION AddAppletFunc( AppMain_WndVendor , APP_VENDOR_REVISION , _T( "WndVendor" ) , _T( "Icon_Applet.dds" ) , GETTEXT( TID_TIP_VENDOR ), 0 ); #else // __VER >= 8 // __S8_VENDOR_REVISION AddAppletFunc( AppMain_WndVendor , APP_VENDOREX , _T( "WndVendor" ) , _T( "Icon_Applet.dds" ) , GETTEXT( TID_TIP_VENDOR ), 0 ); #endif // __VER >= 8 // __S8_VENDOR_REVISION
#if __VER >= 15 // __IMPROVE_QUEST_INTERFACE AddAppletFunc( AppMain_WndQuest , APP_QUEST_EX_LIST , _T( "WndQuest" ) , _T( "Icon_Quest.dds" ) , GETTEXT( TID_TIP_QUEST ), g_Neuz.Key.chQuest ); #else // __IMPROVE_QUEST_INTERFACE AddAppletFunc( AppMain_WndQuest , APP_QUEST , _T( "WndQuest" ) , _T( "Icon_Quest.dds" ) , GETTEXT( TID_TIP_QUEST ), g_Neuz.Key.chQuest ); #endif // __IMPROVE_QUEST_INTERFACE AddAppletFunc( AppMain_WndParty , APP_PARTY , _T( "WndParty" ) , _T( "Icon_Troupe.dds" ) , GETTEXT( TID_TIP_PARTY ), 'P' );
AddAppletFunc( AppMain_WndGuild , APP_GUILD , _T( "WndGuild" ) , _T( "Icon_Troupe.dds" ) , GETTEXT( TID_TIP_COMPANY ), 'G' );
#ifdef __GUILDVOTE AddAppletFunc( AppMain_WndGuildVote , APP_GUILD_VOTE , _T( "WndGuildVote") , _T( "Icon_Troupe.dds" ) , GETTEXT( TID_TIP_COMPANY ), 'V' ); #endif #if __VER >= 11 // __SYS_POCKET #ifndef __TMP_POCKET AddAppletFunc( AppMain_BagEx , APP_BAG_EX , _T( "WndBagEx" ) , _T( "Icon_BagBag.tga" ) , GETTEXT(TID_APP_BAG_EX), 'B' ); #endif #endif AddAppletFunc( AppMain_WndCommItem , APP_COMM_ITEM , _T( "WndCommItem" ) , _T( "Icon_CItemTime.dds" ) , GETTEXT( TID_TIP_ITEMTIME ), 'J' ); AddAppletFunc( AppMain_WndUpgradeBase , APP_TEST , _T( "WndUpgradeBase" ) , _T( "Icon_Troupe.dds" ) , GETTEXT( TID_TIP_PARTY ), 0 ); AddAppletFunc( AppMain_WndPiercing , APP_PIERCING , _T( "WndPiercing" ) , _T( "Icon_Troupe.dds" ) , GETTEXT( TID_TIP_PARTY ), 0 ); AddAppletFunc( AppMain_WndChat , APP_COMMUNICATION_CHAT , _T( "WndChat" ) , _T( "Icon_Chat.dds" ) , GETTEXT( TID_TIP_COMMUNICATION_CHAT ), 0 ); AddAppletFunc( AppMain_WndMessenger , APP_MESSENGER_ , _T( "WndMessenger" ) , _T( "Icon_Messenger.dds" ) , GETTEXT( TID_TIP_MESSENGER ), 'E' );
AddAppletFunc( AppMain_WndOptSound , APP_OPTION_SOUND , _T( "WndOptSound" ) , _T( "Icon_OptSound.dds" ) , GETTEXT( TID_TIP_OPTION_SOUND ), 0 ); AddAppletFunc( AppMain_WndOptWindow , APP_OPTION_WINDOW , _T( "WndOptWindow" ) , _T( "Icon_Applet.dds" ) , GETTEXT( TID_TIP_OPTION_WINDOW ), 0 ); AddAppletFunc( AppMain_WndOptMyInfo , APP_OPTION_MYINFO , _T( "WndOptMyInfo" ) , _T( "Icon_Applet.dds" ) , GETTEXT( TID_TIP_OPTION_MYINFO ), 0 ); AddAppletFunc( AppMain_WndOption , APP_OPTIONEX2 , _T( "WndOption" ) , _T( "Icon_Applet.dds" ) , GETTEXT( TID_APP_OPTION ), 0 );
AddAppletFunc( AppMain_WndInfoNotice , APP_INFO_NOTICE , _T( "WndInfoNotice" ) , _T( "Icon_Applet.dds" ) , GETTEXT( TID_TIP_INFO_NOTICE ), 0 ); AddAppletFunc( AppMain_WndHelpHelp , APP_HELPER_HELP , _T( "WndHelpHelp" ) , _T( "Icon_HelperHelp.dds" ) , GETTEXT( TID_TIP_HELPER_HELP ), 0 ); AddAppletFunc( AppMain_WndHelpTip , APP_HELPER_TIP , _T( "WndHelpTip" ) , _T( "Icon_HelperTip.dds" ) , GETTEXT( TID_TIP_HELPER_TIP ), 0 ); AddAppletFunc( AppMain_WndHelpFAQ , APP_HELPER_FAQ , _T( "WndHelpFAQ" ) , _T( "Icon_HelperFAQ.dds" ) , GETTEXT( TID_TIP_HELPER_FAQ ), 0 );
AddAppletFunc( AppMain_WndLogOut , APP_LOGOUT , _T( "WndLogout" ) , _T( "Icon_Logout.dds" ) , GETTEXT( TID_TIP_LOGOUT ), 0 ); AddAppletFunc( AppMain_WndQuit , APP_QUIT , _T( "WndQuit" ) , _T( "Icon_Quit.dds" ) , GETTEXT( TID_TIP_QUIT ), 0 ); // if( GetLanguage() == LANG_TWN ) AddAppletFunc( AppMain_WndWebBox2 , APP_WEBBOX2 , _T( "WebBox2" ) , _T( "QOODO.dds" ) , GETTEXT( TID_TIP_QOODO ), 0 );
AddAppletFunc( AppMain_WndWorld , APP_WORLD , _T( "WndWorld" ) , _T( "Icon_Applet.dds" ) , GETTEXT( TID_TIP_WORLD ), 0 ); AddAppletFunc( AppMain_WndDebugInfo , APP_DEBUGINFO , _T( "WndDebugInfo" ) , _T( "Icon_Applet.dds" ) , GETTEXT( TID_TIP_DEBUGINFO ), 0 ); AddAppletFunc( AppMain_WndLogin , APP_LOGIN , _T( "WndLogin" ) , _T( "Icon_Login.dds" ) , GETTEXT( TID_TIP_APPLET ), 0 ); AddAppletFunc( AppMain_WndSelectServer , APP_SELECT_SERVER , _T( "WndSelectServer") , _T( "Icon_SelectServer.dds") , GETTEXT( TID_TIP_WORLD ), 0 ); AddAppletFunc( AppMain_WndCreateChar , APP_CREATE_CHAR , _T( "WndCreateChar" ) , _T( "Icon_CreateChar.dds" ) , GETTEXT( TID_TIP_WORLD ), 0 ); AddAppletFunc( AppMain_WndSelectChar , APP_SELECT_CHAR , _T( "WndSelectChar" ) , _T( "Icon_SelectChar.dds" ) , GETTEXT( TID_TIP_DIALOG ), 0 );
#if __VER >= 8 //__CSC_VER8_2 AddAppletFunc( AppMain_WndPartyQuick , APP_PARTY_QUICK , _T( "WndPartyQuick" ) , NULL , GETTEXT( TID_TIP_DIALOG ), 0 ); #endif //__CSC_VER8_2 #if __VER >= 8 //__CSC_VER8_3 AddAppletFunc( AppMain_WndBuffStatus , APP_BUFF_STATUS , _T( "WndBuffStatus" ) , NULL , GETTEXT( TID_TIP_DIALOG ), 0 ); #endif //__CSC_VER8_3 #if __VER >= 13 // __CSC_VER13_2 if( ::GetLanguage() == LANG_FRE ) AddAppletFunc( AppMain_Couple , APP_COUPLE_MAIN , _T( "WndCoupleManager" ) , _T( "Icon_Couple.dds" ) , GETTEXT( TID_GAME_COUPLE ), 'X' ); else AddAppletFunc( AppMain_Couple , APP_COUPLE_MAIN , _T( "WndCoupleManager" ) , _T( "Icon_Couple.dds" ) , GETTEXT( TID_GAME_COUPLE ), 'F' ); #endif //__CSC_VER13_2 #if __VER >= 15 // __2ND_PASSWORD_SYSTEM AddAppletFunc( AppMain_Wnd2ndPassword , APP_2ND_PASSWORD_NUMBERPAD , _T( "Wnd2ndPassword" ) , _T( "Icon_Applet.dds" ) , GETTEXT( TID_2ND_PASSWORD_WINDOW_OPEN ), 0 ); #endif // __2ND_PASSWORD_SYSTEM
#ifdef __NEW_WEB_BOX AddAppletFunc( AppMain_WndHelperWebBox , APP_WEBBOX2 , _T( "HelperWebBox" ) , _T( "Icon_HelperHelp.dds" ) , GETTEXT( TID_GAME_HELPER_WEB_BOX_ICON_TOOLTIP ), 0 ); #endif // __NEW_WEB_BOX
#ifdef _APP_TELEPORTER AddAppletFunc( AppMain_wndappteleport , APP_TELEPORTER , _T( "WndTeleporter" ) , NULL , GETTEXT( TID_TIP_DIALOG ), 'U' ); #endif
}
|
|
|
02/05/2013, 19:17
|
#5
|
elite*gold: 28
Join Date: Aug 2012
Posts: 2,335
Received Thanks: 471
|
you have _APP_TELEPORTER in your versioncommon.h too? because usually it is
__APP_TELEPORTER with 2 _
|
|
|
02/06/2013, 07:45
|
#6
|
elite*gold: 0
Join Date: Jan 2009
Posts: 1,739
Received Thanks: 1,669
|
Quote:
Originally Posted by Shonenx33
you have _APP_TELEPORTER in your versioncommon.h too? because usually it is
__APP_TELEPORTER with 2 _
|
Das ist völlig egal, wie viele underlines du hast, es wird nur benutzt, damit es mit keinen Windows/DirectX Definitionen in Konflikt gerät.
Theoretisch könntest du die underlines komplett weglassen -> APPTELEPORTER
|
|
|
02/06/2013, 15:09
|
#7
|
elite*gold: 0
Join Date: Apr 2011
Posts: 319
Received Thanks: 20
|
thanks all, i got it fixed now thanks allot
stil.. how do i add it to the "star" window?
|
|
|
All times are GMT +2. The time now is 15:11.
|
|