Commit Graph

9416 Commits

Author SHA1 Message Date
click
3569130b27 Core: Use std::max instead of just max() in WheatyExceptionreport - fixes MS-platform build-issues
--HG--
branch : trunk
2010-08-16 13:27:09 +02:00
azazel
0fad74e44a Cleanup in CreatureEventAI code (based on changes by SilverIce and VladimirMangos)
--HG--
branch : trunk
2010-08-16 17:07:02 +06:00
click
40e641cc1c It might actually help you all to have the PCH-files as well...
--HG--
branch : trunk
2010-08-16 12:19:52 +02:00
click
105e4e16cc Buildsystem: Add PCH-support for targets shared, collision, authserver and worldserver (your mileage may vary, feedback needed)
- The active configuration for these to be active is GAMEPCH, so don't expect turbospeed if not enabled.

--HG--
branch : trunk
2010-08-16 12:14:10 +02:00
click
29c2520506 Core/external : Reinstate ACE 5.8.1 (tested and building)
--HG--
branch : trunk
2010-08-16 11:23:20 +02:00
click
b4bef54b7a Fix Windows-build (YES, IT COMPILES!) - partial revert of revision a9386a2655
- Use minihack on ACE to avoid using config.h on Windows platforms
- Put include-locations for ACE in AFTER everything else (for later use)
An insane thanks to paradox for being patient with testing changes and swapouts

--HG--
branch : trunk
2010-08-16 09:51:37 +02:00
silinoron
ced7262646 Use PCH to compile Ace - speeds up ace compilation
Thanks click

--HG--
branch : trunk
2010-08-15 13:22:57 -07:00
silinoron
05e6147621 merge
--HG--
branch : trunk
2010-08-15 13:21:26 -07:00
silinoron
4d5296299b Backed out changeset: 6b66f86b01e4
Should fix windows compile. Blame me and click (but mostly click)

--HG--
branch : trunk
2010-08-15 13:21:05 -07:00
Machiavelli
e1fe290b21 Typo
--HG--
branch : trunk
2010-08-15 20:13:35 +02:00
Machiavelli
bbe5b58c37 Missing changes from 9372 (454971d2c6b1)
Thanks to Derex for spotting.

--HG--
branch : trunk
2010-08-15 20:12:13 +02:00
Machiavelli
e8d03e55ca Fix a crash related to concurrent access to config file by different threads.
--HG--
branch : trunk
2010-08-15 16:55:44 +02:00
Machiavelli
96144752be Return proper default quest status from ScriptMgr::GetDialogStatus if a creature/gameobject script was present but GetDialogStatus was not overridden.
This should fix problems with creature/gameobject quest givers not giving appropriate quest (update)s

--HG--
branch : trunk
2010-08-15 14:00:51 +02:00
click
e3b8a5923d Core/externals: Update ACE to 5.8.1 (should fix issues with disconnects happening on servers compiled under VS2010)
Update issue 3411
Status: NeedsFeedback

--HG--
branch : trunk
2010-08-15 00:28:14 +02:00
silinoron
f3b93df6b7 Clear player scripts and guild scripts on ScriptMgr deletion.
--HG--
branch : trunk
2010-08-14 12:44:54 -07:00
silinoron
791a45768f Add in a forgotten change from ra5af596979e4 .
--HG--
branch : trunk
2010-08-14 12:42:05 -07:00
click
916c7f09f8 Buildsystem/Linux: Deprecate and remove use of FindTermcap.cmake - it was only used as a solution for older CentOS versions
Core/Genrevision: Move defines from SystemConfig.h file into into revision.h (might need a rename now?) and delete it.
This should remove the infamous "rebuild all of game plzkthx"-symptom when upgrading to newer revisions.

--HG--
branch : trunk
2010-08-14 21:28:00 +02:00
silinoron
8d0a058411 Add a GuildScript class with a handful of hooks.
--HG--
branch : trunk
2010-08-14 12:17:05 -07:00
Spp
d1d7c64c43 Typo in my previous commit that broke (again, sigh!) Dungeon Finder.
Thanks to Tali for the warn

--HG--
branch : trunk
2010-08-14 21:06:38 +02:00
Spp
9e2d863894 Dungeon Finder: Move cleaner to a new separate function as it's a teporal add.
* Add new check before adding group to new queue (will avoid having a group multiple times queued)

--HG--
branch : trunk
2010-08-14 19:30:15 +02:00
click
2528e6e764 Fix typo in previous commit
--HG--
branch : trunk
2010-08-14 18:06:32 +02:00
click
d86a0e5060 Core: Remove some useless defines (handled in the configfiles)
--HG--
branch : trunk
2010-08-14 17:02:11 +02:00
Spp
a32f0e7e9d Dungeon Finder: Add minor optimization to FindNewGroups
--HG--
branch : trunk
2010-08-14 15:04:52 +02:00
Spp
8be278dfae Dungeon Finder: Remove players from queue when accept to join a group
This fixes players being multiple times in queue

