Commit Graph

20007 Commits

Author SHA1 Message Date
MitchesD
5b7b03fc16 Scripts/SunwellPlateau: reworked InstanceScript and applied codestyle 2013-11-13 18:02:16 +01:00
Aokromes
df5a012f14 Rename 2013_11_10_07_world_conditions,sql to 2013_11_10_07_world_conditions.sql 2013-11-12 12:10:08 +01:00
jackpoz
c03f066bf2 Core/Build: Fix build when WITH_COREDEBUG CMake flag is selected 2013-11-11 21:55:52 +01:00
Spp
cd48662233 Core/Logging: Minor changes
- Select stderr when writing ERROR and FATAL messages
- Simplify function defines
- Fix `logs` table structure with latest logging changes
2013-11-11 14:35:16 +01:00
MrSmite
79a2d6b7fc Core/Spells: Fixed Revive Pet to revive the pet near the owner
Closes #11196
2013-11-11 13:22:41 +01:00
Spp
65cd07a288 Core: Improve error messages for linked_respawn table (and minor cosmetic changes here and there) 2013-11-11 11:03:32 +01:00
Malcrom
395eb83b88 DB/Conditions: Add condition for Shoot Arcane Explosion Arrow 2013-11-11 00:43:56 -03:30
Malcrom
f4a4e1c0d4 DB/misc: Some fix ups for Arcatraz 2013-11-11 00:07:19 -03:30
Malcrom
c53f12b627 DB/creature_addon: Fix some issues with weapons not showing for npc's in Slave Pens. 2013-11-10 21:39:31 -03:30
Malcrom
0edeba5f59 DB/Waypoints: Update a couple paths in Slave Pens to proper sniffed values. 2013-11-10 20:49:05 -03:30
Malcrom
df99a41470 DB/SAI: SAI for Prince Valanar 2013-11-10 18:56:10 -03:30
Malcrom
113735690a Scripts/The Slave Pens: Fix up Mennu the Betrayer and add Rokmar the Cracker & Quagmirran. 2013-11-10 18:00:15 -03:30
Shauren
e0138abaac Fixed build 2013-11-10 19:21:24 +01:00
Shauren
1966a78b9f Core/Movement: Backported spline stop fix from 4.3.4 branch - use Stop spline type for stopping movement instead of starting movement that ends in creature's current position 2013-11-10 18:52:20 +01:00
Malcrom
8332cee052 Scripting/The Slave Pens: Moved boss_mennu_the_betrayer from EAI to CPP. 2013-11-10 10:53:43 -03:30
Malcrom
c2db6d49ce Scripting/The Arcatraz: Add text scripting for deaths 2013-11-10 10:00:47 -03:30
Malcrom
2d28d0c109 Core/ScriptedAI: Fix Headers. 2013-11-10 03:31:20 -03:30
Malcrom
e5b259fb4a Scripting/Arcatraz: Move Zereketh the Unbound, Dalliah the Doomsayer, & Wrath-Scryer Soccothrates to cpp scripting and some cleanup. 2013-11-10 03:22:22 -03:30
Malcrom
114cae2c1f DB/Misc: Convert Lord Thorval from EAI and creature_ai_texts to SAI and creature_text. 2013-11-08 14:46:33 -03:30
Spp
94e2b9332a Core/Logging: Remove LOG_FILTER_XXX defines with it's value (remember logger names are case-sensitive) 2013-11-08 10:50:51 +01:00
Spp
16a51e328a Update LoggingHOWTO with latest changes 2013-11-08 09:13:07 +01:00
Spp
1b04bec290 Core/Logs: Create default set of loggers and Appender if the config is wrong.
- Logger root (Error)
- Logger server (Info)
- Appender Console

