Commit Graph

15165 Commits

Author SHA1 Message Date
leak
12e55a04bb Core/DBLayer: Convert PQuery() queries to prepared statements 2012-03-24 01:25:08 +01:00
kandera
8e96b86715 Correct codestyle from previous commit 2012-03-23 13:11:32 -03:00
Kandera
af48083d86 Core/Spells: Fix improved unholy presence removal. 2012-03-23 09:54:34 -04:00
Kandera
01c997c60f Core/Spells: Fix death coil damage bonus from sigil of the vengeful heart 2012-03-23 08:27:27 -04:00
Spp
0fe4580fe0 Core/Commands: Add support for ip2nation database lookups when using .pinfo command.
This will (when a full database exists) allow for seeing (approximately) which country a player might be from when doing .pinfo <player>
Note: External data required for this patch to work correctly can be found at http://www.ip2nation.com/ip2nation/Download

Signed-off-by: click <click@gonnamakeyou.com>
2012-03-23 05:35:32 +01:00
Shauren
479c0976ab Core/Creatures: Properly initialize m_zoneScript when it depends on zone id (OutdoorPvP/Battlefield) and fixed z offset for hovering creatures at creation 2012-03-23 00:48:32 +01:00
ShinDarth
011a73e3e5 DB/Conditions: 39152 should only be lootable if you have at least 390 skills in First Aid;
Also add proper file ending to recent SQLs
Closes #5840
2012-03-22 21:50:13 +00:00
Machiavelli
a2818cc442 Merge pull request #5837 from w1sht0l1v3/AK
Scripts/Ahn'kahet/Prince Taldaram: Fix Conjure Flame Sphere visual casting.
2012-03-22 12:11:19 -07:00
w1sht0l1v3
ee305cbb26 Scripts/Ahn'kahet/Prince Taldaram: Fix Conjure Flame Sphere visual casting.
Flame Sphere should not be visible to players(only their visual).
2012-03-22 12:54:31 +02:00
Subv
ac4536327f Core/SAI: Allow using SMART_TARGET_ACTION_INVOKER with SMART_ACTION_MOVE_TO_POS
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-03-21 19:37:21 -05:00
Machiavelli
d521d75fae Merge pull request #5825 from w1sht0l1v3/ToCr
Scripts/ToCr/Val'kyr Twins: Fix orb targeting.
2012-03-21 13:25:42 -07:00
w1sht0l1v3
e8c3cb1c10 Scripts/ToCr/Val'kyr Twins: Fix orb targeting.
Add missing triggers.
2012-03-21 22:17:34 +02:00
Machiavelli
e4ee3788e7 Scripts/ToC/Anub'Arak: Prevent spells (Leeching Swarm in particular) being interrupted by other spells. 2012-03-21 12:42:45 +01:00
Malcrom
ec3d3782ce DB/Gossip: Quel'Danas gossips Closes #5803 2012-03-20 15:22:26 -02:30
Malcrom
7bbd1f106b DB/SAI: SAI & Gossip for Unrestrained Dragonhawk 2012-03-19 19:07:36 -02:30
Shauren
568e524c45 Core/Spells: Implemented CREATURE_TYPEFLAGS_PARTY_MEMBER, creature with this type_flag set can be targeted by spells that require target to be in caster's party/raid 2012-03-19 20:44:30 +01:00
leak
4665d5bfc4 Core/DBLayer: Remnant cleanups 2012-03-19 18:09:14 +01:00
leak
178c658363 Core/DBLayer: Convert DirectExecute() queries that are not runtime relevant back to regular queries 2012-03-19 18:09:13 +01:00
Shauren
f0ac821e0b Scripts/Serpentshrine Cavern: Fixed crash in boss_leotheras_the_blind caused by uninitialized variable; also replaced unsafe AI typecasting with Get/SetGUID 2012-03-19 17:03:39 +01:00
leak
847b4366f3 Core/DBLayer: Convert PExecute() queries to prepared statements 2012-03-19 16:48:08 +01:00
Shauren
90cacb9ab9 Core/SmartScript: Fixed possible crashes when attempting to use StoreTargetList with a the same list already stored on the same id 2012-03-19 11:43:50 +01:00
Kaelima
eff48a42d1 Core/Spell: Fix crash for Glyph of Divinity 2012-03-18 19:57:03 +01:00
Machiavelli
5acbd35411 Core/Movement: Update MOVEMENTFLAG_MASK_MOVING, thanks to idostyle 2012-03-18 13:22:36 +01:00
Machiavelli
2b1ba4cd78 Core/Movement: Compute current position in spline::Launch with Z offset. Fixes e.g. hovering creatures height increasing every time player interacts with it. 2012-03-18 13:18:43 +01:00
Machiavelli
48799f3376 Core/Units: Fix movementflag apply for flying/hovering creatures on respawn 2012-03-18 11:35:33 +01:00
Subv
9fc7fe6b28 Merge pull request #5748 from MrSmite/Pet_1
Pet - Fix focus regen gets stuck due to lag/high diffs
closes #5153
2012-03-17 15:27:17 -07:00
Subv
21ccfb8e2e Collision/GameObjects: Fixed LoS for all doors (open and closed). Looks like data0 for type 0 is in fact startClosed instead of startOpen
closes #5660
Signed-off-by: Subv <s.v.h21@hotmail.com>
2012-03-17 15:58:47 -05:00
Machiavelli
41cc704bf8 Core/Movement:
- Don't abort relocation if movementflag restrictions were violated. There might be lag between client and server and even different parts of the core that made this approach improper.
- MOVEMENTFLAG_ROOT cannot be used in conjunction with MOVEMENTFLAG_MASK_MOVING, but it's a valid flag to receive from client.
- Fix falling to ground when unapplying fly/waterwalk aura. NOTE: This is a client-side initiated fall, in the future this should be initiated and updated by the server. (Working on it)
- Rename MOVEMENTFLAG_FALLING to MOVEMENTFLAG_FALLING_FAR
- Rename MOVEMENTFLAG_JUMPING to MOVEMENTFLAG_FALLING

