mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Merge branch 'master' of https://github.com/EQEmu/Server into inv_possessions_rework
This commit is contained in:
@@ -40,7 +40,12 @@ if($Config{osname}=~/freebsd|linux/i){
|
||||
if($Config{osname}=~/Win|MS/i){
|
||||
$OS = "Windows";
|
||||
}
|
||||
|
||||
$has_internet_connection = check_internet_connection();
|
||||
if(-e "skip_internet_connection_check.txt"){
|
||||
$has_internet_connection = 1;
|
||||
}
|
||||
|
||||
($sec, $min, $hour, $mday, $mon, $year, $wday, $yday, $isdst) = localtime();
|
||||
|
||||
if(-e "eqemu_server_skip_update.txt"){
|
||||
@@ -167,19 +172,19 @@ sub show_install_summary_info {
|
||||
if (-e "install_variables.txt") {
|
||||
$file_to_open = "install_variables.txt";
|
||||
}
|
||||
elsif(-e "../install_variables.txt"){
|
||||
elsif (-e "../install_variables.txt") {
|
||||
$file_to_open = "../install_variables.txt";
|
||||
}
|
||||
open (INSTALL_VARS, $file_to_open);
|
||||
while (<INSTALL_VARS>){
|
||||
open(INSTALL_VARS, $file_to_open);
|
||||
while (<INSTALL_VARS>) {
|
||||
chomp;
|
||||
$o = $_;
|
||||
@data = split(":", $o);
|
||||
print " - " . $data[0] . "\t" . $data[1] . "\n";
|
||||
}
|
||||
close (INSTALL_VARS);
|
||||
|
||||
if($OS eq "Windows"){
|
||||
close(INSTALL_VARS);
|
||||
|
||||
if ($OS eq "Windows") {
|
||||
print "[Install] Windows Utility Scripts:\n";
|
||||
print " - t_start_server.bat Starts EQEmu server with 30 dynamic zones, UCS & Queryserv, dynamic zones\n";
|
||||
print " - t_start_server_with_loginserver.bat Starts EQEmu server with 30 zones with loginserver\n";
|
||||
@@ -187,16 +192,16 @@ sub show_install_summary_info {
|
||||
print " - t_database_backup.bat Backs up the Database to backups/ folder - do not run during server is online\n";
|
||||
print " - t_server_crash_report.pl Will parse any zone crashes for reporting to developers\n";
|
||||
}
|
||||
if($OS eq "Linux"){
|
||||
if ($OS eq "Linux") {
|
||||
print "[Install] Linux Utility Scripts:\n";
|
||||
print " - server_start.sh Starts EQEmu server (Quiet) with 30 dynamic zones, UCS & Queryserv, dynamic zones\n";
|
||||
print " - server_start_dev.sh Starts EQEmu server with 10 dynamic zones, UCS & Queryserv, dynamic zones all verbose\n";
|
||||
print " - server_stop.sh Stops EQEmu Server (No warning)\n";
|
||||
print " - server_status.sh Prints the status of the EQEmu Server processes\n";
|
||||
}
|
||||
|
||||
|
||||
print "[Configure] eqemu_config.xml Edit to change server settings and name\n";
|
||||
|
||||
|
||||
analytics_insertion("install_complete", "null");
|
||||
}
|
||||
|
||||
@@ -826,6 +831,7 @@ sub show_menu_prompt {
|
||||
elsif($input eq "setup_bots"){ setup_bots(); $dc = 1; }
|
||||
elsif($input eq "linux_login_server_setup"){ do_linux_login_server_setup(); $dc = 1; }
|
||||
elsif($input eq "quest_heading_convert"){ quest_heading_convert(); $dc = 1; }
|
||||
elsif($input eq "source_peq_db"){ fetch_peq_db_full(); $dc = 1; }
|
||||
elsif($input eq "exit"){
|
||||
exit;
|
||||
}
|
||||
|
||||
@@ -54,36 +54,39 @@ export apt_options="-y -qq" # Set autoconfirm and silent install
|
||||
|
||||
################################################################
|
||||
|
||||
read -n1 -r -p "Press any key to continue..." key
|
||||
if [ ! -f ./install_variables.txt ]; then
|
||||
|
||||
#::: Setting up user environment (eqemu)
|
||||
echo "First, we need to set your passwords..."
|
||||
echo "Make sure that you remember these and keep them somewhere"
|
||||
echo ""
|
||||
echo ""
|
||||
groupadd eqemu
|
||||
useradd -g eqemu -d $eqemu_server_directory eqemu
|
||||
passwd eqemu
|
||||
read -n1 -r -p "Press any key to continue..." key
|
||||
|
||||
#::: Setting up user environment (eqemu)
|
||||
echo "First, we need to set your passwords..."
|
||||
echo "Make sure that you remember these and keep them somewhere"
|
||||
echo ""
|
||||
echo ""
|
||||
groupadd eqemu
|
||||
useradd -g eqemu -d $eqemu_server_directory eqemu
|
||||
passwd eqemu
|
||||
|
||||
#::: Make server directory and go to it
|
||||
mkdir $eqemu_server_directory
|
||||
cd $eqemu_server_directory
|
||||
#::: Make server directory and go to it
|
||||
mkdir $eqemu_server_directory
|
||||
cd $eqemu_server_directory
|
||||
|
||||
#::: Setup MySQL root user PW
|
||||
read -p "Enter MySQL root (Database) password: " eqemu_db_root_password
|
||||
#::: Setup MySQL root user PW
|
||||
read -p "Enter MySQL root (Database) password: " eqemu_db_root_password
|
||||
|
||||
#::: Write install variables (later use)
|
||||
echo "mysql_root:$eqemu_db_root_password" > install_variables.txt
|
||||
#::: Write install variables (later use)
|
||||
echo "mysql_root:$eqemu_db_root_password" > install_variables.txt
|
||||
|
||||
#::: Setup MySQL server
|
||||
read -p "Enter Database Name (single word, no special characters, lower case):" eqemu_db_name
|
||||
read -p "Enter (Database) MySQL EQEmu Server username: " eqemu_db_username
|
||||
read -p "Enter (Database) MySQL EQEmu Server password: " eqemu_db_password
|
||||
#::: Setup MySQL server
|
||||
read -p "Enter Database Name (single word, no special characters, lower case):" eqemu_db_name
|
||||
read -p "Enter (Database) MySQL EQEmu Server username: " eqemu_db_username
|
||||
read -p "Enter (Database) MySQL EQEmu Server password: " eqemu_db_password
|
||||
|
||||
#::: Write install variables (later use)
|
||||
echo "mysql_eqemu_db_name:$eqemu_db_name" >> install_variables.txt
|
||||
echo "mysql_eqemu_user:$eqemu_db_username" >> install_variables.txt
|
||||
echo "mysql_eqemu_password:$eqemu_db_password" >> install_variables.txt
|
||||
#::: Write install variables (later use)
|
||||
echo "mysql_eqemu_db_name:$eqemu_db_name" >> install_variables.txt
|
||||
echo "mysql_eqemu_user:$eqemu_db_username" >> install_variables.txt
|
||||
echo "mysql_eqemu_password:$eqemu_db_password" >> install_variables.txt
|
||||
fi
|
||||
|
||||
if [[ "$OS" == "Debian" ]]; then
|
||||
# Install pre-req packages
|
||||
|
||||
@@ -379,8 +379,10 @@
|
||||
9123|2018_07_07_data_buckets.sql|SHOW TABLES LIKE 'data_buckets'|empty|
|
||||
9124|2018_07_09_tasks.sql|SHOW COLUMNS FROM `tasks` LIKE 'type'|empty|
|
||||
9125|2018_07_20_task_emote.sql|SHOW COLUMNS FROM `tasks` LIKE 'completion_emote'|empty|
|
||||
9126|2018_08_13_inventory_version_update.sql|SHOW TABLES LIKE 'inventory_versions'|empty|
|
||||
9127|2018_08_13_inventory_update.sql|SELECT * FROM `inventory_versions` WHERE `version` = 2 and `step` = 0|not_empty|
|
||||
9126|2018_09_07_FastRegen.sql|SHOW COLUMNS FROM `zone` LIKE 'fast_regen_hp'|empty|
|
||||
9127|2018_09_07_NPCMaxAggroDist.sql|SHOW COLUMNS FROM `zone` LIKE 'npc_max_aggro_dist'|empty|
|
||||
9128|2018_08_13_inventory_version_update.sql|SHOW TABLES LIKE 'inventory_versions'|empty|
|
||||
9129|2018_08_13_inventory_update.sql|SELECT * FROM `inventory_versions` WHERE `version` = 2 and `step` = 0|not_empty|
|
||||
|
||||
# Upgrade conditions:
|
||||
# This won't be needed after this system is implemented, but it is used database that are not
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE `zone` ADD `fast_regen_hp` INT NOT NULL DEFAULT '180';
|
||||
ALTER TABLE `zone` ADD `fast_regen_mana` INT NOT NULL DEFAULT '180';
|
||||
ALTER TABLE `zone` ADD `fast_regen_endurance` INT NOT NULL DEFAULT '180';
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TABLE `zone` ADD `npc_max_aggro_dist` INT NOT NULL DEFAULT '600';
|
||||
+18
-16
@@ -1,11 +1,10 @@
|
||||
aa_ability
|
||||
aa_actions
|
||||
aa_effects
|
||||
aa_required_level_cost
|
||||
aa_ranks
|
||||
aa_rank_effects
|
||||
aa_rank_prereqs
|
||||
task_activities
|
||||
aa_ranks
|
||||
aa_required_level_cost
|
||||
adventure_template
|
||||
adventure_template_entry
|
||||
adventure_template_entry_flavor
|
||||
@@ -18,6 +17,7 @@ char_create_combinations
|
||||
char_create_point_allocations
|
||||
class_skill
|
||||
damageshieldtypes
|
||||
data_buckets
|
||||
doors
|
||||
faction_list
|
||||
faction_list_mod
|
||||
@@ -33,38 +33,39 @@ ground_spawns
|
||||
horses
|
||||
instance_list
|
||||
items
|
||||
ldon_trap_templates
|
||||
ldon_trap_entries
|
||||
ldon_trap_templates
|
||||
level_exp_mods
|
||||
logsys_categories
|
||||
lootdrop
|
||||
lootdrop_entries
|
||||
loottable
|
||||
loottable_entries
|
||||
merc_armorinfo
|
||||
merc_weaponinfo
|
||||
merc_stats
|
||||
merc_buffs
|
||||
merc_inventory
|
||||
merc_merchant_entries
|
||||
merc_merchant_template_entries
|
||||
merc_merchant_templates
|
||||
merc_stance_entries
|
||||
merc_templates
|
||||
merc_npc_types
|
||||
merc_name_types
|
||||
merc_subtypes
|
||||
merc_types
|
||||
merc_npc_types
|
||||
merc_spell_list_entries
|
||||
merc_spell_lists
|
||||
merc_buffs
|
||||
mercs
|
||||
merc_inventory
|
||||
merc_stance_entries
|
||||
merc_stats
|
||||
merc_subtypes
|
||||
merc_templates
|
||||
merc_types
|
||||
merc_weaponinfo
|
||||
merchantlist
|
||||
mercs
|
||||
npc_emotes
|
||||
npc_faction
|
||||
npc_faction_entries
|
||||
npc_spells
|
||||
npc_spells_entries
|
||||
npc_spells_effects
|
||||
npc_spells_effects_entries
|
||||
npc_spells_entries
|
||||
npc_types
|
||||
npc_types_metadata
|
||||
npc_types_tint
|
||||
@@ -77,14 +78,15 @@ races
|
||||
saylink
|
||||
skill_caps
|
||||
spawn2
|
||||
spawn_conditions
|
||||
spawn_condition_values
|
||||
spawn_conditions
|
||||
spawn_events
|
||||
spawnentry
|
||||
spawngroup
|
||||
spells_new
|
||||
start_zones
|
||||
starting_items
|
||||
task_activities
|
||||
tasks
|
||||
tasksets
|
||||
titles
|
||||
|
||||
Reference in New Issue
Block a user