Commit Graph
943 Commits
Author SHA1 Message Date
jackpoz e7f7ffa73f Scripts/Commands: Modify ".learn" command to target current Player by default
(cherry picked from commit f22b1938db5cddcb2a9988ff54dfa08d2fa1aecc)
2016-01-20 21:28:17 +01:00
jackpoz 700899e0e5 Core/Quest: Fix issues reported by static analysis
(cherry picked from commit f1f4005ad8a17ea5fdd2b66f8ed3d0bd7c4c1efb)

# Conflicts:
#	src/server/game/Entities/Unit/Unit.cpp
#	src/server/game/Entities/Unit/Unit.h
#	src/server/game/Handlers/GroupHandler.cpp
2016-01-15 20:27:04 +01:00
Vincent-Michael 478cc756eb Update copyright note for 2016
Happy new year (Again new year with idiots ...)
2016-01-01 00:34:25 +01:00
Shauren d03ca37f10 Core/Players: Use constant gender from PLAYER_BYTES_3 where appropriate. 2015-11-27 21:53:27 +01:00
MitchesD 8dfc753770 Scripts/Commands: updated .npc info to show correct PhaseIDs and PhaseGroups 2015-11-20 20:28:21 +01:00
Vincent-Michael 00b4e8b6cc Scripts: Added missing overrides 2015-11-15 03:38:02 +01:00
Shauren c63b033131 Core/PacketIO: Updated and enabled guild finder opcodes 2015-11-15 00:13:35 +01:00
blub 2a9a68877a Merge pull request #15729 from Vincent-Michael/gpsTransport
Core/Commands: Added transport position for command .gps
2015-11-14 20:41:50 +01:00
Vincent-Michael 9c99a1d0c7 Core/Commands: Added transport position for command .gps 2015-11-14 20:12:50 +01:00
Shauren dfc8ea0ad5 Core/Commands: Improved additem and additemset commands. Added optional parameter allowing to specify bonuslist ids for items (you can copy the ids from wowhead urls) 2015-11-09 17:57:37 +01:00
Shauren 88584a7398 Merge pull request #15495 from Treeston/3.3.5-gemperfection
Core/Spell: Implement "Gem Perfection" (and framework for similar spells in the future)
(cherry picked from commit 15cafba8d522153c07e46b8aeb85fa8a4942afcf)
2015-11-07 01:15:21 +01:00
duhow 28bdb50d80 Scripts/Commands: Add taxinodes cheat status to
* Some cleanup

Closes #15065

(cherry picked from commit 558ce7d877d5a192a98065a5a9eea694b48477b7)

Conflicts:
	src/server/scripts/Commands/cs_cheat.cpp
2015-11-06 20:17:38 +01:00
ShinDarth 040b098aef Scripts/Commands: enhanced .instance get/setbossstate commands
(cherry picked from commit 1ffec02d760fe88deb4ccce0d13bce344a20bd15)

# Conflicts:
#	src/server/game/Instances/InstanceScript.cpp
#	src/server/scripts/Commands/cs_instance.cpp
2015-11-06 11:56:13 +01:00
jackpoz 7b684e8813 Script/Commands: Add new "debug loadcells" command
Closes #15292

(cherry picked from commit 5e1722c2f497ac7df8fed5ebe01e352965884584)
2015-11-01 12:30:45 +01:00
jackpoz ee5eb215e9 Scripts/Commands: Change few commands to target current Player by default
(cherry picked from commit d1efb90ae88bfb30ad13c48eef5d6c19ce5739e2)
2015-11-01 12:00:48 +01:00
Shauren 5da3079471 Build fix 2015-11-01 00:43:56 +01:00
w1sht0l1v3 43cf01d510 Core/LFG: Fix crash in ".lfg group <playername>" in case of offline player and
extend the output to display the offline members of the group also.Atm if members are offline no info is displayed.

Note: all the new code is mostly copy/paste from ".group list <playername>" command.
(cherry picked from commit 4e0dec7fd26452e60055eb2fa9461d39ec49d45b)
2015-11-01 00:29:31 +01:00
Shauren 2d942ddcc5 Core/Commands: Refactored chat command script hook, fixes a crash when building with gcc 5
Closes #15616
Closes #15740
2015-10-22 20:26:56 +02:00
Shauren a3814d4937 Core/Player: Removed currency precision flag value manipulations, this is all handled clientside 2015-10-20 17:03:37 +02:00
Shauren 63def8aa32 Core/Battle.net:
* Changed packet structures to mirror client names
* Simplified ToString Building
* Removed deprecated structures