Logger names are case-sensitive, Appender names are not.
2013-11-08 08:55:10 +01:00
Malcrom
98a7a22368 DB/Misc: Remove some unneeded creature_ai_texts and EAI. 2013-11-07 23:52:30 -03:30
Malcrom
8370f70f26 DB/Creature_text: Creature text for Mennu the Betrayer
Creature needs scripting moved from EAI to cpp.
2013-11-07 23:50:44 -03:30
Malcrom
494ea7373a DB/creature_text: Creature text for Dalliah the Doomsayer & Wrath-Scryer Soccothrates
Need someone to script these two bosses in cpp to remove them from EAI.
2013-11-07 22:47:32 -03:30
Malcrom
78786d35cb DB/Creature_text: Creature text for Wrath-Scryer Soccothrates 2013-11-07 20:16:43 -03:30
Malcrom
88c46a6886 Core/CreatureGroups: Calculation change requested by Shauren. 2013-11-07 19:06:20 -03:30
Spp
8aa9745c4c Core/Logging: Extend logging system to allow inheritance of loggers
- Changed default loggers and appenders
- '.' determines the relation between loggers ("type.subtype" inherits "type" logger setting if logger "type.subtype" is not defined)
- When core logs a message it search for the correct logger (root is the default one)
  ie: a message logged with "type.subtype"
  * Core will try to find a logger with name "type.subtype", if its not found then will search for "type", again if its not found it will return the default one "root"
2013-11-07 16:34:44 +01:00
Gacko
d26bb8517c DB: Fix start up warnings 2013-11-07 11:57:40 +01:00
Gacko
be19ac95ed Core/SmartAI: Better wording for telling "There is a spell for summoning this" 2013-11-07 11:56:02 +01:00
Gacko
d00cb482c5 RBAC: Move initial log output in AccountMgr::LoadRBAC to debug 2013-11-07 11:54:07 +01:00
Malcrom
7a2a9a8d15 DB/Creature_formations: Update a few formations to not crossover at pathing endpoints. 2013-11-06 23:32:12 -03:30
Malcrom
b4a0533d81 Core/CreatureGroups: Add fields to creature_formations and code to prevent creature crossover in formations.
Wiki update and db values too follow.
2013-11-06 23:20:06 -03:30
Aokromes
a4b62d873f DB/Misc: Typo fix for Defiling Uther's Tomb
by dr-j, closes #11180
2013-11-05 15:35:58 +01:00
jackpoz
7e904b1dc0 Core/Threads: Include Helgrind suppressions file
Include a Helgrind suppressions file under source control. Each suppressed race is either a false positive, a read race followed by a lock acquire anyway, a bool race. Suppressions related to the same issue in the same function are grouped with a counter in brackets [ ] .

