Running .bat in background

Results 1 to 10 of 10
  1. #1
    Newbie xiaoyao312 is offline
    MemberRank
    Jul 2008 Join Date
    1Posts

    Running .bat in background

    !. Find the folder where these files r:
    Code:
    launch_channel.bat
    launch_login.bat
    launch_world.bat
    2. Create 3 .txt file.

    3. Open the first 1 and paste this code in :
    Code:
    set ws=wscript.createobject("wscript.shell")
    ws.run "launch_channel.bat /start",0
    Save it and rename it :
    Code:
    launch_channel.vbe
    4. Open the second 1 and paste this code in :
    Code:
    set ws=wscript.createobject("wscript.shell")
    ws.run "launch_login.bat /start",0
    Save it and rename it :
    Code:
    launch_login.vbe

    5. Open the last 1 and paste this code in :
    Code:
    set ws=wscript.createobject("wscript.shell")
    ws.run "launch_world.bat /start",0
    Save it and rename it :
    Code:
    launch_world.vbe
    6. Now run the 3 files in order (World->Login->Channel).And enjoys mapling.

    X+0. To close the server, press Ctrl+Alt+Del(Or Sup for some keyboard~).
    X+1. Click on Processes
    X+2. Find the 3 Cmd.exe
    X+3. Select it and click on End Processes 1 by 1

    ?. Sometime u might see more than 3 Cmd.exe, in that case u might have other MS-Dos running.If u arnt using it, most of time, its an virus.Just end processes.

    Credits goes to me for releasing this. xD
    Just btw this is VBScript


  2. #2
    Sorcerer Supreme timmy123 is offline
    Member +Rank
    Apr 2008 Join Date
    325Posts

    Re: [Release]Running .bat in background

    but if u run it in backround how will u shut off u server lol

  3. #3
    Grand Master echicken is offline
    Grand MasterRank
    Apr 2008 Join Date
    1,402Posts

    Re: [Release]Running .bat in background

    Not much of a release o_0. I already knew about this

  4. #4
    Sorcerer Supreme Spyker710 is offline
    Member +Rank
    Apr 2008 Join Date
    ...stalker much...Location
    460Posts

    Re: [Release]Running .bat in background

    Quote Originally Posted by timmy123 View Post
    but if u run it in backround how will u shut off u server lol
    "X+0. To close the server, press Ctrl+Alt+Del(Or Sup for some keyboard~).
    X+1. Click on Processes
    X+2. Find the 3 Cmd.exe
    X+3. Select it and click on End Processes 1 by 1"

  5. #5
    Elite Member GoldenSlimeMS is offline
    Member +Rank
    May 2008 Join Date
    CaliforniaLocation
    205Posts

    Re: [Release]Running .bat in background

    how will u shutdown the server?

  6. #6
    Elite Member Hotoshii is offline
    Member +Rank
    Jul 2008 Join Date
    SoCalLocation
    180Posts

    Re: [Release]Running .bat in background

    i actually want to run it visibly because with the channel.bet i can look at who is using what command realtime instead of refreshing my database lol. Other than that, nice release anyways.

  7. #7
    Elite Member trinity16433 is offline
    Member +Rank
    Jun 2008 Join Date
    181Posts

    Re: [Release]Running .bat in background

    @hot...
    for us w/ 300 ppl on that stuff goes by RLY freaking fast.


    Nice release.
    I like this cuz i dont want my dedi hoster being like wtfz is dis stuff :P

  8. #8
    Elite Member harrychong is offline
    Member +Rank
    May 2008 Join Date
    128Posts

    Re: [Release]Running .bat in background

    Quote Originally Posted by echicken View Post
    Not much of a release o_0. I already knew about this
    well, its a release for me. i was hoping that someone teach me how to hide those bat file lol :D

  9. #9
    Member m9keal is offline
    MemberRank
    Jul 2008 Join Date
    93Posts

    Re: [Release]Running .bat in background

    Well, in case someone didn't know about this, here's a server launcher.
    Paste this into notepad, name it launcher.bat and put it in your server directory.
    Code:
    START Launch_world.bat
    PING 1.1.1.1 -n 1 -w 2000 >NUL
    START Launch_login.bat
    PING 1.1.1.1 -n 1 -w 5000 >NUL
    START Launch_channel.bat

  10. #10
    Sorcerer Supreme narvin is offline
    Member +Rank
    Jul 2008 Join Date
    285Posts

    Re: [Release]Running .bat in background

    this looks more like a guide to me, but cool



Advertisement