mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-15 12:31:31 +00:00
Add option to automatic database upgrade script 5) Download latest Opcodes from Github
This commit is contained in:
parent
47e98a4b62
commit
d7b529d2af
@ -1,22 +1,7 @@
|
|||||||
EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
EQEMu Changelog (Started on Sept 24, 2003 15:50)
|
||||||
-------------------------------------------------------
|
-------------------------------------------------------
|
||||||
== 12/24/2014 ==
|
== 12/27/2014 ==
|
||||||
Trevius: (RoF+) Added herosforgemodel field to the npc_types table.
|
Akkadius: Add option to automatic database upgrade script 5) Download latest Opcodes from Github
|
||||||
Trevius: (RoF2) Updated item links from #npcstat command output.
|
|
||||||
Trevius: (RoF+) Implemented Hero's Forge Armor for NPCs. Set the herosforgemodel field in npc_types table to the model (example: 84 for full set, or 12107 for robe).
|
|
||||||
Trevius: (RoF+) Hero's Forge Armor now overrides NPC texture settings. To display Hero's Forge Armor Helms, set helmtexture field to anything other than 0.
|
|
||||||
|
|
||||||
== 12/23/2014 ==
|
|
||||||
Uleat: Tidied up some ItemInst* declarations and added some nullptr checks.
|
|
||||||
Trevius: (RoF+) Added support for Hero's Forge Robe Models. Set herosforgemodel field in items table to exact model such as 11607, 11707, etc.
|
|
||||||
|
|
||||||
== 12/22/2014 ==
|
|
||||||
Trevius: (RoF2) Fixed Tracking.
|
|
||||||
Trevius: (RoF+) Added a work-around for the cursor buffer issue.
|
|
||||||
|
|
||||||
== 12/21/2014 ==
|
|
||||||
Trevius: (RoF2) Fixed Extended Targets Window by correcting opcodes.
|
|
||||||
Trevius: (RoF/RoF2) Fixed Guild Rank in the Player Profile, which prevents the guild rank message on login/zone.
|
|
||||||
|
|
||||||
== 12/20/2014 ==
|
== 12/20/2014 ==
|
||||||
Akkadius: Updated #cvs to display RoF2 Client Stream count
|
Akkadius: Updated #cvs to display RoF2 Client Stream count
|
||||||
|
|||||||
@ -155,6 +155,7 @@ sub ShowMenuPrompt {
|
|||||||
2 => \&database_dump_compress,
|
2 => \&database_dump_compress,
|
||||||
3 => \&Run_Database_Check,
|
3 => \&Run_Database_Check,
|
||||||
4 => \&AA_Fetch,
|
4 => \&AA_Fetch,
|
||||||
|
5 => \&OpCodes_Fetch,
|
||||||
0 => \&Exit,
|
0 => \&Exit,
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -204,6 +205,7 @@ Database Management Menu (Please Select):
|
|||||||
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)
|
4) AAs - Get Latest AA's from PEQ (This deletes AA's already in the database)
|
||||||
|
5) OPCodes - Download latest opcodes from repository
|
||||||
0) Exit
|
0) Exit
|
||||||
|
|
||||||
EO_MENU
|
EO_MENU
|
||||||
@ -305,6 +307,36 @@ sub AA_Fetch{
|
|||||||
print "\nDone...\n\n";
|
print "\nDone...\n\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#::: Fetch Latest Opcodes
|
||||||
|
sub OpCodes_Fetch{
|
||||||
|
print "Pulling down latest opcodes...\n";
|
||||||
|
%opcodes = (
|
||||||
|
1 => ["opcodes", "https://raw.githubusercontent.com/EQEmu/Server/master/utils/patches/opcodes.conf"],
|
||||||
|
2 => ["mail_opcodes", "https://raw.githubusercontent.com/EQEmu/Server/master/utils/patches/mail_opcodes.conf"],
|
||||||
|
3 => ["Titanium", "https://raw.githubusercontent.com/EQEmu/Server/master/utils/patches/patch_Titanium.conf"],
|
||||||
|
4 => ["Secrets of Faydwer", "https://raw.githubusercontent.com/EQEmu/Server/master/utils/patches/patch_SoF.conf"],
|
||||||
|
5 => ["Seeds of Destruction", "https://raw.githubusercontent.com/EQEmu/Server/master/utils/patches/patch_SoD.conf"],
|
||||||
|
6 => ["Underfoot", "https://raw.githubusercontent.com/EQEmu/Server/master/utils/patches/patch_Underfoot.conf"],
|
||||||
|
7 => ["Rain of Fear", "https://raw.githubusercontent.com/EQEmu/Server/master/utils/patches/patch_RoF.conf"],
|
||||||
|
8 => ["Rain of Fear 2", "https://raw.githubusercontent.com/EQEmu/Server/master/utils/patches/patch_RoF2.conf"],
|
||||||
|
);
|
||||||
|
$loop = 1;
|
||||||
|
while($opcodes{$loop}[0]){
|
||||||
|
#::: Split the URL by the patches folder to get the file name from URL
|
||||||
|
@real_file = split("patches/", $opcodes{$loop}[1]);
|
||||||
|
$find = 0;
|
||||||
|
while($real_file[$find]){
|
||||||
|
$file_name = $real_file[$find];
|
||||||
|
$find++;
|
||||||
|
}
|
||||||
|
|
||||||
|
print "\nDownloading (" . $opcodes{$loop}[0] . ") File: '" . $file_name . "'...\n\n";
|
||||||
|
GetRemoteFile($opcodes{$loop}[1], $file_name);
|
||||||
|
$loop++;
|
||||||
|
}
|
||||||
|
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