Commit Graph

9677 Commits

Author SHA1 Message Date
JohnHoliver
f3317ea1d5 Core/Spells - Fixed Bestial Wrath immunities
Signed-off-by: Shauren <shauren.trinity@gmail.com>
2011-01-28 11:22:51 +01:00
Manuel
187f34248d Scripts/Oculus: Implemented AI for Boss Ley-Guardian Eregos.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-26 16:57:59 -03:00
Manuel
140c0d8109 Scripts/Oculus: Make Urom's event state available for condition system.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-26 16:53:48 -03:00
leak
e00e57b570 Core/Spells: Remove movement impairing effects for druids when shifting back to normal form
fixes #320
2011-01-26 20:05:36 +01:00
leak
41d0c5571a Core/Entities: Avoid unique key violations during character inventory saving for newly created items 2011-01-26 17:20:21 +01:00
leak
59aa3b5650 Restore unix build 2011-01-26 02:04:55 +01:00
leak
137b079eea Core: Generic cleanup (tab2spaces/trailing whitespace removal) 2011-01-26 01:03:35 +01:00
leak
57f85ab7da Core/DBLayer: Replace prepared statement arrays with a map to avoid asynchronous indexes at query logging or error output
- Add values to prepared statement query log messages
- Killed a bit Engrish and trailing white whitespaces
2011-01-26 00:41:55 +01:00
leak
180b739483 Core/Entities: Avoid unique key violations during character inventory saving
(It only works "<Machiavelli> because I saideth so")
2011-01-25 18:42:17 +01:00
Machiavelli
3d58165dbd Core/Items: Proper money refund fix for 0ad2c90d22. Thanks to Destalker 2011-01-25 13:36:40 +01:00
Machiavelli
17971acddb Core/Players: Implement generic SendClearFocus instead of magic SMSG_BREAK_PACKET randomly in the middle of code. Also preallocate correct size for packed guid. 2011-01-25 08:04:47 +01:00
Manuel
20a970f96b Core/Scripts/Oculus: Fixed typo thanks to Shauren.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-24 20:13:34 -03:00
Machiavelli
0ad2c90d22 Core/Items: Fix money refund amount. Also fix a possible exploit possibility of redeeming both vendor sellprice and money refund price in one go. 2011-01-24 23:10:08 +01:00
Manuel
177e3903e5 Core/Scripts/Oculus: Improved Arcane Beam ability of Azure Ring Captain (Varos Encounter)
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-24 18:57:32 -03:00
Manuel
70a45be159 Core/Scripts/Oculus: Improved Energize Core ability of Boss Varos. Thanks to Xanadu, Gyullo and Josh.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-24 18:57:11 -03:00
Manuel
cd946a22de Core/Scripts/Oculus: Switched ScriptedAI to BossAI.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-24 18:56:45 -03:00
Manuel
0197c4e322 Core/Scripts/Oculus: Implemented worldstates related to Varos.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-24 18:56:26 -03:00
Manuel
fb950c00ee Core/ZoneScript: Implemented OnCreatureDeath function.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-24 18:56:06 -03:00
Shauren
867bc197ef Core/Instances: Made the max amount of instances player can enter within hour configurable and fixed typo in instance packing/cleaning query 2011-01-24 16:12:02 +01:00
Shauren
820f87f365 Core/Instances: Implemented confirmation dialog for players upon entering instance which would permanently bind the player to it, players can now choose to get saved or leave the instance
Also fixes broken build
2011-01-24 11:38:59 +01:00
Shauren
e7dbc783cf Reverted unintended change from previous revision 2011-01-24 11:24:31 +01:00
Shauren
464837077a Core/Instances: Implemented hourly instance limit: players are limited to entering 5 instances per hour (account wide limit) 2011-01-24 11:20:30 +01:00
Shauren
e5b4f8e84d Scripts/Icecrown Citadel: Implemented boss raid frames for Blood Prince Council 2011-01-23 21:42:32 +01:00
Shauren
ac689f456d Core/Scripts: Implemented method for sending encounter boss frames from scripts 2011-01-23 16:59:33 +01:00
Shauren
9dfa00bb60 Core/Auras: Removed unneeded typecasting from aura 54798 handler 2011-01-23 11:09:26 +01:00
Machiavelli
0796889c21 Core/Vehicles: Hotfix for client freeze on vehicle enter by reverting certain changes to SMSG_MONSTER_MOVE_TRANSPORT. Still have to figure out the correct structure in the future. 2011-01-22 19:55:50 +01:00
Shauren
5adf9c5d30 Scripts/Spells: Moved all special target filtering cases to scripts 2011-01-22 17:21:24 +01:00
Shauren
c2690f748b Scripts/Spells: Implemented UnitTargetHandler spell script hook, it can be used to filter area targeting spells 2011-01-21 23:42:51 +01:00
Manuel
76e4b6dda4 Core/Scripts/Oculus: Implemented AI for boss Varos Cloudstrider <Azure-Lord of the Blue Dragonflight>.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-20 12:37:41 -03:00
Manuel
9c7e0702a6 Core/Spell: Modified ImplicitTargets of spells 54069 and 56251 for correct functionality. Thanks to Xanandu and click.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-20 12:31:17 -03:00
Manuel
19634e7fce Core/ZoneScript: Implemented ProcessEvent function for units.
Signed-off-by: Manuel <manue.l@live.com.ar>
2011-01-20 12:27:08 -03:00
leak
dd751242fc Core/Spells: Better solution for exploit check (Thanks to manuel)
Readd lost changes from char db type cleanup
2011-01-20 03:06:51 +01:00
leak
f7af49291b SQL: Characters db storage type cleanup No. 7 (final) - Note:
- It is _strongly_ recommended to extensively test the recent changes before applying them to live data

