Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 15:11

  • Please register to post and access all features, it's quick, easy and FREE!

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.

Reply
 
Old   #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    
    
AddAppletFuncAppMain_wndappteleport APP_TELEPORTER             _T"WndTeleporter" )   , NULL   GETTEXTTID_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
arnootie is offline  
Old 02/05/2013, 18:29   #2
 
ThoughtfulDev's Avatar
 
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
ThoughtfulDev is offline  
Old 02/05/2013, 18:34   #3
 
Mognakor's Avatar
 
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.
Mognakor is offline  
Thanks
1 User
Old 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:
DECLAREAPPLETAppMain_wndappteleport  , new CWndTeleporter   ); 
and stil dont work, is it the same whare i put it? i added thad UNDER:

PHP Code:
DECLAREAPPLETAppMain_WndSelectChar   , new CWndSelectChar   ); 
is thad rong or what?

Quote:
Originally Posted by Shonenx33 View Post
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    
    
AddAppletFuncAppMain_wndappteleport APP_TELEPORTER             _T"WndTeleporter" )   , NULL   GETTEXTTID_TIP_DIALOG    ),  'U'  );
#endif 
stil dont work :s


this is my FuncApplet.cpp:

arnootie is offline  
Old 02/05/2013, 19:17   #5
 
ThoughtfulDev's Avatar
 
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 _
ThoughtfulDev is offline  
Old 02/06/2013, 07:45   #6
 
xTwiLightx's Avatar
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,739
Received Thanks: 1,669
Quote:
Originally Posted by Shonenx33 View Post
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
xTwiLightx is offline  
Old 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?
arnootie is offline  
Reply




All times are GMT +2. The time now is 15:11.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.