A bit useless: Open the server files.

Results 1 to 4 of 4
  1. #1

    A bit useless: Open the server files.

    Okay, people out there got killing themselves to make a program who start all the server files at once, and even though I found some, they all need to be reset when you start again, and that suck.

    However, if you wish a simple way to open everything at once it's very simple: Making a BAT file.

    There are indeed 2 methods for doing it: The shortcut one, and the direct path one.

    Direct Path Method:

    Let's suppose your files are:

    Locator at C:\GunZServer\Locator.exe
    Server at C:\GunZServer\MatchServer.exe
    Agent at C:\GunZServer\MatchAgent.exe

    So, type in your notepad:
    Code:
    @echo off
    C:\GunZServer\MatchServer.exe
    C:\GunZServer\MatchAgent.exe
    C:\GunZServer\Locator.exe
    echo Server Started!!!
    pause
    And now save it as ServerStart.bat (Or whatever you like)

    PROS: Cleaner desktop.

    CONS: If, for some reason, you need to change directories (pretty used when you're just testing it), you'll need to re-write the whole codes.

    Shortcut Method:
    Create 3 Shortcuts:

    The one directing to the Locator and call it Locator 4.0.
    The one directing to the Server and call it Server 4.0.
    The one directing to the Agent and call it Agent 4.0.

    Now, type in your notepad:
    Code:
    @echo off
    "Server 4.0.lnk"
    "Agent 4.0.lnk"
    "Locator 4.0.lnk"
    echo Server Started!!!
    pause
    And now save it as ServerStart.bat (Or whatever you like).

    PROS: You can start individually any of the process.
    If, for some reason, you have to change directories, just change it, then go to the shortcut properties and select the FIND FILE button. (there is a shortcut for it, once you're in the properties screen, that can be accessed by ALT+ENTER, but since my windows is PT-BR, i don't know it).

    CONS: 4 items in desktop instead of only one.

    If you just reply a "useless, you could've used that program", at least put a link to it, but if you're not with patience to DLing it, this will do it. And you'll have your own directories on it.


  2. #2
    Valued Member ShotGunz is offline
    MemberRank
    Nov 2008 Join Date
    117Posts

    Re: A bit useless: Open the server files.

    I don't really need this, but thanks anyways.

  3. #3
    Account Upgraded | Title Enabled! ~Fallen is offline
    MemberRank
    Dec 2008 Join Date
    Behind you look BehindLocation
    407Posts

    Re: A bit useless: Open the server files.

    this is easy but someone might use it cuz its kinda noobie to open 1 by 1

  4. #4

    Re: A bit useless: Open the server files.

    Well... I said on the thread title... "A bit useless:"



Advertisement