Fix tabs added in bcee801e4b .
2013-11-04 20:24:28 +01:00
Aokromes
a34883b939 DB/Misc: Defiling Uther's Tomb
by dr-j, closes #2410
2013-11-04 16:37:28 +01:00
Filip
c4d9e58caf DB/Misc: Wooly Justice addition
By @untaught
2013-11-04 16:35:35 +01:00
Aokromes
b857567d85 DB/Misc: Get Stefan Vadu to reset quests for Drakuru's task when Sabotage, So Far So Bad, Hazardous Materials and Infilltrating Voltarus are taken
by dr-j, closes #11170
2013-11-04 16:29:09 +01:00
Aokromes
f771ff15e5 DB/Misc: Get Thorim to clear quests You Can't Miss Him and Battling the Elements on Quest accept of forging an alliance
by dr-j, closes #11169
2013-11-04 16:27:29 +01:00
Aokromes
f8a5b63dd4 DB/Misc: An Improper Burial
By dr-j, closes #11173
2013-11-04 16:23:38 +01:00
Kinzcool
e6c3a16aa9 DB/Creatures: Corrected the npc flags for difficulty 1 of some NPCs in IoC & added their respective "click spells". 2013-11-03 19:36:21 -05:00
Aokromes
58e9aff999 DB/Misc: Fix some startup errors 2013-11-04 01:05:49 +01:00
Aokromes
40d8f60293 Rename 2013_11_04_00_world_creature_template.sql to sql/updates/world/2013_11_04_00_world_creature_template.sql 2013-11-04 00:40:19 +01:00
Aokromes
2b812e790f Rename 2013_11_03_23_world_misc.sql to 2013_11_03_24_world_misc.sql 2013-11-04 00:39:33 +01:00
Aokromes
07dd4694ce Rename 2013_11_02_00_world_sai.sql to 2013_11_03_00_world_sai.sql 2013-11-04 00:38:30 +01:00
Aokromes
a0aff55d6e DB/Misc: Zeth'Gor Must Burn!
by untaught, closes #11167
2013-11-04 00:37:44 +01:00
Kinzcool
78c6123986 DB/Creatures: Corrected wrong speed values for Eye Stalk & Malmortis. 2013-11-03 18:25:35 -05:00
jackpoz
bcee801e4b Core/Network: Fix race condition in WorldSession timeout
Helgrind log:
 Lock at 0x2BD582E0 was first observed
  at : pthread_mutex_init (hg_intercepts.c:443)
  by : ACE_OS::mutex_init(pthread_mutex_t*, int, char const*, pthread_mutexattr_t*, int, int) (in /usr/lib/libACE-6.0.3.so)
  by : ACE_Thread_Mutex::ACE_Thread_Mutex(char const*, pthread_mutexattr_t*) (in /usr/lib/libACE-6.0.3.so)
  by : WorldSocket::WorldSocket() (WorldSocket.cpp:106)
  by : ACE_Acceptor<WorldSocket, ACE_SOCK_Acceptor>::make_svc_handler(WorldSocket*&) (Acceptor.cpp:261)
  by : ACE_Acceptor<WorldSocket, ACE_SOCK_Acceptor>::handle_input(int) (Acceptor.cpp:396)
  by : ACE_Dev_Poll_Reactor::dispatch_io_event(ACE_Dev_Poll_Reactor::Token_Guard&) (in /usr/lib/libACE-6.0.3.so)
  by : ACE_Dev_Poll_Reactor::handle_events(ACE_Time_Value*) (in /usr/lib/libACE-6.0.3.so)
  by : ACE_Reactor::run_reactor_event_loop(ACE_Time_Value&, int (*)(ACE_Reactor*)) (in /usr/lib/libACE-6.0.3.so)
  by : ReactorRunnable::svc() (WorldSocketMgr.cpp:170)
  by : ACE_Task_Base::svc_run(void*) (in /usr/lib/libACE-6.0.3.so)
  by : ACE_Thread_Adapter::invoke_i() (in /usr/lib/libACE-6.0.3.so)

 Possible data race during write of size 8 at 0x2BD6F6F8 by thread #12
 Locks held: 1, at address 0x2BD582E0
  at : WorldSession::ResetTimeOutTime() (WorldSession.h:372)
  by : WorldSocket::ProcessIncoming(WorldPacket*) (WorldSocket.cpp:709)
  by : WorldSocket::handle_input_payload() (WorldSocket.cpp:517)
  by : WorldSocket::handle_input_missing_data() (WorldSocket.cpp:610)
  by : WorldSocket::handle_input(int) (WorldSocket.cpp:282)
  by : ACE_Dev_Poll_Reactor::dispatch_io_event(ACE_Dev_Poll_Reactor::Token_Guard&) (in /usr/lib/libACE-6.0.3.so)
  by : ACE_Dev_Poll_Reactor::handle_events(ACE_Time_Value*) (in /usr/lib/libACE-6.0.3.so)
  by : ACE_Reactor::run_reactor_event_loop(ACE_Time_Value&, int (*)(ACE_Reactor*)) (in /usr/lib/libACE-6.0.3.so)
  by : ReactorRunnable::svc() (WorldSocketMgr.cpp:170)
  by : ACE_Task_Base::svc_run(void*) (in /usr/lib/libACE-6.0.3.so)
  by : ACE_Thread_Adapter::invoke_i() (in /usr/lib/libACE-6.0.3.so)
  by : ACE_Thread_Adapter::invoke() (in /usr/lib/libACE-6.0.3.so)

 This conflicts with a previous write of size 8 by thread #7
 Locks held: none
  at : WorldSession::UpdateTimeOutTime(unsigned int) (WorldSession.h:368)
  by : WorldSession::Update(unsigned int, PacketFilter&) (WorldSession.cpp:256)
  by : World::UpdateSessions(unsigned int) (World.cpp:2646)
  by : World::Update(unsigned int) (World.cpp:2003)
  by : WorldRunnable::run() (WorldRunnable.cpp:60)
  by : ACE_Based::Thread::ThreadTask(void*) (Threading.cpp:186)
  by : ACE_OS_Thread_Adapter::invoke() (in /usr/lib/libACE-6.0.3.so)
  by : mythread_wrapper (hg_intercepts.c:233)
2013-11-03 18:07:17 +01:00
Aokromes
bc6920a80b DB/Misc: Missing Scout
by dr-j, closes #10380
2013-11-03 17:51:09 +01:00
Aokromes
7082dc4e98 DB/Misc: Wooly Justice
original work by Trista, updated by ZxBiohazardZx, final work by FireEmerald, closes #6587
2013-11-03 16:51:47 +01:00