Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 03:28

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

Advertisement



Screenshot/Capture

Discussion on Screenshot/Capture within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2015
Posts: 167
Received Thanks: 41
Screenshot/Capture

Hello everyone, i try to use screenshot/capture but it's not saving on the Capture Folder anyone who knows for fixes about this bug? Thanks in Advance!
.HeyEyay. is offline  
Old 07/30/2015, 06:37   #2
 
elite*gold: 2
Join Date: Mar 2009
Posts: 338
Received Thanks: 63
Habe auch dieses Problem spreichert einfach nicht wenn man 0 drück ordner wird aber erstellt
Spraystar is offline  
Old 07/30/2015, 15:23   #3
 
kevinkraus's Avatar
 
elite*gold: 110
Join Date: Oct 2010
Posts: 306
Received Thanks: 58
Just Implent this System (JPG/BMP Capture):

WndManager.cpp:
Code:
BOOL CWndMgr::ScreenCapture()
{
    static long    bmpcnt = 0;
    char    filename[ _MAX_PATH ] = "";
    FILE    *fp;
#ifdef __CAPTURE_JPG_BMP
if( g_Option.m_capture == 0 )
{
    {
        CreateDirectory( "Capture", NULL );
        while(1)
        {
            sprintf( filename, "Capture\\flyff%05d.jpg", bmpcnt );
            if( (fp = fopen(filename,"r")) == NULL ) break; else fclose(fp);
            bmpcnt ++;
        }
    }
    sprintf( filename, "Capture\\flyff%05d.jpg", bmpcnt );
    SaveJPG( filename );
    CString string;
    string.Format( prj.GetText(TID_ADMIN_CAPTUREJPG), bmpcnt++ );
    PutString( string, NULL, prj.GetTextColor(TID_ADMIN_CAPTUREJPG) );
}
else {
    {
        CreateDirectory( "Capture", NULL );
        while(1)
        {
            sprintf( filename, "Capture\\flyff%05d.bmp", bmpcnt );
            if( (fp = fopen(filename,"r")) == NULL ) break; else fclose(fp);
            bmpcnt ++;
        }
    }
    sprintf( filename, "Capture\\flyff%05d.bmp", bmpcnt );

    SaveBitmap( filename );
    CString string;
    string.Format( prj.GetText(TID_ADMIN_SCREENSHOTSAVE), bmpcnt++ );
    PutString( string, NULL, prj.GetTextColor(TID_ADMIN_SCREENSHOTSAVE) );
}
#endif    
    return TRUE;
}
HwOption.h:
Code:
#ifdef __CAPTURE_JPG_BMP
    int    m_capture;
#endif
HwOption.cpp:
Code:
#ifdef __CAPTURE_JPG_BMP
    m_capture = 0; // jpg
#endif
Code:
#ifdef __CAPTURE_JPG_BMP
    else if(scan.Token == _T( "CaptureFormat" ))
    {
        m_capture = scan.GetNumber();
    }
#endif
Code:
#ifdef __CAPTURE_JPG_BMP
    _ftprintf(fp, _T( "CaptureFormat %d\n" ), m_capture );
#endif
WndOption.cpp:
Code:
#ifdef __CAPTURE_JPG_BMP
    pWndButton[ 0 ] = (CWndButton*)GetDlgItem( WIDC_RADIO1 );
    pWndButton[ 1 ] = (CWndButton*)GetDlgItem( WIDC_RADIO2 );
    pWndButton[ 0 ]->SetGroup( TRUE );
    pWndButton[ g_Option.m_capture ]->SetCheck( TRUE );
#endif
Code:
#ifdef __CAPTURE_JPG_BMP
    case WIDC_RADIO1:
        g_Option.m_capture = 0;
        break;
    case WIDC_RADIO2:
        g_Option.m_capture = 1;
        break;
#endif
VersionCommon.h:
Code:
#define __CAPTURE_JPG_BMP
resdata.inc
At the end of APP_OPTEX_AV12:
Code:
    WTYPE_STATIC WIDC_STATIC8 "" 0 8 278 104 294 0x2220000 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008877
    }
    {
    // ToolTip
IDS_RESDATA_INC_008878
    }
    WTYPE_BUTTON WIDC_RADIO1 "ButtRadio.bmp" 0 104 280 148 296 0x220014 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008879
    }
    {
    // ToolTip
IDS_RESDATA_INC_008880
    }
    WTYPE_BUTTON WIDC_RADIO2 "ButtRadio.bmp" 0 152 280 248 296 0x220014 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008881
    }
    {
    // ToolTip
IDS_RESDATA_INC_008882
    }
At the end of resdata.txt.txt:
Code:
IDS_RESDATA_INC_008877    Capture Format
IDS_RESDATA_INC_008878    
IDS_RESDATA_INC_008879    JPG
IDS_RESDATA_INC_008880    
IDS_RESDATA_INC_008881    BMP
IDS_RESDATA_INC_008882
Credits (im not sure but should be from):
- Tex0 (Other Forum)
kevinkraus is offline  
Thanks
1 User
Old 07/30/2015, 16:11   #4
 
elite*gold: 0
Join Date: Jul 2015
Posts: 167
Received Thanks: 41
Quote:
Originally Posted by kevinkraus View Post
Just Implent this System (JPG/BMP Capture):

