Custom Join Server Batch File

Host your own server and communicate with server operators.
6 posts Page 1 of 1 First unread post
Nerokin
Deuce
Posts: 5
Joined: Thu Mar 14, 2013 9:45 pm


When I was reading one of the topics talking about creating a script to login a server from another post
http://buildandshoot.com/posting.php?mo ... 13&p=11699

I think I know a better way than using a bunch of batch files and just use one bat.

Here is a possible code for the the batch
Code: Select all
@echo off
cls
:start
echo 1. Aloha.pk Tower of Babel
echo 2. Minit US - Classic Assault
echo 3. Call of Liberty 24/7
echo 4. Minit EU - Babel
echo 5. Aloha.ph R1 CTF 24/7 Hallway
echo 6. Sham's Little Pony
echo 7. [RUS] Lampovii Servachoc
echo 8. Aloha.pk Infiltration
echo 9. Animus Server 2 - Class Mode
echo 10. KLAP - East Coast
echo 11. Aloha.pk - Counter-Strike Maps
echo 12. -1337 UK Stormwind Clan Server-
echo 13. DantasHost - Returns AOS x TF2
echo 14. Aloha.pk Humans vs. Zombies
echo 15. ConKraft 3 - Instand Respond
set choice=1

set /p choice=Enter a number:
if %choice% == 1 goto num1
if %choice% == 2 goto num2
if %choice% == 3 goto num3
if %choice% == 4 goto num4
if %choice% == 5 goto num5
if %choice% == 6 goto num6
if %choice% == 7 goto num7
if %choice% == 8 goto num8
if %choice% == 9 goto num9
if %choice% == 10 goto num10
if %choice% == 11 goto num11
if %choice% == 12 goto num12
if %choice% == 13 goto num13
if %choice% == 14 goto num14
if %choice% == 15 goto num15
goto end

:num1 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://1379434439:34887"
goto end

:num2 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://1412988871:32887"
goto end

:num3 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://774716197:32857" 
goto end

:num4 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://620980333:33887"
goto end

:num5 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://1379434439:32887"
goto end

:num6 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://4038426958:31000"
goto end

:num7 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://2751659045:32887"
goto end

:num8 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://1379434439:35887"
goto end

:num9 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://2746420930:32888"
goto end

:num10 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://2960323245:32887"
goto end

:num11 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://1379434439:41887"
goto end

:num12 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://2715802954:32887"
goto end

:num13 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://2723420861:32887"
goto end

:num14 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://1379434439:37887"
goto end

:num15 
cd C:\Users\{Username}\Desktop\Ace of Spades
Start client.exe "aos://341548993:32889"
goto end

:end
echo You chose %choice% 
pause
Sorry about the size and the repeats in the code, I'll post a smaller script if anyone doesn't understand this (PM me for this). I don't know if it might work or not.
I picked the first 15 servers that I found on the list.
It works!!! I hope this will make the servers easier to to connect Blue_Wink1
TheDoctor1212 wrote:
Ace of Spades Portable
Last Edited: 4/2/2013 (Edit: 2)

Introduction
This is a tutorial/tool that allows you to play Ace of Spades off a portable device and/or play Ace of Spades using an internet network where http://www.buildandshoot.com/ is blocked.

Working Progress:
Command Prompt Server Menu

NOTE: This is for Windows Operating Systems only.

Needed Software
Ace of Spades - Download: http://buildandshoot.com/download_mirror.php
Notepad/Alternative - Download: http://download.tuxfamily.org/notepadpl ... taller.exe

