Commit Graph

715 Commits

Author SHA1 Message Date
Rochet2
80cf4e3070 * 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.

Closes #18978
2017-03-11 12:29:37 +01:00
joschiwald
fa836c3160 Fixed characters_database.sql 2017-02-26 21:19:30 +01:00
SnapperRy
cab4ce3a53 Core/Fishing: implement retail-like fishing skill-up functionality (#17528)
Follow-up to  6f1e823.

Forgot to update base characters database. Sorry.
2017-02-26 19:59:07 +01:00
Aokromes
2bb0f565c4 Core/Misc: Clarify the use of world_database.sql
(cherry picked from commit 4cef7fe72b)
2017-02-04 18:37:12 +01:00
joschiwald
a6d238b833 Core/Player: Moved character_template from character to world db 2017-01-29 16:09:46 +01:00
Traesh
6ab3877c91 Core/Entities: Basic AreaTrigger System (#18035)
* Implemented AreaTrigger Templates
* Implemented AreaTrigger Splines
* Implemented SPELL_AURA_AREA_TRIGGER
* and many more
2017-01-29 00:00:43 +01:00
Shauren
8c72f3ed55 Core: Change allowed build to 7.1.5.23420 2017-01-26 17:12:02 +01:00
joschiwald
d3ee5a2d32 Core/Players: Fixed accidentally deleting Talents
Note: If you want to delete deprecated Talents from DB, enable the CharacterDatabaseCleaner
2017-01-22 02:20:12 +01:00
Shauren
f11e6c8247 Core: Updated to 7.1.5.23360 2017-01-14 22:37:13 +01:00
Shauren
8742732149 Core/Items: Implemented bonus list as a possible result of RandomSuffix
Ref #18423
2016-12-26 21:21:28 +01:00
Shauren
b633d61899 Core/Commands: Added new 'bnetaccount listgameaccounts' command to display all account table entries linked to a given battle.net email
* Also fixed errors about bad commands in db

Closes #18474
2016-12-18 12:35:27 +01:00
Shauren
a73a6c5a6d Core: Change allowed build to 7.1.0.23222 2016-12-11 18:20:24 +01:00
Shauren
bfa9a4c959 Core/Items: Fixed item level increases of gems with bonuses that give them scaling stat distribution 2016-12-09 20:00:20 +01:00
Shauren
f2277dd6de Core: Change allowed build to 7.1.0.23171 2016-12-04 00:50:30 +01:00
Shauren
cd898ac446 Core: Change allowed build to 7.1.0.22996 2016-11-17 23:50:03 +01:00
Shauren
dedf702248 SQL: Fix base/characters_database.sql 2016-11-13 10:22:39 +01:00
Shauren
48f5c11355 Core: Change allowed build to 7.1.0.22995 2016-11-09 18:47:50 +01:00
Krudor
8444ab7365 Core/Instances: Implemented base scenario system and objectives in dungeons
Closes #17905
Closes #18034
2016-11-06 23:30:49 +01:00
Shauren
5b84293188 Core: Change allowed build to 7.1.0.22950 2016-11-04 20:27:05 +01:00
Shauren
e9fb1301e9 Core: Change allowed build to 7.1.0.22908 2016-10-28 00:09:09 +02:00
Shauren
af25942aec Core/PacketIO: Updated packets to 7.1.0.22900 2016-10-25 19:29:27 +02:00
DDuarte
a249d86b00 TDB 703.00 - 2016/10/17 2016-10-16 17:38:56 +01:00
Shauren
85bb191816 Core: Change allowed build to 7.0.3.22810 2016-10-12 00:02:28 +02:00
Shauren
4b5e5bbd72 Fix auth_database.sql 2016-10-07 00:35:19 +02:00
Shauren
df556b83ba Core: Change allowed build to 7.0.3.22747 2016-10-06 23:18:42 +02:00
MitchesD
ad3da9c971 Core/Player: Implemented account wide mounts
Closes #17369
2016-10-01 13:48:16 +02:00
Traesh
d4887311e3 Core/Scenes: Implemented scene system
Closes #17858
Closes #17976
2016-09-25 16:13:12 +02:00
Shauren
3c0b075df5 Core: Change allowed build to 7.0.3.22624 2016-09-21 17:09:39 +02:00
Shauren
b86b832435 Core: Change allowed build to 7.0.3.22594 2016-09-15 16:31:43 +02:00
joschiwald
994d813699 DB/RBAC: fixed some permissions after 779d3b2368 2016-09-03 18:12:40 +02:00
joschiwald
ad52ee8e25 DB/RBAC: fixed some permissions after a92bfb5505 2016-09-03 15:31:32 +02:00
treeston
a92bfb5505 Scripts/Commands: Small QoL adjustments
- .debug hostil now shows spawn ID (DBGUID) in addition to current GUID (so you can .go creature to it)
- .npc temp now takes an additional argument before the creature entry that determines whether the spawned creature instantly despawns upon death. Default is instant despawn (current behavior).
- Add .npc evade command.
- Add .pet level command.
- .server shutdown and .server restart now fail with an error message if time is below a config var (GM.ForceShutdownThreshold, default 30s) as long as another player is connected.
    - New commands .server shutdown force and .server restart force bypass this limitation.

(cherry picked from commit 0e1eb460d6)
2016-09-03 13:46:33 +02:00
Shauren
510cfb1456 Core: Change allowed build to 7.0.3.22566 2016-09-02 10:20:00 +02:00
Shauren
b5fac7abc1 Core: Set default expansion to Legion. 2016-08-30 00:00:33 +02:00
Vincent-Michael
41513c39ef Core/Misc: Updated to 7.0.3.22522 2016-08-27 09:07:13 +02:00
Vincent-Michael
d2c50155e8 Core/Misc: Updated to 7.0.3.22498 2016-08-26 16:14:42 +02:00
Shauren
a727a99e34 Core/Players: Implemented new glyph system 2016-08-25 19:12:00 +02:00
Shauren
fea0cb16f2 Core/Items: Implemented artifacts 2016-08-15 00:03:38 +02:00
Shauren
e6ddb9f222 Core: Change allowed build to 7.0.3.22423 2016-08-13 01:15:21 +02:00
Shauren
ea16241873 Core: Change allowed build to 7.0.3.22410 2016-08-11 17:03:50 +02:00
Shauren
93bf99fe70 Core: Change allowed build to 22345 2016-08-07 16:28:18 +02:00
Vincent-Michael
2e0dd7a38c SQL: Sync auth base 2016-07-30 17:09:46 +02:00
Ovalord
79aafd5865 Core/Players: Initial work on demon hunters
* Added starting level and required level config options as well as rbac permission to ignore the requirements
* Updated max power values for both demon hunter specs
* Fixed a crash during DK and DH creation
* Added playercreateinfo data for demon hunters

Closes #17651
2016-07-23 18:39:56 +02:00
Shauren
7d7139ba02 Core: Change supported build to 7.0.3.22293 2016-07-23 14:40:58 +02:00
Shauren
79a921edc7 SQL: Cleanup WIP sql arrangement 2016-07-19 16:55:21 +02:00
Shauren
a9a13d10f7 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-07-17 17:37:06 +02:00
Krudor
649e3a9ac5 Core/Instances: Add functionality for modifying instance entrance locations
Instances have since MoP (Possibly even Cataclysm) been able to set new locations for players when they zone into the instance.
A theoretic example of this could be after a certain boss has been defeated, a new entrance location is set to bring players entering the instance closer to the relevant content.
A real example would be Siege of Orgrimmar changing entrance locations many times as the raid progresses.

Added SetEntranceLocation for setting entrance locations that will be saved to DB the next time the instance is saved, and SetTemporaryEntranceLocation for when you don't want the value to be saved to the database.

Closes #17167
2016-07-16 14:58:33 +02:00
Shauren
d2733eb6f1 Merge branch '6.x' of https://github.com/TrinityCore/TrinityCore into legion 2016-06-13 21:00:25 +02:00
myran2
bc1a81747a Core/Pets: Implemented pet specializations (#17058)
* Use prepared statements in Pet::SavePetToDB
* Add support for resetting all of a player's pet specializations
* Send one big spell unlearn/learn packet instead of lots of small ones
* Implemented Adaptation talent
2016-05-26 17:20:01 +02:00
Shauren
df6d557a4d Core/Entities: Updated updatefields to 7.0.3.21414 2016-05-20 23:50:20 +02:00