• Search
  • Register
  • Log in
  • Ace of Spades Game Forums » Gameplay
  • Note: This forum is merely an archive. It is no longer possible to login or register. - StackOverflow
    New Ace of Spades Forums: http://buildandshoot.com/
  • Coding for my program
  •  

    @echo off
    set use=0
    color 84

    TITLE AoS Utility

    :start
    cls
    echo A: AoS Forums
    echo B: AoS Wiki
    echo C: Play
    echo D: Config Editing
    echo E: Mod a Sight
    echo F: Voxlap Editor
    echo G: Start Server
    echo H: Exit
    set /p the=
    if %the% == A goto forum
    if %the% == C goto play
    if %the% == E goto sight
    if %the% == e goto sight
    if %the% == c goto play
    if %the% == F goto mod
    if %the% == f goto mod
    if %the% == a goto forum
    if %the% == D goto edit
    if %the% == d goto edit
    if %the% == G goto server
    if %the% == g goto server
    if %the% == b goto wiki
    if %the% == H exit
    if %the% == h exit
    if %the% == B goto wiki
    goto error
    :sight
    cls
    echo A: New Sight
    echo B: Default Sight
    set /p whichsight=
    if %whichsight% == A goto jerd
    if %whichsight% == a goto jerd
    if %whichsight% == B goto re
    if %whichsight% == b goto re
    goto error
    :re
    cls
    cd C:/Ace of Spades/png
    if exist semidefault.png goto next
    cls
    goto start
    :next
    cls
    echo Accessing Origanal Scope...
    ping localhost -n 2 >Nul
    ren semi.png oldsemi.png
    ren semidefault.png semi.png
    del oldsemi.png
    cls
    goto start
    :jerd
    echo Make sure sight is on desktop
    echo include .png extension
    set /p sight=Sight name:
    cd Desktop
    cls
    echo Modding Sight.
    ping localhost -n 2 >Nul
    cls
    echo Modding Sight..
    ping localhost -n 2 >Nul
    cls
    Echo Modding Sight...
    ping localhost -n 2 >Nul
    copy "%sight%" "C:\Ace of Spades\png
    cd C:\Ace of Spades\png
    ren semi.png semidefault.png
    ren %sight% semi.png
    cls
    goto start
    :wiki
    cls
    echo Starting Wiki...
    ping localhost -n 2 >Nul
    start http://www.aceofspadeswiki.com
    cls
    goto start
    :play
    cls
    echo Starting Webpage...
    ping localhost -n 2 >Nul
    start http://www.ace-spades.com/?page_id=5
    cls
    goto start
    :mod
    cls
    echo Starting VOXlap EDitor...
    ping localhost -n 2 >Nul
    cd C:/Ace of Spades
    start voxed
    goto start

    :server
    cls
    echo Have you portforwarded?
    echo (Yes/No)
    set /p port=
    if %port% == yes goto yes
    if %port% == no goto no
    if %port% == No goto no
    if %port% == Yes goto yes
    goto error
    :no
    cls
    echo Starting Webpage...
    ping localhost -n 2 >Nul
    start http://www.aceofspadeswiki.com/index.php?title=Server_Hosting
    cls
    goto start
    :yes
    cls
    echo Starting Server...
    ping localhost -n 2 >Nul
    cd C:/Ace of Spades
    start server
    cls
    goto start
    :error
    cls
    echo Error: Incorrect Command
    pause
    cls
    goto start

    :forum
    cls
    echo Starting Forums...
    ping localhost -n 2 >Nul
    explorer http://www.ace-spades.com/forums/
    cls
    goto start
    :edit
    cls
    set /p name=Name:
    cls
    set /p vol=Volume:
    cls
    set /p xres=XResolution:
    cls
    set /p yres=YResolution:
    cls
    :john
    cls
    echo Invert mouse? (Y/N)
    set /p inv=
    if %inv% == Y set inv=1
    if %inv% == y set inv=1
    if %inv% == N set inv=0
    if %inv% == n set inv=0
    cls
    set /p cap=Caplimit:
    cls
    cd C:/Ace of Spades
    ren config.ini config.txt
    erase the file >config.txt
    ECHO name %name% >>config.txt
    ECHO xres %xres% >>config.txt
    ECHO yres %yres% >> config.txt
    ECHO vol %vol% >>config.txt
    echo inverty %inv% >>config.txt
    echo caplimit %cap% >>config.txt
    ren config.txt config.ini
    cls
    goto start

    #14484
    rocket138
    super moron
    Posted 14 years ago
     

    K

    #14497
    Naka
    lewd
    Posted 14 years ago
     

    L

    #14499
    S0ldi3rKr4s0
    Combine
    Posted 14 years ago
     

    This thing does work though, but meh, i don't need it. But good job.

    #14506
    SIMOX
    Modifier
    Posted 14 years ago
    RSS feed for this topic  

    Reply

    You must log in to post.

  • Tags
  •   No tags yet.
     
    Ace of Spades Game Forums is proudly powered by bbPress.   //   Theme by Mike Lothar  
    [ Time : 0.026s | 13 Queries ]