--HG--
branch : trunk
2010-08-14 15:00:04 +02:00
Machiavelli
d201cdd72c Fix ConditionScript, AreatriggerScript and AuctionHouseScript hook functions.
--HG--
branch : trunk
2010-08-14 11:00:13 +02:00
Machiavelli
075a4525d7 This should be the last of the malfunctioning AI scripts, thanks to click for the list
--HG--
branch : trunk
2010-08-14 10:28:45 +02:00
click
362a1eed51 Buildsystem/Windows: Add environment-based directories to MySQL search-paths
--HG--
branch : trunk
2010-08-14 08:39:44 +02:00
Machiavelli
3cf6af1779 Also fix npc_scarlet_miner
--HG--
branch : trunk
2010-08-14 05:51:29 +02:00
Machiavelli
cc351c7f1c Fix script (and crash in) npc_scarlet_miner_cart
--HG--
branch : trunk
2010-08-14 05:47:51 +02:00
Spp
ff726c2792 Dungeon Finder: Add config value to Enable/Disable Dungeon Finder
Note: Default value = Disable (while is WIP)

--HG--
branch : trunk
2010-08-14 03:25:43 +02:00
Spp
f12b51c218 Dungeon Finder: Mark obsolete kick as failed (missing code from ce404e62b3)
--HG--
branch : trunk
2010-08-14 02:21:07 +02:00
Spp
1d77667ff7 Dungeon Finder: Fix a typo that made all people being removed from queue when someone didn't accept
--HG--
branch : trunk
2010-08-14 02:08:00 +02:00
Spp
e52886130f Dungeon Finder: Fix an error that was preventing a group from exit queue
--HG--
branch : trunk
2010-08-14 02:05:49 +02:00
Spp
1bc842e0d7 Dungeon Finder: Add Consistency cleaner
This is temporaly added to check if there are inconsistencies in dungeon finder. Will be removed after a period of time with no reports

* Check if guids in proposal queue exists before readding
* Change operator [] with find in queueMap when checking if queue info exists.

--HG--
branch : trunk
2010-08-14 02:05:05 +02:00
QAston
8b057babf2 *Fix typo in r7dd45a018254, thanks to Shauren for narrowing the falling issue to that rev.
--HG--
branch : trunk
2010-08-13 20:53:33 +02:00
click
e413f20069 Core/Chat: Fix some typos and non-converted #if-statements
--HG--
branch : trunk
2010-08-13 18:02:59 +02:00
Spp
3e29ae1ee8 Dungeon Finder: Add vote kick support
--HG--
branch : trunk
2010-08-13 15:38:10 +02:00
Shauren
55705e91d4 Buildsystem: Modified genrev to properly generate build type string (Release/Debug etc.)
Removed code that should not be there from previous revision

--HG--
branch : trunk
2010-08-13 13:53:33 +02:00
Shauren
30468a106f Moved battleground achievement scripted checks into scripts
Call ACHIEVEMENT_CRITERIA_TYPE_SPECIAL_PVP_KILL updates in code
Implemented achievements: Save the Day, Quick Cap, Warsong Expedience

--HG--
branch : trunk
2010-08-13 13:48:59 +02:00
azazel
9bd2619425 Fixed memory leaks at guild unload/disband (author: porteyoplait)
--HG--
branch : trunk
2010-08-13 17:39:43 +06:00
Spp
0f378aac24 Dungeon Finder: Fix Teleport issues
- Trying to leave the dungeon using the portal will teleport you back to the save point
- If group is disbanded all people is teleported out

--HG--
branch : trunk
2010-08-13 09:24:24 +02:00
Spp
4558ac1d2a Fix typo in previous commit that broke Dungeon Finder
--HG--
branch : trunk
2010-08-13 08:54:01 +02:00
Spp
663bd9404a Dungeon Finder: Change ASSERT with returns wherever is possible. If it affects packets then make sure it fills the correct data.
Thanks to a553r7fa1|3d for spotting the packet problem

--HG--
branch : trunk
2010-08-13 08:06:04 +02:00
Machiavelli
b98874fce0 Make access to ObjectMgr´s creature and gobject respawntime storage threadsafe.
(TODO: Maybe this should be stored on map level instead)
Fixes issue #3006
Fixes issue #3071

--HG--
branch : trunk
2010-08-13 01:16:50 +02:00
click
91eed572af externals/libmpq: sync with upstream repository [r309] - thanks to ge0rg!
--HG--
branch : trunk
2010-08-13 00:00:59 +02:00
Spp
999bae68a4 Add null check to prevent a crash.
Closses issue 3405

--HG--
branch : trunk
2010-08-12 20:31:49 +02:00
click
03a0bcad09 Buildsystem/Windows: Set preload.cmake and related function as examples, and not actively used
- Sets the default CMAKE_INSTALL_PREFIX to <programfiles location>/<projectname> on Windows

--HG--
branch : trunk
2010-08-12 19:13:15 +02:00
click
76bbd66d76 SQL: Rename SQL-file from [9332] to reflect the db it belongs to
--HG--
branch : trunk
rename : sql/updates/9332_spell_proc_event.sql => sql/updates/9332_world_spell_proc_event.sql
2010-08-12 18:57:02 +02:00
azazel
ed08bedc6e * Modify PlayerScript::OnChat hook. Now it takes one optional parameter of type void *. Value of this parameter depends on chat type.
* Modify chat and emote hook in PlayerScript to take Player parameter insted on WorldSession (this is player script, isn't it?)
* Move calls of OnChat hooks after validation of parameters and before actual call to chat methods. It's more logical because otherwise it will be necessary to repeat validation inside hooks.
* Make use of new PlayeScript hooks. Move chat logging logic into separate script.
* Add one path to scripts CMakeLists to make ChatLogScript happy.

--HG--
branch : trunk
2010-08-12 22:33:45 +06:00
QAston
f9997b7eb3 *Typofix - thanks Paradox for spotting
--HG--
branch : trunk
2010-08-12 18:13:11 +02:00