mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-15 00:22:27 +00:00
PEQ AA Download option 4 implemented - http://i.imgur.com/OBrIOCM.png
This commit is contained in:
parent
4f38dba334
commit
4a83b4acb9
@ -128,6 +128,7 @@ sub ShowMenuPrompt {
|
|||||||
1 => \&database_dump,
|
1 => \&database_dump,
|
||||||
2 => \&database_dump_compress,
|
2 => \&database_dump_compress,
|
||||||
3 => \&Run_Database_Check,
|
3 => \&Run_Database_Check,
|
||||||
|
4 => \&AA_Fetch,
|
||||||
0 => \&Exit,
|
0 => \&Exit,
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -176,6 +177,7 @@ Database Management Menu (Please Select):
|
|||||||
2) Backup Database Compressed - (Saves to Backups folder)
|
2) Backup Database Compressed - (Saves to Backups folder)
|
||||||
Ideal to perform before performing updates
|
Ideal to perform before performing updates
|
||||||
3) $option[3]
|
3) $option[3]
|
||||||
|
4) AAs - Get Latest AA's from PEQ (This deletes AA's already in the database)
|
||||||
0) Exit
|
0) Exit
|
||||||
|
|
||||||
EO_MENU
|
EO_MENU
|
||||||
@ -268,6 +270,15 @@ sub trim {
|
|||||||
return $string;
|
return $string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#::: Fetch Latest PEQ AA's
|
||||||
|
sub AA_Fetch{
|
||||||
|
print "Pulling down PEQ AA Tables...\n";
|
||||||
|
GetRemoteFile("https://raw.githubusercontent.com/EQEmu/Server/master/utils/sql/peq_aa_tables.sql", "db_update/peq_aa_tables.sql");
|
||||||
|
print "\n\nInstalling AA Tables...\n";
|
||||||
|
print GetMySQLResultFromFile("db_update/peq_aa_tables.sql");
|
||||||
|
print "\nDone...\n\n";
|
||||||
|
}
|
||||||
|
|
||||||
#::: Responsible for Database Upgrade Routines
|
#::: Responsible for Database Upgrade Routines
|
||||||
sub Run_Database_Check{
|
sub Run_Database_Check{
|
||||||
#::: Run 2 - Running pending updates...
|
#::: Run 2 - Running pending updates...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user