Commit Graph
4005 Commits
Author SHA1 Message Date
leak 09dcee9867 Core: Fix warnings properly 2012-03-24 15:50:18 +01:00
leak 3d0063abee Core: Fix warnings 2012-03-24 15:37:54 +01:00
click bdbc1312c3 Core: Remove some silly pramga-section warnings 2012-03-24 15:05:23 +01:00
Shauren dc4a0ec089 Merge pull request #5865 from Elron103/pull-requests4
Core/Spells: Fix loading order and apply custom spell flags correctly
2012-03-24 05:52:35 -07:00
Shauren 25c13de8b3 Core/Auras: Corrected check relying on a not yet initialized variable 2012-03-24 13:43:28 +01:00
Elron103 7eb473d0b8 Core/Spells: Fix loading order and apply custom spell flags correctly 2012-03-24 13:34:19 +01:00
Nay 5a73149565 Core/DBLayer: Fix a typo in a field type/size - npc_vendor
Closes #5863
2012-03-24 04:05:37 +00:00
leak ecbe34cdd2 Core/Warden: Fix warning 2012-03-24 01:56:40 +01:00
leak 12e55a04bb Core/DBLayer: Convert PQuery() queries to prepared statements 2012-03-24 01:25:08 +01: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 <[email protected]>
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
Subv ac4536327f Core/SAI: Allow using SMART_TARGET_ACTION_INVOKER with SMART_ACTION_MOVE_TO_POS
Signed-off-by: Subv <[email protected]>
2012-03-21 19:37:21 -05:00
Elron103 6d9dbefe94 Core/Units: Fix issues with threat management on phase changes 2012-03-20 22:15:11 +01:00
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 178c658363 Core/DBLayer: Convert DirectExecute() queries that are not runtime relevant back to regular queries 2012-03-19 18:09:13 +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 <[email protected]>
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 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 <[email protected]>
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 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
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 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
Kandera aad4e41ca5 Core/Spells: finish fixing dispel functionality. closes #5745 2012-03-16 17:59:10 -04:00
kaelima 23c5ce0e0a Core/Unit: Fix some movement issues when leaving vehicles introduced in dce0a7d184
Sorry about that.
2012-03-16 22:52:20 +01:00
MrSmite 887470ebdb Guild bank - Allow deposit / withdraw money without tabs
closes 5637
2012-03-16 16:10:39 -04:00
MrSmite e0da136c36 Pet UI - Fix for "Attack" continues to flash after combat end
Closes 5551
2012-03-16 16:02:18 -04:00
MrSmite a26e145ae7 Fix for pets moving from stay during combat
Closes #5612
2012-03-16 15:53:07 -04:00
Machiavelli 65453620e8 Core/Movement: Do not process server side relocation if reading movementinfo from client resulted in violations (= hacking). 2012-03-16 18:15:08 +01:00
Machiavelli cca93c7a22 Minor typo, major consequences. 2012-03-16 17:27:24 +01:00
Machiavelli df31af5b4f Core/Movement: Add server-side check for movementflag correction in previous commit. This effectively prevents (most if not all) flyhacking. 2012-03-16 17:21:15 +01:00
Machiavelli f8c04b1bc5 Core/Movement: Fix players still able to fly on SPELL_AURA_FLY and SPELL_AURA_MOD_INCREASE_MOUNTED_FLIGHT_SPEED unapply.
Closes #5731
2012-03-16 17:10:01 +01:00