Skip to content

Instantly share code, notes, and snippets.

@Zaffy
Zaffy / docker-etc-hosts
Last active July 26, 2018 10:00
Docker: print ips and containers' names suitable for use in /etc/hosts
for i in `docker ps -a -q | awk '{print $1}'`; do echo $(docker inspect --format="{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}" $i) $(docker ps | grep $i | awk '{print $NF}') ; done
OregonCore Crash Report
=======================
Linux (4.6.2-1-ARCH) #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 x86_64
Date: 21-Jun-16_22:51:16
Version: OregonCore Rev: 3547+ Hash: abefe71+ (Unix,little-endian)
Build Type: Debug
Compiler: clang
ACE version: 6.3.3
#3 0x0000000000c11349 in Unit::CastSpell (this=0x7f060287b800, Victim=0x7f0605ec9800, spellId=17800, triggered=true, castItem=0x0,
triggeredByAura=0x7f05f8b92200, originalCaster=0) at /home/oregon/git/OregonCore/src/game/Unit.cpp:1030
#4 0x0000000000c2a24e in Unit::HandleProcTriggerSpell (this=0x7f060287b800, pVictim=0x7f0605ec9800, damage=248,
triggeredByAura=0x7f05f8b92200, procSpell=0x7f0608a4e5c0, procFlags=65536, cooldown=0)
at /home/oregon/git/OregonCore/src/game/Unit.cpp:6761
#5 0x0000000000c1a95b in Unit::ProcDamageAndSpellFor (this=0x7f060287b800, isVictim=false, pTarget=0x7f0605ec9800, procFlag=65536,
procExtra=2, attType=BASE_ATTACK, procSpell=0x7f0608a4e5c0, damage=248) at /home/oregon/git/OregonCore/src/game/Unit.cpp:11166
#6 0x0000000000c1bab6 in Unit::ProcDamageAndSpell (this=0x7f060287b800, victim=0x7f0605ec9800, procAttacker=65536, procVictim=1179648,
procExtra=2, amount=248, attType=BASE_ATTACK, procSpell=0x7f0608a4e5c0, canTrigger=true)
at /home/oregon/git/Or
diff --git a/src/game/SpellMgr.h b/src/game/SpellMgr.h
index e7361a9..e0c7ce7 100644
--- a/src/game/SpellMgr.h
+++ b/src/game/SpellMgr.h
@@ -921,7 +921,7 @@ class SpellMgr
return spell_id;
}
- uint32 SpellMgr::GetNextSpellInChain(uint32 spell_id) const
+ uint32 GetNextSpellInChain(uint32 spell_id) const
# /etc/bash.bashrc
#
# https://wiki.archlinux.org/index.php/Color_Bash_Prompt
#
# This file is sourced by all *interactive* bash shells on startup,
# including some apparently interactive shells such as scp and rcp
# that can't tolerate any output. So make sure this doesn't display
# anything or bad things will happen !
# Test for an interactive shell. There is no need to set anything
# /etc/profile
#Set our umask
umask 022
# Set our default path
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
export PATH
#LD_PRELOAD="/usr/lib/libtcmalloc.so"
-- ---------------------- --
-- Oregon Realmd Database --
-- ---------------------- --
-- Please do not edit this file directly,
-- create and update query and place it
-- to the updates/ folder.
--
-- Table structure for table `account`