World: Cleaned up duplicate realm info 'realm' and 'realmHandle' variables (realmHandle was removed, that data is fully contained in realm)
2015-10-06 00:30:47 +02:00
joschiwald cf1e80e3d0 Core/Misc: removed some useless map checks 2015-10-04 14:53:05 +02:00
Shauren cd27fd38b9 Core/Maps: Moved corpse management to map level 2015-09-28 17:20:27 +02:00
jackpoz 2f0079410d Core/Dungeon Finder: Improve ".lfg queue debug" command
Log roles of every combinations in ".lfg queue debug" output

(cherry picked from commit 16e9882aa86186d85bb2cb9d2b8fbb6165c2fe96)
2015-09-24 23:43:01 +02:00
jackpoz cacf184822 Core/Misc: Remove unneeded ToCreature() casts
Remove some ToCreature() casts not needed anymore after 1ee90e1022 changes that moved IsPet() from Creature to Unit

(cherry picked from commit d243630acff017f5e50bf0c833a0bbac35ba6c5a)

Conflicts:
	src/server/game/Entities/Player/Player.cpp
	src/server/game/Spells/Spell.cpp
	src/server/game/Spells/SpellEffects.cpp
2015-09-24 21:04:46 +02:00
Shauren 3109ab2da0 Core/DBLayer: Allowed using GetDouble for SUM results instead of requiring string conversions 2015-09-13 11:13:04 +02:00
Shauren b564c10b13 Core/Players: Implemented serverside validation of reserved/profane names
Closes #15357

New library dependency: Boost.Regex
2015-08-30 00:17:08 +02:00
David Girón 15dec9a76c Script/Commands: Add some sanity checks to cast commands
Closes #15061
2015-08-22 00:33:59 +02:00
jackpoz 4617d65131 Merge pull request #15297 from StormBytePP/3.3.5_rename_Revision.h
Core/Build: Renamed Revision.h to GitRevision.h to avoid compile failure when old revision.h file is present
(cherry picked from commit 360cc93357d1b51258986e547ac29dddac20159c)

Conflicts:
	src/server/authserver/Main.cpp
	src/server/database/Updater/DBUpdater.cpp
	src/server/game/Entities/Player/Player.cpp
	src/server/game/World/World.cpp
	src/server/shared/PrecompiledHeaders/sharedPCH.h
	src/server/worldserver/Main.cpp
2015-08-16 22:45:18 +01:00
StormBytePP 6a9fc63e41 Core/Build: Removed obsolete SystemConfig.h and made genrev be part of shared library, which allows cache hits to happen more likely
(cherry picked from commit 94f69fb1bcef103392ca27074ebb31ef2ebd27fb)
2015-08-16 17:50:40 +02:00
Shauren f0e7ef1f9f Core/PacketIO: Exclude DamageDealt/DamageTaken script hook results from damage sent in SMSG_SPELL_NON_MELEE_DAMAGE_LOG 2015-08-10 17:46:31 +02:00
Shauren fcc8c2d12c Core/PacketIO: Implemented advanced combat logging 2015-08-08 15:15:14 +02:00
Vincent-Michael a76fdb9d38 Core/Misc:
- Updated and enabled CMSG_QUEST_PUSH_RESULT opcode
- Update QuestPushReason enum for 6.2.0
2015-08-08 01:30:42 +02:00
Vincent-Michael 8335770207 Core/BattleNet: Removed bad line 2015-08-01 20:27:49 +02:00
Shauren a22e4e121a Core/Misc: Fixing warnings detected by Visual Studio 2015 compiler 2015-07-21 00:33:36 +02:00
Shauren 1273c0b537 Core/PacketIO: Updated and enabled spell packets 2015-07-19 00:31:11 +02:00
duhow 393b29b7bd Scripts/Commands: Allow .maxskill to be used with self or selected player
Closes #15064

(cherry picked from commit cec97f168c1179796493fb13b978aaf1cea1d6e1)
2015-07-15 01:54:56 +01:00
jackpoz 0fd0529ed1 Scripts/Commands: ".mmap path line" now uses raycast pathfinding
Add "line" optional parameter to ".mmap path" command to use raycast implementation of recast, useful to simulate charge paths.

(cherry picked from commit 37b157746e075294fd14abef5cc8e611b7bf2c76)
2015-07-12 12:43:31 +01:00
Carbenium c7d49ab910 Core/Support: Drop parts of the support system since Blizz switched to a browser based ticket system 2015-07-08 16:24:50 +02:00
Shauren dea6c0b122 Core/DataStores: Updated dbc/db2 structures to 6.2.0 2015-07-07 12:13:14 +02:00
Vincent-Michael d418ae54a4 Core: White space CleanUp 2015-07-05 04:03:36 +02:00
MitchesD d6c77e97eb Scripts/Command: remove unneeded code from .go 2015-06-30 10:41:32 +02:00
MitchesD 3d6abdb2ff Scripts/Commands: fix compile warning 2015-06-26 17:31:07 +02:00
jackpoz d9133adbb7 Core/ChatCommands: Allow to use "tele" command inside of a battleground
Allow GameMasters with ".gm on" tag to use ".tele" command inside of a battleground to tele around.

