|
@@ -7,6 +7,7 @@ rem EXEUPDATE Will update, EXE files. 1 for on, anything else for off.
|
|
|
rem LUAUPDATE Will update, LUA files. 1 for on, anything else for off.
|
|
|
rem MAPUPDATE Will update, MAP files. 1 for on, anything else for off.
|
|
|
rem SENDBUGS Will send your bug reports to an offsite server to be reviewed by staff. 1 for on, anything else is off.
|
|
|
+rem STRUCTCHK Will check for new Structs. 1 for on 0 for off. If you have EXE updates enabled this will run automatically.
|
|
|
|
|
|
SET NAME=Zeklabs.com
|
|
|
TITLE %NAME%
|
|
@@ -15,6 +16,7 @@ SET EXEUPDATE=1
|
|
|
SET LUAUPDATE=1
|
|
|
SET MAPUPDATE=1
|
|
|
SET SENDBUGS=1
|
|
|
+SET STRUCTCHK=1
|
|
|
|
|
|
if /I "%SQLUPDATE%" EQU "1" powershell write-host -fore Red ******** SETTING SQLUPDATE = 1 WILL ERASE ALL DATA IN THE DATABASE use 2 TO SAVE CHARACTERS/GUILDS ************
|
|
|
if /I "%SQLUPDATE%" EQU "1" echo [Checking for SQL Full Update and Downloading]
|
|
@@ -31,9 +33,26 @@ if /I "%EXEUPDATE%" EQU "1" echo [Checking for EXE Updates]
|
|
|
if /I "%EXEUPDATE%" EQU "1" cd server
|
|
|
if /I "%EXEUPDATE%" EQU "1" wget -q -nc http://cutpon.com:3000/devn00b/EQ2EMu/raw/master/server/EQ2Login__Debug64.exe
|
|
|
if /I "%EXEUPDATE%" EQU "1" wget -q -nc http://cutpon.com:3000/devn00b/EQ2EMu/raw/master/server/EQ2World__Debug_x64.exe
|
|
|
+if /I "%EXEUPDATE%" EQU "1" echo [New EXE Could Mean NEW Structs. Checking...]
|
|
|
+if /I "%EXEUPDATE%" EQU "1" wget -q -nc http://cutpon.com:3000/devn00b/EQ2EMu/raw/master/server/SpawnStructs.xml
|
|
|
+if /I "%EXEUPDATE%" EQU "1" wget -q -nc http://cutpon.com:3000/devn00b/EQ2EMu/raw/master/server/WorldStructs.xml
|
|
|
+if /I "%EXEUPDATE%" EQU "1" wget -q -nc http://cutpon.com:3000/devn00b/EQ2EMu/raw/master/server/EQ2_Structs.xml
|
|
|
+if /I "%EXEUPDATE%" EQU "1" wget -q -nc http://cutpon.com:3000/devn00b/EQ2EMu/raw/master/server/ItemStructs.xml
|
|
|
+if /I "%EXEUPDATE%" EQU "1" wget -q -nc http://cutpon.com:3000/devn00b/EQ2EMu/raw/master/server/LoginStructs.xml
|
|
|
+if /I "%EXEUPDATE%" EQU "1" echo [Completed Struct Updates]
|
|
|
if /I "%EXEUPDATE%" EQU "1" echo [Completed EXE Updates]
|
|
|
if /I "%EXEUPDATE%" EQU "1" cd ..
|
|
|
|
|
|
+if /I "%STRUCTCHK%" EQU "1" echo [Checking for Struct Updates]
|
|
|
+if /I "%STRUCTCHK%" EQU "1" cd server
|
|
|
+if /I "%STRUCTCHK%" EQU "1" wget -q -nc http://cutpon.com:3000/devn00b/EQ2EMu/raw/master/server/SpawnStructs.xml
|
|
|
+if /I "%STRUCTCHK%" EQU "1" wget -q -nc http://cutpon.com:3000/devn00b/EQ2EMu/raw/master/server/WorldStructs.xml
|
|
|
+if /I "%STRUCTCHK%" EQU "1" wget -q -nc http://cutpon.com:3000/devn00b/EQ2EMu/raw/master/server/EQ2_Structs.xml
|
|
|
+if /I "%STRUCTCHK%" EQU "1" wget -q -nc http://cutpon.com:3000/devn00b/EQ2EMu/raw/master/server/ItemStructs.xml
|
|
|
+if /I "%STRUCTCHK%" EQU "1" wget -q -nc http://cutpon.com:3000/devn00b/EQ2EMu/raw/master/server/LoginStructs.xml
|
|
|
+if /I "%STRUCTCHK%" EQU "1" cd ..
|
|
|
+if /I "%STRUCTCHK%" EQU "1" echo [Competed Struct Updates]
|
|
|
+
|
|
|
if /I "%LUAUPDATE%" EQU "1" echo [Checking for LUA Updates]
|
|
|
if /I "%LUAUPDATE%" EQU "1" echo [This will take a moment due to number of files]
|
|
|
if /I "%LUAUPDATE%" EQU "1" cd server
|