Commit Graph

11938 Commits

Author SHA1 Message Date
leak
b39857a15d Core/DBLayer: Convert PExecute() queries to prepared statements No. 4 2011-12-31 19:06:24 +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
leak
41888f63c9 Core/DBLayer: Proper code style on recently refactored code 2011-12-25 14:26:50 +01:00
Wilds
711a5793bc Core/Battleground: fix invite accept wait timer (m_events must be always updated, not only when schedule) 2011-12-25 09:32:09 +01:00
leak
64a2a29506 Core/DBLayer: Convert Execute() queries to prepared statements 2011-12-25 02:22:10 +01:00
Discover-
78ac79220f Scripts/Miscellaneous: Script Brewfest welcome areatriggers.
Texts were already added in 0a3a961211.

Closes #3615
2011-12-25 01:47:02 +01:00
Discover-
e403652973 Merge branch 'master' of https://github.com/TrinityCore/TrinityCore 2011-12-25 01:30:18 +01:00
Discover-
0a112a2f45 Scripts/Quests: Script quests Down At the Docks, Gateway to the Frontier, Lordaeron Throne Room, Bought of Eternals, Spooky Lighthouse, Stonewrought Dam, Dark Portal (A/H)
Closes #3322
Closes #1428
Closes #1403
Closes #1387
2011-12-25 01:29:35 +01:00
leak
08bd2f1a54 Core/DBLayer: Convert callback queries to prepared statements No. 3 2011-12-25 01:27:44 +01:00
Discover-
275aa8a7d8 DB/Miscellaneous: Implement humans transforming into worgens at night inside Pyrewood Village.
And yet again some silly typo's, sorry guys.

Closes #3062
2011-12-25 01:21:09 +01:00
Discover-
173fb48fe2 Core/Quests: Script quest Portals to Legion.
Core/Desolace: Clean up some terrible code..
2011-12-25 01:05:00 +01:00
Discover-
49e10f992a Scripts/Quests: Zuhuled the Wacked
And obviously, some typo's.

Closes #3704
2011-12-25 00:52:01 +01:00
Discover-
f2ad757acd Core/Scripts: Fix quest Heroes of Old.
Closes #3703
2011-12-25 00:43:26 +01:00
Discover-
c3e527da6d Core/Quests: Script quest Captain Tyralius.
Closes #3091.
2011-12-25 00:36:17 +01:00
Discover-
8cec401f0c Core/Scripts: Script quest Nat's Bargain.
Closes #3140.
2011-12-25 00:29:15 +01:00
Discover-
b82eb200e8 DB/Quests: Script quest Raptor Captor.
Yet another stupid mistake from previous commit, sorry.
2011-12-25 00:20:56 +01:00
Discover-
ef4608f07c Core/Quests: Fix an exploit in Red Snapper - Very Tasty!
Also fix a silly codestyle typo in previous commit.

Closes #3887
2011-12-25 00:13:28 +01:00