Official GHost++ Home - Codelain.com
May 22, 2013, 04:42:36 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [Intermediate] Launch GHost++, Warden Update, and Warden all at once  (Read 4228 times)
0 Members and 1 Guest are viewing this topic.
Amazing
Initiate

Offline Offline

Posts: 25



View Profile
« on: April 22, 2009, 05:46:10 PM »

How to start wardenupdater, blns.exe and ghost.exe with one click (in windows)

I recently found it very annoying to start wardenupdater.exe, blns.exe and ghost.exe when launching the bot.
I run Windows, so I did some easy .bat-files to make this work.
Recognizing it comes to difficulties starting to fast, or starting over one cmd-window the solution ended up like this.

You need 4 .bat files.
Simply create a text-file with notepad and name it .bat at the end instead of .txt

The files in my example are written below, write the text in the code window in the open .bat file with the given name

start_all.bat
Quote
start "bat1" "C:\<your_path_for_ghost>\bnls.bat"
CALL WAIT 1
start "bat2" "C:\<your_path_for_ghost>\ghost.bat"
exit

bnls.bat
Quote
start "BLNS Updater" "C:\<your_path_for_warden_server>\wardenupdater.exe"
CALL WAIT 1
start "BLNS Warden" "C:\<your_path_for_warden_server>\BNLS.exe"
exit

ghost.bat
Quote
start "GHost++ 13.0" "C:\<your_ghost_path>\ghost.exe"
exit

WAIT.bat
Quote
@ping 127.0.0.1 -n 2 -w 1000 > nul
@ping 127.0.0.1 -n %1% -w 1000> nul

Copy all those files in your ghost folder.
Make a shortcut to start_all.bat (or start it directly with it) and use it to update and start bnls and after that automatically start ghost.
I found it very nice and useful.

Have fun.
« Last Edit: June 06, 2009, 01:08:30 AM by Instinct121 » Logged

There is no sin except stupidity - Oscar Wilde
Clan B4E - The official http://banlist.nl Clan for Northrend/Europe
Official GHost++ Home - Codelain.com
« on: April 22, 2009, 05:46:10 PM »

 Logged
Instinct121
Chief Executive Officer
Distinct Contributor
*
Offline Offline

Posts: 8854


Now on HoN


View Profile WWW
« Reply #1 on: April 22, 2009, 07:33:32 PM »

are the pings just to make it wait?  You could have used sleep.exe for that, it's in a microsoft redistributable package.
Logged

Amazing
Initiate

Offline Offline

Posts: 25



View Profile
« Reply #2 on: April 22, 2009, 09:31:39 PM »

This code works in any case, even without the install.
I didnt find the sleep command on my system *shrug*
Logged

There is no sin except stupidity - Oscar Wilde
Clan B4E - The official http://banlist.nl Clan for Northrend/Europe
Instinct121
Chief Executive Officer
Distinct Contributor
*
Offline Offline

Posts: 8854


Now on HoN


View Profile WWW
« Reply #3 on: April 22, 2009, 09:34:49 PM »

This code works in any case, even without the install.
I didnt find the sleep command on my system *shrug*

sleep isn't on the computer by default, it's part of a toolkit of a bunch of different tiny useful apps from microsoft.  I believe it's called the Server 2003 Resource Kit.
Logged

Amazing
Initiate

Offline Offline

Posts: 25



View Profile
« Reply #4 on: April 22, 2009, 09:47:55 PM »

Yeah I found that package, but I thought it is disturbing to install a whole package just for this little gimmick.
if you install that package you can just switch "CALL WAIT 1" with "sleep 1" and delete WAIT.bat Wink
But hey... a .bat file is not really big, so I take the method which involves less work.
Logged

There is no sin except stupidity - Oscar Wilde
Clan B4E - The official http://banlist.nl Clan for Northrend/Europe
Instinct121
Chief Executive Officer
Distinct Contributor
*
Offline Offline

Posts: 8854


Now on HoN


View Profile WWW
« Reply #5 on: April 22, 2009, 11:30:58 PM »

no, I just don't like using a bunch of bat files, or using commands which 'trick' the computer into doing what you want it to do.
Logged

Amazing
Initiate

Offline Offline

Posts: 25



View Profile
« Reply #6 on: April 23, 2009, 05:46:01 AM »

Well and I do not like installing useless crap I do not need.
Pinging myself is not that bad.
Logged

There is no sin except stupidity - Oscar Wilde
Clan B4E - The official http://banlist.nl Clan for Northrend/Europe
Instinct121
Chief Executive Officer
Distinct Contributor
*
Offline Offline

Posts: 8854


Now on HoN


View Profile WWW
« Reply #7 on: April 23, 2009, 11:53:49 AM »

Yeah, I know.  I'm probably just arguing because I never thought of it. Tongue
Logged

Tanxs
Regular
*
Offline Offline

Posts: 52



View Profile
« Reply #8 on: April 23, 2009, 12:00:28 PM »

Yeah, I know.  I'm probably just arguing because I never thought of it. Tongue

LOL @ Instinct Epic arguing HAHA
Logged
Instinct121
Chief Executive Officer
Distinct Contributor
*
Offline Offline

Posts: 8854


Now on HoN


View Profile WWW
« Reply #9 on: April 23, 2009, 01:04:24 PM »

Smiley
Logged

Shade0o
Distinct Contributor
***
Offline Offline

Posts: 1223


Fuck reality, Ill stay in this dream!


View Profile WWW
« Reply #10 on: May 05, 2009, 07:13:32 AM »

Why not use this. its one file and you just have to hit the space twice and it also loads wc3

Code:
@ECHO OFF
start "C:\Program Files (x86)\Warcraft III\BNLSWarden\wardenupdater.exe"
pause
start "C:\Program Files (x86)\Warcraft III\BNLSWarden\BNLS.exe"
pause
start "C:\Program Files (x86)\Warcraft III\ghost.exe"
start "C:\Program Files (x86)\Warcraft III\Frozen Throne.exe" -windows
exit

or if you install this small package you can use this so you dont have to do anything but click to start it

Code:
@ECHO OFF
start "C:\Program Files (x86)\Warcraft III\BNLSWarden\wardenupdater.exe"
sleep 1
start "C:\Program Files (x86)\Warcraft III\BNLSWarden\BNLS.exe"
sleep 1
start "C:\Program Files (x86)\Warcraft III\ghost.exe"
start "C:\Program Files (x86)\Warcraft III\Frozen Throne.exe" -windows
exit

but your way is good if people are really lazy and dont want to hit a space twice or download anything..
made the first bat for myself awhile ago and just found this now so thought i would share.
Thanks for letting me know about sleep.exe, not sure if "sleep 1" is good or you need it higher or anything
« Last Edit: May 16, 2009, 01:17:30 PM by Instinct121 » Logged

If you want help, post Log and Config with pass/keys removed in [code][/code] tags!
95% of Ghost errors fall into the "PEBKAC" area!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!