Commit Graph

11953 Commits

Author SHA1 Message Date
kandera
46fb199ee1 Core/Quests: Add implementation of seasonal quest reset. uses a new table much like character_queststatus_weekly. fixed typo where WEEKLY was WEKLY. Attempt 2 2012-01-04 07:59:32 -05:00
zwerg
5884f4be31 Core/Spells: Add barfing to Spell::EffectInebriate.
Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2012-01-03 13:15:33 +01:00
Machiavelli
65aca2b806 Merge pull request #4591 from elecyb/farsight
Core/Spells: Update nearby visible objects for new viewpoints
2012-01-03 03:57:01 -08:00
Machiavelli
e35fd87d3f Merge pull request #4582 from Chaplain/cleanup4
Core/Utilities: Implement random generator for float values.
NOTE: Actually just casts the outcome of int randgen to float
2012-01-03 03:52:26 -08:00
elecyb
aea8b2af44 Core/Spells: Fixed crash introduced in last commit 2012-01-02 22:49:08 -03:00
elecyb
993c4e748f Core/Spells: Update nearby visible objects for new viewpoints, fix spells with Far Sight and Bind Sight effects. 2012-01-02 16:33:14 -03:00
leak
73f79c41a1 Core/DBLayer: Couple fixes 2012-01-02 20:29:22 +01:00
Chaplain
29c2dfb1da [Core/Utilities] Implement random generator for float values.
*for mt and sfmt
 *some codestyle
2012-01-02 12:38:55 +03:00
leak
ced346076b Merge pull request #4567 from Kiperr/master
Happy new year!
2011-12-31 16:13:28 -08:00
leak
cdbeb42e0f Core/DBLayer: Refactor prepared statement defines to new format (char db) 2012-01-01 01:09:38 +01:00
kiper
8299627ed9 Update headers for 2012. HAPPY NEW YEAR!!! 2012-01-01 00:32:13 +01:00
Shauren
bd37ed23c9 Merge pull request #4559 from devilcoredev/fix_004
Core/Items: Fixed socket bonus activation with prismatic sockets.
2011-12-31 13:25:30 -08:00
leak
73cf793e56 Core/DBLayer: Refactor prepared statement defines Note:
The new format for the middle section is a 3-letter upper case abbreviation of the sql command being executed (select -> SEL, update -> UPD, etc.)
{DB}_{SEL/INS/UPD/DEL/REP}_{Summary of data changed}
2011-12-31 20:14:38 +01:00
leak
ff8874574f Core/DBLayer: Convert another Execute() query to a prepared statement 2011-12-31 19:51:48 +01:00
leak
b39857a15d Core/DBLayer: Convert PExecute() queries to prepared statements No. 4 2011-12-31 19:06:24 +01:00
Giuseppe Montesanto
a4fa4bb390 Fix the bonus socket activation with prismatic sockets. 2011-12-31 17:42:20 +01:00
Machiavelli
81914422e9 Core/DBLayer: Use column names in prepared statements to prevent avoidable prepare errors 2011-12-31 15:16:38 +01:00
QAston
afc18461d7 Core/SpellScripts: Add BeforeCast, OnCast and AfterCast hooks to SpellScripts. 2011-12-31 13:11:12 +01:00
Aokromes
eed85f4fab Requiere at least 1 door of each line of defense to be down to allow to take relic 2011-12-31 12:13:41 +01:00
leak
8adac3f246 Core/DBLayer: Convert PExecute() queries to prepared statements No. 3 2011-12-31 00:32:05 +01:00
leak
ded31adfa1 Core/SAI: Restore build 2011-12-30 19:01:22 +01:00
Rat
91a6bee7ad Merge pull request #4503 from Subv/fix002
Some changes in SMART_ACTION_MOVE_TO_POS
2011-12-30 04:19:24 -08:00
Spp
57490ead83 Core/Commands: Allow to search for other account/characters from a selected player without having to write the ip as argument (By Bizzy) 2011-12-30 08:27:05 +01:00
Shocker
b5a53a72d1 Merge pull request #4477 from wilds/fix_bg_queue_timer
Core/Battleground: Fix invite accept wait timer (m_events must always be updated, not only when scheduled)

