Commit Graph
4598 Commits
Author SHA1 Message Date
Gyx 5779884002 P3: And more opcodes.
Signed-off-by: Gyx <2359980687@qq.com>
2012-01-06 19:24:51 +08:00
Gyx f31a7d8fed P2: More opcodes.
Signed-off-by: Gyx <2359980687@qq.com>
2012-01-06 16:35:17 +08:00
Gyx a3b788ec65 P1: Fixed some opcodes, structure later update.
Signed-off-by: Gyx <2359980687@qq.com>
2012-01-06 15:39:38 +08:00
Rat 0e950d5e46 Merge branch '4.x' of git://github.com/TrinityCore/TrinityCore into 4.x 2012-01-01 22:31:48 +01:00
Rat bff7c18251 Core/Movement: Fixed some movement structures, added SMSG_PLAYER_MOVE 2012-01-01 22:30:37 +01:00
weclub a177c1c446 Core/Opcodes: Enable 4 Opcodes
SMSG_GODMODE
SMSG_GAMESPEED_SET
SMSG_GAMETIME_SET
SMSG_SERVERTIME

Signed-off-by: weclub <weclub@126.com>
2011-12-31 14:38:31 +08:00
weclub 8c50893367 Core/DBC: Update DBC check to 4.x
Signed-off-by: weclub <weclub@126.com>
2011-12-31 14:01:36 +08:00
weclub aa8bf2c819 Core/DBC: Drop Item.dbc & ItemCondExtCosts.dbc & ItemExtendedCost.dbc (Ues DB2)
Signed-off-by: weclub <weclub@126.com>
2011-12-31 12:54:10 +08:00
weclub a1a9fcbbcd Core/DBC:
Update DEFAULT_MAX_LEVEL to 85
Drop ItemClass.dbc(ues Item.db2)

Signed-off-by: weclub <weclub@126.com>
2011-12-31 12:46:19 +08:00
weclub 76501e2d1b Core/Opcodes: Enable SMSG_WORLD_STATE_UI_TIMER_UPDATE
Signed-off-by: weclub <weclub@126.com>
2011-12-31 12:38:33 +08:00
Spp 996364752c 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:42:43 +01:00
Nay 696c424fcd Core/Player: Fix a tiny typo in loading map from DB 2011-12-27 16:00:27 +00:00
Nay bdab38b4cc Merge branch 'master' into 4.x 2011-12-27 15:37:06 +00:00
Nay 8cf68fd1ed Core/Quests: Fix a couple of typos in quest DB loading. Thanks Spp. 2011-12-27 15:33:56 +00: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
Spp fa9daaf95b Merge branch 'master' into 4.x and some warning fixes 2011-12-27 10:15:27 +01: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 8323027e0c Core/Achievements: Remove invalid check in ACHIEVEMENT_CRITERIA_ADDITIONAL_CONDITION_TARGET_MUST_BE_ENEMY 2011-12-26 05:07:43 +02:00
Shocker 7260a4a949 Core/Achievements: Avoid code duplication for DB achievement criteria data check and correctly allow to update criteria if there is no DB data 2011-12-26 04:55:38 +02:00
Shocker 8bed4ce7a3 Core/Achievements: Start implementing DBC achievement criteria conditions and remove db data and code for outdated DB achievement criteria datas 2011-12-26 04:44:22 +02: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
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
Nay 0d98ecc6c1 Merge pull request #4463 from Warpten/stings
Core/Spells: Fixed Improved Stings Rank 2 Dispel resist chance
2011-12-24 15:09:52 -08:00
Discover- 23b54b8416 Core/Quests: Script quest Missing Friends
Closes #3604
2011-12-25 00:04:26 +01:00
root c14e7ec385 Core/Spells: Permanent Feign Death will now also make the creature set its creature state passive 2011-12-24 23:44:51 +01:00
Svannon 3405e0811d [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-24 12:41:22 -07:00
QAston 15bd8f3cd5 Core/Spells: Fix logic in AnyDeadUnitSpellTargetInRangeCheck - spells using this should now correctly check target requirements. This is an alternative fix to #4112. 2011-12-24 08:40:30 +01:00
Kapoeira c89c007f9f Core/Spells: Fixed Improved Stings Rank 2 Dispel resist chance (crazy targeting typo) 2011-12-23 19:49:59 -05:00
QAston eecc4b58a7 Core/Spells: Use better check for target type in Spell::EffectSendEvent - SpellEffect::GetProvidedTargetMask() is much more accurate than hardcoded dbc index. 2011-12-23 23:52:22 +01:00