(cherry picked from commit 0b9cd22a6b5a0cca6e3c07dd5ae077ddbdfc3992)
2015-06-26 03:28:20 +01:00
Shauren 7eb25f1af6 Core/Commands: Fixed .gobject move and turn 2015-06-07 00:09:08 +02:00
jackpoz a323ee5e62 Core/Misc: Fix issues reported by static analysis
Coverity defect IDs: 1023115

(cherry picked from commit 391c81d86cd890801dd74d41685be52f205bc44c)

Conflicts:
	src/server/scripts/Commands/cs_npc.cpp
2015-06-01 01:04:43 +01:00
Carbenium 6d12297ffa Scripts/Commands: Fix LANG_PINFO_MUTED in HandlePInfoCommand
Closes #14560
Thanks @Mack36
2015-05-20 17:48:53 +02:00
et65 c6ab951025 Core/PacketsIO: Implemented or updated most of party related packets.
Packets updated or implemented :
- SMSG_INSTANCE_INFO : updated

- CMSG_SAVE_CUF_PROFILES : updated
- SMSG_LOAD_CUF_PROFILES : updated

- SMSG_PARTY_COMMAND_RESULT : updated

- CMSG_PARTY_INVITE : updated
- SMSG_PARTY_INVITE : updated
- CMSG_PARTY_INVITE_RESPONSE : updated
- CMSG_PARTY_UNINVITE : updated
- SMSG_GROUP_UNINVITE : updated
- CMSG_LEAVE_GROUP : updated
- SMSG_GROUP_DECLINE : updated

- SMSG_GROUP_DESTROYED : updated

- CMSG_MINIMAP_PING : updated
- SMSG_MINIMAP_PING : updated

- CMSG_CONVERT_RAID : updated
- CMSG_SET_EVERYONE_IS_ASSISTANT

- CMSG_DO_READY_CHECK : updated
- CMSG_READY_CHECK_RESPONSE : updated
- SMSG_READY_CHECK_COMPLETED : updated
- SMSG_READY_CHECK_RESPONSE : updated
- SMSG_READY_CHECK_STARTED : updated

- CMSG_REQUEST_PARTY_JOIN_UPDATES : implemented (source : sniffs)
- CMSG_REQUEST_PARTY_MEMBER_STATE : updated
- SMSG_PARTY_MEMBER_STATE : updated
- SMSG_PARTY_UPDATE : updated

- CMSG_REQUEST_RAID_INFO : updated

- CMSG_INITIATE_ROLE_POLL : updated
- SMSG_ROLE_POLL_INFORM : updated
- CMSG_SET_ROLE : updated
- SMSG_ROLE_CHANGED_INFORM : updated

- CMSG_CHANGE_SUB_GROUP : updated
- CMSG_SWAP_SUB_GROUPS : implemented

- CMSG_SET_ASSISTANT_LEADER : updated
- CMSG_SET_PARTY_LEADER : updated
- SMSG_GROUP_NEW_LEADER : updated

- CMSG_CLEAR_RAID_MARKER : implemented
- SMSG_RAID_MARKERS_CHANGED : implemented

- CMSG_UPDATE_RAID_TARGET : updated
- SMSG_SEND_RAID_TARGET_UPDATE_ALL : updated
- SMSG_SEND_RAID_TARGET_UPDATE_SINGLE : updated

- CMSG_OPT_OUT_OF_LOOT : updated
- CMSG_SET_LOOT_METHOD : updated

About group update flags:
- Not sure they are use for now.
- Pets now have their group update flags.
- Pets'power is no send to client anymore.
- Changes about them are inspired from SMSG_PARTY_MEMBER_STATS parsing of WowPacketParser, but it seems this packet is not use anymore.

CHAT_MSG_RAID has been fixed.

About Ready check:
- Correctly implemented this function.
- An update function has been added to Group class, and to GroupMgr class in order to manage the ready check expiration (when 35 seconds were gone, players who have not answered must be reported as AFK)

About Raid markers:
- Old spell effect SPELL_EFFECT_SUMMON_OBJECT_SLOT3 has been renamed to SPELL_EFFECT_CHANGE_RAID_MARKER and implemented. I'm sure about that because raid markers spells are the only spells that have this effect type.

Source: WowPacketParser, and sniffs from official.
2015-05-19 13:10:29 +02:00
Shauren b4d044aa13 Core/Commands: Fixed .gobject add command 2015-05-16 12:12:47 +02:00
Kinzcool 00cfe8f5a9 Core/Misc: Fixed wrong references to ZoneName instead of using AreaName_lang 2015-05-08 22:48:30 -04:00
Shauren edbd44a675 Core/Creatures: Extended npcflags to uint64 2015-05-04 12:39:36 +02:00