Hello all,
I would like to know please, how i can start the login & gameserver .bat's not in the classic method but like services for running it in a windows server 2003 OS without log into the server.
Just think that a dedicate server can make updates after restart and so if none is fisicaly there to run the two .bat's how can the l2j server run? Except if are setted like services i though.
Ps: If a log into the server, start manualy the two .bat's and after log out, the session of the server will close and so the l2j server.
Thanks all of you and thanks for the upcomming answer.
How to run l2j as service in windows server 2003
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 5
- Joined: Fri Jun 29, 2007 10:38 am
- Location: Greece
- Contact:
-
- Posts: 1
- Joined: Fri Jun 26, 2009 10:17 pm
Re: How to run l2j as service in windows server 2003
use firedaemon 

- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: How to run l2j as service in windows server 2003
or you can put them in startup
or
hklm/software/microsoft/windows/currentversion/run (regedit)
new>string
name it as you like, and in the value just write the location of the .bat file (of course, 1 key for login- and 1 for game-server)
you don't need to worry about delay, since loginserver starts much faster than gameserver anyway, and gameserver connects to loginserver only after it's fully started
just make sure mysql starts automatically, and everything should be fine
or
hklm/software/microsoft/windows/currentversion/run (regedit)
new>string
name it as you like, and in the value just write the location of the .bat file (of course, 1 key for login- and 1 for game-server)
you don't need to worry about delay, since loginserver starts much faster than gameserver anyway, and gameserver connects to loginserver only after it's fully started
just make sure mysql starts automatically, and everything should be fine
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 5
- Joined: Fri Jun 29, 2007 10:38 am
- Location: Greece
- Contact:
Re: How to run l2j as service in windows server 2003
Very nice guys
thanks very much for your quickly answer.
I will try this two methods and i will let you know how it goes.
Thanks again.
thanks very much for your quickly answer.
I will try this two methods and i will let you know how it goes.
Thanks again.