Machiavelli
717aac1663
Merge
...
--HG--
branch : trunk
2010-08-19 16:43:50 +02:00
Machiavelli
17d0382cd4
Fix a crash in transaction commands.
...
Fixes issue #3495
--HG--
branch : trunk
2010-08-19 16:41:43 +02:00
Shauren
a693f49bd1
Vehicles: Prohibit entering vehicle in combat only if it is a multi-passenger mount
...
Scripts/Icecrown Citadel: Changed Bone Spike id and remove teleport z+3 hack, its a vehicle, thx wowgargamel
Scripts/Icecrown Citadel: Fixed typo in variable name, thx Paradox
Scripts/Icecrown Citadel: Added warning emote for Bone Storm
--HG--
branch : trunk
2010-08-19 16:40:47 +02:00
Machiavelli
46438f9f92
- Call mysql_thread_end() for every deleted MySQLConnection instance, should fix the ¨Error in my_thread_global_end(): X threads didn't exit¨ issue. (Thanks to Aokromes for testing)
...
- Add some debug info to help trace down the other causes of the shutdown crash.
--HG--
branch : trunk
2010-08-19 16:35:52 +02:00
Machiavelli
7d915911f9
Properly end mysql connections and libraries on exit.
...
--HG--
branch : trunk
2010-08-19 15:47:29 +02:00
Machiavelli
7bac588be2
Solve one of the few culprits that cause authserver and worldserver to exit improperly after the recent database layer changes.
...
--HG--
branch : trunk
2010-08-19 15:37:53 +02:00
QAston
30bcf8c659
Scripts/Spell: extend SpellScript class: add target aura accessors and functions which prevent various effects of the spell from being executed. Check out SpellScript.h for details
...
--HG--
branch : trunk
2010-08-19 14:31:31 +02:00
azazel
d4605c5f7f
Fix (in theory) bug (already tapped error) for spells with banish mechanics (Banish, Cyclone).
...
Closes issue #1945 .
Closes issue #2402 .
--HG--
branch : trunk
2010-08-19 16:20:06 +06:00
Spp
72e13547d0
Config: Cosmetic changes in worldserver.conf file
...
--HG--
branch : trunk
2010-08-19 10:55:11 +02:00
Supabad
cd7dac2957
Scripting: Skadi the Ruthless can now be removed from his drake with 3 harpoon strikes
...
changed on patch 3.3.2 thanks to aokromes for pointing the change
--HG--
branch : trunk
2010-08-19 10:56:49 +02:00
azazel
9b13fa8688
Fix typo in SQL (yet again, now with correct spell id)
...
--HG--
branch : trunk
2010-08-19 11:27:30 +06:00
azazel
888a13fb15
Fix typo in SQL
...
--HG--
branch : trunk
2010-08-19 09:54:27 +06:00
Machiavelli
3932fc8c83
- Fix Linux build (huge thanks to Aokromes for testing as always)
...
- Some work towards resolving the crash on shutdown by implementing a shutdown task
--HG--
branch : trunk
2010-08-19 00:13:09 +02:00
Spp
fb9c6c96c7
Dungeon Finder: Some optimizations to find algorithm
...
* Select first match as valid (Before it was storing all possible and later selecting one)
* Add some checks to make sure no unnecessary calcs are done
--HG--
branch : trunk
2010-08-18 22:50:04 +02:00
Spp
eebb36ba58
Dungeon Finder: Fix a possible crash in UpdateProposal
...
--HG--
branch : trunk
2010-08-18 22:32:11 +02:00
Machiavelli
d47b9851cd
This should fix linux build - please confirm.
...
--HG--
branch : trunk
2010-08-18 21:25:42 +02:00
click
95f0d56077
Core/Scripts: Fix even more scriptbugs from convertion (thanks to Kierkegaard)
...
--HG--
branch : trunk
2010-08-18 20:35:29 +02:00
John Holiver
8bf208c0fd
Core/Spells: SPELL_ATTR_CU_IGNORE_ARMOR to Impale(65919) several difficulties
...
--HG--
branch : trunk
2010-08-18 15:21:24 -03:00
Machiavelli
d845a903b1
DBLayer:
...
- Use ACE_Future and ACE_Future_Set for async SQL queries with callback
* Callbacks will now be executed from the thread and object that scheduled the request, instead of the world runnable thread (and thus are no longer dependent on the 50ms forced sleep time).
* This design gets rid of a potential DOS loophole in the resultqueue system - unique requests will be cancelled when re-requested.
- Drop now redundant SQLQueryTask, SQLResultQueue, SQLResultQueueTask operations.
- Drop now redundant CharacterHandler class
- Change static callback functions in WorldSession to normal functions.
Thanks to Derex and Zor for advice along the way.
--HG--
branch : trunk
2010-08-18 19:48:51 +02:00
QAston
2ffe785765
Core/Spells: add SPELL_ATTR_CU_IGNORE_ARMOR to the avalible custom attribute list, make some spells use the attribute. Research made with JohnHoliver and Shauren
...
--HG--
branch : trunk
2010-08-18 19:26:07 +02:00
enjoi
b8a613647f
Core/ObjectMgr: Prevent vehicleid from having an incorrect value when reloaded with .reload creature_template.
...
--HG--
branch : trunk
2010-08-18 15:49:51 +01:00
Shauren
71a5320eda
Scripts: Added script for Lord Marrowgar
...
Added base script for Icecrown Citadel instance
--HG--
branch : trunk
2010-08-18 17:19:47 +02:00
QAston
cb70376c6e
*Backout radaaba37a4. Brings back command table caching. Thanks to Machiavelli for spotting the issue.
...
--HG--
branch : trunk
2010-08-18 15:06:28 +02:00
QAston
5e78e222c1
Core/Spells: Implement TARGET_DEST_CHANNEL_CASTER(106) and TARGET_GAMEOBJECT_AREA_PATH(108). Rename TARGET_UNIT_CHANNEL to TARGET_UNIT_CHANNEL_TARGET, TARGET_DEST_CHANNEL to TARGET_DEST_CHANNEL_TARGET
...
--HG--
branch : trunk
2010-08-18 15:04:00 +02:00
azazel
9d45f29593
Making sure CreaturesAddon are re-loaded after creature evade (by NoFantasy).
...
--HG--
branch : trunk
2010-08-18 18:10:42 +06:00
azazel
694ab45bc7
Add missing header. Now project should compile without PCH as well
...
--HG--
branch : trunk
2010-08-18 14:09:48 +06:00
enjoi
e20a541494
Core/Vehicles: Players cannot enter a vehicle when in combat. Fixes issue 1966.
...
--HG--
branch : trunk
2010-08-18 06:51:59 +01:00
azazel
c0f3a7f9ef
Core/spells: move 20425 Guarded by the Light spell from Warlock spells to Paladin spells.
...
PS Well, this spell used to be in SPELLFAMILY_WARLOCK case, so it seems it never worked before. And that's why I added it to Warlock spells.
--HG--
branch : trunk
2010-08-18 12:26:17 +06:00
click
7d8146f989
Buildsystem/Core: Adjust header locations in CMake for collisions and shared + clean up includes from re26dbe6981
...
This sorts out issues with non-PCH compiles on supported platforms.
--HG--
branch : trunk
2010-08-18 07:17:04 +02:00
enjoi
774eb840e9
Properly return command table every time it is called, rather then just the first time.
...
Fixes the issue with .command showing the wrong information.
Fixes issue 3459.
--HG--
branch : trunk
2010-08-18 04:50:22 +01:00
silinoron
d6fe4b23e9
Add support for recruit-a-friend XP and reputation multipliers.
...
More research needs to be done to implement summoning and granting levels.
--HG--
branch : trunk
2010-08-17 19:18:09 -07:00
click
8c4c5aef8b
Buildsystem/Core: Add new includepath for collision library after changes - fixes linux-build
...
--HG--
branch : trunk
2010-08-18 03:40:14 +02:00
Machiavelli
6818c8b0ba
Remove redundant files that I overlooked in my previous commit.
...
--HG--
branch : trunk
2010-08-18 02:39:24 +02:00
Machiavelli
ae97cfeae4
Remove a double placed line in authserver.conf.dist
...
--HG--
branch : trunk
2010-08-18 02:36:41 +02:00
Machiavelli
87218eadcd
* HIGHLY EXPERIMENTAL - USE AT OWN RISK *
...
Database Layer:
- Implement connection pooling: Instead of 1 delay thread per database, you can configure between 1 and 32 worker threads that have a seperate thread in the core and have a seperate connection to the MySQL server (based on raczman/Albator´s database layer for Trinitycore3)
- Implement a configurable thread bundle for synchroneous requests from seperate core threads (see worldserver.conf.dist for more info)
- Every mapupdate thread now has its seperate MySQL connection to the world and characters database
- Drop inconsistent PExecuteLog function - query logging will be implemented CONSISTENTLY later
- Drop current prepared statement interface - this will be done *properly* later
- You´ll need to update your worldserver.conf and authserver.conf
- You´re recommended to make a backup of your databases before using this.
* HIGHLY EXPERIMENTAL - USE AT OWN RISK *
* HIGHLY EXPERIMENTAL - USE AT OWN RISK *
etc.
--HG--
branch : trunk
2010-08-18 02:25:52 +02:00
Spp
1ab2bd6d58
Dungeon Finder: Update wait time after a successful proposal
...
--HG--
branch : trunk
2010-08-18 00:30:17 +02:00
Spp
7a13043af4
Dungeon Finder: Properly remove from current and new queues after a proposal was found (Better fix than b70906fded)
...
--HG--
branch : trunk
2010-08-18 00:32:11 +02:00
click
a4af5d5567
Buildsystem/Windows: Enable multihreaded compiling on MSVC > version 7 (report issues if any) - thanks to Leak for the heads up
...
--HG--
branch : trunk
2010-08-18 00:32:31 +02:00
azazel
66fcd52106
Add more methods to SpellScript.
...
Spells cleanup: move spells from the core to scripts.
* Shaman spells: 39610 Mana Tide Totem, 1535 Fire Nova (and ranks)
* Death Knight spells: 55090 Scourge Strike (and ranks), 49158 Corpse Explosion (and ranks), 50524 Runic Power Feed
* Druid spells: 54846 Glyph of Starfire
* Warlock spells: 6201 Create Healthstone (and ranks), 47422 Everlasting Affliction, 47193 Demonic Empowerment, 63521 Guarded by The Light
* Hunter spells: 37506 Scatter Shot, 53412 Invigoration, 53209 Chimera Shot
* Quest spells: 45449 Arcane Prisoner Rescue (quest 11587), 46023 The Ultrasonic Screwdriver (quest 11730). Closes issue #3068
Clean old code for hunter's Heart of the Phoenix, move script effect of hunter's Master's Call to corresponding script.
Move DK's Hungering Cold to spell_scripts table (needs DB support)
--HG--
branch : trunk
2010-08-18 00:20:23 +06:00
QAston
0284ed4cfe
*Core/Spells: Implement TARGET_UNIT_SUMMONER
...
*Rename TARGET_UNIT_MINIPET to TARGET_UNIT_TARGET_PUPPET.
--HG--
branch : trunk
2010-08-17 20:19:06 +02:00
click
67e7786ccc
Core/SQL: Correction on SQL-file, make sure the SQL is properly formatted with a ; in the end.
...
--HG--
branch : trunk
2010-08-17 16:04:50 +02:00
Spp
c23bb8c58d
Dungeon Finder: Add null check log to track an error (Will only appear after a server crash with Lfg groups)
...
--HG--
branch : trunk
2010-08-17 13:36:09 +02:00
Spp
54b4345481
Dungeon Finder: Fix proposals when joining the queue as LfgGroup with 5 members. Success was never possible
...
This fixes a inconsistency and a possible deadloop
--HG--
branch : trunk
2010-08-17 13:18:18 +02:00
Spp
0c7f37dab3
Dungeon Finder: Properly remove a player/group from queue after a proposal is formed
...
This should fix some of the inconsistencies
--HG--
branch : trunk
2010-08-17 11:38:30 +02:00
Spp
6009ac3f45
Dungeon Finder: Simplify 'Offer to continue' checks and allow to join non-random dungeon after a random one is assigned
...
--HG--
branch : trunk
2010-08-17 11:26:31 +02:00
Spp
46d06a859b
Dungeon Finder: Drop use of config value CONFIG_INSTANCE_IGNORE_LEVEL
...
--HG--
branch : trunk
2010-08-17 10:24:52 +02:00
click
407f39cbac
Yay for typos...
...
--HG--
branch : trunk
2010-08-17 12:09:45 +02:00
click
3695accf50
Core: Add support for reloading gossip_scripts + add missing SQL for earlier inserted commands (gossip_menu and gossip_menu_option)
...
Thanks to Kaelima
Fixes issue 2433
--HG--
branch : trunk
2010-08-17 11:49:53 +02:00
click
26386d1e20
Core: Use enum-size for CONFIG_START_ALL_EXPLORED (was hardcoded to 64, not using the proper size of the enum PLAYER_EXPLORED_ZONES_SIZE)
...
Fixes issue 2726
--HG--
branch : trunk
2010-08-17 11:27:47 +02:00
click
feb71c4b7d
Core/Scripts: Fix some typos in a few scripts - thanks to Kierkegaard
...
Fixes issue 3443
Comment 3446 test if has been sorted now
--HG--
branch : trunk
2010-08-17 10:44:41 +02:00