WndManager.cpp:
Code:
BOOL CWndMgr::ScreenCapture()
{
    static long    bmpcnt = 0;
    char    filename[ _MAX_PATH ] = "";
    FILE    *fp;
#ifdef __CAPTURE_JPG_BMP
if( g_Option.m_capture == 0 )
{
    {
        CreateDirectory( "Capture", NULL );
        while(1)
        {
            sprintf( filename, "Capture\\flyff%05d.jpg", bmpcnt );
            if( (fp = fopen(filename,"r")) == NULL ) break; else fclose(fp);
            bmpcnt ++;
        }
    }
    sprintf( filename, "Capture\\flyff%05d.jpg", bmpcnt );
    SaveJPG( filename );
    CString string;
    string.Format( prj.GetText(TID_ADMIN_CAPTUREJPG), bmpcnt++ );
    PutString( string, NULL, prj.GetTextColor(TID_ADMIN_CAPTUREJPG) );
}
else {
    {
        CreateDirectory( "Capture", NULL );
        while(1)
        {
            sprintf( filename, "Capture\\flyff%05d.bmp", bmpcnt );
            if( (fp = fopen(filename,"r")) == NULL ) break; else fclose(fp);
            bmpcnt ++;
        }
    }
    sprintf( filename, "Capture\\flyff%05d.bmp", bmpcnt );

    SaveBitmap( filename );
    CString string;
    string.Format( prj.GetText(TID_ADMIN_SCREENSHOTSAVE), bmpcnt++ );
    PutString( string, NULL, prj.GetTextColor(TID_ADMIN_SCREENSHOTSAVE) );
}
#endif    
    return TRUE;
}
HwOption.h:
Code:
#ifdef __CAPTURE_JPG_BMP
    int    m_capture;
#endif
HwOption.cpp:
Code:
#ifdef __CAPTURE_JPG_BMP
    m_capture = 0; // jpg
#endif
Code:
#ifdef __CAPTURE_JPG_BMP
    else if(scan.Token == _T( "CaptureFormat" ))
    {
        m_capture = scan.GetNumber();
    }
#endif
Code:
#ifdef __CAPTURE_JPG_BMP
    _ftprintf(fp, _T( "CaptureFormat %d\n" ), m_capture );
#endif
WndOption.cpp:
Code:
#ifdef __CAPTURE_JPG_BMP
    pWndButton[ 0 ] = (CWndButton*)GetDlgItem( WIDC_RADIO1 );
    pWndButton[ 1 ] = (CWndButton*)GetDlgItem( WIDC_RADIO2 );
    pWndButton[ 0 ]->SetGroup( TRUE );
    pWndButton[ g_Option.m_capture ]->SetCheck( TRUE );
#endif
Code:
#ifdef __CAPTURE_JPG_BMP
    case WIDC_RADIO1:
        g_Option.m_capture = 0;
        break;
    case WIDC_RADIO2:
        g_Option.m_capture = 1;
        break;
#endif
VersionCommon.h:
Code:
#define __CAPTURE_JPG_BMP
resdata.inc
At the end of APP_OPTEX_AV12:
Code:
    WTYPE_STATIC WIDC_STATIC8 "" 0 8 278 104 294 0x2220000 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008877
    }
    {
    // ToolTip
IDS_RESDATA_INC_008878
    }
    WTYPE_BUTTON WIDC_RADIO1 "ButtRadio.bmp" 0 104 280 148 296 0x220014 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008879
    }
    {
    // ToolTip
IDS_RESDATA_INC_008880
    }
    WTYPE_BUTTON WIDC_RADIO2 "ButtRadio.bmp" 0 152 280 248 296 0x220014 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008881
    }
    {
    // ToolTip
IDS_RESDATA_INC_008882
    }
At the end of resdata.txt.txt:
Code:
IDS_RESDATA_INC_008877    Capture Format
IDS_RESDATA_INC_008878    
IDS_RESDATA_INC_008879    JPG
IDS_RESDATA_INC_008880    
IDS_RESDATA_INC_008881    BMP
IDS_RESDATA_INC_008882
Credits (im not sure but should be from):
- Tex0 (Other Forum)
i try it hope it's work
.HeyEyay. is offline  
Old 07/30/2015, 17:03   #5
 
elite*gold: 2
Join Date: Mar 2009
Posts: 338
Received Thanks: 63
Thanks its work
Spraystar is offline  
Old 07/30/2015, 19:36   #6
 
kevinkraus's Avatar
 
elite*gold: 110
Join Date: Oct 2010
Posts: 306
Received Thanks: 58
Kein Problem
kevinkraus is offline  
Reply


Similar Threads Similar Threads
Neuer Screenshot Thread/New Screenshot Thread
05/10/2013 - S4 League - 4 Replies
Hallu Epvp hier ist ein Neuer Screenshot Thread, hier könnt ihr eure Screens von S4 Reinschmeißen ;) , Was ihr hier Posten dürft und was nicht : -Screenshots -Keine Fragen !! -Keine Post´s ohne Screen (Strafe wenn ihrs macht !!!!!) Hello Epvp , you can post here your Screens from s4
Help NPC Capture
03/06/2012 - CO2 Private Server - 0 Replies
Hi guys im trying to make a somewhat antispaming system, i need help with this code the problem is, i dont know how to make a cheak weather the capture is correct or wrong. case 13653: { if (Control == 0) { GC.MyChar.res = ""; Random r = new Random(); ...
(HELP) How to capture mabinogi screenshot when alt is pressed?
12/29/2009 - Mabinogi - 4 Replies
i tried many ways but all failed. is there any good way to capture image of item when alt is pressed?
log in on capture always
12/26/2005 - Conquer Online 2 - 13 Replies
hey guys i was looking through the threads and as far as i can tell this hasnt been adresed... when you log in you autonatically log in on peace mode... this is very annoying if you come across a black name but cant attack it as u are in peace, i was wondering if there was anything out there that can make u log inon capture all the time? thanks guys



All times are GMT +2. The time now is 03:28.


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.