Running EQ2World and EQ2MiniLogin as a service (Windows)

Tutorials on setting up a server, configuring your client, and connecting to an EQ2Emulator server.
Only moderators can start new topics here
Forum rules
Most information about EQ2Emulator and Tutorials can be found at the Project Wiki. Look there for the most current information.
Locked
bolly
Retired
Posts: 389
Joined: Mon Sep 21, 2009 3:03 pm
Location: Leeds, UK

Running EQ2World and EQ2MiniLogin as a service (Windows)

Post by bolly » Sat Oct 10, 2009 12:50 pm

Download a copy of Windows 2003 resource kit for a copy of instsrv and srvany

At command prompt type

"path\INSTSRV.EXE" Eq2World "path\SRVANY.EXE"

Where path is the path of your instsrv and srvany files

Now do the same for minilogin

"path\INSTSRV.EXE" EQ2Login "path\SRVANY.EXE"

Then, go to Registry, with REGEDIT

Setup EQ2World

Goto HKeyLocalMachine\SYSTEM\CurrentControlSet\Services\EQ2Login
Create a "Parameters" key
Open the "Parameters" key
Create a string value (REG_SZ) within the "Parameters" key called 'Application'
Edit "Application" and specify the full path of your eq2world executable
ie: c:\eq2emu\eq2world.exe
Create a string value (REG_SZ) within the "Parameters" key called 'AppDirectory'
Edit "AppDirectory" and specify the full path of your eq2world.exe folder
ie: c:\eq2emu

Setup EQ2MiniLogin

Goto HKeyLocalMachine\SYSTEM\CurrentControlSet\Services\EQ2Login
Create a "Parameters" key
Open the "Parameters" key
Create a string value (REG_SZ) within the "Parameters" key called 'Application'
Edit "Application" and specify the full path of your eq2minilogin executable
ie: c:\eq2emu\eq2minilogin.exe
Create a string value (REG_SZ) within the "Parameters" key called 'AppDirectory'
Edit "AppDirectory" and specify the full path of your eq2minilogin.exe folder
ie: c:\eq2emu

Barely proof read and needs some tidy up, maybe another day. Enjoy!
Last edited by bolly on Mon Nov 30, 2009 7:49 pm, edited 1 time in total.

User avatar
Arremis
Retired
Posts: 388
Joined: Sun Sep 02, 2007 10:11 am
Location: Memphis, TN

Re: Running EQ2World and EQ2MiniLogin as a service (Windows)

Post by Arremis » Mon Oct 12, 2009 7:48 pm

Very interesting Bolly, good work :)

I am curious though...what are the benefits of running these as a service instead of the regular way?
I am the UI Master...there is no charge for my awesomeness.

User avatar
Zcoretri
Team Member
Posts: 1642
Joined: Fri Jul 27, 2007 12:55 pm
Location: SoCal

Re: Running EQ2World and EQ2MiniLogin as a service (Windows)

Post by Zcoretri » Mon Oct 12, 2009 9:07 pm

Arremis wrote:Very interesting Bolly, good work :)

I am curious though...what are the benefits of running these as a service instead of the regular way?
One would be that you could set it to automatic, and eq2world will start when windows starts up.

User avatar
Astal
Posts: 96
Joined: Tue Dec 09, 2008 1:35 pm

Re: Running EQ2World and EQ2MiniLogin as a service (Windows)

Post by Astal » Thu Nov 19, 2009 7:43 pm

yeah u need to tidy it up a bit but how do u get it to restart every x amount of minutes?
I DIE FREE!!

bolly
Retired
Posts: 389
Joined: Mon Sep 21, 2009 3:03 pm
Location: Leeds, UK

Re: Running EQ2World and EQ2MiniLogin as a service (Windows)

Post by bolly » Thu Nov 19, 2009 10:26 pm

net stop servicename
net start servicename

pop that in a batch file and then in scheduled tasks

Locked

Who is online

Users browsing this forum: No registered users and 0 guests