- To fully resync the character db layout with TC releases it is recommended to dump the characters table with
mysqldump --no-data characters > characters_database_livedata.sql
and use a diff tool to compare it against sql/base/characters_database.sql
2011-01-20 02:11:49 +01:00
leak
c59ea4726e SQL: Characters db storage type cleanup No. 6 2011-01-20 01:02:24 +01:00
leak
a486eb0c2f SQL: Characters db storage type cleanup No. 5 2011-01-20 00:08:45 +01:00
leak
a7df9ddff1 SQL: Characters db storage type cleanup No. 4 2011-01-19 22:46:21 +01:00
leak
471b6f138d SQL: Characters db storage type cleanup No. 3 - Note:
There is a chance that you will be getting importing errors / data truncation warnings because of ancient invalid pet names.
SELECT * FROM character_pet WHERE CHAR_LENGTH(`name`) > 21;
2011-01-19 18:51:00 +01:00
leak
c306acf298 SQL: Characters db storage type cleanup No. 2 2011-01-19 14:04:33 +01:00
leak
b8210f4396 SQL: Characters db storage type cleanup #1 - Note:
- MySQL numeric types can NOT be altered in value range or or storage size at all, so things like INT(32) are entirely pointless. As TC currently doesn't use the display width of numeric types, use the default width to avoid confusion. (see MySQL numeric types docs)

- Timestamps can be stored as INT(10) UNSIGNED. As the max value of this type is 4294967295 which translates into year 2106 using it as timestamp we are NOT affected by the year 2038 bug. If the timestamp needs to be negative in some cases, i.e. for displaying infinity using -1, use BIGINT(20) instead.

- Do NOT set ROW_FORMAT for InnoDB tables unless you specifically want COMPRESSED tables (which we don't for performance reasons). MySQL will chose the appropriate ROW_FORMAT by itself depending on the innodb_file_format setting of the server. (FIXED is only available for MyISAM)

- Even though VARCHAR does require less storage space than CHAR for values with variable length, the length still needs to be chosen wisely as this doesn't apply to memory consumption.
2011-01-19 02:53:44 +01:00
leak
40af92dd66 Core/Spells: Stop exploit that allowed looting despawned gameobjects by packet manipulation. 2011-01-18 20:02:28 +01:00
Spp
e05ab4b25a Core/Dungeon Finder: Fix exploit that allowed players to get random reward after finish a dungeon they did not queue for. Note: lfg_dungeon_encounters MUST contain the correct dungeonId, no the random ones. 2011-01-17 12:27:44 -03:00
Shauren
b28881f648 Core/Spells: Fixed Ignite talent getting removed by Ice Block
Closes #138
2011-01-16 19:26:01 +01:00
Manuel
98d3cc01d5 Merge branch 'master' of github.com:TrinityCore/TrinityCore 2011-01-16 15:13:22 -03:00
Manuel
7b7327acdc Core/Scripts: Fixed issues with Drakkari Colossus/Elemental after recent changes. 2011-01-16 15:12:51 -03:00
Shauren
df334f194c Scripts/Icecrown Citadel: Added check on damage done by Ball of Inferno Flame for The Orb Whisperer achievement, thanks Shocker for noticing 2011-01-16 18:11:33 +01:00
Shauren
a370103c03 SQL: Removed unused spell script name.
Scripts/Icecrown Citadel: Fixed Professor Putricide adds chasing different targets than selected.
Scripts/Icecrown Citadel: Fixed Coldflame ticking twice because of too close spawning.
Scripts/Icecrown Citadel: Fixed Coldflame affecting spiked targets.
2011-01-16 17:41:49 +01:00
Machiavelli
7f3375b8f9 Core/DBLayer: Fix another possible crash on shutdown. This should be the last of them caused by this area of the core. 2011-01-16 13:33:47 +01:00
Machiavelli
deed0d0781 Core/General: Fix some comment style. //* to // *. Fixes certain code display errors on nano. Thanks to Aokromes for pointing out. 2011-01-16 12:23:17 +01:00
Machiavelli
542a89b150 Scripts/Sholazar Basin: Fix logic in npc_jungle_punch_target. Allows quest credit from NPC_TAMARA 2011-01-16 00:54:13 +01:00
Machiavelli
09f2a48227 Core/Spells: Add unittarget check for spell 54798 2011-01-16 00:50:57 +01:00