Hey Lethal, i've managed to changed the client Architecture,i mean the design, (like where are the files...). I've got it to work but it wont read .res files that are at ..\\Data\\X.res ...
can you give me a tip or a help to fix that?
This is a discussion on Ask Mootie - Question & Answer Thread within the FlyFF Help forums, part of the Flyff category; Hey Lethal, i've managed to changed the client Architecture,i mean the design, (like where are the files...). I've got it ...
Hey Lethal, i've managed to changed the client Architecture,i mean the design, (like where are the files...). I've got it to work but it wont read .res files that are at ..\\Data\\X.res ...
can you give me a tip or a help to fix that?
Lol?
is this for bigginers?
Changing the whole path system isn't for beginners <.<
but thanks for your answer.
Yeah it's for dummies
The client will open all files with *.res extension, and it will also look in subdirectories. After 10seconds googling you can get to the Microsoft MSDN and find this _find, _wfind Functions (CRT)Code:void CResFile::ScanResource( LPCTSTR lpszRootPath ) { TCHAR szPath[ MAX_PATH ]; TCHAR szPathTemp[ MAX_PATH ]; struct _finddata_t c_file; long hFile; strcpy( szPathTemp, lpszRootPath ); strcat( szPathTemp, "*.*" ); if( ( hFile = _findfirst( szPathTemp, &c_file ) ) != -1L ) { do { strlwr( c_file.name ); strcpy( szPath, lpszRootPath ); if( c_file.attrib & _A_SUBDIR )//if( CFile::GetStatus( name, fileStatus) == TRUE ) { if( strcmp( c_file.name, "." ) && strcmp( c_file.name, ".." ) #ifdef __INTERNALSERVER && strcmp( c_file.name, ".svn" ) #endif // __INTERNALSERVER ) { strcat( szPath, c_file.name ); strcat( szPath, "\\" ); ScanResource( szPath ); } } else //if( strstr( c_file.name, ".res" ) != 0 ) if( CompareExt( c_file.name, ".res" ) ) { strcat( szPath, c_file.name ); AddResource( szPath ); } } while( _findnext( hFile, &c_file ) == 0 ); _findclose( hFile ); } }
And looking on Neuz you can see
You can see when neuz starts it loads *.res files and prefiles which include the auth file, definitions and text files.Code:void CNeuzApp::BeginLoadThread() { CResFile::ScanResource( "" ); prj.LoadPreFiles(); m_hThread = (HANDLE) _beginthread( LoadProperty, 0, (LPVOID)this ); #if !defined(_DEBUG) WaitLoading(); #endif }
Yeah it is for beginners... I can't see how anyone with experience would have issues with such a simple task.
If you mean "mitigate", not "migrate"... I would report the IP of the attacking server(s) to the hosting company.
Software won't help against any sizable DDoS attack. You need expensive hardware or a mitigation service to defend against large scale attacks given that I've heard of a Flyff server hosted on anything that can pipe more than 2gbps bandwidth.
It depends on how large your server is. I've received many DDoS attacks from people I never have done anything to(on average, my servers get hit by unsuccessful DDoS attacks every few days).
I would never DDoS anyone, it's pretty much the lowest of the low. All you need is a botnet, which can be bought with a 10 year old's allowance. DDoSing is just stupid in general and very illegal/immoral.
I have Problems with my Database Server, i dont changed anything, but much users get bugged and the Characters dont save exactly. ( this error occurs only if there are 200 ++ User online. )
is there any fix ._. ?Code:2012/08/03 06:23:33 query:{call uspSavePocket( '01', '0007939', ?, ?, ?, ?, ?, ?, ?, ?, ?) } SQLSTATE:40001 error:[Microsoft][SQL Native Client][SQL Server]Transaction (Process ID 132) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2012/08/03 06:23:38 query:{call uspSavePocket( '01', '0013079', ?, ?, ?, ?, ?, ?, ?, ?, ?) } SQLSTATE:40001 error:[Microsoft][SQL Native Client][SQL Server]Transaction (Process ID 130) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2012/08/03 06:23:41 query:{call uspSavePocket( '01', '0000989', ?, ?, ?, ?, ?, ?, ?, ?, ?) } SQLSTATE:40001 error:[Microsoft][SQL Native Client][SQL Server]Transaction (Process ID 128) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2012/08/03 06:23:42 query:{call uspSavePocket( '01', '0013202', ?, ?, ?, ?, ?, ?, ?, ?, ?) } SQLSTATE:40001 error:[Microsoft][SQL Native Client][SQL Server]Transaction (Process ID 136) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2012/08/03 06:23:43 query:{call uspSavePocket( '01', '0013208', ?, ?, ?, ?, ?, ?, ?, ?, ?) } SQLSTATE:40001 error:[Microsoft][SQL Native Client][SQL Server]Transaction (Process ID 126) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2012/08/03 06:23:43 query:{call uspSavePocket( '01', '0010865', ?, ?, ?, ?, ?, ?, ?, ?, ?) } SQLSTATE:40001 error:[Microsoft][SQL Native Client][SQL Server]Transaction (Process ID 132) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2012/08/03 06:23:43 query:{call uspSavePocket( '01', '0013266', ?, ?, ?, ?, ?, ?, ?, ?, ?) } SQLSTATE:40001 error:[Microsoft][SQL Native Client][SQL Server]Transaction (Process ID 123) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2012/08/03 06:23:43 query:{call uspSavePocket( '01', '0000037', ?, ?, ?, ?, ?, ?, ?, ?, ?) } SQLSTATE:40001 error:[Microsoft][SQL Native Client][SQL Server]Transaction (Process ID 119) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2012/08/03 06:23:44 query:{call uspSavePocket( '01', '0009679', ?, ?, ?, ?, ?, ?, ?, ?, ?) } SQLSTATE:40001 error:[Microsoft][SQL Native Client][SQL Server]Transaction (Process ID 128) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2012/08/03 06:23:44 query:{call uspSavePocket( '01', '0013249', ?, ?, ?, ?, ?, ?, ?, ?, ?) } SQLSTATE:40001 error:[Microsoft][SQL Native Client][SQL Server]Transaction (Process ID 136) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2012/08/03 06:23:44 query:{call uspSavePocket( '01', '0011403', ?, ?, ?, ?, ?, ?, ?, ?, ?) } SQLSTATE:40001 error:[Microsoft][SQL Native Client][SQL Server]Transaction (Process ID 126) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction. 2012/08/03 06:23:44 query:{call uspSavePocket( '01', '0003159', ?, ?, ?, ?, ?, ?, ?, ?, ?) } SQLSTATE:40001 error:[Microsoft][SQL Native Client][SQL Server]Transaction (Process ID 130) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
Hi !
I'm stuck with the new navigator design.
I've changed the code to load the new graphs, but when i render alphacircle.tga, it seems that the alpha is inverted :
but if i edit the .tga and invert the alpha layer, i've got this :
Can you give any tips to arange this ?
edit: i can pm my code if you wan't to see how i've done this
ps: sorry for bad english
Last edited by Seymourfr; 06-08-12 at 03:27 PM.
I'm no DirectX wizard, but this is how I did it...
I first created a render target buffer, then rendered the alpha layer to that. Next, I rendered the navigator to it with alpha blending. Then finally, I rendered the target buffer to the screen.
This is relatively efficient since calculating the circle coordinates would've been more cpu intensive than rendering the alpha layer.
Increasing the number of threads will just make the issue worse. The issue is two threads are accessing the extra bag table and causing a deadlock...
If you can't afford SQL Server Standard, you shouldn't be running a Flyff server with over 10 players online.
In general, if you're doing any "SELECT" or even "UPDATE ... WHERE" queries on a table, you should have at least a clustered index.
Creating a new vertex buffer, yeah... I don't know why you would create a new rendering device. Why don't you just google "directx render target"? It's a pretty basic/common technique in directx development.
there's a possible way for neuz and world memory usage to change or make it lower?
Last edited by Deviant; 09-09-12 at 11:41 PM.
Sorry For My Bad English ((=
.
for neuz, u could use only the HQ textures and ignore the mid and low quality textures in Model\Texture[Low/Mid] and World\Texture[Low/Mid]. By taking those off u can save over 500mb client size too and the game will look better.
i think there is more u can do, this is just my idea
Last edited by שเ๒єtгเ๒є; 12-09-12 at 07:48 AM.