Closes #5751
2012-03-17 20:36:12 +01:00
Shauren
01f3620d45 Core/Movement: Corrected movement info structure written in WriteMovementInfo 2012-03-17 18:01:56 +01:00
Machiavelli
5d25dc8926 Tools/VmapExtractor: Don't check registry for game folder on windows, just use relative "Data" dir, similar to linux. 2012-03-17 17:51:00 +01:00
Machiavelli
57a71c8dff Merge pull request #5763 from w1sht0l1v3/master
Core/Unit: Disable spline movement on death. 

Fixe respawning after ForceDespawn is called.

Closes #4518
2012-03-17 09:33:29 -07:00
w1sht0l1v3
b76c2c144d Core/Unit: Fix respawning after ForceDespawn is called. 2012-03-17 18:26:22 +02:00
Lopin
3ebda924c1 Merge pull request #5758 from GyxTom/master
Core/Game: Code style changes
2012-03-17 08:48:51 -07:00
Gyx
1e94ab8d51 Core/Game: Code style and remove unused core.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-17 20:13:37 +08:00
kaelima
e02cda54cd Core/Protocol: Have client displaying some graphic/audio when player increased its reputation rank 2012-03-17 13:05:21 +01:00
Machiavelli
9bb04a23ad Merge pull request #5755 from GyxTom/master
Core/Script: Clean-Up in Scripts.
2012-03-17 04:02:41 -07:00
Machiavelli
87a121425c Update src/server/game/Server/WorldSession.cpp 2012-03-17 11:54:56 +01:00
Machiavelli
5d2d2a5ac7 Update src/server/game/Server/WorldSession.cpp 2012-03-17 11:54:21 +01:00
Machiavelli
80975faba2 Core/Movement: Add debug output to Worldsession::ReadMovementInfo to find out which movementflag restriction was violated. Please use this to give feedback. 2012-03-17 11:50:30 +01:00
Gyx
5cb16b65fc Core/Script: Code style and remove unused core.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-17 17:54:48 +08:00
Gyx
7877eae6ba Core/Script: Code style and remove unused core.
Signed-off-by: Gyx <2359980687@qq.com>
2012-03-17 12:17:15 +08:00
MrSmite
b61759c9ea Pet - Fix focus regen gets stuck due to lag/high diffs
closes #5153
2012-03-16 19:34:04 -04:00
Shocker
68ad764e2e Merge pull request #5744 from MrSmite/Guild_1
Core/Guilds: Allow deposit / withdraw money in guild banks without having tabs
2012-03-16 16:02:01 -07:00
kaelima
6d95e2408a Core/Protocol: And correct the struct of SMSG_UPDATE_INSTANCE_ENCOUNTER_UNIT... 2012-03-16 23:46:13 +01:00
Machiavelli
cf5ed0a7b6 Core/Movement: Remove MOVEMENTFLAG_FLYING on fly aura unapply as well as _CAN_FLY 2012-03-16 23:41:43 +01:00
Machiavelli
85da463686 Core/Movement: Fix brackets in macro 2012-03-16 23:37:50 +01:00
kaelima
d810acdeea Core/InstanceScript: Encounterframe research - extended the EncounterFrameType enum 2012-03-16 23:16:49 +01:00
Shocker
6f031b814e Merge pull request #5733 from GyxTom/master
Core/Script: Clean-ups in scripts
2012-03-16 15:13:44 -07:00
Shocker
91314b4cc3 Merge pull request #5743 from MrSmite/PetAI_2
Core/Pets: Fix the Attack button to stop flashing after combat end
2012-03-16 15:01:57 -07:00
Shocker
97f5a06d34 Merge pull request #5742 from MrSmite/PetAI_1
Core/Pets: Correctly obey the stay command for pets when attacking in melee range
2012-03-16 15:00:09 -07:00