|
You last visited: Today at 12:15
Advertisement
DatabaseServer Crash
Discussion on DatabaseServer Crash within the Flyff Private Server forum part of the Flyff category.
01/17/2020, 11:59
|
#1
|
elite*gold: 0
Join Date: Jun 2019
Posts: 130
Received Thanks: 3
|
DatabaseServer Crash
Hello y'all, anyone care to help with my problem?
Quote:
const char* MakeFileNameDate(const char* lpszFileName)
{
static char szFullFileName[_MAX_PATH + _MAX_FNAME];
::memset(szFullFileName, 0, sizeof(szFullFileName));
#ifdef __CLIENT
//::GetCurrentDirectory( _MAX_PATH, szFullFileName );
strcpy(szFullFileName, g_Option.GetConfigurationPath());
_tcscat_s<_MAX_PATH + _MAX_FNAME>(szFullFileName, "Log\\");
::CreateDirectory(szFullFileName, nullptr);
_tcscat_s<_MAX_PATH + _MAX_FNAME>(szFullFileName, lpszFileName);
#else // __CLIENT
_tcscpy_s<_MAX_PATH + _MAX_FNAME>(szFullFileName, lpszFileName);
#endif // __CLIENT
char* ptr = _tcsrchr(szFullFileName, '.');
if (ptr != nullptr)
{
char szExt[5] = { 0, };
_tcscpy(szExt, ptr);
*ptr = '\0';
char szDate[10] = { 0, };
SYSTEMTIME time;
GetLocalTime(&time);
_stprintf(szDate, "_%d%02d%02d", time.wYear, time.wMonth, time.wDay);
_tcscat_s<_MAX_PATH + _MAX_FNAME>(szFullFileName, szDate);
_tcscat_s<_MAX_PATH + _MAX_FNAME>(szFullFileName, szExt);
return szFullFileName;
}
return lpszFileName;
}
|
It is crashing here, and by the way thats the seconds codes already that come from Azure release. Here's the original
Quote:
const char* MakeFileNameDate( const char* lpszFileName )
{
static char szFullFileName[_MAX_PATH+_MAX_FNAME];
::memset( szFullFileName, 0, sizeof( szFullFileName ) );
#ifdef __CLIENT
::GetCurrentDirectory( _MAX_PATH, szFullFileName );
_tcscat( szFullFileName, "\\Log\\" );
::CreateDirectory( szFullFileName, NULL );
_tcscat( szFullFileName, lpszFileName );
#else // __CLIENT
_tcscpy( szFullFileName, lpszFileName );
#endif // __CLIENT
char* ptr = _tcsrchr( szFullFileName, '.' );
if( ptr != NULL )
{
char szExt[5] = {0, };
_tcscpy( szExt, ptr );
*ptr = '\0';
char szDate[10] = {0, };
SYSTEMTIME time;
GetLocalTime( &time );
_stprintf( szDate, "_%d%02d%02d", time.wYear, time.wMonth, time.wDay );
_tcscat( szFullFileName, szDate );
_tcscat( szFullFileName, szExt );
return szFullFileName;
}
return lpszFileName;
}
|
|
|
|
 |
Similar Threads
|
[SERVER CRASH] Databaseserver.exe crashed
09/20/2016 - Flyff Private Server - 8 Replies
Anyone can help me with this error? Try to open coreserver and my databaseserver crashed. Thanks in advance for those people who can share their idea/thought's.
C:\Users\Administrator\Desktop\test\Program\2.Dat abaseServer.exe caused ACCESS_VIOLATION (0xc0000005)
in module C:\Users\Administrator\Desktop\test\Program\2.Data baseServer.exe at 0023:004569d8.
Error occurred at 2016/9/19 10:14:34.
C:\Users\Administrator\Desktop\test\Program\2.Dat abaseServer.exe, run by Administrator....
|
DatabaseServer.exe crash..
05/16/2016 - Flyff Private Server - 2 Replies
Please help me my DatabaseServer.exe automatically crash when I open CoreServer.exe and here's the .rpt file and .txt created by DatabaseServer.exe crashed..
file:///C:/Users/KayeZandra/Desktop/Untitled.png
file:///C:/Users/KayeZandra/Desktop/Untitled.png
|
Out of the blue DatabaseServer crash
07/03/2013 - Flyff Private Server - 0 Replies
Hi elitepvpers,
Earlier today i launched my test server to test somethings out. it was running fine. How ever this afternoon i launched it again and for no reason at all the DB server keeps on crashing as soon as i launched the coreserver.
This is the .txt file of the DB server.
G:\Flyff Releated\Sources\Blessed Flyff\Blessed Flyff\Program\2-DatabaseServer.exe caused ACCESS_VIOLATION (0xc0000005)
in module G:\Flyff Releated\Sources\Blessed Flyff\Blessed...
|
Databaseserver crash nach itempreise ändern
05/21/2013 - Flyff Private Server - 5 Replies
Ich habe folgendes Spec_Item und zwar das wenn ich die Preise von Items ändere damit sie sich in den NPC -Shops erhöhen bzw sie shopable mache das der Databaseserver crash und daher nicht mal aufgeht .
Bitte um Hilfe.
mfg Ren0x
|
All times are GMT +1. The time now is 12:15.
|
|