Ok im kinda new to this stuff and I know other new people have this same question. It must be answered in order for us to even begin the learning process =)
Could someone take a minute to specify EXACTLY the functions of each of the main parts of the required files to run a L2OFF server? please =)
L2LogD.exe -
CacheD.exe -
L2AuthD.exe -
L2Server.exe -
L2NPC.exe -
please be precise about the funtions and what not about each because i really do not know anything about them.
Well ill give it a try, althoe i cant be too spicific because i dont know everything about them all.
But teh name gives it away
Logd (not needed) - Logs everything that all the servers do into the database ie, Chat, items gained, items sold, droped, traded, errors. if you do not run it each server will storte a text file log in the log folder in the same folder the exe is in
cacheD - (needed) - Well it caches things so that the database is not being read and written to every time a server needs some kind of info that the Cache serve already has, few things to remember about cacheD if you change anyting in the DB while the servers are running they will not show up in game untill reboot, again CacheD is doing its job and not getting new info after its been read. also new Chars. will not even show up in the DB for about i think an hour after they are created, not sure the excact time
PetitioD - (not needed/wont work) - was the petition system server, dont know what else to say about it
AuthD - (needed, can be ran outside your network) - Does all the account and login tasks, a user send there logn info to this server it valadates it, checks that they have paied and can play, then returs the server list to the player to chose from, also gives that person a session ID of sorts
L2server - (needed/Duh) - loads all the game info (,skill, pledegs on that world, pets, items, npc data, castles, geodatas, user) when a user connects to a world server it checks the session Id given and valadated it with the auth server and displayes all the chars in that world that are tied to account, the player selects the char he/she wants and the server loads all the info about that char up, pops the char into the world and then handles all the commands the client send to it, IE move to location, show inventory, talk to npc, all of that stuff
L2npc - (needed if you want to do more then walk around) - manages the NPC locations and AI, im not 100% sure if thats all that server does. so ill let someone else fill in what i messed.
Please take this all with a grain of salt, this is what i have observed and am not 100% sure that all of what i said is correct
hope this helps you thoe
Thank you so much, if anyone has anything to add please do not be shy =)