How the FlyFF server works
Ew, this skin is gross.
Anyway, some of you may have noticed my Java FlYFF development. Or you may have not, whatever.
I need to know what the login server, character server, and world server are for. Like, what do they do?
If you know, please contact me on msn.
oxygen__@live.com
or post here xP
Re: How the FlyFF server works
Quote:
Originally Posted by
Nickasaur
Ew, this skin is gross.
Anyway, some of you may have noticed my Java FlYFF development. Or you may have not, whatever.
I need to know what the login server, character server, and world server are for. Like, what do they do?
If you know, please contact me on msn.
oxygen__@live.com
or post here xP
One word: Lol
Ill explain but this question is kinda weird, you would expect someone who start a development to know this already...
Login server = Handles account related stuff, also sends the server list to the client.
Character server = Handles characters for that account, basically all u do is select a character ... lol
World server = The rest... gameplay, using character... whatever lol
If you played flyff, you should know what the WorldServer does..
Re: How the FlyFF server works
Why not take a look @ some emu to really understand? .__.
Re: How the FlyFF server works
Login - so easy, its not even wort to mention
Char - have to keep alive its connection till the whole time, players gets dc if this connection ends
handles the obvious stuff: create/del/selection
World - if you reach this, you have a chance of finishing your project...
Re: How the FlyFF server works
lol you could find that easy by looking at the open source projects.
Anyways, login server receives login, password and client data. If everything is fine it send the cluster list packet so the clusters and channels shows.
When the player choose a channel, the client connects to char server on the cluster's ip, showing characters list. Char server also create and delete character.
After pressing accept on char list it connects to world server, which shows the world(flaris, sm, darkon, etc.), it does everything else, position, mob AI, npc shop, visibility, etc.
edit: [/slow] :(
You guys are too fast :\
Re: How the FlyFF server works
Actually a discussion like this isn't a bad idea. Maybe its just me but i can't recall any flyff servers makeing use of stored procedures before the off files leaked, and those are awesome. Maybe we could discuss about aproaches and stuff like that here. Just an idea.
Offtopic: sry BBim. Nicco was lurking here than sphreaded the info:P
Re: How the FlyFF server works
Quote:
Originally Posted by
Duotone
Actually a discussion like this isn't a bad idea. Maybe its just me but i can't recall any flyff servers makeing use of stored procedures before the off files leaked, and those are awesome. Maybe we could discuss about aproaches and stuff like that here. Just an idea.
Offtopic: sry BBim. Nicco was lurking here than sphreaded the info:P
Indeed stored procedures are GREAT!
Infact I wan't to use MSSQL instead, for alot of reasons, one being that it has better performance when theres heavy load.
Btw Morpheus Emulator uses stored procedures ;) They can be used on MySQL too btw.
So what is a "stored procedure"?
It's like a programming function, but on the database,
it can for example.. delete your characters and your items and remove you from your guild and log this in another table and finally delete the account, just by calling ONE procedure call, giving the account name as a parameter for example. A stored procedure can be called just like running a normal query: mysql_query("stored_procedurename @parametername = 'value'");
Of course parameter name doesn't have to be provided, but it lets you do "overloads", google if you don't know what that is.
There also "CALL stored_procedurename 'value'"...
There's alot of tutorials on this, and it can really lower the amount of data being sent from mysql/mssql to the actual server! It works for web-sites aswell, everything that uses mysql/mssql can use stored procedures.
Re: How the FlyFF server works
Yeah, I'm going to be using a mySQL database for this too xD
Thanks guys.
Thanks Nicco, even though you were a meanie face.