Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.05 KB | None | 0 0
  1. @echo off
  2.  
  3. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  4. :: CONFIG - begin
  5. set mysql_exe_path="C:\xampp\mysql\bin"
  6. :: CONFIG - end
  7. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  8.  
  9.  
  10. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  11. :: Run MySQL database maintenance scripts
  12. cd /d %mysql_exe_path%
  13. mysql.exe --user=overpoch_cherno --password=overpoch_cherno --host=127.0.0.1 --port=3306 --database=overpoch_cherno < D:\Servers\Dayz_Cherno\sql\removeemptyplayers.sql
  14. mysql.exe --user=overpoch_cherno --password=overpoch_cherno --host=127.0.0.1 --port=3306 --database=overpoch_cherno < D:\Servers\Dayz_Cherno\sql\safes0000.sql
  15. mysql.exe --user=overpoch_cherno --password=overpoch_cherno --host=127.0.0.1 --port=3306 --database=overpoch_cherno < D:\Servers\Dayz_Cherno\sql\red00.sql
  16. ::mysql.exe --user=overpoch_cherno --password=overpoch_cherno --host=127.0.0.1 --port=3306 --database=overpoch_cherno < D:\Servers\Dayz_Cherno\sql\unlocknonkeyvehicles.sql
  17. mysql.exe --user=overpoch_cherno --password=overpoch_cherno --host=127.0.0.1 --port=3306 --database=overpoch_cherno < D:\Servers\Dayz_Cherno\sql\bodyremoval.sql
  18. ::mysql.exe --user=overpoch_cherno --password=overpoch_cherno --host=127.0.0.1 --port=3306 --database=overpoch_cherno < D:\Servers\Dayz_Cherno\sql\.sql
  19. ::mysql.exe --user=overpoch_cherno --password=overpoch_cherno --host=127.0.0.1 --port=3306 --database=overpoch_cherno < D:\Servers\Dayz_Cherno\sql\.sql
  20.  
  21. :: Apply damage to buildable objects
  22. mysql.exe --user=overpoch_cherno --password=overpoch_cherno --host=127.0.0.1 --port=3306 --database=overpoch_cherno < D:\Servers\Dayz_Cherno\sql\setDamageOnAge.sql
  23.  
  24. :: Cleanup completely damaged buildables
  25. mysql.exe --user=overpoch_cherno --password=overpoch_cherno --host=127.0.0.1 --port=3306 --database=overpoch_cherno < D:\Servers\Dayz_Cherno\sql\removeold.sql
  26.  
  27. :: Delete "No Key Left" Vehicles
  28. mysql.exe --user=overpoch_cherno --password=overpoch_cherno --host=127.0.0.1 --port=3306 --database=overpoch_cherno < D:\Servers\Dayz_Cherno\sql\unlocknonkeyvehicles.sql
  29.  
  30. :: with file based traders, no need for this any more
  31. ::mysql.exe --user=dbadminCHANGETHIS --password=passwordCHANGETHIS --host=127.0.0.1 --port=3306 --database=overpochcher < C:\dayz_mod_server\__SQL_scripts\Modify_Trader_Data.Replenish_Stocks.sql
  32. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  33.  
  34.  
  35. :: We're done here.
  36. @exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement