mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-05 07:02:37 +00:00
Adjustments to eqemu_update.pl menu (V11)
This commit is contained in:
parent
bcf2a5c852
commit
658b6ba570
@ -494,7 +494,7 @@ bool Database::CheckDatabaseConversions() {
|
|||||||
/* Check for a new version of this script, the arg passed
|
/* Check for a new version of this script, the arg passed
|
||||||
would have to be higher than the copy they have downloaded
|
would have to be higher than the copy they have downloaded
|
||||||
locally and they will re fetch */
|
locally and they will re fetch */
|
||||||
system("perl eqemu_update.pl V 10");
|
system("perl eqemu_update.pl V 11");
|
||||||
|
|
||||||
/* Run Automatic Database Upgrade Script */
|
/* Run Automatic Database Upgrade Script */
|
||||||
system("perl eqemu_update.pl ran_from_world");
|
system("perl eqemu_update.pl ran_from_world");
|
||||||
|
|||||||
@ -22,7 +22,7 @@ if($Config{osname}=~/linux/i){ $OS = "Linux"; }
|
|||||||
if($Config{osname}=~/Win|MS/i){ $OS = "Windows"; }
|
if($Config{osname}=~/Win|MS/i){ $OS = "Windows"; }
|
||||||
|
|
||||||
#::: If current version is less than what world is reporting, then download a new one...
|
#::: If current version is less than what world is reporting, then download a new one...
|
||||||
$current_version = 10;
|
$current_version = 11;
|
||||||
|
|
||||||
if($ARGV[0] eq "V"){
|
if($ARGV[0] eq "V"){
|
||||||
if($ARGV[1] > $current_version){
|
if($ARGV[1] > $current_version){
|
||||||
@ -241,31 +241,33 @@ sub menu_options {
|
|||||||
$bots_management = "Install bots database pre-requisites (Requires bots server binaries)";
|
$bots_management = "Install bots database pre-requisites (Requires bots server binaries)";
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$bots_management = "Check for Bot pending REQUIRED database updates...";
|
$bots_management = "Check for Bot pending REQUIRED database updates... (Must have bots enabled)";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
$option[3] = "Check and stage pending REQUIRED Database updates";
|
$option[3] = "Check and stage pending REQUIRED Database updates";
|
||||||
$bots_management = "Check for Bot REQUIRED database updates...";
|
$bots_management = "Check for Bot REQUIRED database updates... (Must have bots enabled)";
|
||||||
}
|
}
|
||||||
|
|
||||||
return <<EO_MENU;
|
return <<EO_MENU;
|
||||||
EQEmu Update Utility Menu:
|
============================================================
|
||||||
1) Backup Database - (Saves to Backups folder)
|
#::: EQEmu Update Utility Menu: (eqemu_update.pl)
|
||||||
2) Backup Database Compressed - (Saves to Backups folder)
|
============================================================
|
||||||
3) $option[3]
|
1) [Backup Database] :: (Saves to Backups folder)
|
||||||
4) AAs - Download Latest AA's from PEQ (This overwrites existing data)
|
2) [Backup Database Compressed] :: (Saves to Backups folder)
|
||||||
5) OPCodes - Download latest opcodes
|
3) [EQEmu DB Schema] :: $option[3]
|
||||||
6) Maps - Download latest map and water files
|
4) [EQEmu DB Bots Schema] $bots_management
|
||||||
7) Plugins - Download latest Perl plugins
|
5) [OPCodes] :: Download latest opcodes for each EQ Client
|
||||||
8) Quests - Download latest PEQ quests and stage updates
|
6) [Maps] :: Download latest map and water files
|
||||||
9) LUA Modules - Download latest LUA Modules (Required for Lua)
|
7) [Plugins (Perl)] :: Download latest Perl plugins
|
||||||
10) $bots_management
|
8) [Quests (Perl/LUA)] :: Download latest PEQ quests and stage updates
|
||||||
20) Force update this script (Redownload)
|
9) [LUA Modules] :: Download latest LUA Modules (Required for Lua)
|
||||||
0) Exit
|
10) [DB Data : Alternate Advancement] :: Download Latest AA's from PEQ (This overwrites existing data)
|
||||||
|
20) [Update the updater] Force update this script (Redownload)
|
||||||
Enter numbered option and press enter...
|
0) Exit
|
||||||
|
|
||||||
|
Enter numbered option and press enter...
|
||||||
|
|
||||||
EO_MENU
|
EO_MENU
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user