ParanoiaPhD

Member
This is what I did... Just removed @pause (y/n question) and then removed the y/n question at the bottom leaving only the script executed upon hitting y (removed n script)

@SET CURPATH=%~dp0
@SET CSCPATH=%CURPATH%bin\roslyn\
@SET SDKPATH=%CURPATH%Ultima\
@SET SRVPATH=%CURPATH%Server\
@SET EXENAME=ServUO
@TITLE: %EXENAME% - https://www.servuo.com
::##########
@ECHO:
@ECHO: Compile Ultima SDK
@ECHO:
@Del "%CURPATH%Ultima.dll"
@ECHO ON
"%CSCPATH%csc.exe" /r:"%CURPATH%Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll" /target:library /out:"%CURPATH%Ultima.dll" /recurse:"%SDKPATH%*.cs" /d:ServUO /d:NEWTIMERS /d:DEBUG /nowarn:0618 /debug /nologo /unsafe
@ECHO OFF
@ECHO:
@ECHO: Done!
@ECHO:
@CLS
::##########
@ECHO:
@ECHO: Compile %EXENAME% for Windows
@ECHO:
@Del "%CURPATH%%EXENAME%.exe"
@ECHO ON
"%CSCPATH%csc.exe" /win32icon:"%SRVPATH%servuo.ico" /r:"%CURPATH%Ultima.dll" /r:"%CURPATH%Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll" /target:exe /out:"%CURPATH%%EXENAME%.exe" /recurse:"%SRVPATH%*.cs" /d:ServUO /d:NEWTIMERS /d:NETFX_472 /d:DEBUG /nowarn:0618 /debug /nologo /unsafe
@ECHO OFF
@ECHO:
@ECHO: Done!
@ECHO:
@CLS
@ECHO:
@ECHO: Ready To Run! %EXENAME% will be started in DEBUG Mode (-debug)
@ECHO:
@CLS
@ECHO OFF
"%CURPATH%%EXENAME%.exe" -debug
 

Active Shards

Donations

Total amount
$50.00
Goal
$1,000.00
Back