aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-09-01Merge pull request #10696 from jackpoz/socket_race_conditionNay
Core/Socket: Fix race condition in WorldSocket
2013-09-01Merge pull request #10563 from Ascathor/masterNay
Core/Account: Make account password change security variable and various changes
2013-09-01DB/SAI: Fix quest credit for quest "Laying Waste to the Unwanted"Vincent-Michael
2013-09-01Merge pull request #10687 from jackpoz/farsight_fixShauren
Core/Spell: Fix farsight log error "Player requests non-existing seer"
2013-09-01Core/Spell: Fix farsight log error "Player requests non-existing seer"jackpoz
Partially revert 167ca565d044915f01ead4b189754ab1c44cc981 which wrongly used TYPEMASK_UNIT to denote Creatures and Players, so when a Player sent farsight opcode with another Player as target HandleFarSightOpcode() couldn't find the right Unit filtering by typemask TYPEMASK_SEER.
2013-09-01Core/Objects: Removed obsolete codeShauren
2013-09-01DB/Misc: Fix startup errors & typoZxBiohazardZx
2013-09-01SQL: Fix fail in 7facda2002e80401ce71ab7562042293eba62ad6Vincent-Michael
2013-09-01DB/Loot: make sure to update & delete the right templates, updated file!ZxBiohazardZx
2013-09-01Core/Socket: Fix race condition in WorldSocketjackpoz
ReactorRunnable::svc() checks the status of WorldSockets while WorldRunnable::run() updates them, causing a race condition. Helgrind log: Possible data race during write of size 8 at 0x49961810 by thread #9 Locks held: 1, at address 0x4367A620 at 0x51781F7: ACE_Message_Block::copy(char const*, unsigned long) (Message_Block.inl:372) by 0x15D048F: WorldSocket::SendPacket(WorldPacket const&) (WorldSocket.cpp:180) by 0x141C45E: WorldSession::SendPacket(WorldPacket const*) (WorldSession.cpp:223) by 0x15C49C4: WorldSession::SendAuthResponse(unsigned char, bool, unsigned int) (AuthHandler.cpp:37) by 0x14DA71C: World::AddSession_(WorldSession*) (World.cpp:278) by 0x14E601E: World::UpdateSessions(unsigned int) (World.cpp:2617) by 0x14E3E67: World::Update(unsigned int) (World.cpp:1986) by 0x100EAFA: WorldRunnable::run() (WorldRunnable.cpp:60) by 0x163A626: ACE_Based::Thread::ThreadTask(void*) (Threading.cpp:186) by 0x518F555: ACE_OS_Thread_Adapter::invoke() (OS_Thread_Adapter.cpp:103) by 0x4C2B5AD: mythread_wrapper (hg_intercepts.c:219) by 0x61DAB4F: start_thread (pthread_create.c:304) This conflicts with a previous read of size 8 by thread #14 Locks held: none at 0x1008414: ACE_Message_Block::length() const (Message_Block.inl:131) by 0x15D1207: WorldSocket::Update() (WorldSocket.cpp:448) by 0x1427CA3: ReactorRunnable::svc() (WorldSocketMgr.cpp:177) by 0x51CBB16: ACE_Task_Base::svc_run(void*) (Task.cpp:271) by 0x51CD3BC: ACE_Thread_Adapter::invoke_i() (Thread_Adapter.cpp:161) by 0x51CD4D4: ACE_Thread_Adapter::invoke() (Thread_Adapter.cpp:96) by 0x4C2B5AD: mythread_wrapper (hg_intercepts.c:219) by 0x61DAB4F: start_thread (pthread_create.c:304) Address 0x49961810 is 16 bytes inside a block of size 80 alloc'd at 0x4C286BB: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:316) by 0x15D0818: WorldSocket::open(void*) (WorldSocket.cpp:237) by 0x1429560: ACE_Acceptor<WorldSocket, ACE_SOCK_Acceptor>::activate_svc_handler(WorldSocket*) (Acceptor.cpp:347) by 0x142916D: ACE_Acceptor<WorldSocket, ACE_SOCK_Acceptor>::handle_input(int) (Acceptor.cpp:429) by 0x515F48D: ACE_Dev_Poll_Reactor::dispatch_io_event(ACE_Dev_Poll_Reactor::Token_Guard&) (Dev_Poll_Reactor.inl:86) by 0x5161653: ACE_Dev_Poll_Reactor::handle_events(ACE_Time_Value*) (Dev_Poll_Reactor.cpp:1015) by 0x51ACCFC: ACE_Reactor::run_reactor_event_loop(ACE_Time_Value&, int (*)(ACE_Reactor*)) (Reactor.cpp:267) by 0x1427C57: ReactorRunnable::svc() (WorldSocketMgr.cpp:170) by 0x51CBB16: ACE_Task_Base::svc_run(void*) (Task.cpp:271) by 0x51CD3BC: ACE_Thread_Adapter::invoke_i() (Thread_Adapter.cpp:161) by 0x51CD4D4: ACE_Thread_Adapter::invoke() (Thread_Adapter.cpp:96) by 0x4C2B5AD: mythread_wrapper (hg_intercepts.c:219)
2013-09-01DB/Loot: Rework skinning_loot_template definitions, removing the horrible ↵ZxBiohazardZx
definitions ripped from wowhead and replacing them with a proper defined set of loot Closes #10610
2013-09-01Core/Account: Make account password change security variable and various changesAscathor
Settings within worldserver.conf: Three settings for secruity level: 0 - None - No change to current system 1 - Email - Always requires the email entered on registration for confirming. 2 - RBAC - Groups applied with the RBAC role always require the email entered on registration for confirming. RBAC default to every group. Changed some logs to make it more clear what is going on at all. Emails may now no longer exceed 64 chars. Current email is used as regmail. On account creation, two emails are saved. Registration email and normal email. Normal email is relevant afterwards. Registration email can be changed by console ONLY. Includes new commands and changes to existing ones: .account fulfills several new functions: * Still prints GM Level. * If account has permission, it displays the current email. This is not defaulted to any group. * Security level is displayed. Also displays if user has RBAC perm if RBAC security mode is selected .account email allows user to change email with sufficient confirmation .account set sec email allows higher sec with higher sec than account to change the normal email. Registrationemail remains untouched here. .account set sec regmail allows console to change registration email. .pinfo now displays the registration and normal mail. Also fixes .learn all crafts. Closes #10558
2013-09-01Scripts/Misc: Removed unused fields and fixed a warning about uninitialized ↵Shauren
value
2013-09-01DB/SAI: Fix quest credit for quest "Torching Sunfury Hold"Vincent-Michael
2013-09-01DB/SAI: Fix quest credit for quest "Building a Perimeter"Vincent-Michael
Note: Quest need event script
2013-09-01DB/SAI: Fix quest credit for quest "Burn in Effigy"Vincent-Michael
Note: Quest need event script
2013-09-01Merge pull request #10694 from jackpoz/loopcounter_race_conditionNay
Core/Thread: Fix race condition in FreezeDetectorRunnable
2013-09-01Merge pull request #10685 from Discover-/SmartAI-Target-CastingNay
Core/SmartAI: Add a spellid to SMART_EVENT_TARGET_CASTING. If left on 0,...
2013-09-01Merge pull request #10690 from Discover-/SmartAI-Set-Home-PosNay
Core/SAI: Allow using SMART_ACTION_SET_HOME_POS with multiple target typ...
2013-09-01Merge pull request #10689 from Discover-/SmartAI-Killed-Monster-CreditNay
Core/SAI: Also use loot recipient for SMART_ACTION_CALL_KILLEDMONSTER wh...
2013-09-01Core/SAI: Fix processing linked events when return is used in ProcessActionNay
Thanks Discover- Closes #10688
2013-09-01Dep/G3D: Fix encoding of G3D-v8.0_hotfix8.diffNay
2013-09-01Core/Thread: Fix race condition in FreezeDetectorRunnablejackpoz
Fix race condition by replacing a static volatile uint32 with proper atomic thread-safe ACE_Atomic_Op<ACE_Thread_Mutex, uint32>, incremented in WorldRunnable::run() at each world loop and read in FreezeDetectorRunnable::run(). Helgrind log: Possible data race during read of size 4 at 0x2400D54 by thread #12 Locks held: none at 0x100FEA6: FreezeDetectorRunnable::run() (Master.cpp:106) by 0x1637892: ACE_Based::Thread::ThreadTask(void*) (Threading.cpp:186) by 0x518F555: ACE_OS_Thread_Adapter::invoke() (OS_Thread_Adapter.cpp:103) by 0x4C2B5AD: mythread_wrapper (hg_intercepts.c:219) by 0x61DAB4F: start_thread (pthread_create.c:304) by 0x6C69A7C: clone (clone.S:112) This conflicts with a previous write of size 4 by thread #9 Locks held: none at 0x100C23E: WorldRunnable::run() (WorldRunnable.cpp:55) by 0x1637892: ACE_Based::Thread::ThreadTask(void*) (Threading.cpp:186) by 0x518F555: ACE_OS_Thread_Adapter::invoke() (OS_Thread_Adapter.cpp:103) by 0x4C2B5AD: mythread_wrapper (hg_intercepts.c:219) by 0x61DAB4F: start_thread (pthread_create.c:304) by 0x6C69A7C: clone (clone.S:112)
2013-09-01Merge pull request #10693 from Chaplain/g3d-typosNay
Dep/G3D: Fix a typo in Vector3int32 += operator
2013-09-01Core/NetworkIO: Fixed memory leakShauren
2013-09-01Dep/G3D: Fix a typo in Vector3int32 += operatorChaplain
2013-09-01DB/TrinityString: Fix an issue with non-ascii characters encodingNay
Thanks Warpten for the fix (always import files with mysql --default-char-set=utf8 < file) Thanks eragon for reporting the issue and testing the fix
2013-09-01Dep/G3D: Update Readme.txtNay
2013-09-01Core/SAI: Allow using SMART_ACTION_SET_HOME_POS with multiple target typesDiscover-
2013-09-01Core/SAI: Also use loot recipient for SMART_ACTION_CALL_KILLEDMONSTER when ↵Discover-
target is SMART_TARGET_SELF (used in four cases in a clean TDB which will be fixed by this)
2013-09-01Core/Scripts: fix buildjoschiwald
2013-09-01Scripts/Ulduar: fix mark of the faceless and add missing door handlingjoschiwald
2013-09-01Core/SmartAI: Add a spellid to SMART_EVENT_TARGET_CASTING. If left on 0, it ↵Discover-
checks for all spells (like it did without these changes)
2013-09-01Core/Creatures: Added error log for SPELL_AURA_CONTROL_VEHICLE auras in ↵Vincent-Michael
creature_addon / creature_template_addon
2013-08-31Merge branch 'master' of github.com:TrinityCore/TrinityCoreNay
2013-08-31Dep/G3D: Fix a typo in Matrix4 == operatorNay
2013-08-31Revert e6761ea2aa7897eda7dafa0b11f17c26eb60e334Machiavelli
2013-08-31Core/RBAC: Move bf commands to RBAC (using individual permissions)Nay
2013-08-31Core/NetworkIO: Fix memory leakMachiavelli
Packet headers not being correctly deallocated.
2013-08-31DB/Creature: Fix cords for quest "Death Comes From On High"Vincent-Michael
2013-08-31DB/Sai: Fix quest credit for quest "Blessing of Incineratus"Vincent-Michael
2013-08-31DB/Creature: Add missing sql in 8fd1f461929d78054b72f00483ad057d0e80a238Vincent-Michael
2013-08-31Scripted: Fix warningVincent-Michael
2013-08-31Core/Spells: Fix quest credit for quest "Death Comes From On High"Vincent-Michael
2013-08-31Core/Scripts: add creature_text to pet mojojoschiwald
Scripts/Karazhan/Moroes: cleanup a bit (should fixes mem leak)
2013-08-31DB/SAI: The Lost Mistwhisper Treasure (12575)Filip
2013-08-31SQL: Fix a typo in e375c6075b214b85599Nay
2013-08-31SQL: Fix typo in 44a317b71fd02cc6ee9ad48bc7d5328ae468db71Vincent-Michael
2013-08-30DB/Reputation: Move quest_repeatable_rate after quest_monthly_rateVincent-Michael
2013-08-30Merge branch 'master' of github.com:TrinityCore/TrinityCoreVincent-Michael