Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Flyff > Flyff Private Server
You last visited: Today at 12:08

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

Advertisement



FlyFF v15 - MySQL implementation (Work in progress)

Discussion on FlyFF v15 - MySQL implementation (Work in progress) within the Flyff Private Server forum part of the Flyff category.

Reply
 
Old   #1
 
DevGrab's Avatar
 
elite*gold: 0
Join Date: Nov 2019
Posts: 7
Received Thanks: 9
FlyFF v15 - MySQL implementation (Work in progress)

Hello Elitepvpers,

after years being inactive at the FlyFF scene (a decade), i've expanded my knowledge in programming and especially in game development and networking. So i've started again 1-2 weeks ago to grab the official and clean FlyFF source and updated it to the currently VS19 version including cleaning and restore some of the functions that were there.

Basically, i've experimented with the FlyFF source and especially the whole MSSQL querying progress and came to the conclusion, the v15 official source is still working great on MSSQL but it is outdated and can be reworked hardly, as example the whole threading.. that can today be solved with all the quality std libs.

So i've started to analyze and inspect the first server which is managing all the login and checking if accounts are located at the database (Certifier), and started to fix and update all of the source code. After checking how the querying is done by the IOC i thought about to add MYSQL support for FlyFF, why not?

Grabbed the mysql-connector for the current VS build and started to rework it. Started by re-construct the "account" table and removing not necessary values and also removed a lot of code not needed. (ex. Taiwan time lock)

After re-constructing the whole ODCB in MySQL and removing all the used ODCB code by the certifier. I ended up with a working FlyFF Certifier based on MySQL.

To be honest, the rest of the servers needs to be reworked for MySQL but at least, adding the correct account information to the mysql database and checking for performance, MySQL is working for sure and my certifier works like charm.

I just wanted to show you guys, that it is possible to fully integrate MySQL in FlyFF, even when it may come with some peformance reducing (in relation to query speed) but all of this can be improved.

I know, MSSQL is usefull and i also know that it's better performance wise but that isnt the case..






Quote:
Account "127.0.0.1"
HEARTBEAT

MYSQL_HOSTNAME "tcp://HOST.net"
MYSQL_USERNAME "flyff"
MYSQL_DATABASE "flyff"
MYSQL_PASSWORD "PW"
DevGrab is offline  
Thanks
4 Users
Old 08/28/2020, 10:59   #2
 
elite*gold: 0
Join Date: Jan 2011
Posts: 28
Received Thanks: 18
Great work, their code is circa the 2000's so im not surprised I hardly see any STL stuff however I don't think that the ODBC is bad by itself there's even a ODBC driver for MySQL, either way rewriting the DB queries portion shouldn't be too hard as they use a wrapper.
since you already start from scratch you might as well take a look at the newer V21 source the cleaned a lot of DB stuff.
I'm pretty bad at anything DB related but Ill be glad to help with anything else, hit me up.
miniman06 is offline  
Old 08/28/2020, 14:53   #3


 
Harvey''s Avatar
 
elite*gold: 120
Join Date: Oct 2014
Posts: 209
Received Thanks: 194
Quote:
Originally Posted by DevGrab View Post
Hello Elitepvpers,

after years being inactive at the FlyFF scene (a decade), i've expanded my knowledge in programming and especially in game development and networking. So i've started again 1-2 weeks ago to grab the official and clean FlyFF source and updated it to the currently VS19 version including cleaning and restore some of the functions that were there.

Basically, i've experimented with the FlyFF source and especially the whole MSSQL querying progress and came to the conclusion, the v15 official source is still working great on MSSQL but it is outdated and can be reworked hardly, as example the whole threading.. that can today be solved with all the quality std libs.

So i've started to analyze and inspect the first server which is managing all the login and checking if accounts are located at the database (Certifier), and started to fix and update all of the source code. After checking how the querying is done by the IOC i thought about to add MYSQL support for FlyFF, why not?

Grabbed the mysql-connector for the current VS build and started to rework it. Started by re-construct the "account" table and removing not necessary values and also removed a lot of code not needed. (ex. Taiwan time lock)

After re-constructing the whole ODCB in MySQL and removing all the used ODCB code by the certifier. I ended up with a working FlyFF Certifier based on MySQL.

To be honest, the rest of the servers needs to be reworked for MySQL but at least, adding the correct account information to the mysql database and checking for performance, MySQL is working for sure and my certifier works like charm.

I just wanted to show you guys, that it is possible to fully integrate MySQL in FlyFF, even when it may come with some peformance reducing (in relation to query speed) but all of this can be improved.

I know, MSSQL is usefull and i also know that it's better performance wise but that isnt the case..




URL Link to IMG
Harvey' is offline  
Reply


Similar Threads Similar Threads
»UpRise« sucht für HC-Semi-Progress und Mythic-Progress
07/18/2014 - World of Warcraft - 0 Replies
Aktualisiert am 18.07.2014 »UpRise« sucht für HC-Semi-Progress und WoD-Mythic-Progress Halt! Du hast auf diesen Beitrag geklickt und nun, da du schon mal hier bist, nehme dir doch kurz die Zeit und lese was hier niedergeschrieben steht. Immerhin wissen wir doch alle, dass das Glück manchmal ganz unverhofft kommt. Wer wir sind? Im Mai 2014 wurde die Gilde »UpRise« von einigen Progressraidern gegründet. Das Ziel war von Anfang an klar gesteckt: Den aktuellen Content bestreiten! Und...
[P-Server]Work in Progress :![Community Work]
08/20/2013 - Nostale - 341 Replies
http://i.imgur.com/TZHb0Zn.png Hilfreiche Internetseiten: nosworld2.de /Item DB / Monster DB / Damage http://revolutionofnos.ohost.de/NosTale/Client/It em.txt /ID Liste Quest Skills etc. by Chainsaw :3 We have!: - Server Software(Datenbank etc. Base halt:D) by Elektrochemie



All times are GMT +1. The time now is 12:08.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.