Skip to content

Instantly share code, notes, and snippets.

@pasdVn
pasdVn / docker.log
Created Feb 11, 2020
nextcloud docker log
View docker.log
This file has been truncated, but you can view the full file.
Attaching to fpm_redis_1, fpm_db_1, fpm_app_1, fpm_cron_1, fpm_web_1
redis_1 | 1:C 11 Feb 2020 21:49:07.394 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
redis_1 | 1:C 11 Feb 2020 21:49:07.394 # Redis version=5.0.7, bits=64, commit=00000000, modified=0, pid=1, just started
redis_1 | 1:C 11 Feb 2020 21:49:07.394 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
db_1 | 2020-02-11 21:49:08+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 1:10.4.12+maria~bionic started.
redis_1 | 1:M 11 Feb 2020 21:49:07.395 * Running mode=standalone, port=6379.
db_1 | 2020-02-11 21:49:08+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
app_1 | Configuring Redis as session handler
View makeCB.sh
if [ ! -d codeblocks ] ; then
mkdir codeblocks
fi
cd codeblocks
cmake .. -G "CodeBlocks - Unix Makefiles" -DPREFIX=/home/tobias/Entwicklung/mangos_bin/Iov/ -DPCH=1 -DDEBUG=1
cd ..
echo "Customizing Code::Blocks Project file".
sed -e 's|Makefile\" mangos-worldd|Makefile\" mangos-worldd -j4|' \
-e 's|output="/home/tobias/Entwicklung/mangos/Iov/codeblocks/src/mangosd/mangos-worldd"|output="/home/tobias/Entwicklung/mangos_bin/Iov/bin/mangos-worldd"|' \
View gist:864281
/*
Death Knight Ghoul
----------------------
*/
-- AP_Ghoul = 1.47*STRENGHT - (-100)
UPDATE pet_scaling_data SET apbase = -68, apbasescale = 147 where creature_entry = 26125 AND aura = 0;
-- levelstats, values are interpolated out of two correct values (80 and 62)
View hunterPetStats.sql
/*
Hunter Pets
-------------
*/
-- levelstats, values are nearly 100% correct (only lvl 70 interpolated)
DELETE FROM `pet_levelstats` WHERE
`creature_entry` = 1 AND
(`level` BETWEEN '5' AND '20' OR
`level` IN ('23','24', '25', '27', '46', '47', '48', '49', '51') OR
`level`BETWEEN '70' AND '76');
View holy concentration
@@ -791,8 +791,8 @@ void Spell::prepareDataForTriggerSystem()
m_canTrigger = true;
break;
case SPELLFAMILY_PRIEST:
- // For Penance,Mind Sear,Mind Flay heal/damage triggers need do it
- if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0001800000800000) || (m_spellInfo->SpellFamilyFlags2 & 0x00000040))
+ // For Penance,Mind Sear,Mind Flay, Empowered Renew heal/damage triggers need do it
+ if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x0001800000800000) || (m_spellInfo->SpellFamilyFlags2 & 0x00001040))
m_canTrigger = true;
break;
View sqlAutoPatcher.sh
#!/bin/bash
# Configuration of databases
realmdb='realmd'
mangosdb='mangos'
chardb='characters'
sd2db='scriptdev2'
#Configuration of mysql users
mysqluser_mangos='mangos'
View 0006-Fixed-problem-with-pet-scaling-aura-update.patch
From bc01931e5f2bd3dfeebd6a8ec69c7da87a600ba3 Mon Sep 17 00:00:00 2001
From: pasdVn <pasdVn3@gmx.de>
Date: Sat, 12 Jun 2010 10:19:09 +0200
Subject: [PATCH 6/6] Fixed problem with pet scaling aura update.
Pet talent 62758 & rank.
---
src/game/SpellEffects.cpp | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
View 0004-implemented-spell-penetration-benefit-of-pets-from-t.patch
From 7a2b1712ec9d4829a855bd7ff0f6b7aee3fc58e4 Mon Sep 17 00:00:00 2001
From: pasdVn <pasdVn3@gmx.de>
Date: Wed, 24 Feb 2010 13:05:06 +0100
Subject: [PATCH 4/6] implemented spell penetration benefit of pets from their owner
---
src/game/Unit.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
View 0005-fixed-custom-hp-sta-and-mana-int-scaling-of-some-pet.patch
From 916f528ad7ea228c6601b69d52de085cec819db3 Mon Sep 17 00:00:00 2001
From: pasdVn <pasdVn3@gmx.de>
Date: Fri, 9 Oct 2009 13:39:40 +0200
Subject: [PATCH 5/6] fixed custom hp/sta and mana/int scaling of some pets
original patch by Corfen, scaling factors by nesocips
TODO: verify scaling factors and add scaling of dk ghoul
---
src/game/StatSystem.cpp | 30 +++++++++++++++++++++++++++---
1 files changed, 27 insertions(+), 3 deletions(-)
View 0003-fixed-hunter-pet-happiness-damage-mod.patch
From 643e49fa788c43be00e5a3a9495d46bfd5b8f3a7 Mon Sep 17 00:00:00 2001
From: pasdVn <pasdVn3@gmx.de>
Date: Fri, 2 Oct 2009 20:36:48 +0200
Subject: [PATCH 3/6] fixed hunter pet happiness damage mod
* the damage modifier will also be applied to damage from spells now
* additionally added the creature-rank based pct bonus damge for
not-weapon-based-spells to Unit::MeleeDamageBonus()
---
src/game/Pet.cpp | 23 +++++++++++++++++++++++