Commit Graph

982 Commits

Author SHA1 Message Date
Ovalord
6ecb9746b1 Core/Creature: merged creature extra flag for offhand attacks 2017-12-09 20:37:54 +01:00
Hristiyan
58fe4ebdf2 Core/Commands: Allow using display ids higher than std::numeric_limits<uint16>::max() for .modify morph command (#21022) 2017-12-03 17:12:39 +01:00
Aokromes
91affef0c6 Misc: Kill trailing white spaces 2017-11-25 01:36:21 +01:00
jackpoz
67dc6a7576 Core/Misc: Fix static analysis issues 2017-11-12 13:24:42 +01:00
Aokromes
9dc4705ba5 Core/Commands: Fix some commands still using phasemask 2017-11-08 01:41:09 +01:00
Aokromes
0b2e8431aa Core/Commands: Output phase list in gps command 2017-11-08 00:46:31 +01:00
Aokromes
68a305a47e Scripts/Commands: updated .npc info to show correct PhaseIDs and PhaseGroups 2017-11-07 19:06:19 +01:00
Aokromes
228e625a86 Core/Quests: implement Quest Greeting (DB table quest_greeting) 2017-10-29 11:53:17 +01:00
Aokromes
5e1a7bcfbb Core/Misc: Moved CharacterInfo out of world to separate class 2017-10-27 17:52:30 +02:00
Aokromes
8b6261c809 Core/Misc: Fix static analysis issues 2017-07-16 19:05:26 +02:00
Regigicas
b583c1ffec Scripts/Commands: Fix a crash on summon when no group is avaible (#20029)
Closes #20027
2017-07-15 16:32:02 +02:00
Aokromes
7627540b11 Combat/threat rewrite prep - merge RBAC/DB changes. 2017-06-28 17:45:14 +02:00
Aokromes
1a5c0f5c3b Core/Grids: Ported cmangos/mangos-wotlk@ea99457
(cherry picked from commit 9299e9b)
2017-06-19 20:20:26 +02:00
S.V
87784721a4 Core/Scripts: Fixed GAMEOBJECT_TYPE_DOOR closing automatically after being opened with .gobj act (#19342)
Closes #19261.
2017-06-18 15:41:45 +02:00
Aokromes
a990a4ce08 Rename .debug uws to .debug worldstate (clarity change). 2017-06-17 11:51:12 +02:00
treeston
46f98b64c3 Rename .debug uws to .debug worldstate (clarity change). 2017-06-17 11:42:23 +02:00
treeston
5812c6559f build fix 2017-06-15 07:49:57 +02:00
Aokromes
5b1121af3c Add new command 'npc showloot'. Does exactly what it says on the tin. 2017-06-12 19:37:41 +02:00
Aokromes
57841569e5 - Add new commands .group set assistant, .group set maintank and .gro…
…up set mainassist to toggle raid member flags.

- Fix 2017_05_29_00_auth.sql to be reapply safe.
2017-06-12 18:23:57 +02:00
treeston
d33f462200 Removed a now-unused local (ca02629 follow-up) 2017-06-12 18:00:28 +02:00
Aokromes
558bbbcf98 Make some adjustments to .summon and .group summon behavior to make t…
…hem more permissive:

- Now only requires the either target's group leader or target itself to be on your map
- Now summons all applicable group members even if one member fails checks
- No longer has some truly weird edge case instance unbind code that could cause exploit behavior (Really, I have no idea why this existed, because it certainly didn't do what it might've been meant to do.)
2017-06-12 18:03:01 +02:00
Aokromes
9057cae219 So, I came in trying to fix gameobject LoS. So I restructured some stuff.
Then it turned out that gameobject LoS is already fixed. So all this does, really, is restructure some stuff.

And remove the hack from Sapphiron because I could.
2017-06-11 19:02:07 +02:00
Aokromes
f8d9d954d1 Get zone/area IDs from vmap data in the liquid update
* Add new method Map::getFullVMapDataForPosition to get area info and liquid info in a single vmap lookup
* Use this lookup in Map:: relocation methods to update m_areaId and m_zoneId fields on WorldObject
* Adjust GetZoneId/GetAreaId on WorldObject to always return these cached fields
* Clean up liquid state handling on Unit and Player
* Hand floor's Z coord up through GetFullTerrainStatusForPosition, use it to update a new field in WorldObject, and use that to feed a new GetFloorZ call on WorldObject.
2017-06-09 13:20:37 +02:00
treeston
a6b393c2af clang is dumb 2017-06-06 07:49:31 +02:00
treeston
68c500f020 Some improvements to .debug raidreset command. Now supports heroic difficulty 5-man dungeons and outputs sensible text, as opposed to silently doing (or not doing) stuff. 2017-06-06 07:49:02 +02:00
Aokromes
2d94972577 missing part 2017-05-30 10:20:27 +02:00
Aokromes
dff1518ac2 Scripts/Command: implement .debug play music command 2017-05-30 09:55:45 +02:00
Ryan
20726edec2 Merge branch '4.3.4' of https://gitlab.com/trinitycore/TrinityCore_434 into 4.3.4 2017-05-19 23:49:46 +01:00
Aokromes
8020f4b6f5 Remove dead code 2017-05-07 06:51:21 +02:00
Aokromes
6a7f15ecf4 Scripts/Commands: Update reload commands names 2017-05-07 06:05:53 +02:00
Aokromes
0fbcdca05e Core/Collision: Replaced phasemask with proper phases in GameObject c…
…ollision calculation
2017-05-06 01:55:17 +02:00
ariel-
b7b69b88ba Core/Unit: damage immune improvements 2017-05-04 01:48:16 +01:00
ariel-
04b562418e Core/Spell: make a distinction between triggered flags with debugging purposes, and don't use them when casting triggered spells 2017-05-04 01:27:22 +01:00
ariel-
3d9c4fd3fc Core/Spells: use DamageInfo struct to calc spell absorbs and resists, and use calculated proc hitMask on aura ticks 2017-05-04 01:07:05 +01:00
ariel-
51f26dfe51 Core/Spells: Implementation of QAston proc system 2017-05-03 20:08:08 +01:00
Aokromes
c015a5cf10 Core/Misc: camelize GetFaction/SetFaction properly 2017-05-02 02:02:31 +02:00
Aokromes
48117444a8 DB/Misc: Drop no longer used table 2017-04-20 19:56:16 +02:00
Aokromes
7c16e39bd5 Missing part 2017-04-18 17:33:37 +02:00
Aokromes
adae2fec26 Ensure that all actions are compared to fixed point in time (ie. world update start) 2017-04-14 15:02:49 +02:00
Aokromes
9b378447f8 Core/Entities: GameObjectDespawn packet is only sent for GameObjects 2017-04-02 07:57:21 +02:00
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
ccrs
7ea5c422cb Core/Movement: 96f4c7c followup 2017-03-26 06:15:26 +02:00
Chazy Chaz
3f14e4e56e Core/Players: Rename "heroic character" to "death knight" 2017-03-20 16:52:23 +01:00
Aokromes
0016baf3bd DB/Misc: Sync some database fields no with 4.3.4 2017-03-20 14:01:02 +01:00
Aokromes
e40037a989 Core: add some missing Player Name normalization on input data 2017-02-01 16:59:11 +01:00
Aokromes
8bb777ef5c Few small optimizations here and there 2017-02-01 16:51:21 +01:00
Keader
cf88bcfa16 Core/Entities: Implemented CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE (#18980) 2017-02-01 01:26:01 +01:00
Aokromes
d0b9becf6a Compile fix hack
Seriously we need people helping porting the spell fixes, idk how to handle them.
2017-01-07 08:25:23 +01:00
ariel-
17278b9b42 Core/Scripts: added command to move characters across accounts 2017-01-07 07:34:11 +01:00
ariel-
6586615d1f Core/Scripts: kill one ugly char buffer 2017-01-07 07:23:35 +01:00