Closes #4103
2011-12-28 08:05:20 -08:00
Shocker
b1a5a6d551 Merge pull request #4404 from Warpten/auth
Core/Authserver: Add a missing header block
2011-12-28 08:01:14 -08:00
Subv2112
bbfb21022f Fixed compile, thanks Lopin for pointing out 2011-12-28 07:10:59 -05:00
Spp
48829f8ffb Core/Players: Fix out of bound access (by MoltenDev) 2011-12-28 12:32:48 +01:00
Spp
c1513b2c05 Warning fixes 2011-12-28 11:00:27 +01:00
Spp
3792b470e0 Core/Scripts: Replace rand with urand in most cases (using regexp)
Used: perl -pi -e 's/([0-9]+) \+ rand\(\)\%([0-9]+)/"urand(".$1.", ".($1+$2).")"/ge'
2011-12-28 10:51:16 +01:00
Spp
4fb634f9a5 Fix missing changes from previous merge 2011-12-28 09:16:06 +01:00
Aokromes
559dfe5139 rand() to urand #5 2011-12-28 04:35:51 +01:00
Aokromes
0e18d49f15 rand() to urand #4 2011-12-28 04:33:18 +01:00
Aokromes
b24dfc10cb rand to urand #3 2011-12-28 04:26:30 +01:00
Aokromes
611f9ad419 rand #2 2011-12-28 04:25:25 +01:00
Aokromes
2e8de8cd2b rand() to urand #1 2011-12-28 04:24:31 +01:00
Subv2112
d7266c3cae Core/SAI: Added also SMART_TARGET_OWNER_OR_SUMMONER to SMART_ACTION_MOVE_TO_POS.
Codestyle

Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2011-12-27 20:37:42 -05:00
Subv2112
bbce35687d Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into fix002 2011-12-27 20:31:55 -05:00
Subv2112
645a10d76f Core/SAI: Added support for SMART_TARGET_CREATURE_RANGE, SMART_TARGET_CREATURE_GUID, SMART_TARGET_CREATURE_DISTANCE, SMART_TARGET_GAMEOBJECT_RANGE, SMART_TARGET_GAMEOBJECT_GUID, SMART_TARGET_GAMEOBJECT_DISTANCE, SMART_TARGET_CLOSEST_CREATURE and SMART_TARGET_CLOSEST_GAMEOBJECT in SMART_ACTION_MOVE_TO_POS
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2011-12-27 20:25:50 -05:00
Subv2112
c145c67331 Core/SAI: Enabled SMART_TARGET_STORED
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2011-12-27 20:23:55 -05:00
leak
b4ecd85da4 Core/DBLayer: Convert PExecute() queries to prepared statements No. 2 (fixup) 2011-12-27 16:31:10 +01:00
Machiavelli
d183add132 Merge pull request #4494 from Venugh/master
Core/DBLayer: Convert weekly query to PreparedStatements
2011-12-27 05:17:19 -08:00
Subv2112
83d5924715 Speedup loading in LoadCreatureFormations
Signed-off-by: Subv2112 <s.v.h21@hotmail.com>
2011-12-26 22:03:40 -05:00
Discover-
3176289024 Merge pull request #4254 from wilds/fix_lightwell
Core/Spells: fix Lightwell (in combat consume charges)
2011-12-26 16:56:33 -08:00
Venugh
882ebe2b8e Core/World: Convert Execute to PreparedStatement from Battleground random. 2011-12-27 01:04:12 +01:00
Venugh
cab508b4c8 Convert a Execute to a PreparedStatement. 2011-12-27 00:56:42 +01:00
leak
e646dbb3cd Core/DBLayer: Convert PExecute() queries to prepared statements No. 2 2011-12-27 00:29:48 +01:00
Shocker
f283a7b116 Merge pull request #4475 from Svannon/fix-fishingcone
Core/Fishing: Reduce the fishing cast cone to 35 degrees from each side of the facing instead of 70. Make the overall cone 70 degrees instead of 140
2011-12-25 12:16:10 -08:00
leak
ef17c05dec Core/DBLayer: Convert PExecute() queries to prepared statements No. 1 2011-12-25 18:13:21 +01:00
Discover-
9b8d18e7cd Scripts/Quests: Add a double check in summoning for two of my previous scripts, as well as revert changing WDB data. 2011-12-25 17:17:28 +01:00
Discover-
dbcccbbb44 Core/Quests: Add script for quest The Thunderspike.
Closes #4458.
2011-12-25 16:44:55 +01:00