Premade Server Files
[RUS] LAMPOVII SERVACHOK - Download: http://www.mediafire.com/download.php?sxlv74gmuszr2mp
24/7 Polski serwer AOS 2(Klasy) - Download: http://www.mediafire.com/download.php?21452cz6gpvdz0p
-1337 Chucks Spade Wars- - Download: http://www.mediafire.com/?2etc7q3q3qeucwz
-1337 UK Stormwind Clan Server- - Download: http://www.mediafire.com/?71wotw3wl8utr5k
-1337 UK Stormwind FreeForAll- - Download: http://www.mediafire.com/?w8wp4h6e6vbxs2b
AceOfSpadesCraft - Download: http://www.mediafire.com/download.php?47chnhgga2d08fw
aloha.pk 1ctf 24-7 pinpoint - Download: http://www.mediafire.com/download.php?bp1cr3hc3kc8c7y
aloha.pk arena top 10 maps - Download: http://www.mediafire.com/download.php?0t0pcb51x35hvmw
aloha.pk counter-strike maps - Download: http://www.mediafire.com/download.php?9nisd631om1668q
aloha.pk humans vs. zombies - Download: http://www.mediafire.com/download.php?5grwsa481etdeg0
aloha.pk tdm island maps - Download: http://www.mediafire.com/download.php?cr4mprwd408d4y4
aloha.pk tower of babel - Download: http://www.mediafire.com/download.php?xmcu93v8oxm0nuk
Call of Liberty Babel 24/7 - Download: http://www.mediafire.com/download.php?at8e1lt5lj33ef7
Call of Liberty Ctf 24/7 - Download: http://www.mediafire.com/download.php?88cf2cki2hebv10
GuunServer - Download: http://www.mediafire.com/download.php?bs3ntad8x5sc9rq
Linkters.com 1 - Download: http://www.mediafire.com/download.php?9cekehbvf4bdygg
Minit US - Classic Assault - Download: http://www.mediafire.com/?yca8hk79a29zkju
Shams Little Pony - Download: http://www.mediafire.com/?5a5h5e98wyherlw

NOTE: If you have a premade Server File you wish to share please PM me with a download link, please upload to http://www.mediafire.com/.

NOTE: Place premade Server Files in "USB...\Ace of Spades\Servers"

Instructions

1. Install Ace of Spades by launching the executable file and following the on screen prompts.

2. Navigate to you "C" Drive and then copy/cut the folder "Ace of Spades".

3. Paste the "Ace of Spades" folder to the desired destination on your USB Drive.

4. Open Notepad and the copy and paste the text below into Notepad.
Code: Select all
@echo off
Start "USB Drive...\Ace of Spades\client.exe" "Server Code"
5. Now replace 'USB Drive...' with the directory you pasted your "Ace of Spades" folder into.

6. Go onto http://www.buildandshoot.com/ and find the server you use most often.

7. Right click on the server name and select "Copy Link Location" from the drop down menu that appears.

8. Now delete 'Server Code' from the Notepad document and replace it with the server code you paste.

9. While saving the notepad document change the option that says "Text Documents (*.txt)" to "All Files"

10. Now save it as "server name.bat" but replacing 'server name' with the name of your most used server. Save it to "...\Ace of Spades\Servers\server name.bat", you will have to create the Servers folder.

11. Do this for all servers you wish to use.

12. To launch Ace of Spades portable, open the ".bat" file of the server you wish to join, enjoy!


PLEASE NOTE: If you repost credit goes to TheDoctor1212.


TheDoctor1212
Nerokin
Deuce
Posts: 5
Joined: Thu Mar 14, 2013 9:45 pm


Here is what it shows after opening the batch file and selecting a number
  • ImageImage
Silnius
Assistant Moderator
Assistant Moderator
Posts: 274
Joined: Mon Nov 05, 2012 8:15 am


Hey that's a very nice idea ! Thanks to posted it Blue_Happy3
10se1ucgo
3 Years of Ace of Spades
3 Years of Ace of Spades
Posts: 198
Joined: Sun Dec 16, 2012 4:29 pm


This has one problem. The user does not always set C:\Ace of Spades\ as their directory, and their is no confirmation whatsoever if you entered in wrong info.
http://www.buildandshoot.com/viewtopic. ... 38&p=18542
Nerokin
Deuce
Posts: 5
Joined: Thu Mar 14, 2013 9:45 pm


I guess I could close this then. I didn't realize that there was one up here already, but can I help edit? I understand what to edit, the script that I created is kind of like yours but, mine is default. Thanks for posting though! Blue_Happy1
10se1ucgo
3 Years of Ace of Spades
3 Years of Ace of Spades
Posts: 198
Joined: Sun Dec 16, 2012 4:29 pm


Nerokin wrote:
I guess I could close this then. I didn't realize that there was one up here already, but can I help edit? I understand what to edit, the script that I created is kind of like yours but, mine is default. Thanks for posting though! Blue_Happy1
Feel free to edit it and show me.
I will gladly consider it and add your name to the credits.
6 posts Page 1 of 1 First unread post
Return to “Servers”

Who is online

Users browsing this forum: No registered users and 17 guests