Update url of git repositories
BIN
custom/textures/shields/shields_inv_shield_admin.png
Executable file
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 918 B |
BIN
custom/textures/shields/shields_inv_shield_bronze.png
Executable file
After Width: | Height: | Size: 1.3 KiB |
BIN
custom/textures/shields/shields_inv_shield_cactus.png
Executable file
After Width: | Height: | Size: 1.9 KiB |
BIN
custom/textures/shields/shields_inv_shield_crystal.png
Normal file
After Width: | Height: | Size: 471 B |
BIN
custom/textures/shields/shields_inv_shield_diamond.png
Executable file
After Width: | Height: | Size: 1.7 KiB |
BIN
custom/textures/shields/shields_inv_shield_enhanced_cactus.png
Executable file
After Width: | Height: | Size: 2.0 KiB |
BIN
custom/textures/shields/shields_inv_shield_enhanced_wood.png
Executable file
After Width: | Height: | Size: 2.0 KiB |
BIN
custom/textures/shields/shields_inv_shield_gold.png
Executable file
After Width: | Height: | Size: 1.4 KiB |
BIN
custom/textures/shields/shields_inv_shield_mithril.png
Normal file
After Width: | Height: | Size: 880 B |
BIN
custom/textures/shields/shields_inv_shield_steel.png
Executable file
After Width: | Height: | Size: 1.6 KiB |
BIN
custom/textures/shields/shields_inv_shield_wood.png
Executable file
After Width: | Height: | Size: 1.8 KiB |
BIN
custom/textures/shields/shields_shield_admin.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
custom/textures/shields/shields_shield_admin_preview.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
custom/textures/shields/shields_shield_blackmithril.png
Executable file
After Width: | Height: | Size: 904 B |
BIN
custom/textures/shields/shields_shield_blackmithril_preview.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
custom/textures/shields/shields_shield_bronze.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
custom/textures/shields/shields_shield_bronze_preview.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
custom/textures/shields/shields_shield_cactus.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
custom/textures/shields/shields_shield_cactus_preview.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
custom/textures/shields/shields_shield_crystal.png
Normal file
After Width: | Height: | Size: 503 B |
BIN
custom/textures/shields/shields_shield_crystal_preview.png
Normal file
After Width: | Height: | Size: 562 B |
BIN
custom/textures/shields/shields_shield_diamond.png
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
custom/textures/shields/shields_shield_diamond_preview.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
custom/textures/shields/shields_shield_enhanced_cactus.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 6.9 KiB |
BIN
custom/textures/shields/shields_shield_enhanced_wood.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
custom/textures/shields/shields_shield_enhanced_wood_preview.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
custom/textures/shields/shields_shield_gold.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
custom/textures/shields/shields_shield_gold_preview.png
Normal file
After Width: | Height: | Size: 7.8 KiB |
BIN
custom/textures/shields/shields_shield_mithril.png
Normal file
After Width: | Height: | Size: 912 B |
BIN
custom/textures/shields/shields_shield_mithril_preview.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
custom/textures/shields/shields_shield_steel.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
custom/textures/shields/shields_shield_steel_preview.png
Normal file
After Width: | Height: | Size: 3.4 KiB |
BIN
custom/textures/shields/shields_shield_wood.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
custom/textures/shields/shields_shield_wood_preview.png
Normal file
After Width: | Height: | Size: 2.4 KiB |
29
install.sh
|
@ -82,25 +82,25 @@ install_0.4() {
|
|||
cd server-0.4
|
||||
git pull
|
||||
verif
|
||||
git submodule update --remote --recursive
|
||||
git -c http.sslVerify=false submodule update --remote --recursive
|
||||
verif
|
||||
cd ..
|
||||
elif [[ $continuer == "clean" ]]; then
|
||||
rm -rf server-0.4
|
||||
git clone https://github.com/sys4-fr/server-nalc.git server-0.4
|
||||
git -c http.sslVerify=false clone -b dev $URL/server-nalc.git server-0.4
|
||||
verif
|
||||
cd server-0.4
|
||||
git submodule update --init --recursive
|
||||
git -c http.sslVerify=false submodule update --init --recursive
|
||||
verif
|
||||
cd ..
|
||||
else
|
||||
echo "Mise à jour annulé."
|
||||
fi
|
||||
else
|
||||
git clone https://github.com/sys4-fr/server-nalc.git server-0.4
|
||||
git -c http.sslVerify=false clone -b dev $URL/server-nalc.git server-0.4
|
||||
verif
|
||||
cd server-0.4
|
||||
git submodule update --init --recursive
|
||||
git -c http.sslVerify=false submodule update --init --recursive
|
||||
verif
|
||||
cd ..
|
||||
fi
|
||||
|
@ -138,9 +138,9 @@ install_minetest() {
|
|||
if [[ ! -d minetest ]]; then
|
||||
local branch="-b master"
|
||||
if [[ $ver == "0.4" ]]; then
|
||||
branch="-b backport-0.4"
|
||||
branch="-b stable-0.4"
|
||||
fi
|
||||
git clone $branch $URL/minetest.git
|
||||
git -c http.sslVerify=false clone $branch $URL/minetest.git
|
||||
verif
|
||||
fi
|
||||
|
||||
|
@ -182,9 +182,9 @@ install_minetest_game() {
|
|||
if [[ ! -d minetest_game ]]; then
|
||||
local branch="-b master"
|
||||
if [[ $ver == "0.4" ]]; then
|
||||
branch="-b backport-0.4"
|
||||
branch="-b stable-0.4"
|
||||
fi
|
||||
git clone $branch $URL/minetest_game.git
|
||||
git -c http.sslVerify=false clone $branch $URL/minetest_game.git
|
||||
verif
|
||||
echo "Clonage de minetest_game terminé."
|
||||
fi
|
||||
|
@ -234,7 +234,7 @@ install_mods() {
|
|||
if [[ $ver == "0.4" ]]; then
|
||||
local i=0
|
||||
local md[1]="" # Mods to disable
|
||||
for mod in 3d_armor_ip 3d_armor_inv mysql_auth watershed mobs_old magicmithril blackmithril hardenedleather reinforcedleather obsidian eventobjects player_inactive random_messages irc irc_commands profilerdumper profnsched; do
|
||||
for mod in 3d_armor_ip 3d_armor_sfinv mysql_auth watershed mobs_old magicmithril blackmithril hardenedleather reinforcedleather obsidian eventobjects player_inactive random_messages irc irc_commands profilerdumper profnsched; do
|
||||
i=$(( $i+1 ))
|
||||
md[$i]=$mod
|
||||
done
|
||||
|
@ -362,6 +362,12 @@ post_install() {
|
|||
cp server-0.4/other_things/scripts/Server-side/script/start-mff.sh ./start.sh
|
||||
echo "Veuiller éditer le fichier start.sh"
|
||||
fi
|
||||
|
||||
# fix technic_worldgen crash
|
||||
cd server-0.4/mods/technic
|
||||
git checkout fb93388f06fe87ee75aaaf04cf6edcf01a26d981 technic_worldgen/oregen.lua
|
||||
cd ../../..
|
||||
echo "Fix technic_worldgen pour éviter crash appliqué."
|
||||
fi
|
||||
|
||||
# skindb updater (à relancer à la main plusieurs fois pour l'instant)
|
||||
|
@ -380,7 +386,8 @@ init() {
|
|||
elif [[ -n $url ]]; then
|
||||
URL=$url
|
||||
else
|
||||
URL="https://github.com/sys4-fr"
|
||||
#URL="https://github.com/sys4-fr"
|
||||
URL="https://sys4.fr/gogs/NotreAmiLeCube"
|
||||
fi
|
||||
|
||||
read -p "L'installation va démarrer. Continuer ? (y or n) : " continue
|
||||
|
|