Commit Graph

30629 Commits

Author SHA1 Message Date
Aokromes
2d54defdf0 Scripts/Commands: Fix guid usage and enhance commands
- Fix targeting gameobjects and creatures for .dist and .gps. The old code used DB guid to search from core generated guid lists.
- Fix some error messages saying 'no player found' even if creatures and gameobjects and players were searched
- Change atoi to atoul when receiving lowguids as string or other uint32 values
- Use ObjectGuid::LowType instead of uint32 for lowguid type
- Allow .gob info to take in gameobject guid link as well as entry link in addition to gameobject entry and update the documentation of the command
- Change .gob delete to post the spawnid (dbguid) instead of the ingame generated guid (which is basically never seen or used by the player in any other commands that I see)
- Allow spawntimesecs to be negative when spawning a gameobject
- Disable searching by ingame spawn id in commands. (it makes little sense for a user to provide a number which is then attempted to be used as DB guid and non DB guid when both could have a match)
- Update .gob turn documentation to tell about possibility to provide orientation in command
- Correct the types in .gob add command result trinity_string
- Correct the creature search for .npc del
- Change .event to .event info
- Add .go offset command
- Remove the .go command for empty string (no subcommand given) because it just used .go xyz
- Extend .gob info to show size, faction, flags and model dimensions
- Remove some unnecessary casts
- Document .wp show better (first and last were not documented)
- Insert spawnid to .wp show info error message
- Fix spawntime printing for .gobject target
- Fix guid targetting for .npc set movetype
- Fix query by spawnid for .wp show info
- Fix deleting of existing waypoints when twice doing the command .wp show on
- Fix deleting of existing waypoints when doing the command .wp show off
- Change wpguid column in DB and in core to uint32, which is what the spawnid type is in core and db.
2017-04-02 07:41:03 +02:00
Aokromes
e24178406d Core/AI: Remove incorrect call
By Malcrom
2017-04-01 21:05:09 +02:00
Aokromes
16f8bb7b1e Rename files 2017-04-01 07:24:26 +02:00
Killyana
412711b672 DB/SAI: Fix wrong gossip option ID used by Bodley
Ref #19375
2017-04-01 07:21:08 +02:00
MrSmite
6e0d0dbd0a DB/Quests: The Left/Right Piece of Lord Valthalak's Amulet
Fix class restrictions for Dungeon Set 2 armor quests

- The Left Piece of Lord Valthalak's Amulet  (8966,8967,8968,8969)
- The Right Piece of Lord Valthalak's Amulet (8989,8990,8991,8992)

Closes #19375
2017-04-01 07:21:00 +02:00
Aokromes
df1730a734 Core/ScriptReloadMgr: Fixed scripts hot swapping on OS X 2017-04-01 07:20:43 +02:00
ariel-
84cba8496c DB/Creature: fix regenerating health for vehicles in Wintergrasp and BGs
Closes #950
2017-04-01 07:11:46 +02:00
Aokromes
2f1d6d5597 Core/Scripts: Fix a logic fail that overriden the script of an entity…
… that changed entry
2017-04-01 07:11:25 +02:00
Killyana
26f8770385 DB: Fix some SAI
Ref #18542
2017-04-01 07:07:57 +02:00
MrSmite
6d499f7f9c DB/Quests: (More) Components of Importance
Fix class restrictions for Dungeon Set 2 armor quests

- Components of Importance (8962,8963,8964,8965)
- More Components of Importance (8985,8986,8987,8988)

Updates issue #19375
2017-04-01 07:07:49 +02:00
Killyana
9187fc9a52 DB/SAI: Restore some deleted SAI scripts
Closes #19381
By @Vyrsenth
2017-04-01 07:07:40 +02:00
tkrokli
5d22da01b1 Add missing event_flags in SAI scripts (DBErrors)
DBErrors.log: Missing Repeat flag. (385 lines)
Error message reported by SmartAIMgr::LoadSmartAIFromDB
2017-04-01 07:07:30 +02:00
Aokromes
011c1aa6a8 Rename 2017_04_27_01_world.sql to 2017_03_27_01_world.sql 2017-04-01 07:07:20 +02:00
ariel-
66c0c634ad Core/AI: Build fix
- Stop exposing DoublePosition constructor versions, they're only used for internal representation
- Moved IsInBounds function to public scope
2017-04-01 07:06:53 +02:00
ariel-
d3151fed8c Core/AI: AreaBoundary refactor
- Added an auxiliary function IsInBounds to base CreatureAI
- Changed container to vector. Set had no sense because we're storing new pointers, they have different addresses even if the boundary is the same
2017-04-01 07:06:35 +02:00
Killyana
f538a2c708 DB: Fix Some DB errors
Ref #18542
2017-04-01 07:06:26 +02:00
ariel-
661e150038 Core/Creature: added CREATURE_FLAG_EXTRA_GHOST_VISIBILITY to allowed db flags_extra mask
- Cleaned up the mask to be a much nicer enum definition
2017-04-01 07:06:12 +02:00
ariel-
a3e41a3df6 Core/Global: reserve storage for script names vector 2017-04-01 07:06:02 +02:00
Aokromes
b47eb71b79 Rename 2017_99_99_99_world_335.sql to 2017_03_27_00_world_335.sql 2017-04-01 07:05:54 +02:00
xinef1
8221acd90e Added new creature extra flag which makes npc visible only to dead units
closes #19333

