Hello, I know this has been released before, but There might be just something I could add, I made my pc like when I start up my pc it automaticly turn on:
- Hamachi (my server requires Hamachi)
But since my server starts up a lot faster than that my wamp is done with loading I searched for a solution:
The delay for a batch file!
Here is the script:
PHP Code:
@echo off
title OdinMS: inactive
color 1c
color 4c
title Waiting on the delay
dir c:\ /s > nul
title OdinMS: activating 0/3
start /b launch_world.bat
title OdinMS: activating 1/3
ping localhost -w 10000 >nul
start /b launch_login.bat >nul
title OdinMS: activating 2/3
ping localhost -w 10000 >nul
start /b launch_channel.bat >nul
title OdinMS: activating 3/3
ping localhost -w 10000 >nul
color 2a
title TrueStory is online!!
----------------------------------------------------------------------------------------------------------------------------------
How to instal?
- Save as Launcher.bat or anything els that ends in .bat
- Place this file into your repack map where you login world and channel.bat files are.
- Double click the file and wait for your server to start (with delay)
99% Credits to AgentSmith (I though) Who made this.
1% Credit to me for the delay (please dont flame?
)
Added how to start al programs when starting up the pc:
you go to C:\Documents and Settings\username\Menu Start\Programs\start-up (I'm not 100% sure these are the names for it because my pc is dutch), but anyway it should be something like this. Now you see some diffrent things already , if not so, paste in your wamp icon, Hamachi icon and the bat file and restart your pc to test it out.
If you want a longer delay then search for "dir c:\ /s > nul" and add more of them.