* Rename 9999_99_99_99_world.sql to 2017_99_99_99_world_335.sql

- file affects creature removed in patch 4.0.3a

* Update Creature.cpp
2017-04-01 07:05:39 +02:00
tkrokli
d40b252c01 Game/AI: SMART_ACTION_JUMP_TO_POS should resume path when reached jump location (#19029)
SmartAI NPCs using SMART_ACTION_JUMP_TO_POS
should resume their path when they have reached the jump location.

The changes in this PR makes the action work as intended.

Closes #18760
2017-04-01 07:05:03 +02:00
Aokromes
68854b786c http to https 2017-03-31 17:37:14 +02:00
Aokromes
1bc94173ea Compile fix 2017-03-31 16:03:08 +02:00
sevi
30c23e48be Core/Misc: the battle rezz limit didn't should has a effect in normal/heroic dungeons. They is only for Raids. 2017-03-30 20:24:44 +02:00
Aokromes
f2d6308d24 DB/Misc: Add few OptionBroadcastTextID 2017-03-30 07:36:38 +02:00
Aokromes
b680d1d058 DB/Misc: Add few OptionBroadcastTextID 2017-03-30 07:03:11 +02:00
Aokromes
274cf038e4 DB/Misc: Add few OptionBroadcastTextID 2017-03-30 06:07:11 +02:00
Aokromes
e5ae641dba DB/Creature: Stormwind Royal Guard movement
By ArcaneFox
Closes #67
2017-03-26 06:25:41 +02:00
Aokromes
c87742e190 rename files 2017-03-26 06:19:56 +02:00
Aokromes
228ce2e2a2 DB/Quest: Challenge Overlord Mok'Morokk
By Fearless18, closes #5208
2017-03-26 06:16:58 +02:00
Aokromes
7a265f9cd0 DB/Item: Improved Land Mines
By Rushor, closes #10205
2017-03-26 06:16:33 +02:00
Aokromes
e800b8d5b8 DB/Creature: Fix Verifonix faction and reputation
By offl, Closes #19323
2017-03-26 06:16:25 +02:00
Aokromes
5e64a62b1d DB/Creature: Fix Guardian of Icecrown creature_text typo
By TecDian
Closes #19226
2017-03-26 06:16:01 +02:00
ariel-
402ad3dad7 Core/Auras: fix a deleted memory access crash
Closes #19319
2017-03-26 06:15:52 +02:00
Aokromes
c226dca01e Rename 2017_03_25_00_world.sql to 2017_03_25_01_world.sql 2017-03-26 06:15:44 +02:00
ccrs
6f1a3c4b43 Fix warning
field '_top' will be initialized after field '_owner'
2017-03-26 06:15:36 +02:00
ccrs
7ea5c422cb Core/Movement: 96f4c7c followup 2017-03-26 06:15:26 +02:00
ccrs
2683f6cf6b Core/MotionMaster: cleanup use of _expireList
And restore broken _cleanFlag check/use on update (eca3645d8b)
2017-03-26 06:15:18 +02:00
ccrs
5d79ac9275 Core/Unit: cleanup UnitState enum 2017-03-26 06:15:09 +02:00
ccrs
a29bae966d Core/Movement: cleanup MovementGeneratorType 2017-03-26 06:14:57 +02:00
tkrokli
694cab456b DB/GameObject: remove 4 new DBErrors
These 4 gameobject entries were removed from Zul'Aman
in commit 226a69f5dc
but went unnoticed because of deletion by map.
2017-03-26 06:14:48 +02:00
Aokromes
9c5e580c17 Core/Scripts: minor fixes in boss_the_lich_king 2017-03-26 06:13:21 +02:00
ariel-
828101aa2b Core/Scripts: Updated Ulduar instance model
- Codestyle/indent fixes
- Added ObjectData for some GOs
- Added GetUlduarAI to creatures
- Fixed possible out-of-bounds access in boss_razorscale_controllerAI (boss AI number beyond allocated boss size)
2017-03-26 05:46:04 +02:00
Killyana
b2094ff611 DB/Gossip: Fix 2 gossips related to Auctioneers 2017-03-26 05:36:00 +02:00
Aokromes
c80e9fe6db DB/Conversor: Remove more unused items on conversion 2017-03-26 04:53:13 +02:00
Aokromes
d8febab3ad Core/SmartAI: Missing parts on previous commit
By Malcrom
2017-03-26 01:03:41 +01:00
Aokromes
13e8e235bf DB/Misc: Harvest Festival Horde Spawn
By Vincent-Michael
2017-03-26 00:48:40 +01:00
Aokromes
47961b7888 typo fix 2017-03-25 10:33:20 +01:00
Aokromes
55914733a0 Core/Scripts: Add support for spawn specific C++ scripts
By Krudor.
2017-03-25 10:27:51 +01:00
Aokromes
dca200d6b6 Core/SmartAI: Implement SMART_TARGET_VEHICLE_ACCESSORY
By Malcrom
2017-03-23 04:05:15 +01:00